aboutsummaryrefslogtreecommitdiff
path: root/src/blockchain_utilities/blockchain_dump.cpp
Commit message (Collapse)AuthorAgeFilesLines
* remove blockchain_dumpRiccardo Spagni2016-09-031-417/+0
|
* remove original Cryptonote blockchain_storage blockchain formatmoneromooo-monero2016-08-281-19/+1
|
* remove hf_starting_height dbmoneromooo-monero2016-07-131-4/+0
| | | | | | It's not really needed, it used to be an optimization for when that code was not using the db and needed to recalculate things fast on startup.
* move g_test_dbg_lock_sleep from a global to a function level staticmoneromooo-monero2016-02-221-2/+0
| | | | | This avoids the need to define that variable in every program which uses epee.
* update versionRiccardo Spagni2015-12-311-1/+1
|
* updated copyright yearRiccardo Spagni2015-12-311-1/+1
|
* blockchain_db: make the indexing base a BlockchainDB virtual functionmoneromooo-monero2015-12-051-3/+1
|
* blockchain_dump: fix output key dump for BDB 1-based indicesmoneromooo-monero2015-12-051-2/+5
| | | | | | | | | | Berkeley DB uses 1 based indices for RECNO databases, and the implementation of BlockchainDB for Berkeley DB assumes 1 based indices are passed to the API, whereas the LMDB one assumes 0 based indices. This is all internally consisteny, but since the BDB code stores 1 based indices in the database, external users have to be aware of this, as the indices will be off by one depending on which DB is used.
* Fix startup crash when using a locale boost does not likemoneromooo-monero2015-11-211-0/+2
| | | | | | | | | | | | | There are various locale related bugs in various versions of boost, where exceptions are thrown in boost::filesystem APIs when the current locale is not to boost's liking. It's not clear what "not to boost's liking" means in detail, though "en" and "en_US.UTF-8" are not to its liking. Fix it by running a test function that's known to throw in such a case, and resetting LANG and LC_ALL to C if an exception is thrown. In simplewallet, the locale is queried before that so the correct translations will still be used.
* blockchain_dump: fix build without berkeley dbmoneromooo-monero2015-10-301-0/+4
|
* blockchain_utilities: properly exit on errormoneromooo-monero2015-10-271-6/+6
| | | | Replace boolean values and exceptions where appropriate
* Build fixes for the old blockchain_storage versionmoneromooo-monero2015-10-261-2/+5
|
* blockchain_utilities: new blockchain_dump diagnostic toolmoneromooo-monero2015-10-251-0/+431
It dumps data from the blockchain to a JSON format, and is intended to help detect differences between data held in different database formats.