openethereum/ethcore/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
..
account_provider misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00
client Adds cli interface to allow reseting chain to a particular block (#9782) 2019-01-16 16:37:26 +01:00
engines Merge Machine and WithRewards (#10071) 2019-01-10 13:11:39 +01:00
ethereum misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00
json_tests Replace ethcore-logger with env-logger. (#10102) 2019-01-08 15:07:20 +01:00
miner misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00
snapshot Replace ethcore-logger with env-logger. (#10102) 2019-01-08 15:07:20 +01:00
spec Replace ethcore-logger with env-logger. (#10102) 2019-01-08 15:07:20 +01:00
state Handle the case for contract creation on an empty but exist account with storage items (#10065) 2019-01-15 10:21:44 +01:00
tests misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00
trace Fix #9822: trace_filter does not return failed contract creation (#10140) 2019-01-11 18:08:58 +01:00
verification misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00
account_db.rs misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00
block.rs misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00
builtin.rs misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00
error.rs misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00
executed.rs misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00
executive.rs misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00
externalities.rs Handle the case for contract creation on an empty but exist account with storage items (#10065) 2019-01-15 10:21:44 +01:00
factory.rs misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00
lib.rs fix(android): remove dependency to libusb (#10161) 2019-01-10 13:13:15 +01:00
machine.rs Merge Machine and WithRewards (#10071) 2019-01-10 13:11:39 +01:00
pod_account.rs misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00
pod_state.rs misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00
state_db.rs Skip locking in statedb for non-canon blocks (#10141) 2019-01-15 01:33:10 +11:00
test_helpers.rs misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00
transaction_ext.rs misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00
tx_filter.rs misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00