aboutsummaryrefslogtreecommitdiff
path: root/src/blockchain_db
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Merge pull request #4854Riccardo Spagni2018-12-042-3/+0
|\ \ \ | |_|/ |/| | | | | bd98e99c Removed a lot of unnecessary includes (Martijn Otto)
| * | Removed a lot of unnecessary includesMartijn Otto2018-11-152-3/+0
| | |
* | | Merge pull request #4821Riccardo Spagni2018-11-263-8/+12
|\ \ \ | | | | | | | | | | | | fc98f7a0 rpc: speedup get_outs.bin (moneromooo-monero)
| * | | rpc: speedup get_outs.binmoneromooo-monero2018-11-263-8/+12
| | |/ | |/|
* | | Merge pull request #4830Riccardo Spagni2018-11-261-0/+9
|\ \ \ | |/ / |/| | | | | dffec258 db_lmdb: error out if the db needs migration in read only mode (moneromooo-monero)
| * | db_lmdb: error out if the db needs migration in read only modemoneromooo-monero2018-11-091-0/+9
| |/
* | Merge pull request #4769Riccardo Spagni2018-11-143-22/+27
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | 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)
| * db_lmdb: slight speedup getting array data from the blockchainmoneromooo-monero2018-11-041-6/+8
| |
| * db_lmdb: save some string copies for readonly db keys/valuesmoneromooo-monero2018-11-011-11/+16
| |
| * core: avoid unnecessary tx/blob conversionsmoneromooo-monero2018-11-013-6/+4
| |
* | db_lmdb: log which output was not found in get_output_keymoneromooo-monero2018-11-021-1/+2
| |
* | Merge pull request #4664Riccardo Spagni2018-11-011-9/+23
|\ \ | | | | | | | | | 61304151 db_lmdb: use MDB_MULTIPLE_NEXT where possible for some speedup (moneromooo-monero)
| * | db_lmdb: use MDB_MULTIPLE_NEXT where possible for some speedupmoneromooo-monero2018-10-191-9/+23
| | |
* | | Merge pull request #4639Riccardo Spagni2018-11-011-1/+1
|\ \ \ | |_|/ |/| | | | | ec301390 Update db_lmdb.cpp (Cactii1)
| * | Update db_lmdb.cppCactii12018-10-171-1/+1
| |/
* / blockchain_db: initialize m_hardfork in ctor just in casemoneromooo-monero2018-10-161-1/+1
|/ | | | Coverity 136568
* Fix rtxn usage in BlockchainLMDB::get_estimated_batch_sizeHoward Chu2018-10-021-2/+2
| | | | | Should only stop the rtxn if we actually started it Fixes Coverity 184960
* Merge pull request #4459Riccardo Spagni2018-09-291-5/+16
| | | | | | | | | | | | | | | | | | | | | | | bcf3f6af fuzz_tests: catch unhandled exceptions (moneromooo-monero) 3ebd05d4 miner: restore stream flags after changing them (moneromooo-monero) a093092e levin_protocol_handler_async: do not propagate exception through dtor (moneromooo-monero) 1eebb82b net_helper: do not propagate exceptions through dtor (moneromooo-monero) fb6a3630 miner: do not propagate exceptions through dtor (moneromooo-monero) 2e2139ff epee: do not propagate exception through dtor (moneromooo-monero) 0749a8bd db_lmdb: do not propagate exceptions in dtor (moneromooo-monero) 1b0afeeb wallet_rpc_server: exit cleanly on unhandled exceptions (moneromooo-monero) 418a9936 unit_tests: catch unhandled exceptions (moneromooo-monero) ea7f9543 threadpool: do not propagate exceptions through the dtor (moneromooo-monero) 6e855422 gen_multisig: nice exit on unhandled exception (moneromooo-monero) 53df2deb db_lmdb: catch error in mdb_stat calls during migration (moneromooo-monero) e67016dd blockchain_blackball: catch failure to commit db transaction (moneromooo-monero) 661439f4 mlog: don't remove old logs if we failed to rename the current file (moneromooo-monero) 5fdcda50 easylogging++: test for NULL before dereference (moneromooo-monero) 7ece1550 performance_test: fix bad last argument calling add_arg (moneromooo-monero) a085da32 unit_tests: add check for page size > 0 before dividing (moneromooo-monero) d8b1ec8b unit_tests: use std::shared_ptr to shut coverity up about leaks (moneromooo-monero) 02563bf4 simplewallet: top level exception catcher to print nicer messages (moneromooo-monero) c57a65b2 blockchain_blackball: fix shift range for 32 bit archs (moneromooo-monero)
* Merge pull request #4445Riccardo Spagni2018-09-291-2/+12
| | | | fe125647 Fixup RENAME_DB() macro (Howard Chu)
* db_lmdb: do not use base for cumulative distributionmoneromooo-monero2018-09-121-0/+2
| | | | it's confusing and needlessly complicated
* v8: per byte fee, pad bulletproofs, fixed 11 ring sizemoneromooo-monero2018-09-116-37/+42
|
* Merge pull request #4293luigi11112018-09-101-2/+6
|\ | | | | | | 9d65399 is_hdd update (p8p)
| * is_hdd updatep8p2018-08-251-2/+6
| |
* | Merge pull request #4256luigi11112018-09-102-7/+3
|\ \ | | | | | | | | | d6fc870 db_lmdb: resize blockchain database when 90% filled (moneromooo-monero)
| * | db_lmdb: resize blockchain database when 90% filledmoneromooo-monero2018-08-142-7/+3
| | | | | | | | | | | | instead of a random ratio from 60% to 90%.
* | | Merge pull request #4270luigi11112018-09-041-2/+13
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | 29dea03 epee: resize vectors where possible in serialization (moneromooo-monero) 76affd9 epee: some speedup in parsing (moneromooo-monero) dc6c069 db_lmdb: speedup the get_output_distribution common case (moneromooo-monero) 76ac5a8 wallet2: ask for a binary output distribution, for speed (moneromooo-monero)
| * | db_lmdb: speedup the get_output_distribution common casemoneromooo-monero2018-08-191-2/+13
| | |
* | | Merge pull request #4204luigi11112018-08-221-2/+2
|\ \ \ | | | | | | | | | | | | b278b83 core: sync database based on bytes added, not blocks added (moneromooo-monero)
| * | | core: sync database based on bytes added, not blocks addedmoneromooo-monero2018-08-121-2/+2
| | |/ | |/| | | | | | | | | | Blocks have a very wide range, whereas actual size is the relevant quantity to consider when syncing
* | | Merge pull request #4200luigi11112018-08-224-68/+1
|\ \ \ | |_|/ |/| | | | | 43f7110 blockchain_db: remove unused get_output_key variant (moneromooo-monero)
| * | blockchain_db: remove unused get_output_key variantmoneromooo-monero2018-07-304-68/+1
| |/ | | | | | | It was actually incorrect, as it would not return commitment
* | Merge pull request #4161luigi11112018-08-151-2/+2
|\ \ | |/ |/| | | be02eb9 db_lmdb: demote the 'batch already enabled' log, it's harmless (moneromooo-monero)
| * db_lmdb: demote the "batch already enabled" log, it's harmlessmoneromooo-monero2018-07-201-2/+2
| |
* | Merge pull request #4129luigi11112018-07-271-0/+3
|\ \ | |/ |/| | | ee31383 db_lmdb: don't sync a read only DB (moneromooo-monero)
| * db_lmdb: don't sync a read only DBmoneromooo-monero2018-07-111-0/+3
| | | | | | | | This would only throw
* | Merge pull request #4013luigi11112018-07-193-0/+20
|\ \ | | | | | | | | | e5592c4 rpc: add blockchain disk size to getinfo (moneromooo-monero)
| * | rpc: add blockchain disk size to getinfomoneromooo-monero2018-06-203-0/+20
| | | | | | | | | | | | | | | This should help new nodes predict how much disk space will be needed for a full sync
* | | Merge pull request #3981luigi11112018-07-194-7/+236
|\ \ \ | | | | | | | | | | | | 45e419b db: store cumulative rct output distribution in the db for speed (moneromooo-monero)
| * | | db: store cumulative rct output distribution in the db for speedmoneromooo-monero2018-07-134-7/+236
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | This gets rid of the temporary precalc cache. Also make the RPC able to send data back in binary or JSON, since there can be a lot of data This bumps the LMDB database format to v3, with migration.
* | | Merge pull request #3854luigi11112018-07-195-1/+39
|\ \ \ | |/ / |/| | | | | | | | | | | | | | 149da42 db_lmdb: enable batch transactions by default (stoffu) 34cb6b4 add --regtest and --fixed-difficulty for regression testing (vicsn) 9e1403e update get_info RPC and bump RPC version (vicsn) 207b66e first new functional tests (vicsn)
| * | add --regtest and --fixed-difficulty for regression testingvictorsintnicolaas2018-06-295-0/+38
| | | | | | | | | | | | | | | | | | | | | on_generateblocks RPC call combines functionality from the on_getblocktemplate and on_submitblock RPC calls to allow rapid block creation. Difficulty is set permanently to 1 for regtest. Makes use of FAKECHAIN network type, but takes hard fork heights from mainchain Default reserve_size in generate_blocks RPC call is now 1. If it is 0, the following error occurs 'Failed to calculate offset for'. Queries hard fork heights info of other network types
| * | db_lmdb: enable batch transactions by defaultstoffu2018-06-141-1/+1
| | |
* | | Merge pull request #3987luigi11112018-06-271-4/+5
|\ \ \ | | | | | | | | | | | | 2d10830 db_ldmb: print db version when complaining about incompatibility (moneromooo-monero)
| * | | db_ldmb: print db version when complaining about incompatibilitymoneromooo-monero2018-06-111-4/+5
| | |/ | |/|
* | | Merge pull request #3936luigi11112018-06-251-0/+1
|\ \ \ | |/ / |/| | | | | d81e042 tx_pool: initialize bitflags padding since it gets written to storage (moneromooo-monero)
| * | tx_pool: initialize bitflags padding since it gets written to storagemoneromooo-monero2018-06-051-0/+1
| |/ | | | | | | Avoids valgrind reporting uninitialized data usage
* / db_lmdb: warn about slowness when running off a spinning diskmoneromooo-monero2018-06-081-0/+3
|/
* Merge pull request #3876luigi11112018-05-301-0/+1
|\ | | | | | | | | 740da1b core: fix automatic safe db sync mode switching (moneromooo-monero) e942d34 protocol: do not switch to unsafe sync mode for just a few blocks (moneromooo-monero)
| * core: fix automatic safe db sync mode switchingmoneromooo-monero2018-05-281-0/+1
| |
* | db_lmdb: save pruned and prunable tx data separatelymoneromooo-monero2018-05-236-51/+375
|/ | | | This bumps DB version to 2, migration code will run for v1 DBs