aboutsummaryrefslogtreecommitdiff
path: root/src/common/util.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #4293luigi11112018-09-101-49/+35
|\ | | | | | | 9d65399 is_hdd update (p8p)
| * is_hdd updatep8p2018-08-251-49/+35
| |
* | util: remove unused <ustat.h>moneromooo-monero2018-08-171-1/+0
|/ | | | | | It's obsolete and removed from at least Arch Linux 8.2 Reported by moneroexamples
* Merge pull request #4136luigi11112018-08-151-0/+16
|\ | | | | | | 4307489 wallet: disable core dumps on startup in release mode (moneromooo-monero)
| * wallet: disable core dumps on startup in release modemoneromooo-monero2018-08-121-0/+16
| |
* | core_tests: add --filter to select which tests to runmoneromooo-monero2018-07-071-0/+19
|/
* util: fix mistakes made in #3994stoffu2018-06-281-3/+3
|
* util: add file_locker classstoffu2018-06-281-0/+67
|
* epee.string_tools: add conversion between UTF-8 and UTF-16stoffu2018-06-281-11/+18
|
* Move parse_subaddress_lookahead() from simplewallet.cpp to util.cppstoffu2018-06-211-0/+18
|
* Merge pull request #3932luigi11112018-06-201-0/+7
|\ | | | | | | | | | | 8962f00 simplewallet: add optional trusted/untrusted argument to set_daemon (moneromooo-monero) 941a608 util: consider Tor/I2P addresses to be non local (moneromooo-monero) 2b3357e README: mention --untrusted-daemon (moneromooo-monero)
| * util: consider Tor/I2P addresses to be non localmoneromooo-monero2018-06-051-0/+7
| |
* | db_lmdb: warn about slowness when running off a spinning diskmoneromooo-monero2018-06-081-0/+70
|/
* util: log stack trace on crashmoneromooo-monero2018-04-121-0/+39
|
* common: make this build with unbound 1.4.20moneromooo-monero2018-04-101-1/+4
| | | | Common on currently used distros
* Wallet2 + CLI wallet: UTF-8 support for filenames and paths under Windowsrbrunner72018-02-251-8/+15
|
* wipeable_string: call memwipe directlymoneromooo-monero2018-01-311-2/+0
| | | | | since the original reason for the indirect call (that memwipe was not in contrib) is now gone
* Update 2018 copyrightxmr-eric2018-01-261-1/+1
|
* Merge pull request #3084Riccardo Spagni2018-01-251-0/+17
|\ | | | | | | 5f5a51a6 util: warn if unbound was not built with threads (moneromooo-monero)
| * util: warn if unbound was not built with threadsmoneromooo-monero2018-01-081-0/+17
| | | | | | | | This can causes crashes in libunbound
* | Merge pull request #3052Riccardo Spagni2018-01-251-9/+1
|\ \ | | | | | | | | | d507167f Removed unused mac-specific output folder path (Maxithi)
| * | Removed unused mac-specific output folder pathMaxithi2018-01-041-9/+1
| |/
* / epee: remove dependency on commonmoneromooo-monero2018-01-101-0/+1
|/
* Merge pull request #2890Riccardo Spagni2017-12-251-7/+7
|\ | | | | | | | | 83b0f9e6 version: add -master to master version (moneromooo-monero) 493f7d09 util: allow non numeric version parts (moneromooo-monero)
| * util: allow non numeric version partsmoneromooo-monero2017-12-071-7/+7
| |
* | move includes around to lessen overall loadmoneromooo-monero2017-12-161-0/+1
| |
* | Merge pull request #2860Riccardo Spagni2017-12-161-0/+6
|\ \ | |/ |/| | | | | | | | | 3dffe71b new wipeable_string class to replace std::string passphrases (moneromooo-monero) 7a2a5741 utils: initialize easylogging++ in on_startup (moneromooo-monero) 54950829 use memwipe in a few relevant places (moneromooo-monero) 000666ff add a memwipe function (moneromooo-monero)
| * new wipeable_string class to replace std::string passphrasesmoneromooo-monero2017-11-271-0/+4
| |
| * utils: initialize easylogging++ in on_startupmoneromooo-monero2017-11-271-0/+2
| | | | | | | | | | It will be reinitialized later once we know about log file and other command line configuration
* | fixed common/util.cpp to link against libresslston1th2017-11-181-1/+1
|/
* make this build on SunOS/SolarisPavel Maryanov2017-11-141-1/+1
|
* Initialize openssl on startupmoneromooo-monero2017-10-211-0/+7
|
* Add tools::on_startup, and warn about glibc 2.25 bug if foundmoneromooo-monero2017-10-141-0/+15
| | | | https://sourceware.org/bugzilla/show_bug.cgi?id=21778
* Do not create file when RPC user/pass is given and use file lockingLee Clagett2017-08-301-21/+55
|
* core: protect precomputed block hashes with SHA256moneromooo-monero2017-02-231-0/+12
|
* update copyright year, fix occasional lack of newline at line endRiccardo Spagni2017-02-211-1/+1
|
* util: add a SHA256 functionmoneromooo-monero2017-02-201-1/+34
|
* util: add a vercmp function to compare version numbersmoneromooo-monero2017-02-201-0/+17
| | | | | It is simple, supports simple x.y.z type numeric versions, and does not attempt any kind of validation
* Factor is_address_local code into a tools functionmoneromooo-monero2017-01-281-0/+37
|
* Enabled HTTP auth support for monero-wallet-rpcLee Clagett2016-12-161-0/+86
|
* add a --max-concurrency flagmoneromooo-monero2016-04-281-0/+23
| | | | | | It sets the max number of threads to use for a parallel job. This is different that the number of total threads, since monero binaries typically start a lot of them.
* util: add a function to set umask to 077moneromooo-monero2016-04-061-0/+9
| | | | Useful to ensure files are written without group/other read rights.
* updated copyright yearRiccardo Spagni2015-12-311-1/+1
|
* Merge pull request #515Riccardo Spagni2015-11-301-0/+5
|\ | | | | | | 0921f5b util: use putenv instead of setenv for mingw (moneromooo-monero)
| * util: use putenv instead of setenv for mingwmoneromooo-monero2015-11-251-0/+5
| |
* | wallet: cancellable refreshmoneromooo-monero2015-11-291-1/+1
|/ | | | | | | | ^C while in manual refresh will cancel the refresh, since that's often an annoying thing to have to wait for. Also, a manual refresh command will interrupt any running background refresh and take over, rather than wait for the background refresh to be done, and look to be hanging.
* Fix startup crash when using a locale boost does not likemoneromooo-monero2015-11-211-0/+19
| | | | | | | | | | | | | There are various locale related bugs in various versions of boost, where exceptions are thrown in boost::filesystem APIs when the current locale is not to boost's liking. It's not clear what "not to boost's liking" means in detail, though "en" and "en_US.UTF-8" are not to its liking. Fix it by running a test function that's known to throw in such a case, and resetting LANG and LC_ALL to C if an exception is thrown. In simplewallet, the locale is queried before that so the correct translations will still be used.
* Hopefully fixes build on WindowsThomas Winget2015-03-201-1/+1
|
* year updated in licenseRiccardo Spagni2015-01-021-1/+1
|
* Documented varintjebes2014-09-111-1/+1
|