aboutsummaryrefslogtreecommitdiff
path: root/src/blockchain_db (follow)
AgeCommit message (Expand)AuthorFilesLines
2016-10-15wallet: select part of the fake outs from recent outputsmoneromooo-monero3-12/+30
2016-10-04Merge pull request #1139Riccardo Spagni1-2/+2
2016-09-29Merge pull request #1128Riccardo Spagni1-1/+1
2016-09-26Dropped "bit" from bitmonero.Randi Joseph1-2/+2
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-09-18cmake: transitive deps and remove deprecated LINK_*redfish1-8/+2
2016-08-31core: faster find_blockchain_supplementmoneromooo-monero5-5/+16
2016-08-29db_lmdb: fix reorg with "halfway rct" coinbase outputsmoneromooo-monero1-1/+3
2016-08-28New "Halfway RingCT" outputs for coinbase transactionsmoneromooo-monero1-2/+17
2016-08-28move the rct commitments to the output_amounts databasemoneromooo-monero6-167/+60
2016-08-28add rct to the protocolmoneromooo-monero2-0/+4
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-monero3-0/+153
2016-08-26db_lmdb: do not try to modify the database in read only modemoneromooo-monero1-4/+12
2016-08-11Merge pull request #948Riccardo Spagni3-9/+28
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-monero3-9/+28
2016-07-26db_lmdb: add some missing api call checksmoneromooo-monero1-14/+31
2016-07-13remove hf_starting_height dbmoneromooo-monero5-127/+2
2016-04-29Merge branch 'performance' of https://github.com/LMDB/bitmoneroRiccardo Spagni4-761/+1210
2016-04-28add a --max-concurrency flagmoneromooo-monero1-1/+1
2016-04-24Another take on migrationHoward Chu2-582/+106
2016-04-08MigrationHoward Chu2-5/+1049
2016-04-05Merge branch 'performance' into masterHoward Chu4-747/+628
2016-04-05CleanupHoward Chu3-24/+65
2016-04-05Cleanup and clarifyHoward Chu4-146/+129
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 3warptangent3-75/+56
2016-04-05Schema update: tx_indices - yet less indirectionwarptangent4-20/+15
2016-04-05Schema update: tx_indices - improve further with less indirectionwarptangent3-19/+53
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 indiceswarptangent4-119/+131
2016-03-30Detect map resize failuresHoward Chu1-1/+3
2016-03-26New RPC and daemon command to get output histogrammoneromooo-monero5-0/+91
2016-03-25Merge pull request #749Riccardo Spagni1-155/+937
2016-03-25Revert "Merge pull request #749"Riccardo Spagni1-937/+155
2016-03-24Update BlockchainDB documentationThomas Winget1-155/+937
2016-03-21Revert "Print stack trace upon exceptions"moneromooo-monero1-2/+1
2016-03-20Merge pull request #738Riccardo Spagni1-40/+47
2016-03-20db_lmdb: include the error codes from lmdb api in error logsmoneromooo-monero1-40/+47
2016-03-19Print stack trace upon exceptionsmoneromooo-monero1-1/+2
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-14Merge pull request #723Riccardo Spagni2-21/+21
2016-03-14Hack for read/write txn mixupHoward Chu2-42/+31
2016-03-14avoid some val copiesHoward Chu2-21/+21
2016-03-11Merge pull request #712Riccardo Spagni3-5/+6
2016-03-11Need to link boost::chrono in more places nowHoward Chu1-0/+1
2016-03-11Use boost::thread instead of std::threadHoward Chu2-5/+5
2016-03-09More for bdec7cbHoward Chu1-14/+14
2016-03-05Merge pull request #700Riccardo Spagni1-33/+34
2016-03-05Merge pull request #698Riccardo Spagni1-57/+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-29Merge pull request #686Riccardo Spagni6-185/+340
2016-02-25ARMv7: fix unaligned accessesHoward Chu1-20/+15
2016-02-23read txn/cursor stuffHoward Chu6-165/+325
2016-02-20db_bdb: add missing include for std::condition_variablemoneromooo-monero1-0/+1
2016-02-18BlockchainBDB: Check if hard fork subdbs need resetwarptangent1-1/+50
2016-02-18BlockchainBDB: Support blockchain_import --drop-hard-fork commandwarptangent1-3/+35
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 Chu2-2/+6
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-13Merge pull request #657Riccardo Spagni2-12/+50
2016-02-13BlockchainLMDB: Deal with DB exceptions at block level with particularitywarptangent2-2/+21
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-08blockchain_db: pass hard fork object as a simple pointermoneromooo-monero2-2/+2
2016-02-08Move HardFork DB update to BlockchainDB::add_block()warptangent1-0/+1
2016-02-08Make HardFork object available to BlockchainDB and derived DB implementationswarptangent4-0/+16
2016-02-08BlockchainDB/LMDB: Refactor block-scope DB txn handling for add blockwarptangent2-20/+10
2016-02-08BlockchainDB/LMDB/BDB: Extract DB txn functions for block add/removewarptangent5-0/+65
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 commandwarptangent5-0/+21
2016-02-03berkeleydb: fix delete/free mismatchmoneromooo-monero1-2/+2
2016-01-28BlockchainBDB: Continue when tx has no outputswarptangent1-3/+5
2016-01-28BlockchainBDB: When removing, find amount output index fast by starting at endwarptangent1-10/+33
2016-01-28BlockchainBDB: Remove tx outputs in reverse orderwarptangent1-4/+14
2016-01-21OpenBSD support for Monero.me0wmix1-1/+3
2016-01-19db_lmdb: Continue when tx has no outputswarptangent1-4/+6
2016-01-15Fix hf when import with verify offHoward Chu5-0/+29
2015-12-31updated copyright yearRiccardo Spagni1-1/+1
2015-12-31fixed copyrights with bad year referencesRiccardo Spagni7-7/+7
2015-12-30Merge pull request #572Riccardo Spagni1-3/+9
2015-12-29Tweak 45800a25e9374e63caaabba05c89585c86acd668hyc1-5/+5
2015-12-28db_lmdb: safety close db at exitmoneromooo-monero1-0/+3
2015-12-28db_lmdb: fix a strdup/delete[] mistmatchmoneromooo-monero1-3/+6
2015-12-26BlockchainDB: skip fixup check if read-only databasewarptangent6-0/+32
2015-12-26Merge pull request #565Riccardo Spagni2-0/+8
2015-12-25db: throw when given a non txout_to_key output to addmoneromooo-monero2-0/+8
2015-12-24BlockchainDB: Remove txs in reverse orderwarptangent1-3/+5
2015-12-24BlockchainLMDB: When removing, find amount output index fast by starting at endwarptangent1-4/+5
2015-12-24BlockchainLMDB: Remove tx outputs in reverse orderwarptangent1-5/+5
2015-12-19Add missing semicolons after log statementsmoneromooo-monero1-3/+3
2015-12-15Replace tabs with two spaces for consistency with rest of codebasewarptangent4-282/+282
2015-12-14db_lmdb: always use a batch tx if possiblemoneromooo-monero1-290/+127
2015-12-13Merge pull request #532Riccardo Spagni1-68/+74
2015-12-13Merge pull request #531Riccardo Spagni2-4/+69
2015-12-13Add LMDB error string to database transaction exception messagewarptangent1-68/+74
2015-12-13db_lmdb: implement BlockchainLMDB::resetmoneromooo-monero1-1/+27
2015-12-13db_bdb: implement BlockchainBDB::resetmoneromooo-monero1-1/+40
2015-12-13db_lmdb: create all needed directories, not just the leaf onemoneromooo-monero1-1/+1
2015-12-13db_bdb: create all needed directories, not just the leaf onemoneromooo-monero1-1/+1
2015-12-10Fix data refs in read-only txnsHoward Chu1-16/+42
2015-12-08Merge pull request #524Riccardo Spagni1-3/+3
2015-12-08Merge pull request #523Riccardo Spagni1-0/+34
2015-12-07db_bdb: move log_set_config call before openmoneromooo-monero1-3/+3
2015-12-07db_bdb: support for libdb without DB_FORCESYNCmoneromooo-monero1-0/+34
2015-12-06blockchain_db: fixup missing key images in early DB versionmoneromooo-monero6-0/+602
2015-12-05blockchain_db: make the indexing base a BlockchainDB virtual functionmoneromooo-monero2-0/+5
2015-12-04db_bdb: read 32 bit heights from keysmoneromooo-monero1-1/+1
2015-11-13Revert "db_bdb: record numbers for recno databases start at 1"moneromooo-monero1-3/+3
2015-10-27Remove some old/obsolete/unused codemoneromooo-monero5-156/+0
2015-10-26db_bdb: add versioning, to detect incompatible format changesmoneromooo-monero2-0/+83
2015-10-26db_lmdb: add versioning, to detect incompatible format changesmoneromooo-monero2-8/+85
2015-10-25Add functions to iterate through blocks, txes, outputs, key imagesmoneromooo-monero5-0/+294
2015-10-25db_bdb: record numbers for recno databases start at 1moneromooo-monero1-3/+3
2015-10-25db_bdb: DB_KEYEMPTY is also not found for non-top recon fieldsmoneromooo-monero1-2/+2
2015-10-25blockchain_db: use the DNE exceptions where appropriatemoneromooo-monero2-17/+19
2015-10-04db_bdb: fix hard fork keysmoneromooo-monero1-4/+4
2015-09-20hardfork: most state now saved to the DBmoneromooo-monero5-0/+224
2015-08-11blockchain_db: match tx addition semantics to original codemoneromooo-monero1-8/+24
2015-08-10Merge pull request #364Riccardo Spagni1-10/+7
2015-08-10Merge pull request #363Riccardo Spagni5-34/+0
2015-08-09blockchain_db: store key images for tx without outputs toomoneromooo-monero1-10/+7
2015-08-09blockchain: always select random outs using triangular distributionmoneromooo-monero5-34/+0
2015-08-04Fix estimation of batch storage size when no blocks existwarptangent1-11/+28
2015-07-16Add batch support to BlockchainLMDB::get_output_keywarptangent1-6/+12
2015-07-15Removed on_idle() calls to Blockchain::store_blockchain() for lmdb.NoodleDoodleNoodleDoodleNoodleDoodleNoo1-4/+3
2015-07-15Fixed binary size issue due to embedded checkpoint data.NoodleDoodleNoodleDoodleNoodleDoodleNoo1-0/+1
2015-07-15** CHANGES ARE EXPERIMENTAL (FOR TESTING ONLY)NoodleDoodleNoodleDoodleNoodleDoodleNoo7-605/+1005
2015-07-15Update db_bdb.cppNoodleDoodleNoodleDoodleNoodleDoodleNoo1-7/+5
2015-07-15Update db_bdb.cppNoodleDoodleNoodleDoodleNoodleDoodleNoo1-72/+72
2015-07-15Update db_bdb.cppNoodleDoodleNoodleDoodleNoodleDoodleNoo1-1154/+1166
2015-07-15Experimental BDB workaround optimizationsNoodleDoodleNoodleDoodleNoodleDoodleNoo4-18/+220
2015-07-12Check and resize if needed at batch transaction startwarptangent2-5/+109
2015-07-11Optionally allow DB to know expected number of blocks at batch transaction startwarptangent5-5/+5
2015-05-30Merge pull request #297Riccardo Spagni1-38/+75
2015-05-30Replace hardcoded value with existing constant of same valuewarptangent1-1/+1
2015-05-30Update database resize behaviorwarptangent1-2/+20
2015-05-30Include database error in more error messageswarptangent1-35/+54
2015-05-27blockchain_db: add a few constmoneromooo-monero6-10/+10
2015-05-26Merge pull request #289Riccardo Spagni2-75/+210
2015-05-18Check if LMDB needs resize every 1000 blocksThomas Winget1-1/+1
2015-05-18null out batch txn pointer as needed (BlockchainLMDB)Thomas Winget1-4/+5
2015-05-16LMDB should now dynamically resize the mapsizeThomas Winget2-60/+187
2015-05-16Allow BlockchainLMDB to be opened in read-only modewarptangent1-2/+6
2015-05-15Move mdb_txn_safe implementation to cpp fileThomas Winget2-51/+58
2015-05-08Update log statementswarptangent1-1/+1
2015-04-07Only compile BerkeleyDB as an option in non-staticThomas Winget1-0/+13
2015-03-25Steps toward multiple dbs available -- workingThomas Winget7-22/+50
2015-03-17BerkeleyDB implementation of BlockchainDB seems to be working!Thomas Winget2-20/+20
2015-03-17Pull blockchain changes into berkeleydb branchThomas Winget3-12/+18
2015-03-17BlockchainBDB passes unit testsThomas Winget1-1/+4
2015-03-16BerkeleyDB Blockchain building, not working yetThomas Winget3-189/+200
2015-03-16CMake wiring, minor cleanup, minor test additionThomas Winget1-0/+3
2015-03-16BerkeleyDB BlockchainDB impl copy/paste/modifyThomas Winget2-9/+1304
2015-03-16Try to not pollute cryptonote namespaceThomas Winget2-47/+47
2015-03-16Initial commit of BDB BlockchainDB implementationThomas Winget2-0/+678
2015-03-16Add support for database open with flagswarptangent3-4/+3
2015-03-16Add mdb_flags variable to LMDB database openwarptangent1-1/+2
2015-03-15Update and relocate comment that applies class widewarptangent1-8/+14
2015-03-13BlockchainDB implementations have names nowThomas Winget3-0/+12
2015-03-06Moved BlockchainDB into its own src/ subfolderThomas Winget5-0/+2849