Skip to content
Snippets Groups Projects
Commit 5380bbce 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 <dvdplm@gmail.com>

* Add back comments

Co-authored-by: default avatarBastian Köcher <bkchr@users.noreply.github.com>
Co-authored-by: default avatarDavid <dvdplm@gmail.com>
parent a3080f27
No related merge requests found
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