This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commits on Feb 16, 2022
-
Configuration menu - View commit details
-
Copy full SHA for e47067a - Browse repository at this point
Copy the full SHA e47067aView commit details -
Configuration menu - View commit details
-
Copy full SHA for f0fc691 - Browse repository at this point
Copy the full SHA f0fc691View commit details -
Configuration menu - View commit details
-
Copy full SHA for 26887ed - Browse repository at this point
Copy the full SHA 26887edView commit details -
Configuration menu - View commit details
-
Copy full SHA for f56eb0b - Browse repository at this point
Copy the full SHA f56eb0bView commit details -
Configuration menu - View commit details
-
Copy full SHA for f5eab4a - Browse repository at this point
Copy the full SHA f5eab4aView commit details
Commits on Feb 17, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 606a5fa - Browse repository at this point
Copy the full SHA 606a5faView commit details -
Configuration menu - View commit details
-
Copy full SHA for e956de9 - Browse repository at this point
Copy the full SHA e956de9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 02e85f7 - Browse repository at this point
Copy the full SHA 02e85f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 38c1b48 - Browse repository at this point
Copy the full SHA 38c1b48View commit details
Commits on Feb 18, 2022
-
Configuration menu - View commit details
-
Copy full SHA for bbd3487 - Browse repository at this point
Copy the full SHA bbd3487View commit details -
Configuration menu - View commit details
-
Copy full SHA for d236c7f - Browse repository at this point
Copy the full SHA d236c7fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d1cbca - Browse repository at this point
Copy the full SHA 9d1cbcaView commit details
Commits on Feb 21, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 81b61d7 - Browse repository at this point
Copy the full SHA 81b61d7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 28e0c3d - Browse repository at this point
Copy the full SHA 28e0c3dView commit details -
Apply suggestions from code review
Co-authored-by: Tomasz Drwięga <tomusdrw@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for db02909 - Browse repository at this point
Copy the full SHA db02909View commit details
Commits on Feb 22, 2022
-
Configuration menu - View commit details
-
Copy full SHA for d5e84ab - Browse repository at this point
Copy the full SHA d5e84abView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a045b1 - Browse repository at this point
Copy the full SHA 0a045b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b3f28f - Browse repository at this point
Copy the full SHA 5b3f28fView commit details -
Configuration menu - View commit details
-
Copy full SHA for ef28ce3 - Browse repository at this point
Copy the full SHA ef28ce3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a55e9a - Browse repository at this point
Copy the full SHA 6a55e9aView commit details -
Configuration menu - View commit details
-
Copy full SHA for e35faf0 - Browse repository at this point
Copy the full SHA e35faf0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 92b4813 - Browse repository at this point
Copy the full SHA 92b4813View commit details -
Configuration menu - View commit details
-
Copy full SHA for baab53d - Browse repository at this point
Copy the full SHA baab53dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ca12fe - Browse repository at this point
Copy the full SHA 5ca12feView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e1bf9c - Browse repository at this point
Copy the full SHA 5e1bf9cView commit details
Commits on Feb 23, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 5664dd9 - Browse repository at this point
Copy the full SHA 5664dd9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0107be0 - Browse repository at this point
Copy the full SHA 0107be0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8642cba - Browse repository at this point
Copy the full SHA 8642cbaView commit details
Commits on Feb 25, 2022
-
Configuration menu - View commit details
-
Copy full SHA for adfcd71 - Browse repository at this point
Copy the full SHA adfcd71View commit details -
remove async ticker, use specialized sync functions
split `tick()` coarse function in `handle_finality`, `handle_vote` and `do_vote`. The latter is called by the any of the former when the worker has to also produce a vote.
Configuration menu - View commit details
-
Copy full SHA for bbfd8b6 - Browse repository at this point
Copy the full SHA bbfd8b6View commit details
Commits on Feb 28, 2022
-
Lean BEEFY - simplify beefy worker logic
Simplified BEEFY worker logic based on the invariant that GRANDPA will always finalize 1st block of each new session, meaning BEEFY worker is guaranteed to receive finality notification for the BEEFY mandatory blocks. Under these conditions the current design is as follows: - session changes are detected based on BEEFY Digest present in BEEFY mandatory blocks, - on each new session new `Rounds` of voting is created, with old rounds being dropped (for gossip rounds, last 3 are still alive so votes are still being gossiped), - after processing finality for a block, the worker votes if a new voting target has become available as a result of said block finality processing, - incoming votes as well as self-created votes are processed and signed commitments are created for completed BEEFY voting rounds, - the worker votes if a new voting target becomes available once a round successfully completes. On worker startup, the current validator set is retrieved from the BEEFY pallet. If it is the genesis validator set, worker starts voting right away considering Block #1 as session start. Otherwise (not genesis), the worker will vote starting with mandatory block of the next session. Later on when we add the BEEFY initial-sync (catch-up) logic, the worker will sync all past mandatory blocks Signed Commitments and will be able to start voting right away.
Configuration menu - View commit details
-
Copy full SHA for 6893234 - Browse repository at this point
Copy the full SHA 6893234View commit details -
Configuration menu - View commit details
-
Copy full SHA for d633ce2 - Browse repository at this point
Copy the full SHA d633ce2View commit details
Commits on Mar 1, 2022
-
pause beefy worker while network is on major sync
Signed-off-by: acatangiu <adrian@parity.io> Co-authored-by: David Salami <Wizdave97>
Configuration menu - View commit details
-
Copy full SHA for 2e0e0ab - Browse repository at this point
Copy the full SHA 2e0e0abView commit details -
Configuration menu - View commit details
-
Copy full SHA for b7cf889 - Browse repository at this point
Copy the full SHA b7cf889View commit details -
sign BEEFY mandatory blocks with ending-session's validator set
BEEFY mandatory block is the block with header containing the BEEFY `AuthoritiesChange` Digest, this block is guaranteed to be finalized by GRANDPA. This session-boundary block is signed by the ending-session's validator set. Next blocks will be signed by the new session's validator set. This behavior is consistent with what GRANDPA does as well.
Configuration menu - View commit details
-
Copy full SHA for 1085195 - Browse repository at this point
Copy the full SHA 1085195View commit details -
Configuration menu - View commit details
-
Copy full SHA for c172b74 - Browse repository at this point
Copy the full SHA c172b74View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c3a588 - Browse repository at this point
Copy the full SHA 5c3a588View commit details
Commits on Mar 2, 2022
-
Configuration menu - View commit details
-
Copy full SHA for e39a390 - Browse repository at this point
Copy the full SHA e39a390View commit details
Commits on Mar 3, 2022
-
add BEEFY worker tests infrastructure
Single test added so far that verifies BEEFY blocks are being correctly finalized through voting consensus.
Configuration menu - View commit details
-
Copy full SHA for 2f8c052 - Browse repository at this point
Copy the full SHA 2f8c052View commit details
Commits on Mar 7, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 5f17950 - Browse repository at this point
Copy the full SHA 5f17950View commit details -
Configuration menu - View commit details
-
Copy full SHA for 62a1d33 - Browse repository at this point
Copy the full SHA 62a1d33View commit details -
Configuration menu - View commit details
-
Copy full SHA for 14b451c - Browse repository at this point
Copy the full SHA 14b451cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 45ecdea - Browse repository at this point
Copy the full SHA 45ecdeaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 624df42 - Browse repository at this point
Copy the full SHA 624df42View commit details -
Configuration menu - View commit details
-
Copy full SHA for 01d06db - Browse repository at this point
Copy the full SHA 01d06dbView commit details
Commits on Mar 8, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 1ccfc55 - Browse repository at this point
Copy the full SHA 1ccfc55View commit details
Commits on Mar 9, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 533e2a9 - Browse repository at this point
Copy the full SHA 533e2a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for bc2d555 - Browse repository at this point
Copy the full SHA bc2d555View commit details -
Configuration menu - View commit details
-
Copy full SHA for 636b3cf - Browse repository at this point
Copy the full SHA 636b3cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 90a28c5 - Browse repository at this point
Copy the full SHA 90a28c5View commit details -
fix BEEFY bug where some older valid round would not be gossiped
Once a new round was noted, `KnownVotes::is_live()` fn would incorrectly return `false` for the last concluded round. This led to the peer no longer gossiping votes for the concluded round. Also drop the limit N on active gossip rounds. In an adversarial network, a bad actor could create and gossip N invalid votes with round numbers larger than the current correct round number. This would lead to votes for correct rounds to no longer be gossiped. Add regression unit-test.
Configuration menu - View commit details
-
Copy full SHA for 253007b - Browse repository at this point
Copy the full SHA 253007bView commit details
Commits on Mar 11, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 3c0313c - Browse repository at this point
Copy the full SHA 3c0313cView commit details
Commits on Mar 22, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 95ccf07 - Browse repository at this point
Copy the full SHA 95ccf07View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a89f87 - Browse repository at this point
Copy the full SHA 9a89f87View commit details -
Configuration menu - View commit details
-
Copy full SHA for d807c65 - Browse repository at this point
Copy the full SHA d807c65View commit details
Commits on Mar 25, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 94f3b2f - Browse repository at this point
Copy the full SHA 94f3b2fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 06f564a - Browse repository at this point
Copy the full SHA 06f564aView commit details -
Configuration menu - View commit details
-
Copy full SHA for c04bcfb - Browse repository at this point
Copy the full SHA c04bcfbView commit details -
Configuration menu - View commit details
-
Copy full SHA for ad5d8ea - Browse repository at this point
Copy the full SHA ad5d8eaView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.