-
Notifications
You must be signed in to change notification settings - Fork 127
[vm] Block Pruning (Default to Only Keeping Last 768 Blocks) #436
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 15 commits
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
5d9217d
remove all block storage expectations
patrick-ogrady f61c5c6
controller compiles
patrick-ogrady 93123a1
remove unnecessary cache config
patrick-ogrady 4d87a55
limit block history to 256
patrick-ogrady 3b4a30a
integration passing
patrick-ogrady f8e2f4d
default to no tx store
patrick-ogrady 9921f48
fix vm tests
patrick-ogrady 4a6db05
fix lint
patrick-ogrady 74fa3e9
tokenvm integration fixed
patrick-ogrady 454e5b3
handle genesis block fetch
patrick-ogrady 3f8d569
only store txs during test (tokenvm)
patrick-ogrady 1dbba10
update README
patrick-ogrady da333a1
add debugging code
patrick-ogrady 750f2bc
update invariant
patrick-ogrady ffe8fe7
add caches to store last X blocks
patrick-ogrady ace2b1e
e2e tests passing
patrick-ogrady 6d24b0e
restore version
patrick-ogrady 341f0fe
remove unnecessary config
patrick-ogrady 0d5689a
fix VM test
patrick-ogrady cf0aade
add check to prevent runaway block production
patrick-ogrady e8e4b39
add more TODOs
patrick-ogrady fa6b191
add quick restart test
patrick-ogrady 6d0c654
refactor tx backfill logic
patrick-ogrady a0f6afb
load blocks from disk on init
patrick-ogrady 87271bb
fix off-by-one issue
patrick-ogrady eb2cf34
var rename
patrick-ogrady ecd87f2
nits
patrick-ogrady 4c8bcd2
remove unused var
patrick-ogrady 59c799f
fix test
patrick-ogrady e45cb47
fix lint
patrick-ogrady e179020
fix TODO on vm
patrick-ogrady 3ee85a9
ensure block is marked as accepted
patrick-ogrady 2b16ea0
change log level
patrick-ogrady 7eb106d
add deleted blocks metrics
patrick-ogrady 897e7dc
add more pebble metrics
patrick-ogrady 0481848
compact disk blocks periodically
patrick-ogrady 6aed5ff
ensure all deletion does not happen at the same time
patrick-ogrady 7d7399a
fix lint
patrick-ogrady ca092aa
update allocation amount
patrick-ogrady 5a38a94
update tokenvm to allow unlimited usage
patrick-ogrady de66e9b
Merge branch 'main' into delete-blocks
patrick-ogrady a4c044e
use new genesis alloc
patrick-ogrady c3ffba0
fix startAmount
patrick-ogrady 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
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.
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.