Commit Graph

290 Commits (bcd71a5af915ff88a7306f9d929db2f57996adf8)

Author SHA1 Message Date
Riccardo Spagni bdf738bc7f
Merge pull request #531
9 years ago
warptangent 79ff6a5a56
Add LMDB error string to database transaction exception message
9 years ago
moneromooo-monero 8af913a3d1
db_lmdb: implement BlockchainLMDB::reset
9 years ago
moneromooo-monero 1494557633
db_lmdb: create all needed directories, not just the leaf one
9 years ago
Howard Chu d98d5e79cb Fix data refs in read-only txns
9 years ago
moneromooo-monero a98e976f9e
blockchain_db: fixup missing key images in early DB version
9 years ago
moneromooo-monero 4f873bcbaa
Remove some old/obsolete/unused code
9 years ago
moneromooo-monero f7e99047e4
db_lmdb: add versioning, to detect incompatible format changes
9 years ago
moneromooo-monero 5f397e4412
Add functions to iterate through blocks, txes, outputs, key images
9 years ago
moneromooo-monero 572780e335
blockchain_db: use the DNE exceptions where appropriate
9 years ago
moneromooo-monero 5b11a89a76
hardfork: most state now saved to the DB
9 years ago
Riccardo Spagni 09cada45c4
Merge pull request #363
9 years ago
moneromooo-monero 275894cdef
blockchain: always select random outs using triangular distribution
9 years ago
warptangent 525bf5811f
Fix estimation of batch storage size when no blocks exist
9 years ago
warptangent 71793ef43f Add batch support to BlockchainLMDB::get_output_key
9 years ago
NoodleDoodleNoodleDoodleNoodleDoodleNoo 94ea3e8ed2 Removed on_idle() calls to Blockchain::store_blockchain() for lmdb.
9 years ago
NoodleDoodleNoodleDoodleNoodleDoodleNoo 2e293a563e Fixed binary size issue due to embedded checkpoint data.
9 years ago
NoodleDoodleNoodleDoodleNoodleDoodleNoo e5d2680094 ** CHANGES ARE EXPERIMENTAL (FOR TESTING ONLY)
9 years ago
warptangent fd73d9cc3a
Check and resize if needed at batch transaction start
9 years ago
warptangent 6e170c8b78
Optionally allow DB to know expected number of blocks at batch transaction start
9 years ago
Riccardo Spagni 6aee052001
Merge pull request #297
9 years ago
warptangent 5680604437
Replace hardcoded value with existing constant of same value
9 years ago
warptangent f37ee2f304
Update database resize behavior
9 years ago
warptangent f85cd8e10b
Include database error in more error messages
9 years ago
moneromooo-monero 8069b3ba7f
blockchain_db: add a few const
9 years ago
Riccardo Spagni 634e367ff5
Merge pull request #289
9 years ago
Thomas Winget 01076ae700
Check if LMDB needs resize every 1000 blocks
9 years ago
Thomas Winget b0d849e0a4
null out batch txn pointer as needed (BlockchainLMDB)
9 years ago
Thomas Winget 7b7ef73c15
LMDB should now dynamically resize the mapsize
9 years ago
warptangent d35bffb950
Allow BlockchainLMDB to be opened in read-only mode
9 years ago
Thomas Winget ac79502308
Move mdb_txn_safe implementation to cpp file
9 years ago
warptangent 71af04669c
Update log statements
9 years ago
Thomas Winget 7b14d4a17f
Steps toward multiple dbs available -- working
9 years ago
Thomas Winget 8e3347f310
Pull blockchain changes into berkeleydb branch
9 years ago
Thomas Winget 5112dc37d7
Try to not pollute cryptonote namespace
9 years ago
warptangent 275cbd4348
Add support for database open with flags
9 years ago
warptangent cb862cb81a
Add mdb_flags variable to LMDB database open
9 years ago
warptangent acb5d291b8
Update and relocate comment that applies class wide
9 years ago
Thomas Winget eee3ee7073
BlockchainDB implementations have names now
9 years ago
Thomas Winget 5eab480cb1
Moved BlockchainDB into its own src/ subfolder
9 years ago