Skip to content
Unverified Commit 618710dc authored by Wei Tang's avatar Wei Tang Committed by GitHub
Browse files

pow: replace the thread-base mining loop with a future-based mining worker (#7060)



* New worker design

* Remove unused thread import

* Add back missing inherent data provider registration

* Add function to get a Cloned metadata

* Add some docs

* Derive Eq and PartialEq for MiningMetadata

* Fix cargo lock

* Fix line width

* Add docs and fix issues in UntilImportedOrTimeout

* Update client/consensus/pow/src/lib.rs

Co-authored-by: default avatarDavid <[email protected]>

* Add back comments

Co-authored-by: default avatarBastian Köcher <[email protected]>
Co-authored-by: default avatarDavid <[email protected]>
parent a1079f4b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment