diff options
author | warptangent <warptangent@inbox.com> | 2015-05-16 19:27:26 -0700 |
---|---|---|
committer | warptangent <warptangent@inbox.com> | 2015-05-16 19:38:52 -0700 |
commit | d1eac1b71cf9315487494be1ae460bb77a3a9207 (patch) | |
tree | fbc091d9382711aae51f1b2eb63a4c212ece0715 /tests | |
parent | Merge pull request #286 (diff) | |
download | monero-d1eac1b71cf9315487494be1ae460bb77a3a9207.tar.xz |
Support debugging command --pop-blocks on in-memory blockchain
Add public method blockchain_storage::debug_pop_block_from_blockchain()
Ensure blockchain_import calls destructors before exit.
To test:
DATABASE=memory make release
// create blockchain.bin from blockchain.raw if needed
build/release/bin/blockchain_import --block-stop 1000
// try popping a single block
build/release/bin/blockchain_import --pop-blocks 1
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions