-
Notifications
You must be signed in to change notification settings - Fork 179
feat: Use streaming merkle trees for block proof hashes #21401
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
Merged
Merged
Changes from 78 commits
Commits
Show all changes
84 commits
Select commit
Hold shift + click to select a range
e6e0725
Add initial protobufs for new block merkle tree structure
mhess-swl 3f3f453
Add algorithm for streaming merkle tree
mhess-swl 8df4050
Update BlockItem with new definition
mhess-swl 16daa56
Merge remote-tracking branch 'origin/main' into 21181-block-merkle-fe…
mhess-swl 5a001c3
wip
mhess-swl 4a8b8c1
Merge remote-tracking branch 'origin/main' into 21204-streaming-hash-…
mhess-swl 8ee748e
Merge remote-tracking branch 'origin/main' into 21181-block-merkle-fe…
mhess-swl 0aea101
Merge remote-tracking branch 'origin/main' into 21181-block-merkle-fe…
mhess-swl 86bf07c
Merge remote-tracking branch 'origin/main' into 21204-streaming-hash-…
mhess-swl 87995b0
Merge branch '21181-block-merkle-feature' into 21204-streaming-hash-tree
mhess-swl a4695d9
feat: add block footer (#21356)
aderevets 4cb3d4c
Merge branch '21181-block-merkle-feature' into 21204-streaming-hash-tree
mhess-swl 96fbb79
Fix compilation errors
mhess-swl 577d884
spotless
mhess-swl df0f33b
Merge branch '21181-block-merkle-feature' into 21204-streaming-hash-tree
mhess-swl 43cf3c6
wip
mhess-swl a0627a5
Merge remote-tracking branch 'origin/main' into 21181-block-merkle-fe…
mhess-swl 6ea7a87
Merge branch '21181-block-merkle-feature' into 21204-streaming-hash-tree
mhess-swl f69b64c
Calculate block hash using v0.68 block merkle tree
mhess-swl 603e232
Merge remote-tracking branch 'origin/main' into 21181-block-merkle-fe…
mhess-swl 8b4a6dc
Merge branch '21181-block-merkle-feature' into 21204-streaming-hash-tree
mhess-swl 916f7d0
Initialize block trees and last block hash
mhess-swl 1d8c216
Initialize block trees and last block hash
mhess-swl b69dcf8
Protobuf improvements
mhess-swl 7924118
State proof definition
mhess-swl d36219f
Comment out StateProof for now
mhess-swl a8a3f3a
feat: Send end block request (#21413)
JivkoKelchev c30ed92
Merge remote-tracking branch 'origin/main' into 21181-block-merkle-fe…
mhess-swl 74a714b
Merge branch '21181-block-merkle-feature' into 21204-streaming-hash-tree
mhess-swl 12726ef
Merge remote-tracking branch 'origin/main' into 21204-streaming-hash-…
mhess-swl 05928c5
Temp fix for protobuf cyclic dependency (BlockItem <-> MerkleLeaf)
mhess-swl 41205e8
Merge remote-tracking branch 'origin/main' into 21204-streaming-hash-…
mhess-swl c45d2a7
Add initial protobufs for new block merkle tree structure
mhess-swl d0200d2
Add algorithm for streaming merkle tree
mhess-swl c98d4d2
Update BlockItem with new definition
mhess-swl 0020f29
feat: add block footer (#21356)
aderevets 8f57951
Fix compilation errors
mhess-swl 981aeb8
spotless
mhess-swl 10b8d0b
feat: Send end block request (#21413)
JivkoKelchev 5fbd73a
Merge branch '21181-block-merkle-feature' into 21204-streaming-hash-tree
mhess-swl f6fea58
Rework
mhess-swl eb2912d
NoThisStateProof block proof
mhess-swl 7433e8c
gradle work around to compile `message StateProof`
edward-swirldslabs aee237e
Remove unneeded properties
mhess-swl 2365bf0
Protobuf tweaks
mhess-swl 7dfb4da
Protobuf tweaks
mhess-swl cedab7e
Proof mechanism
mhess-swl ff52f25
Cleanup
mhess-swl 9d91890
Docs
mhess-swl ff3e0f7
Docs
mhess-swl 01aecd2
Fixes
mhess-swl 387ea8d
Merge branch 'main' into 21181-block-merkle-feature
mhess-swl 86d5d61
Merge branch '21181-block-merkle-feature' into 21204-streaming-hash-tree
mhess-swl 34a6438
Test fix
mhess-swl 2c18cb2
wip
Neeharika-Sompalli e859fed
probablyyy fixes?
Neeharika-Sompalli 7acd969
spotless
Neeharika-Sompalli 3779cd1
Minor cleanup
mhess-swl 20e0405
Some updates to state changes validator
mhess-swl 165d857
Cleanup
mhess-swl 38244c5
Fix a couple state changes validator issues
mhess-swl 6ad0fae
wip
Neeharika-Sompalli 80e004d
sync main
Neeharika-Sompalli a7edd85
fix translator
Neeharika-Sompalli 59f91e4
validation passes on adHoc
Neeharika-Sompalli c204d91
validation passes
Neeharika-Sompalli e5bded6
Proto updates
mhess-swl 7898950
Revert merkle leaf to proto.Timestamp
mhess-swl e6797ff
More proto doc updates, renumbering
mhess-swl 4136cb6
Try removing duplicate timestamp
mhess-swl 1525988
Spotless
mhess-swl 42611d4
Use block proof's TSS signature
mhess-swl 73416ce
Restore inc hashes init in validator
mhess-swl 1d3f6b6
Copy array refs in inc hasher
mhess-swl 5b6fc98
Remove duplicate timestamp from block stream info
mhess-swl 72ee0d6
Fix unit tests, remove unused proto
mhess-swl 7badf17
One more test
mhess-swl 7c1e214
Re-enable tests, remove old comments
mhess-swl 203a3c4
Test improvement
mhess-swl e9e4fef
Replace filtered item hash with filtered single item
mhess-swl 0c581a9
Merge remote-tracking branch 'origin/main' into 21204-streaming-hash-…
mhess-swl 8debbcc
Increase timeout
mhess-swl 448c5ff
Remove block node suite test (not useful, already covered)
mhess-swl df9525a
Remove stray comment
mhess-swl 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
Some comments aren't visible on the classic Files Changed page.
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
56 changes: 0 additions & 56 deletions
56
...protobuf-java-api/src/main/proto/services/state/blockstream/streaming_tree_snapshot.proto
This file was deleted.
Oops, something went wrong.
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.