openethereum/ethcore/blockchain/src
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
..
best_block.rs Update copyright notice 2020 (#11386) 2020-01-17 14:27:28 +01:00
blockchain.rs Less cloning when importing blocks (#11531) 2020-03-04 18:34:29 +01:00
cache.rs Update copyright notice 2020 (#11386) 2020-01-17 14:27:28 +01:00
config.rs Update copyright notice 2020 (#11386) 2020-01-17 14:27:28 +01:00
generator.rs Update copyright notice 2020 (#11386) 2020-01-17 14:27:28 +01:00
lib.rs Update copyright notice 2020 (#11386) 2020-01-17 14:27:28 +01:00
update.rs Update copyright notice 2020 (#11386) 2020-01-17 14:27:28 +01:00