summaryrefslogtreecommitdiff
path: root/src/common
Commit message (Collapse)AuthorAgeFilesLines
* ignore child process when execJethro Grassie2019-02-121-0/+4
|
* notify: fix tokenizing being too strictmoneromooo-monero2019-02-121-1/+1
|
* notify: handle arbitrary tagsmoneromooo-monero2019-02-122-4/+20
|
* Providing user supplied default constructor for expect<void>Lee Clagett2018-10-221-1/+3
|
* Merge pull request #4630Riccardo Spagni2018-10-203-0/+25
|\ | | | | | | e4ce26c7 spawn: close all file descriptors before execve (moneromooo-monero)
| * spawn: close all file descriptors before execvemoneromooo-monero2018-10-173-0/+25
| | | | | | | | 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
|/
* Merge pull request #4587Riccardo Spagni2018-10-151-2/+6
|\ | | | | | | 067e232b password: fix secure input with echo on windows (moneromooo-monero)
| * password: fix secure input with echo on windowsmoneromooo-monero2018-10-141-2/+6
| | | | | | | | Thanks to iDunk for the testing back and forth
* | password: fix backspace outputting ^? on linux on echoing secure inputmoneromooo-monero2018-10-141-0/+7
|/
* Merge pull request #4390Riccardo Spagni2018-10-063-11/+54
| | | | | a0613532 secure_pwd_reader: Add proper Unicode handling [Ryo contribution] (fireice-uk) 579383c2 simplewallet: Add Unicode input_line [Ryo backport] (fireice-uk)
* Merge pull request #4482Riccardo Spagni2018-10-022-0/+5
| | | | 25e5890d wallet: fix --generate-from-json using wrong password (moneromooo-monero)
* Merge pull request #4479Riccardo Spagni2018-10-024-11/+65
| | | | d5541e44 common: Windows 'spawn' support for tx and block notifications (xiphon)
* Merge pull request #4463Riccardo Spagni2018-10-021-3/+4
| | | | 8110bea3 dns_utils: refresh list of usable DNSSEC servers (moneromooo-monero)
* Merge pull request #4333Riccardo Spagni2018-09-295-0/+238
|\ | | | | | | 73403004 add --block-notify to monerod and --tx-notify to monero-wallet-{cli,rpc} (moneromooo-monero)
| * add --block-notify to monerod and --tx-notify to monero-wallet-{cli,rpc}moneromooo-monero2018-09-295-0/+238
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Those take a command line of the form "A [B]", with A being the name (and optional path, if not in the caller's CWD, but fully qualified path is recommended, avoids possible security issues) to a program, and optional arguments. Any occurence of the two character string "%s" will be replaced by the hash of the block or transaction which triggered the notification. Tokenization is barebones. If you want things like pipes, calls to paths with spaces, etc, then use a script (though exec time will suffer). block-notify is called when a new block is added onto the chain. tx-notify is called when a new transaction happens with the wallet as source and/or destination. It is the notification program's responsibility to determine what to do in those cases. Note that this is asynchronous, so it is very possible that: - the notification programs will be run out of order - several events happen before the notification for the first one A Windows port would be nice if someone wants to make one.
* | threadpool: do not propagate exceptions through the dtormoneromooo-monero2018-09-271-1/+2
|/ | | | | | | | This would call terminate. We ignore exceptions in pthread_join instead, as this is not a fatal problem here. Coverity 182568
* Merge pull request #4371Riccardo Spagni2018-09-215-0/+648
|\ | | | | | | 55c7cd14 Adding expect<T> - a value-or-error implementation (Lee Clagett)
| * Adding expect<T> - a value-or-error implementationLee Clagett2018-09-125-0/+648
| |
* | wallet: ask-password can now ask without encrypting the secret spend keymoneromooo-monero2018-09-141-2/+2
| |
* | Merge pull request #4309Riccardo Spagni2018-09-141-4/+14
|\ \ | | | | | | | | | 5083614f dns_util: add new DNSSEC trust anchor for rollover (moneromooo-monero)
| * | dns_util: add new DNSSEC trust anchor for rollovermoneromooo-monero2018-08-281-4/+14
| | | | | | | | | | | | | | | | | | | | | | | | It should be useful from the 11th of october 2018. The old key is still trusted for now. https://www.icann.org/resources/pages/ksk-rollover
* | | perf_timer: split timer class into a base one and a logging onemoneromooo-monero2018-09-112-14/+42
| | |
* | | aligned: aligned memory alloc/realloc/freemoneromooo-monero2018-09-113-2/+184
| | |
* | | Merge pull request #4293luigi11112018-09-102-50/+36
|\ \ \ | |_|/ |/| | | | | 9d65399 is_hdd update (p8p)
| * | is_hdd updatep8p2018-08-252-50/+36
| |/
* | Merge pull request #4274luigi11112018-09-041-1/+0
|\ \ | |/ |/| | | 11c6718 util: remove unused <ustat.h> (moneromooo-monero)
| * 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 #4224luigi11112018-08-221-3/+3
|\ \ | | | | | | | | | c5e2aee updates: fix hash sanity checking (moneromooo-monero)
| * | updates: fix hash sanity checkingmoneromooo-monero2018-08-051-3/+3
| | |
* | | wallet: wipe seed from memory where appropriatemoneromooo-monero2018-08-162-12/+12
| |/ |/|
* | Merge pull request #4138luigi11112018-08-151-1/+10
|\ \ | | | | | | | | | | | | 7f8bdeb easylogging++: make the logger handle early/late logging (moneromooo-monero) bc8cbdb stack_trace: print stack traces on stdout if the logger isn't live (moneromooo-monero)
| * | stack_trace: print stack traces on stdout if the logger isn't livemoneromooo-monero2018-08-121-1/+10
| | |
* | | Merge pull request #4136luigi11112018-08-152-0/+18
|\ \ \ | |_|/ |/| | | | | 4307489 wallet: disable core dumps on startup in release mode (moneromooo-monero)
| * | wallet: disable core dumps on startup in release modemoneromooo-monero2018-08-122-0/+18
| |/
* | Merge pull request #4110luigi11112018-07-272-0/+21
|\ \ | | | | | | | | | 639ca3b core_tests: add --filter to select which tests to run (moneromooo-monero)
| * | core_tests: add --filter to select which tests to runmoneromooo-monero2018-07-072-0/+21
| |/
* | Merge pull request #4075luigi11112018-07-191-1/+0
|\ \ | | | | | | | | | 438d52d remove epee from link lines where it's redundant (moneromooo-monero)
| * | remove epee from link lines where it's redundantmoneromooo-monero2018-06-281-1/+0
| |/ | | | | | | | | | | For some reason, this confuses and kills ASAN on startup as it thinks const uint8_t ipv4_network_address::ID is defined multiple times.
* | Merge pull request #4045luigi11112018-07-192-2/+2
|\ \ | |/ |/| | | 7cdd147 Changed URLs to HTTPS (einsteinsfool)
| * Changed URLs to HTTPSeinsteinsfool2018-06-232-2/+2
| |
* | util: fix mistakes made in #3994stoffu2018-06-281-3/+3
| |
* | util: add file_locker classstoffu2018-06-282-0/+81
| |
* | epee.string_tools: add conversion between UTF-8 and UTF-16stoffu2018-06-281-11/+18
| |
* | Merge pull request #3716luigi11112018-06-272-14/+30
|\ \ | | | | | | | | | a2b557f 6795bd0 209ec96 ed2c81e a830db2 57ea902 31a895e ba8331c f7f1917 41be339 f025ae9 ef2cb63 dcfd299 5d3e702 2704624 2771a18 0e4c7d0 (moneromooo-monero)
| * | threadpool: allow leaf functions to run concurrentlymoneromooo-monero2018-06-262-14/+30
| |/ | | | | | | | | Decrease the number of worker threads by one to account for the fact the calling thread acts as a worker thread now
* | Merge pull request #3957luigi11112018-06-251-1/+1
|\ \ | | | | | | | | | 2bb2c1b password: flush cout when prompting for password without newline (moneromooo-monero)
| * | password: flush cout when prompting for password without newlinemoneromooo-monero2018-06-071-1/+1
| | |
* | | Move parse_subaddress_lookahead() from simplewallet.cpp to util.cppstoffu2018-06-212-0/+21
| |/ |/|
* | 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)