aboutsummaryrefslogtreecommitdiff
path: root/src/blockchain_db/lmdb/db_lmdb.cpp (follow)
AgeCommit message (Expand)AuthorFilesLines
2016-02-25ARMv7: fix unaligned accessesHoward Chu1-20/+15
2016-02-23read txn/cursor stuffHoward Chu1-136/+259
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 Chu1-22/+58
2016-02-17Keep a running blocksize countHoward Chu1-0/+13
2016-02-17Win32 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/removewarptangent1-0/+38
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 commandwarptangent1-0/+13
2016-01-19db_lmdb: Continue when tx has no outputswarptangent1-4/+6
2016-01-15Fix hf when import with verify offHoward Chu1-0/+21
2015-12-31fixed copyrights with bad year referencesRiccardo Spagni1-1/+1
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 databasewarptangent1-0/+14
2015-12-26Merge pull request #565Riccardo Spagni1-0/+4
2015-12-25db: throw when given a non txout_to_key output to addmoneromooo-monero1-0/+4
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-15Replace tabs with two spaces for consistency with rest of codebasewarptangent1-249/+249
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 Spagni1-2/+28
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_lmdb: 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-06blockchain_db: fixup missing key images in early DB versionmoneromooo-monero1-0/+6
2015-10-27Remove some old/obsolete/unused codemoneromooo-monero1-109/+0
2015-10-26db_lmdb: add versioning, to detect incompatible format changesmoneromooo-monero1-8/+83
2015-10-25Add functions to iterate through blocks, txes, outputs, key imagesmoneromooo-monero1-0/+159
2015-10-25blockchain_db: use the DNE exceptions where appropriatemoneromooo-monero1-9/+9
2015-09-20hardfork: most state now saved to the DBmoneromooo-monero1-0/+124
2015-08-10Merge pull request #363Riccardo Spagni1-13/+0
2015-08-09blockchain: always select random outs using triangular distributionmoneromooo-monero1-13/+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)NoodleDoodleNoodleDoodleNoodleDoodleNoo1-116/+350
2015-07-12Check and resize if needed at batch transaction startwarptangent1-3/+105
2015-07-11Optionally allow DB to know expected number of blocks at batch transaction startwarptangent1-1/+1
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-monero1-3/+3
2015-05-26Merge pull request #289Riccardo Spagni1-23/+172
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 Winget1-59/+153
2015-05-16Allow BlockchainLMDB to be opened in read-only modewarptangent1-2/+6
2015-05-15Move mdb_txn_safe implementation to cpp fileThomas Winget1-0/+54
2015-05-08Update log statementswarptangent1-1/+1
2015-03-25Steps toward multiple dbs available -- workingThomas Winget1-7/+0
2015-03-17Pull blockchain changes into berkeleydb branchThomas Winget1-10/+16
2015-03-16Try to not pollute cryptonote namespaceThomas Winget1-36/+36
2015-03-16Add support for database open with flagswarptangent1-2/+1
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 Winget1-0/+7
2015-03-06Moved BlockchainDB into its own src/ subfolderThomas Winget1-0/+1808