aboutsummaryrefslogtreecommitdiff
path: root/src/common/util.cpp (follow)
AgeCommit message (Collapse)AuthorFilesLines
2020-12-22restrict public node checks a littlemoneromooo-monero1-1/+10
do not include blocked hosts in peer lists or public node lists by default, warn about no https on clearnet and about untrusted peers likely being spies
2020-10-20util: fix escaping more than one ?* in glob_to_regexmoneromooo-monero1-3/+3
2020-08-16Merge pull request #6689Alexander Blair1-1/+1
afd002c31 daemon: print sampling time in print_net_stats (moneromooo-monero) ec7bba079 util: fix kilo prefix typo (K instead of k) (moneromooo-monero)
2020-06-25util: fix kilo prefix typo (K instead of k)moneromooo-monero1-1/+1
2020-05-06Update copyright year to 2020SomaticFanatic1-1/+1
Update copyright year to 2020
2020-03-21Daemon: Print estimates for time until fully syncedrbrunner71-9/+105
2019-11-25util: allow newlines in string to be splitmoneromooo-monero1-1/+14
2019-08-28simplewallet: lock console on inactivitymoneromooo-monero1-0/+160
2019-06-01daemon: add more chain specific info in alt_chain_infomoneromooo-monero1-0/+17
2019-04-18Windows: fix a build error in MSYS2 with boost 1.70.0iDunk54001-0/+3
2019-04-11Merge pull request #5367Riccardo Spagni1-4/+4
07b716bf util: name replace_file arguments better (moneromooo-monero)
2019-03-29util: name replace_file arguments bettermoneromooo-monero1-4/+4
It was confusing unless you read code and the rename(2) man page.
2019-03-24New interactive daemon command 'print_net_stats': Global traffic statsrbrunner71-0/+36
2019-03-05Update 2019 copyrightbinaryFate1-1/+1
2018-12-31Merge pull request #4944luigi11111-3/+29
1505dd3 util: set MONERO_DEFAULT_LOG_CATEGORY (moneromooo-monero) db57374 util: use fcntl instead of flock, for compatibility (moneromooo-monero)
2018-12-12MMS (Multisig Messaging System): Initial versionrbrunner71-0/+12
2018-12-06util: use fcntl instead of flock, for compatibilitymoneromooo-monero1-3/+26
in particular with NFS
2018-12-05util: set MONERO_DEFAULT_LOG_CATEGORYmoneromooo-monero1-0/+3
Otherwise it'd end up with whatever was included last
2018-11-03wallet: warn if lockable memory limit is too lowmoneromooo-monero1-0/+15
2018-10-26Merge pull request #4545Riccardo Spagni1-1/+24
93a88d73 Utils: add support for newer Windows versions detection (Gregory Lemercier)
2018-10-20Merge pull request #4629Riccardo Spagni1-0/+20
c7743929 spawn: close all file descriptors before execve (moneromooo-monero)
2018-10-17spawn: close all file descriptors before execvemoneromooo-monero1-0/+20
No need to give whatever we're calling access to what we use
2018-10-16util: close keys file lock on execmoneromooo-monero1-1/+1
2018-10-09Utils: add support for newer Windows versions detectionGregory Lemercier1-1/+24
2018-09-19simplewallet: Add Unicode input_line [Ryo backport]fireice-uk1-0/+28
2018-09-10Merge pull request #4293luigi11111-50/+36
9d65399 is_hdd update (p8p)
2018-08-25is_hdd updatep8p1-50/+36
2018-08-17util: remove unused <ustat.h>moneromooo-monero1-1/+0
It's obsolete and removed from at least Arch Linux 8.2 Reported by moneroexamples
2018-08-15Merge pull request #4136luigi11111-0/+16
4307489 wallet: disable core dumps on startup in release mode (moneromooo-monero)
2018-08-12wallet: disable core dumps on startup in release modemoneromooo-monero1-0/+16
2018-07-07core_tests: add --filter to select which tests to runmoneromooo-monero1-0/+19
2018-06-28util: fix mistakes made in #3994stoffu1-3/+3
2018-06-28util: add file_locker classstoffu1-0/+67
2018-06-28epee.string_tools: add conversion between UTF-8 and UTF-16stoffu1-12/+19
2018-06-21Move parse_subaddress_lookahead() from simplewallet.cpp to util.cppstoffu1-0/+18
2018-06-20Merge pull request #3932luigi11111-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)
2018-06-08db_lmdb: warn about slowness when running off a spinning diskmoneromooo-monero1-0/+70
2018-06-05util: consider Tor/I2P addresses to be non localmoneromooo-monero1-0/+7
2018-04-12util: log stack trace on crashmoneromooo-monero1-0/+39
2018-04-10common: make this build with unbound 1.4.20moneromooo-monero1-1/+4
Common on currently used distros
2018-02-25Wallet2 + CLI wallet: UTF-8 support for filenames and paths under Windowsrbrunner71-8/+15
2018-01-31wipeable_string: call memwipe directlymoneromooo-monero1-2/+0
since the original reason for the indirect call (that memwipe was not in contrib) is now gone
2018-01-26Update 2018 copyrightxmr-eric1-1/+1
2018-01-25Merge pull request #3084Riccardo Spagni1-0/+17
5f5a51a6 util: warn if unbound was not built with threads (moneromooo-monero)
2018-01-25Merge pull request #3052Riccardo Spagni1-9/+1
d507167f Removed unused mac-specific output folder path (Maxithi)
2018-01-10epee: remove dependency on commonmoneromooo-monero1-0/+1
2018-01-08util: warn if unbound was not built with threadsmoneromooo-monero1-0/+17
This can causes crashes in libunbound
2018-01-04Removed unused mac-specific output folder pathMaxithi1-9/+1
2017-12-25Merge pull request #2890Riccardo Spagni1-7/+7
83b0f9e6 version: add -master to master version (moneromooo-monero) 493f7d09 util: allow non numeric version parts (moneromooo-monero)
2017-12-16move includes around to lessen overall loadmoneromooo-monero1-0/+1
2017-12-16Merge pull request #2860Riccardo Spagni1-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)
2017-12-07util: allow non numeric version partsmoneromooo-monero1-7/+7
2017-11-27new wipeable_string class to replace std::string passphrasesmoneromooo-monero1-0/+4
2017-11-27utils: initialize easylogging++ in on_startupmoneromooo-monero1-0/+2
It will be reinitialized later once we know about log file and other command line configuration
2017-11-18fixed common/util.cpp to link against libresslston1th1-1/+1
2017-11-14make this build on SunOS/SolarisPavel Maryanov1-1/+1
2017-10-21Initialize openssl on startupmoneromooo-monero1-0/+7
2017-10-14Add tools::on_startup, and warn about glibc 2.25 bug if foundmoneromooo-monero1-0/+15
https://sourceware.org/bugzilla/show_bug.cgi?id=21778
2017-08-30Do not create file when RPC user/pass is given and use file lockingLee Clagett1-21/+55
2017-02-23core: protect precomputed block hashes with SHA256moneromooo-monero1-0/+12
2017-02-21update copyright year, fix occasional lack of newline at line endRiccardo Spagni1-1/+1
2017-02-20util: add a SHA256 functionmoneromooo-monero1-1/+34
2017-02-20util: add a vercmp function to compare version numbersmoneromooo-monero1-0/+17
It is simple, supports simple x.y.z type numeric versions, and does not attempt any kind of validation
2017-01-28Factor is_address_local code into a tools functionmoneromooo-monero1-0/+37
2016-12-16Enabled HTTP auth support for monero-wallet-rpcLee Clagett1-0/+86
2016-04-28add a --max-concurrency flagmoneromooo-monero1-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.
2016-04-06util: add a function to set umask to 077moneromooo-monero1-0/+9
Useful to ensure files are written without group/other read rights.
2015-12-31updated copyright yearRiccardo Spagni1-1/+1
2015-11-30Merge pull request #515Riccardo Spagni1-0/+5
0921f5b util: use putenv instead of setenv for mingw (moneromooo-monero)
2015-11-29wallet: cancellable refreshmoneromooo-monero1-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.
2015-11-25util: use putenv instead of setenv for mingwmoneromooo-monero1-0/+5
2015-11-21Fix startup crash when using a locale boost does not likemoneromooo-monero1-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.
2015-03-20Hopefully fixes build on WindowsThomas Winget1-1/+1
2015-01-02year updated in licenseRiccardo Spagni1-1/+1
2014-09-11Documented varintjebes1-1/+1
2014-09-09commented util.hjebes1-3/+5
2014-07-23License updated to BSD 3-clausefluffypony1-3/+29
2014-03-20some fixesAntonio Juarez1-0/+1
2014-03-03moved all stuff to githubAntonio Juarez1-0/+363