-
Notifications
You must be signed in to change notification settings - Fork 311
New issue
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
prototype: compact blocks #1191
Draft
cmwaters
wants to merge
75
commits into
v0.34.x-celestia
Choose a base branch
from
callum/compact-blocks
base: v0.34.x-celestia
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+3,015
−8,987
Draft
Changes from 14 commits
Commits
Show all changes
75 commits
Select commit
Hold shift + click to select a range
bf6edc0
implement prototype for compact blocks
cmwaters 211694b
add compact block messages to the reactor
cmwaters 567cf3f
checkpoint
cmwaters 22639ab
checkpoint
cmwaters d4f62fd
fix e2e tests
cmwaters 27a6fe3
add has compact block message
cmwaters f0e972e
use go 1.19
cmwaters 1cb6666
fix tests
cmwaters 4874e77
fix consensus tests
cmwaters 187d26c
fix test I just broke
cmwaters 0f529f6
linting
cmwaters 64d3f6d
lint
cmwaters c530d1e
fix data race
cmwaters 3e6c075
go fmt
cmwaters 507f3d2
Merge remote-tracking branch 'origin/v0.34.x-celestia' into callum/co…
cmwaters 9ab18d4
gofmt
cmwaters 8f63838
save metrics
cmwaters 71b752e
enable metrics
cmwaters c2e6331
shift where we measure compact blocks
cmwaters 1cbd361
fix: panic in prometheus
cmwaters 1fe8522
add the square size to the constructed data
cmwaters 1846523
add more metrics for compact blocks
cmwaters 1c4f76e
fix usage of metrics
cmwaters 9ad05ed
fix error handling in cat pool and consensus
cmwaters 93774a7
checkpoint
cmwaters 6f8f70a
print out account sequence
cmwaters 82a8958
track if we see missing transcations which are invalid
cmwaters d1b3c4d
add more logs around the mempool
cmwaters 8a5d797
remove jitter
cmwaters e937057
add inclusion delay
cmwaters 74cac47
jump to 3 second delay
cmwaters dfa4382
improve logs
cmwaters a56bbb7
checkpoint
cmwaters 905ba36
Revert "checkpoint"
cmwaters 2273f83
update logger
cmwaters 513949c
checkpoint
cmwaters 567a281
checkpoint
cmwaters dcea04c
add more tracing data
cmwaters c5fd230
return some logs to debug
cmwaters b4ebb57
checkpoint
cmwaters 33004a3
sneaky fix
cmwaters 1bb12bf
fix
cmwaters b1086d2
checkpoint
cmwaters aab522a
fix nil pointer dereference
cmwaters d46ad2d
fix pruning and resetting
cmwaters 5aefb63
define a send queue capacity
cmwaters 178f81a
add more tracing data
cmwaters aaf89cf
register mempool recovery table
cmwaters c42c673
allow the fetching of compact blocks to last the entire round
cmwaters 9ff3319
repropose the valid block if it exists
cmwaters 7578e10
use updateRoundStep to track consensus state changes
cmwaters 34774cd
add compact hash to the proposal type
cmwaters 955714f
chore: remove maverick directory
cmwaters 5ab5034
use compact hash
cmwaters ec3335c
remove cases in e2e test
cmwaters bc72dc4
cover up a few other missing cases
cmwaters 5b25a7c
fix the fallback mechanism
cmwaters cf354c5
don't evict transcactions that have been proposed
cmwaters dddd61e
mark peer as having sent compact proposal
cmwaters 92e20de
don't evict transactions in a proposal
cmwaters 0a5adc0
make sure the lock is correctly used
cmwaters 99b4727
play around with p2p settings
cmwaters 7218a79
add a channel and modify some of the vote gossiping logic
cmwaters bc85fc2
implement priority based broadcast system
cmwaters 79947c6
remove print statement
cmwaters a801fa3
checkpoint
cmwaters 9f48af6
increase the send queue capacity
cmwaters 594e303
make modifications to the consensus reactor
cmwaters 7b76868
fix panic
cmwaters caeb9ef
checkpoint
cmwaters 91f1703
Merge branch 'v0.34.x-celestia' into callum/compact-blocks
cmwaters a55e1c9
fix test
cmwaters 77db525
revert some modifications to the consensus reactor logic
cmwaters f170aad
repurpose listen only in the mempool
cmwaters a31a8fe
lint
cmwaters 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
There are no files selected for viewing
This file contains 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 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 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 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 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 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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
presumably these names will be the same? when we send a
HasCompactBlock
, are we indicating that we have the block in its entirety or just he hashes?