openethereum/parity
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
..
cli Adds cli interface to allow reseting chain to a particular block (#9782) 2019-01-16 16:37:26 +01:00
db misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00
light_helpers misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00
logger Replace ethcore-logger with env-logger. (#10102) 2019-01-08 15:07:20 +01:00
account.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
configuration.rs Adds cli interface to allow reseting chain to a particular block (#9782) 2019-01-16 16:37:26 +01:00
deprecated.rs misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00
export_hardcoded_sync.rs misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00
helpers.rs misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00
informant.rs misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00
ipfs.rs misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00
lib.rs Replace ethcore-logger with env-logger. (#10102) 2019-01-08 15:07:20 +01:00
main.rs misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00
modules.rs misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00
params.rs misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00
presale.rs misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00
rpc_apis.rs misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00
rpc.rs misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00
run.rs Drop runtime after others (especially ws_server) (#10179) 2019-01-15 09:14:15 +01:00
secretstore.rs misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00
signer.rs misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00
snapshot.rs misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00
stratum.rs misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00
upgrade.rs misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00
user_defaults.rs misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00
whisper.rs misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00