You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a new block is ready for sealing, validators use their secret key share to produce a signature share, and broadcast it. Once sufficiently many shares have been received, they generate the block's seal and import the block into the chain.
Seals of received blocks are validated using the public master key of the current validator set.
Ideally, we'd send the share as soon as we create the block. Miner::create_pending_block_at actually returns the new block, so we can create our signature share of header.bare_hash() and broadcast it.
Engine::generate_seal is only called in Miner::seal_and_import_block_internally, which is called in Miner::update_sealing whenever the engine returns SealingState::Ready. We should return Ready only once we have enough shares, and in generate_seal we'd put them together.
The text was updated successfully, but these errors were encountered:
When a new block is ready for sealing, validators use their secret key share to produce a signature share, and broadcast it. Once sufficiently many shares have been received, they generate the block's seal and import the block into the chain.
Seals of received blocks are validated using the public master key of the current validator set.
Ideally, we'd send the share as soon as we create the block.
Miner::create_pending_block_at
actually returns the new block, so we can create our signature share ofheader.bare_hash()
and broadcast it.Engine::generate_seal
is only called inMiner::seal_and_import_block_internally
, which is called inMiner::update_sealing
whenever the engine returnsSealingState::Ready
. We should returnReady
only once we have enough shares, and ingenerate_seal
we'd put them together.The text was updated successfully, but these errors were encountered: