We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AdvertiseBlock
Zebra needs to gossip the hashes of newly committed blocks, once it has reached the chain tip.
Tasks can wait until they are near the tip using SyncStatus::wait_until_close_to_tip:
SyncStatus::wait_until_close_to_tip
zebra/zebrad/src/components/sync/status.rs
Lines 31 to 34 in 44ac067
Tasks can await tip changes using ChainTipChange::tip_change and TipAction:
ChainTipChange::tip_change
TipAction
zebra/zebra-state/src/service/chain_tip.rs
Line 313 in 44ac067
Both Grow and Reset variants should result in block gossips.
Grow
Reset
The text was updated successfully, but these errors were encountered:
Hey team! Please add your planning poker estimate with ZenHub @conradoplg @dconnolly @jvff @oxarbitrage @teor2345 @upbqdn
Sorry, something went wrong.
teor2345
Successfully merging a pull request may close this issue.
Motivation
Zebra needs to gossip the hashes of newly committed blocks, once it has reached the chain tip.
Design
Tasks can wait until they are near the tip using
SyncStatus::wait_until_close_to_tip
:zebra/zebrad/src/components/sync/status.rs
Lines 31 to 34 in 44ac067
Tasks can await tip changes using
ChainTipChange::tip_change
andTipAction
:zebra/zebra-state/src/service/chain_tip.rs
Line 313 in 44ac067
Both
Grow
andReset
variants should result in block gossips.The text was updated successfully, but these errors were encountered: