openethereum/ethcore
David 6c0134f2ee
Less cloning when importing blocks (#11531)
* WIP

* cleanup

* check_and_lock_block() only needs reference

* Cleanup&docs

* Push uncles by ref to clone at the last possible time.

* Missing import

* Review grumbles

* Update util/journaldb/src/overlayrecentdb.rs

Co-Authored-By: Niklas Adolfsson <niklasadolfsson1@gmail.com>

* Update ethcore/types/src/client_types.rs

Co-Authored-By: Andronik Ordian <write@reusable.software>

* deref U256 before adding

* More review grumbles

* review grumbles: pass by value

* cleanup

* Move the block

* Don't clone the header

* Update ethcore/src/client/client.rs

Co-Authored-By: Niklas Adolfsson <niklasadolfsson1@gmail.com>

* Update ethcore/src/client/client.rs

Co-Authored-By: Niklas Adolfsson <niklasadolfsson1@gmail.com>

* Add comment

Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com>
Co-authored-by: Andronik Ordian <write@reusable.software>
2020-03-04 18:34:29 +01:00
..
account-db upgrade some of the dependencies (#11467) 2020-02-07 17:23:45 +01:00
account-state Faster kill_garbage (#11514) 2020-02-27 13:56:48 +01:00
benches Update copyright notice 2020 (#11386) 2020-01-17 14:27:28 +01:00
block-gas-limit Update copyright notice 2020 (#11386) 2020-01-17 14:27:28 +01:00
block-reward Update copyright notice 2020 (#11386) 2020-01-17 14:27:28 +01:00
blockchain Less cloning when importing blocks (#11531) 2020-03-04 18:34:29 +01:00
builtin [dependencies]: remove util/macros (#11501) 2020-02-19 13:07:33 +01:00
call-contract Update copyright notice 2020 (#11386) 2020-01-17 14:27:28 +01:00
client-traits upgrade some of the dependencies (#11467) 2020-02-07 17:23:45 +01:00
db Grab bag of cleanup (#11504) 2020-02-19 16:12:27 +01:00
engine Remove AuxiliaryData/AuxiliaryRequest (#11533) 2020-03-03 15:17:37 +01:00
engines Less cloning when importing blocks (#11531) 2020-03-04 18:34:29 +01:00
evm [dependencies]: unify rustc-hex (#11506) 2020-02-21 15:10:00 +01:00
executive-state Faster kill_garbage (#11514) 2020-02-27 13:56:48 +01:00
light Remove AuxiliaryData/AuxiliaryRequest (#11533) 2020-03-03 15:17:37 +01:00
machine Faster kill_garbage (#11514) 2020-02-27 13:56:48 +01:00
node-filter upgrade some of the dependencies (#11467) 2020-02-07 17:23:45 +01:00
pod Misc fixes (#11510) 2020-02-23 16:49:17 +01:00
private-tx [dependencies]: unify rustc-hex (#11506) 2020-02-21 15:10:00 +01:00
res Remove references to parity-ethereum (#11525) 2020-03-01 23:40:59 +01:00
service upgrade some of the dependencies (#11467) 2020-02-07 17:23:45 +01:00
snapshot update to published rlp-derive (#11489) 2020-02-13 15:34:50 +01:00
spec Implement eth/64 (EIP-2364) and drop support for eth/62 (#11472) 2020-02-19 14:42:52 +01:00
src Less cloning when importing blocks (#11531) 2020-03-04 18:34:29 +01:00
state-db Less cloning when importing blocks (#11531) 2020-03-04 18:34:29 +01:00
sync Remove references to parity-ethereum (#11525) 2020-03-01 23:40:59 +01:00
trace Grab bag of cleanup (#11504) 2020-02-19 16:12:27 +01:00
trie-vm-factories upgrade some of the dependencies (#11467) 2020-02-07 17:23:45 +01:00
types Less cloning when importing blocks (#11531) 2020-03-04 18:34:29 +01:00
verification [ethcore cleanup]: various unrelated fixes from #11493 (#11507) 2020-02-25 15:32:13 +01:00
vm complete null-signatures removal (#11491) 2020-02-15 13:26:08 +01:00
wasm [dependencies]: unify rustc-hex (#11506) 2020-02-21 15:10:00 +01:00
Cargo.toml [dependencies]: remove util/macros (#11501) 2020-02-19 13:07:33 +01:00