aboutsummaryrefslogtreecommitdiff
path: root/src/common/util.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge functionality of misc_os_dependent into time_helper.hJeffrey2022-04-181-1/+1
| | | | | | | | | | | | | | Actions: 1. Remove unused functions from misc_os_dependent.h 2. Move three remaining functions, get_gmt_time, get_ns_count, and get_tick_count into time_helper.h 3. Remove unused functions from time_helper.h 4. Refactor get_ns_count and get_internet_time_str and get_time_interval_string 5. Remove/add includes as needed Relevant commits on the old PR: a9fbe52b02ffab451e90c977459fea4642731cd1 9a59b131c4ed1be8afe238fff3780fe203c65a46 7fa9e2817df9b9ef3f0290f7f86357939829e588
* Copyright: Update to 2022mj-xmr2022-03-041-1/+1
|
* Daemon: Update average block size tablerbrunner72021-07-271-2/+6
|
* restrict public node checks a littlemoneromooo-monero2020-12-221-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
* util: fix escaping more than one ?* in glob_to_regexmoneromooo-monero2020-10-201-3/+3
|
* Merge pull request #6689Alexander Blair2020-08-161-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)
| * util: fix kilo prefix typo (K instead of k)moneromooo-monero2020-06-251-1/+1
| |
* | Update copyright year to 2020SomaticFanatic2020-05-061-1/+1
|/ | | | Update copyright year to 2020
* Daemon: Print estimates for time until fully syncedrbrunner72020-03-211-9/+105
|
* util: allow newlines in string to be splitmoneromooo-monero2019-11-251-1/+14
|
* simplewallet: lock console on inactivitymoneromooo-monero2019-08-281-0/+160
|
* daemon: add more chain specific info in alt_chain_infomoneromooo-monero2019-06-011-0/+17
|
* Windows: fix a build error in MSYS2 with boost 1.70.0iDunk54002019-04-181-0/+3
|
* Merge pull request #5367Riccardo Spagni2019-04-111-4/+4
|\ | | | | | | 07b716bf util: name replace_file arguments better (moneromooo-monero)
| * util: name replace_file arguments bettermoneromooo-monero2019-03-291-4/+4
| | | | | | | | It was confusing unless you read code and the rename(2) man page.
* | New interactive daemon command 'print_net_stats': Global traffic statsrbrunner72019-03-241-0/+36
|/
* Update 2019 copyrightbinaryFate2019-03-051-1/+1
|
* Merge pull request #4944luigi11112018-12-311-3/+29
|\ | | | | | | | | 1505dd3 util: set MONERO_DEFAULT_LOG_CATEGORY (moneromooo-monero) db57374 util: use fcntl instead of flock, for compatibility (moneromooo-monero)
| * util: use fcntl instead of flock, for compatibilitymoneromooo-monero2018-12-061-3/+26
| | | | | | | | in particular with NFS
| * util: set MONERO_DEFAULT_LOG_CATEGORYmoneromooo-monero2018-12-051-0/+3
| | | | | | | | Otherwise it'd end up with whatever was included last
* | MMS (Multisig Messaging System): Initial versionrbrunner72018-12-121-0/+12
|/
* wallet: warn if lockable memory limit is too lowmoneromooo-monero2018-11-031-0/+15
|
* Merge pull request #4545Riccardo Spagni2018-10-261-1/+24
|\ | | | | | | 93a88d73 Utils: add support for newer Windows versions detection (Gregory Lemercier)
| * Utils: add support for newer Windows versions detectionGregory Lemercier2018-10-091-1/+24
| |
* | Merge pull request #4629Riccardo Spagni2018-10-201-0/+20
|\ \ | | | | | | | | | c7743929 spawn: close all file descriptors before execve (moneromooo-monero)
| * | spawn: close all file descriptors before execvemoneromooo-monero2018-10-171-0/+20
| |/ | | | | | | No need to give whatever we're calling access to what we use
* / util: close keys file lock on execmoneromooo-monero2018-10-161-1/+1
|/
* simplewallet: Add Unicode input_line [Ryo backport]fireice-uk2018-09-191-0/+28
|
* 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
| |/