aboutsummaryrefslogtreecommitdiff
path: root/src/blockchain_utilities/blockchain_dump.cpp (follow)
AgeCommit message (Collapse)AuthorFilesLines
2015-12-31update versionRiccardo Spagni1-1/+1
2015-12-31updated copyright yearRiccardo Spagni1-1/+1
2015-12-05blockchain_db: make the indexing base a BlockchainDB virtual functionmoneromooo-monero1-3/+1
2015-12-05blockchain_dump: fix output key dump for BDB 1-based indicesmoneromooo-monero1-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.
2015-11-21Fix startup crash when using a locale boost does not likemoneromooo-monero1-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.
2015-10-30blockchain_dump: fix build without berkeley dbmoneromooo-monero1-0/+4
2015-10-27blockchain_utilities: properly exit on errormoneromooo-monero1-6/+6
Replace boolean values and exceptions where appropriate
2015-10-26Build fixes for the old blockchain_storage versionmoneromooo-monero1-2/+5
2015-10-25blockchain_utilities: new blockchain_dump diagnostic toolmoneromooo-monero1-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.