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
Problem
There are occasionally some unusually high snark bids that make it into blocks: see https://minaexplorer.com/analytics/snarks. This happens when block producers go offline and then back online before they are selected in a subsequent slot. Since the snark order book is constructed from purely gossip this makes the bid significantly less likely to be the most optimal.
Solution
On bootstrap it makes sense to fetch completed work from connected peers. The intention should be to fetch some batch of bids via rpc and apply/broadcast these bids to our own internal state.
Idk if this is possible yet, but a unit test to bootstap that ingests some preconstructed list of completed work. Tbh i am not sure how useful this will, because we mainly care about the behavior over the network.
The text was updated successfully, but these errors were encountered:
Another motivation, important one imo, is that on startup (or restart) if a node doesn't receive snarks that is required for it's next block then it loses the block reward
deepthiskumar
changed the title
Fetch Completed Snark on Bootstrap in order to fix high Snark Bid Variance
Fetch Completed Snark on Bootstrap in order to fix high Snark Bid Variance and empty blocks
Oct 17, 2024
Problem
There are occasionally some unusually high snark bids that make it into blocks: see https://minaexplorer.com/analytics/snarks. This happens when block producers go offline and then back online before they are selected in a subsequent slot. Since the snark order book is constructed from purely gossip this makes the bid significantly less likely to be the most optimal.
Solution
On bootstrap it makes sense to fetch completed work from connected peers. The intention should be to fetch some batch of bids via rpc and apply/broadcast these bids to our own internal state.
The following PRS are a POC:
#16212
#16216
Test Plan
Manual:
Unit Test:
The text was updated successfully, but these errors were encountered: