aboutsummaryrefslogtreecommitdiff
path: root/src/common
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge pull request #5102Riccardo Spagni2019-03-044-0/+162
|\ \ | | | | | | | | | 1eef0565 performance_tests: better stats, and keep track of timing history (moneromooo-monero)
| * | performance_tests: better stats, and keep track of timing historymoneromooo-monero2019-01-284-0/+162
| | |
* | | Merge pull request #4054Riccardo Spagni2019-03-041-2/+2
|\ \ \ | | | | | | | | | | | | 24569454 epee: add SSL support (moneromooo-monero)
| * | | epee: add SSL supportmoneromooo-monero2019-02-021-2/+2
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | RPC connections now have optional tranparent SSL. An optional private key and certificate file can be passed, using the --{rpc,daemon}-ssl-private-key and --{rpc,daemon}-ssl-certificate options. Those have as argument a path to a PEM format private private key and certificate, respectively. If not given, a temporary self signed certificate will be used. SSL can be enabled or disabled using --{rpc}-ssl, which accepts autodetect (default), disabled or enabled. Access can be restricted to particular certificates using the --rpc-ssl-allowed-certificates, which takes a list of paths to PEM encoded certificates. This can allow a wallet to connect to only the daemon they think they're connected to, by forcing SSL and listing the paths to the known good certificates. To generate long term certificates: openssl genrsa -out /tmp/KEY 4096 openssl req -new -key /tmp/KEY -out /tmp/REQ openssl x509 -req -days 999999 -sha256 -in /tmp/REQ -signkey /tmp/KEY -out /tmp/CERT /tmp/KEY is the private key, and /tmp/CERT is the certificate, both in PEM format. /tmp/REQ can be removed. Adjust the last command to set expiration date, etc, as needed. It doesn't make a whole lot of sense for monero anyway, since most servers will run with one time temporary self signed certificates anyway. SSL support is transparent, so all communication is done on the existing ports, with SSL autodetection. This means you can start using an SSL daemon now, but you should not enforce SSL yet or nothing will talk to you.
* / | notify: fix tokenizing being too strictmoneromooo-monero2019-03-041-1/+1
|/ /
* | notify: handle arbitrary tagsmoneromooo-monero2019-01-282-4/+20
| |
* | notify: warn if the spec contains one of '"\moneromooo-monero2019-01-281-0/+2
| | | | | | | | These aren't processed as a shell does, so this may surprise users
* | common: set MONERO_DEFAULT_LOG_CATEGORY for notify and spawnmoneromooo-monero2019-01-282-0/+6
|/
* Pruningmoneromooo-monero2019-01-224-1/+171
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The blockchain prunes seven eighths of prunable tx data. This saves about two thirds of the blockchain size, while keeping the node useful as a sync source for an eighth of the blockchain. No other data is currently pruned. There are three ways to prune a blockchain: - run monerod with --prune-blockchain - run "prune_blockchain" in the monerod console - run the monero-blockchain-prune utility The first two will prune in place. Due to how LMDB works, this will not reduce the blockchain size on disk. Instead, it will mark parts of the file as free, so that future data will use that free space, causing the file to not grow until free space grows scarce. The third way will create a second database, a pruned copy of the original one. Since this is a new file, this one will be smaller than the original one. Once the database is pruned, it will stay pruned as it syncs. That is, there is no need to use --prune-blockchain again, etc.
* i18n: filter LANG/LC_LANG for valid characters, and handle @moneromooo-monero2019-01-081-0/+14
| | | | | If there are more valid characters, add them in, I did not find an actual list.
* Merge pull request #4954Riccardo Spagni2019-01-062-9/+41
|\ | | | | | | | | | | 93c59b29 perf_timer: check allowed categories before logging (moneromooo-monero) 6a507dab perf_timer: add a way to get and reset the current time (moneromooo-monero) c1581a5b perf_timer: only log to file (moneromooo-monero)
| * perf_timer: check allowed categories before loggingmoneromooo-monero2018-12-071-8/+21
| |
| * perf_timer: add a way to get and reset the current timemoneromooo-monero2018-12-072-2/+18
| |
| * perf_timer: only log to filemoneromooo-monero2018-12-071-3/+6
| |
* | Merge pull request #4960luigi11112018-12-311-0/+4
|\ \ | | | | | | | | | b56b5b5 ignore child process when exec (jtgrassie)
| * | ignore child process when execJethro Grassie2018-12-081-0/+4
| |/
* | Merge pull request #4957luigi11112018-12-311-1/+1
|\ \ | | | | | | | | | 0e2f5cb perf_timer: make all logs Info level (moneromooo-monero)
| * | perf_timer: make all logs Info levelmoneromooo-monero2018-12-081-1/+1
| |/ | | | | | | and make them not default at log level 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
* | | Merge pull request #4929luigi11112018-12-312-0/+102
|\ \ \ | | | | | | | | | | | | 5a76933 Add glibc back compat code (TheCharlatan)
| * | | Add glibc back compat codeTheCharlatan2018-12-042-0/+102
| | | | | | | | | | | | | | | | | | | | To ensure that the binaries compiled by gitian run across many linux distributions, enforce 2.17 as the minimum libc version supported.
* | | | MMS (Multisig Messaging System): Initial versionrbrunner72018-12-122-0/+14
| |_|/ |/| |
* | | Merge pull request #4894Riccardo Spagni2018-12-043-3/+3
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | aee7a4e3 wallet_rpc_server: do not use RPC data if the call failed (moneromooo-monero) 1a0733e5 windows_service: fix memory leak (moneromooo-monero) 0dac3c64 unit_tests: do not rethrow a copy of an exception (moneromooo-monero) 5d9915ab cryptonote: fix get_unit for non default settings (moneromooo-monero) d4f50cb1 remove some unused code (moneromooo-monero) 61163971 a few minor (but easy) performance tweaks (moneromooo-monero) 30023074 tests: slow_memmem now returns size_t (moneromooo-monero)
| * | | remove some unused codemoneromooo-monero2018-11-231-1/+1
| | | | | | | | | | | | | | | | Found by codacy.com
| * | | a few minor (but easy) performance tweaksmoneromooo-monero2018-11-232-2/+2
| |/ / | | | | | | | | | Found by codacy.com
* | | Merge pull request #4882Riccardo Spagni2018-12-041-1/+1
|\ \ \ | | | | | | | | | | | | 6bfcc573 scoped_message_writer: protect all std::cout usage from readline (moneromooo-monero)
| * | | scoped_message_writer: protect all std::cout usage from readlinemoneromooo-monero2018-11-211-1/+1
| |/ /
* | / move int-util.h to epeemoneromooo-monero2018-12-042-259/+0
| |/ |/|
* | Merge pull request #4854Riccardo Spagni2018-12-047-18/+0
|\ \ | | | | | | | | | bd98e99c Removed a lot of unnecessary includes (Martijn Otto)
| * | Removed a lot of unnecessary includesMartijn Otto2018-11-157-18/+0
| | |
* | | Merge pull request #4853Riccardo Spagni2018-12-041-1/+2
|\ \ \ | | | | | | | | | | | | 2b3595d0 various: do not propagate exception through dtor (moneromooo-monero)
| * | | various: do not propagate exception through dtormoneromooo-monero2018-11-151-1/+2
| | | | | | | | | | | | | | | | Coverity 189689, 189690, 189692, 189695
* | | | Merge pull request #4845Riccardo Spagni2018-12-043-2/+150
|\ \ \ \ | |_|_|/ |/| | | | | | | 6732fc7f Fix issue 4793 - M/N multisig transaction signature (naughtyfox)
| * | | Fix issue 4793 - M/N multisig transaction signaturenaughtyfox2018-11-203-2/+150
| | |/ | |/|
* | | Merge pull request #4799Riccardo Spagni2018-11-161-1/+0
|\ \ \ | | | | | | | | | | | | f4988454 perf_timer: remove stray debug addition (moneromooo-monero)
| * | | perf_timer: remove stray debug additionmoneromooo-monero2018-11-051-1/+0
| |/ /
* | | Merge pull request #4790Riccardo Spagni2018-11-162-0/+17
|\ \ \ | | | | | | | | | | | | 177a9d76 wallet: warn if lockable memory limit is too low (moneromooo-monero)
| * | | wallet: warn if lockable memory limit is too lowmoneromooo-monero2018-11-032-0/+17
| |/ /
* | | Merge pull request #4778Riccardo Spagni2018-11-162-8/+36
|\ \ \ | |_|/ |/| | | | | 71eb32a9 dns_utils: do not exit if DNS records are corrupt (moneromooo-monero)
| * | dns_utils: do not exit if DNS records are corruptmoneromooo-monero2018-11-012-8/+36
| | |
* | | Merge pull request #4769Riccardo Spagni2018-11-141-0/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5808530f blockchain: remove unused output_scan_worker parameter (moneromooo-monero) 1426209a blockchain: don't run threads if we have just one function to run (moneromooo-monero) 6f7a5fd4 db_lmdb: slight speedup getting array data from the blockchain (moneromooo-monero) 99fbe100 db_lmdb: save some string copies for readonly db keys/values (moneromooo-monero) bf31447e tx_pool: speed up take_tx for transactions from blocks (moneromooo-monero) 4f005a77 tx_pool: remove unnecessary get_transaction_hash (moneromooo-monero) 593ef598 perf_timer: call reserve on new timer array (moneromooo-monero) 6ecc99ad core: avoid unnecessary tx/blob conversions (moneromooo-monero) 00cc1a16 unit_tests: notify test special case for the usual weirdo (moneromooo-monero)
| * | | perf_timer: call reserve on new timer arraymoneromooo-monero2018-11-011-0/+1
| |/ / | | | | | | | | | to avoid reallocations in the vast majority of the time
* | / common: fix base58 gcc -Werror=implicit-fallthroughxiphon2018-11-131-14/+2
| |/ |/|
* | Merge pull request #4658Riccardo Spagni2018-11-012-14/+12
|\ \ | |/ |/| | | ca9b996d perf_timer: separate log categories based on caller categories (moneromooo-monero)
| * perf_timer: separate log categories based on caller categoriesmoneromooo-monero2018-10-192-14/+12
| | | | | | | | | | | | Also default to microseconds, for homogeneity Makes it easier to enable what we need
* | 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-203-0/+25
|\ \ \ | | | | | | | | | | | | c7743929 spawn: close all file descriptors before execve (moneromooo-monero)