aboutsummaryrefslogtreecommitdiff
path: root/src/blockchain_db/lmdb (unfollow)
AgeCommit message (Expand)AuthorFilesLines
2020-08-17Avoid some temporary strings when reading off the databasemoneromooo-monero2-30/+25
2020-06-09daemon: guard against rare 'difficulty drift' bug with checkpoints and recalc...stoffu2-0/+40
2020-05-19fix a few typos in error messagesmoneromooo-monero1-1/+1
2020-05-16db_lmdb: test for mmap support at init timemoneromooo-monero2-0/+30
2020-05-06Update copyright year to 2020SomaticFanatic2-2/+2
2020-03-12db_lmdb: fix race crash using a stale cursormoneromooo-monero1-0/+1
2020-02-27blockchain_db: faster fetching of consecutive txesmoneromooo-monero2-0/+99
2020-02-17remove empty statementsInterchained1-2/+2
2019-11-19db_lmdb: guard against non NUL terminated keysmoneromooo-monero1-1/+9
2019-11-15blockchain: speedup fetching pruned contiguous tx blobsmoneromooo-monero2-0/+43
2019-11-02Adding support for hidden (anonymity) txpoolLee Clagett2-17/+41
2019-10-17db_lmdb: an empty prunable data record means the tx is not prunedmoneromooo-monero1-2/+0
2019-09-27monerod can now sync from pruned blocksmoneromooo-monero1-2/+4
2019-09-04db_lmdb: print percentages as percentages, not ratiosmoneromooo-monero1-1/+1
2019-08-18Increase max_dbs from 20 to 32Howard Chu1-1/+1
2019-06-15db_lmdb: commit pruning txn at checkpointsmoneromooo-monero1-1/+50
2019-06-14ensure no NULL is passed to memcpymoneromooo-monero1-2/+2
2019-05-08blockchain: keep alternative blocks in LMDBmoneromooo-monero2-0/+168
2019-05-01fix wide difficulty conversion with some versions of boostmoneromooo-monero1-2/+2
2019-04-29add a few checks where it seems appropriatemoneromooo-monero1-1/+1
2019-04-14blockchain_db: fix db txn ending too earlymoneromooo-monero2-48/+39
2019-04-05cryptonote: rework block blob size sanity checkmoneromooo-monero2-0/+55
2019-03-24Make difficulty 128 bit instead of 64 bitmoneromooo-monero2-7/+155
2019-03-08blockchain: speed up getting N blocks weights/long term weightsmoneromooo-monero2-0/+70
2019-03-05Update 2019 copyrightbinaryFate2-2/+2
2019-03-05db_lmdb: make mdb_block_info format conversion more future proofmoneromooo-monero1-5/+5
2019-03-05save some database calls when getting top block hash and heightmoneromooo-monero2-2/+4
2019-03-05Avoid repeated (de)serialization when syncingmoneromooo-monero2-9/+10
2019-03-05db: speedup block additionmoneromooo-monero1-11/+16
2019-03-04ArticMine's new block weight algorithmmoneromooo-monero2-6/+214
2019-02-21db_lmdb: fix missing mdb_dbi_close in migrationmoneromooo-monero1-0/+1
2019-01-22Pruningmoneromooo-monero2-23/+405
2019-01-19db_lmdb: don't unnecessarily cast to double on the way to uint64_tmoneromooo-monero1-3/+3
2019-01-16blockchain_db: allow getting output keys without commitmentmoneromooo-monero2-3/+4
2019-01-07Make get_output_key method constmoneroexamples2-4/+4
2018-12-18blockchain_db: speedup tx output gatheringmoneromooo-monero2-22/+28
2018-12-05db_lmdb: avoid pointless divisionmoneromooo-monero1-1/+1
2018-12-05db_lmdb: inline check_open, it's trivial and called everywheremoneromooo-monero2-8/+7
2018-12-05blockchain_db: remove a couple unused functionsmoneromooo-monero2-41/+0
2018-11-27Outputs where all amounts are known spent can now be prunedmoneromooo-monero2-4/+68
2018-11-26rpc: speedup get_outs.binmoneromooo-monero2-6/+10
2018-11-19lmdb: fix gcc 7.3.0 'implicit-fallthrough' warningxiphon1-10/+6
2018-11-15Removed a lot of unnecessary includesMartijn Otto1-2/+0
2018-11-09db_lmdb: error out if the db needs migration in read only modemoneromooo-monero1-0/+9
2018-11-04db_lmdb: slight speedup getting array data from the blockchainmoneromooo-monero1-6/+8
2018-11-02db_lmdb: log which output was not found in get_output_keymoneromooo-monero1-1/+2
2018-11-01db_lmdb: save some string copies for readonly db keys/valuesmoneromooo-monero1-11/+16
2018-11-01core: avoid unnecessary tx/blob conversionsmoneromooo-monero2-5/+3
2018-10-19db_lmdb: use MDB_MULTIPLE_NEXT where possible for some speedupmoneromooo-monero1-9/+23
2018-10-17Update db_lmdb.cppCactii11-1/+1
2018-10-02Fix rtxn usage in BlockchainLMDB::get_estimated_batch_sizeHoward Chu1-2/+2
2018-09-29Merge pull request #4459Riccardo Spagni1-5/+16
2018-09-29Merge pull request #4445Riccardo Spagni1-2/+12
2018-09-25Fixup RENAME_DB() macroHoward Chu1-2/+12
2018-09-12db_lmdb: do not use base for cumulative distributionmoneromooo-monero1-0/+2
2018-09-11v8: per byte fee, pad bulletproofs, fixed 11 ring sizemoneromooo-monero2-17/+22
2018-08-25is_hdd updatep8p1-2/+6
2018-08-19db_lmdb: speedup the get_output_distribution common casemoneromooo-monero1-2/+13
2018-08-14db_lmdb: resize blockchain database when 90% filledmoneromooo-monero2-7/+3
2018-07-30blockchain_db: remove unused get_output_key variantmoneromooo-monero2-50/+0
2018-07-20db_lmdb: demote the "batch already enabled" log, it's harmlessmoneromooo-monero1-2/+2
2018-07-13db: store cumulative rct output distribution in the db for speedmoneromooo-monero2-6/+211
2018-07-11db_lmdb: don't sync a read only DBmoneromooo-monero1-0/+3
2018-06-29add --regtest and --fixed-difficulty for regression testingvictorsintnicolaas2-0/+17
2018-06-20rpc: add blockchain disk size to getinfomoneromooo-monero2-0/+13
2018-06-14db_lmdb: enable batch transactions by defaultstoffu1-1/+1
2018-06-11db_ldmb: print db version when complaining about incompatibilitymoneromooo-monero1-4/+5
2018-06-08db_lmdb: warn about slowness when running off a spinning diskmoneromooo-monero1-0/+3
2018-05-28core: fix automatic safe db sync mode switchingmoneromooo-monero1-0/+1
2018-05-23db_lmdb: save pruned and prunable tx data separatelymoneromooo-monero2-41/+328
2018-05-21speed up get_output_distribution (and precalc common case)moneromooo-monero2-0/+43
2018-04-23speedup get_output_histogram for all amounts when min_count > 0moneromooo-monero2-5/+9
2018-03-16add RPC to get a histogram of outputs of a given amountmoneromooo-monero2-3/+44
2018-03-05Correct spelling mistakes.Edward Betts1-1/+1
2018-02-23db_lmdb: fix free space reportingmoneromooo-monero1-1/+2
2018-02-19db_lmdb: fix return code mixup in for_all_*moneromooo-monero1-12/+12
2018-02-02blockchain_db: initialize m_open in base class ctormoneromooo-monero1-2/+1
2018-02-02db_lmdb: check hard fork info drop succeededmoneromooo-monero1-2/+6
2018-01-31Don't create readtxn until after txn_safe gate checkHoward Chu2-2/+10
2018-01-26Update 2018 copyrightxmr-eric2-2/+2
2017-12-28Additional fix for core_testsHoward Chu1-10/+15
2017-12-28Fix stale readcursor flagsHoward Chu1-22/+15
2017-12-20Fix exceptions not finding txpool txes when relayingmoneromooo-monero2-4/+6
2017-12-18catch const exceptionsmoneromooo-monero1-1/+1
2017-12-16move includes around to lessen overall loadmoneromooo-monero2-1/+2
2017-11-14remove "using namespace std" from headersmoneromooo-monero1-0/+1
2017-11-08Protect node privacy by proper filtering in restricted-mode RPC answersbinaryFate2-9/+40
2017-11-02Increase LMDB maxreaders if large number of threads in useHoward Chu1-0/+6
2017-10-26fixed an LMDB issue on OpenBSD (#2699) which leads to a crash in monerodston1th1-0/+6
2017-10-12db_lmdb: include chain height when failing to find an output keymoneromooo-monero1-1/+1
2017-10-07frob level 1 logs a bit for consistencymoneromooo-monero1-7/+7
2017-09-19db_lmdb: fix use of uninitialized key in for_blocks_rangemoneromooo-monero1-2/+2
2017-09-17Use actual batch size for resize estimatesHoward Chu2-8/+14
2017-08-29Fix blockchain_import wedge on exception in cleanup_handle_incoming_blocksmoneromooo-monero2-9/+25
2017-08-20Toggle SAFE syncmode on and off automaticallyHoward Chu2-0/+7
2017-08-19DB cleanupHoward Chu1-1/+11
2017-08-12core: add --db-salvage command line flagmoneromooo-monero1-1/+1
2017-07-31some include cleanupmoneromooo-monero1-0/+1
2017-06-11blockchain_db: add a txpool tx getter which returns existencemoneromooo-monero2-3/+13
2017-06-01Don't copy blockchain for coinbase_tx_sumHoward Chu2-3/+13
2017-05-25Move txpool to the databasemoneromooo-monero2-0/+235
2017-03-19Partial fix #1876, check thread in block_txn_start()Howard Chu1-1/+2
2017-03-03Remove redundant num_txs() methodHoward Chu2-18/+4
2017-02-21update copyright year, fix occasional lack of newline at line endRiccardo Spagni2-2/+2
2017-02-18Handle map resizes from other processesHoward Chu1-9/+52
2017-02-18Can't cache num_txs or num_outputs eitherHoward Chu2-34/+34
2017-02-18Add a few read txns to streamlineHoward Chu2-3/+7
2017-02-13blockchain_db: add "raw" blobdata getters for block and transactionmoneromooo-monero2-28/+9
2017-02-13blockchain_db: do not throw on expected partial results getting keysmoneromooo-monero2-2/+9
2017-02-11db_lmdb: fix bad height saved in tx datamoneromooo-monero1-0/+1
2017-02-08extract some basic code from libcryptonote_core into libcryptonote_basickenshi841-1/+1
2017-01-28Update and use blockchain data files definesMiguel Herranz1-4/+5
2017-01-16Tweak some msg loglevelsHoward Chu1-11/+13
2017-01-16Change logging to easylogging++moneromooo-monero1-17/+21
2017-01-15Check for correct thread before ending batch transactionHoward Chu1-0/+7
2017-01-14Don't cache block height, always get from DBHoward Chu2-14/+29
2017-01-14Use batch transactions when syncingHoward Chu2-4/+5
2017-01-07blockchain: allow marking "tx not found" without an exceptionmoneromooo-monero2-3/+13
2016-12-01db_lmdb: add info in an error message when we can't get an outputmoneromooo-monero1-1/+1
2016-12-01db_lmdb: guard against going out of sync on unexpected db resultsmoneromooo-monero1-1/+1
2016-12-01db_lmdb: minor pedantic tweaksmoneromooo-monero1-8/+8
2016-12-01db_lmdb: set same packing format for output_data_t and pre_rct_output_data_tmoneromooo-monero1-0/+3
2016-10-15wallet: select part of the fake outs from recent outputsmoneromooo-monero2-11/+28
2016-09-24db_lmdb: do not error if dropping a non existent hard fork tablemoneromooo-monero1-1/+1
2016-09-21Fix minor typo in "need resize" message.Myagui1-2/+2
2016-08-31core: faster find_blockchain_supplementmoneromooo-monero2-2/+9
2016-08-29db_lmdb: fix reorg with "halfway rct" coinbase outputsmoneromooo-monero1-1/+3
2016-08-28move the rct commitments to the output_amounts databasemoneromooo-monero2-128/+53
2016-08-28add rct to the protocolmoneromooo-monero1-0/+2
2016-08-28db_lmdb: update reset for recent db changesmoneromooo-monero1-0/+10
2016-08-28blockchain_db: add functions for adding/removing/getting rct commitmentsmoneromooo-monero2-0/+120
2016-08-26db_lmdb: do not try to modify the database in read only modemoneromooo-monero1-4/+12
2016-08-10db_lmdb: errors dropping hf starting height db on reset are not fatalmoneromooo-monero1-2/+1
2016-08-01new unlocked parameter to output_histogrammoneromooo-monero2-6/+24
2016-07-26db_lmdb: add some missing api call checksmoneromooo-monero1-14/+31
2016-07-13remove hf_starting_height dbmoneromooo-monero2-76/+2
2016-04-24Another take on migrationHoward Chu1-570/+94
2016-04-08MigrationHoward Chu2-5/+1049
2016-04-05CleanupHoward Chu2-21/+65
2016-04-05Cleanup and clarifyHoward Chu2-115/+92
2016-04-05Use cursors in some remove functionsHoward Chu1-7/+33
2016-04-05Use DUPFIXED for block_info and output_txsHoward Chu2-56/+46
2016-04-05More outputs consolidationHoward Chu2-491/+263
2016-04-05Use DUPFIXED for output_keysHoward Chu1-23/+37
2016-04-05Use DUPFIXED for tx_indicesHoward Chu1-50/+60
2016-04-05Use DUPFIXED for block_heightsHoward Chu1-22/+29
2016-04-05Use DUPFIXED for spent_keysHoward Chu1-23/+18
2016-04-05Add back changes from revert.warptangent1-19/+2
2016-04-05Use MDB_APPEND mode with two tx subdbswarptangent1-2/+2
2016-04-05Schema update: tx_indices - consolidate the tx subdbs from 5 to 3warptangent2-75/+47
2016-04-05Schema update: tx_indices - yet less indirectionwarptangent2-16/+11
2016-04-05Schema update: tx_indices - improve further with less indirectionwarptangent2-17/+50
2016-04-05Add batch warning for further reviewwarptangent1-0/+4
2016-04-05Schema update: tx_indiceswarptangent2-32/+109
2016-04-05Consolidated block infoHoward Chu2-95/+63
2016-04-05Update schema for "tx_outputs" to use array containing amount output indiceswarptangent2-114/+103
2016-03-30Detect map resize failuresHoward Chu1-1/+3
2016-03-26New RPC and daemon command to get output histogrammoneromooo-monero2-0/+67
2016-03-20db_lmdb: include the error codes from lmdb api in error logsmoneromooo-monero1-40/+47
2016-03-19Reduce log noiseHoward Chu1-2/+3
2016-03-16Add destructor for readtxnsHoward Chu2-10/+21
2016-03-15Small cleanupsHoward Chu1-24/+28
2016-03-15More for 92dd4ec6d6251b15954002e72a7c7faa5059a3abHoward Chu1-22/+22
2016-03-14Hack for read/write txn mixupHoward Chu2-42/+31
2016-03-14avoid some val copiesHoward Chu2-21/+21
2016-03-09More for bdec7cbHoward Chu1-14/+14
2016-03-03BlockchainLMDB: Use DB error helper consistentlywarptangent1-28/+27
2016-03-03BlockchainLMDB: Add DB error to exceptionwarptangent1-5/+7
2016-03-03Get rid of lmdb_curHoward Chu1-57/+14
2016-03-03More for df239428c0f43e2664f2be273996a734ca12c686Howard Chu1-0/+6
2016-03-01Make partial revert consistentwarptangent1-1/+1
2016-02-29Revert part of 7db89ed2eee2ce31f039783323d665fe7c24d441warptangent1-2/+14
2016-02-29BlockchainLMDB: Add height and db error to exceptionwarptangent1-1/+1
2016-02-25ARMv7: fix unaligned accessesHoward Chu1-20/+15
2016-02-23read txn/cursor stuffHoward Chu2-156/+317
2016-02-17Use MDB_PREV_MULTIPLEHoward Chu1-12/+41
2016-02-17Fixup after lmdb master resyncHoward Chu1-6/+6
2016-02-17Shutup about VERSION 0Howard Chu1-1/+3
2016-02-17Use cursor in get_output_keyHoward Chu1-1/+2
2016-02-17Use MDB_APPEND mode where possibleHoward Chu1-5/+9
2016-02-17Use cursors in write txnsHoward Chu2-22/+100
2016-02-17Keep a running blocksize countHoward Chu2-0/+15
2016-02-17Win32 import batchsize tweaksHoward Chu1-3/+6
2016-02-15Keep a running blocksize countHoward Chu2-0/+15
2016-02-14Win32 import batchsize tweaksHoward Chu1-3/+6
2016-02-13BlockchainLMDB: Deal with DB exceptions at block level with particularitywarptangent1-2/+13
2016-02-13BlockchainLMDB: Add sanity check for inconsistent statewarptangent1-2/+13
2016-02-13BlockchainLMDB: Call destructor on allocated txn if setup failswarptangent1-0/+8
2016-02-13BlockchainLMDB: Replace remaining txn pointer NULLs with nullptrwarptangent1-9/+9
2016-02-08Make HardFork object available to BlockchainDB and derived DB implementationswarptangent1-0/+2
2016-02-08BlockchainDB/LMDB: Refactor block-scope DB txn handling for add blockwarptangent1-19/+1
2016-02-08BlockchainDB/LMDB/BDB: Extract DB txn functions for block add/removewarptangent2-0/+42
2016-02-08BlockchainLMDB: Allow two HardFork functions to update DB during block addwarptangent1-4/+4
2016-02-08BlockchainLMDB: extract txn macros used during block add/removewarptangent1-0/+26
2016-02-08fake_core: Check if hard fork subdbs need reset at startwarptangent1-2/+8
2016-02-08blockchain_import: Add --drop-hard-fork commandwarptangent2-0/+14
2016-01-19db_lmdb: Continue when tx has no outputswarptangent1-4/+6
2016-01-15Fix hf when import with verify offHoward Chu2-0/+22
2015-12-31fixed copyrights with bad year referencesRiccardo Spagni2-2/+2
2015-12-29Tweak 45800a25e9374e63caaabba05c89585c86acd668hyc1-5/+5