-
Notifications
You must be signed in to change notification settings - Fork 106
tbc: add v4 keystone height hash index #539
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 1 commit
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
9a8ba84
Add v4 keystone height hash index
marcopeereboom 93c50e9
decode all keystones
marcopeereboom 6725cbd
Decode the various databases
marcopeereboom 33b0add
encode height to keystone hash
marcopeereboom cf9ff92
Use abbreviated hash
marcopeereboom 7b14ab6
correct spot
marcopeereboom 19f441c
64 entire bits
marcopeereboom 9f8e579
test this shit real quick
marcopeereboom 33d1de3
remove test code and put results in database
marcopeereboom 93b7a33
Let's start putting this together
marcopeereboom d0b1651
Show antonio
marcopeereboom bf14da2
remove fixed XXX
marcopeereboom f6c6d6f
return height as well with a shortcut
marcopeereboom efb37e6
add height hash index encoding test
AL-CT 953d45a
fix block missing height error and linter
AL-CT f73790a
Do we want this antonio?
marcopeereboom 2b36211
oops remove panic
marcopeereboom 73c165d
Here is a better version antonio
marcopeereboom 9a9b734
oops, fix error
marcopeereboom 1d09dc4
minor test fixes for db upgrade
AL-CT 3ba098e
add keystone by height and tests
AL-CT bcb0fc2
Don't use CloneBytes
marcopeereboom 430fa1b
Cleanup
marcopeereboom 211f1fb
verify height and use found height
marcopeereboom b236647
Attempt at depth
marcopeereboom 1a2f959
fix height seeking on keystone by hash
AL-CT 8cd2b60
off by one fix and tests
AL-CT def77d6
add keystonesbyheight to hemictl
AL-CT ac36984
add keystonesbyheight rpc call
AL-CT c467c79
try to please codeql for all the unnecessary reasons
marcopeereboom eaa20aa
Just stop being clever to save 4 bytes per keystone
marcopeereboom adc9c70
fix upgrade and add testing
AL-CT e3bff87
Revert "fix upgrade and add testing"
AL-CT 5acc2e6
fix v4 upgrade
AL-CT 6acc0fb
add v4 upgrade test and new v3 test database
AL-CT 668434f
Cleanup a little
marcopeereboom 5cf28d2
fix keystones by height
AL-CT 825ac2c
add extra test
AL-CT 5e9552b
forgot one
AL-CT 4e9684f
fix comments and suggestions
AL-CT b7ce764
cleanup
AL-CT 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
Cleanup a little
- Loading branch information
commit 668434f6757cb3a76fb4383d8f0a260932307c5e
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.