forked from helius-labs/photon
-
Notifications
You must be signed in to change notification settings - Fork 0
feat: gap detection & rewind #38
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
Open
sergeytimoshin
wants to merge
44
commits into
main
Choose a base branch
from
sergey/account-tx-safe
base: main
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.
Open
Changes from all commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
88835d1
fix: filter nullifier queue updates by tree
sergeytimoshin d4640f8
stash
ananas-block 86360f4
sucessfully created snapshot from tx, snapshot untested
ananas-block 7feb60f
test snapshot file for address tree v1 gaps
ananas-block b194157
fixed indexed Merkle tree gaps
ananas-block 4ea82f9
stash
ananas-block 5ea15e0
refactor gap detection
ananas-block c03c857
snapshot gap filler works but super slow
ananas-block 3b7f8d1
feat: add non working gap detection to indexer
ananas-block 231bebf
stash
ananas-block e44945c
gap detection works as test
ananas-block 578c8a6
add rewind controller
ananas-block 8292b09
store claude code
ananas-block 6778700
refactor: BatchNullifyContext
ananas-block 74f5f56
replace panics with warnings
ananas-block 2ca7b3c
remove claude session
ananas-block f253449
fix u64::max overflow
sergeytimoshin 06cd7d2
Add batch input accounts to account transactions
sergeytimoshin 9a32b95
address histories
sergeytimoshin d7b35dc
reindex with filter by tree
sergeytimoshin b834217
tx analyzer, filter optimisation
sergeytimoshin 39f33e8
remove gap detection sql
sergeytimoshin f274019
uUpdate test file paths
sergeytimoshin d6a6dc2
format
sergeytimoshin 9af8d2b
fix warnings
sergeytimoshin f072b71
ignore gap tests (they are more tools than tests)
sergeytimoshin 6337b6e
Update tests/integration_tests/mock_tests.rs
sergeytimoshin 29c4a4d
Update tests/integration_tests/zeroeth_element_fix_test.rs
sergeytimoshin d9c2f02
Update src/ingester/detect_gaps.rs
sergeytimoshin c93f2dd
Update src/ingester/detect_gaps.rs
sergeytimoshin 21a1d3a
Remove AMT/SMT sequence state debug logging
sergeytimoshin b70eec6
Move analyze_snapshot tool into src/tools directory
sergeytimoshin a01bdfc
Use environment variable for test snapshot path
sergeytimoshin deeea87
Remove unused StateV2Seq struct
sergeytimoshin e42993f
cleanup
sergeytimoshin e889f35
cleanup
sergeytimoshin ecab5d4
remove unwraps
sergeytimoshin 40b37d0
move gap logic into ingester/gap module
sergeytimoshin ab0684c
cleanup
sergeytimoshin 3bb1f29
refactor: clear cache and sequence state on gap detection rewinds
sergeytimoshin 1c70149
refactor: add clear_sequence_state fn for rewind recovery
sergeytimoshin 1cb338e
fix gap detection
sergeytimoshin d1ecb05
Add flag to disable sequence gap detection and rewind
sergeytimoshin 7823882
Remove sequence state clearing on block rewind
sergeytimoshin 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,3 +13,4 @@ test-ledger/ | |
minio | ||
test.db | ||
docker-compose.yml | ||
*.txt |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
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.