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.
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
refactor: snapshot and pruning functionality #140
refactor: snapshot and pruning functionality #140
Changes from all commits
f348dc1
9b34767
f45b027
1468df4
8e37e0d
8ad567e
49b269c
e6be907
4a78172
19831f8
fa53501
de9c030
4df3ffd
ed59a43
02b4c03
b658d9b
e318a90
1a78b81
fff4055
4487e79
6e70a75
24478ee
d0ceed6
8733ac7
0b62de4
9d34297
835cf32
157bb38
e8e94cf
183b8e6
3775b3e
db8661c
3be7f3d
c9d827c
197552f
948387d
4f48a83
56b4781
bdb1112
a619355
bc941a0
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
This has changed because now we use
snapshot-interval
in place ofpruning-keep-every
. Although I addedsdk.NewSnapshotOptions(10000, 1))
, snapshot interval is used as another strategy for calculating the block retention height and it just takes precedence over the old strategy used by this unit test.