openethereum/ethcore/src/client
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
..
ancient_import.rs misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00
bad_blocks.rs misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00
chain_notify.rs misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00
client.rs Adds cli interface to allow reseting chain to a particular block (#9782) 2019-01-16 16:37:26 +01:00
config.rs misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00
evm_test_client.rs misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00
io_message.rs misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00
mod.rs Adds cli interface to allow reseting chain to a particular block (#9782) 2019-01-16 16:37:26 +01:00
private_notify.rs misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00
test_client.rs misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00
trace.rs misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00
traits.rs Adds cli interface to allow reseting chain to a particular block (#9782) 2019-01-16 16:37:26 +01:00