This repository was archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Implement PoV Distribution Subsystem #1344
Merged
Merged
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
c23a13c
introduce candidatedescriptor type
rphmeier 7a2be24
add PoVDistribution message type
rphmeier 55e1b5a
loosen bound on PoV Distribution to account for equivocations
rphmeier 1db4f3c
re-export some types from the messages module
rphmeier f6641c4
begin PoV Distribution subsystem
rphmeier fe005b7
remove redundant index from PoV distribution
rphmeier 27da7ef
define state machine for pov distribution
rphmeier 2cdcefd
handle overseer signals
rphmeier e66e063
set up control flow
rphmeier 6197058
remove `ValidatorStatement` section
rphmeier 623db00
implement PoV fetching
rphmeier 86d1cf0
implement distribution logic
rphmeier 8557778
add missing `
rphmeier fa86b24
implement some network bridge event handlers
rphmeier 8b4a7b0
stub for message processing, handle our view change
rphmeier 0b82a0c
control flow for handling messages
rphmeier a45e58e
handle `awaiting` message
rphmeier a768179
handle any incoming PoVs and redistribute
rphmeier d47905d
actually provide a subsystem implementation
rphmeier bb31777
remove set-builder notation
rphmeier 24d6278
begin testing PoV distribution
rphmeier 5202b3d
test that we send awaiting messages only to peers with same view
rphmeier 3d9d000
ensure we distribute awaited PoVs to peers on view changes
rphmeier df4a1f1
test that peers can complete fetch and are rewarded
rphmeier f2c9bfb
test some reporting logic
rphmeier 7923146
ensure peer is reported for flooding
rphmeier 43d610d
test punishing peers diverging from awaited protocol
rphmeier 57f133f
test that we eagerly complete peers' awaited PoVs based on what we re…
rphmeier 7d26c53
test that we prune the awaited set after receiving
rphmeier 6406423
Merge branch 'master' into rh-pov-distribution
rphmeier 0ff3988
expand pov-distribution in guide to match a change I made
rphmeier 8cc66a7
Merge branch 'master' into rh-pov-distribution
rphmeier f506a91
remove unneeded import
rphmeier File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
remove redundant index from PoV distribution
- Loading branch information
commit fe005b7f086fe7e30eef21ee65dd3afdba19e4b9
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
Uh oh!
There was an error while loading. Please reload this page.