openethereum/ethcore/blockchain/src
Seun LanLege cdba22a2cb Adds cli interface to allow reseting chain to a particular block (#9782)
* added BlockChainReset trait, client impl, and cli interface

* show block hashes to be deleted and new best block, update best block in db, better cli interface

* delete BlockNumber from COL_EXTRA

* add TODO comment

* add BlockReciepts to imports

* refactor block_headers_from_best_block, better cli documentation

* exit gracefully if reset arg isn't supplied

* fix cli usage macro

* removed stray int literals

* use Vec::with_capacity

Co-Authored-By: seunlanlege <seunlanlege@gmail.com>

* cast n to usize

* correct imports

* make db reset arg required
2019-01-16 16:37:26 +01:00
..
best_block.rs misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00
block_info.rs misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00
blockchain.rs Adds cli interface to allow reseting chain to a particular block (#9782) 2019-01-16 16:37:26 +01:00
cache.rs misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00
config.rs misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00
generator.rs misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00
import_route.rs misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00
lib.rs Adds cli interface to allow reseting chain to a particular block (#9782) 2019-01-16 16:37:26 +01:00
update.rs misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00