mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 20:27:58 +00:00
committed by
GitHub
parent
cac9d85cb3
commit
fcfb766366
@@ -27,9 +27,9 @@
|
||||
//! started via the [`start_mining_worker`] function. It returns a worker
|
||||
//! handle together with a future. The future must be pulled. Through
|
||||
//! the worker handle, you can pull the metadata needed to start the
|
||||
//! mining process via [`MiningWorker::metadata`], and then do the actual
|
||||
//! mining process via [`MiningHandle::metadata`], and then do the actual
|
||||
//! mining on a standalone thread. Finally, when a seal is found, call
|
||||
//! [`MiningWorker::submit`] to build the block.
|
||||
//! [`MiningHandle::submit`] to build the block.
|
||||
//!
|
||||
//! The auxiliary storage for PoW engine only stores the total difficulty.
|
||||
//! For other storage requirements for particular PoW algorithm (such as
|
||||
|
||||
Reference in New Issue
Block a user