aboutsummaryrefslogtreecommitdiff
path: root/src/common/util.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* commented util.hjebes2014-09-091-3/+5
|
* License updated to BSD 3-clausefluffypony2014-07-231-3/+29
|
* some fixesAntonio Juarez2014-03-201-0/+1
|
* moved all stuff to githubAntonio Juarez2014-03-031-0/+363