-
Notifications
You must be signed in to change notification settings - Fork 34
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
State fixes and improvements #78
State fixes and improvements #78
Conversation
7a47e05
to
5546101
Compare
f1cdcc7
to
d0f7f09
Compare
These changes must be written directly to DB, because deleting outdated records always makes sense.
d0f7f09
to
fc78a97
Compare
See comment.
Successfully tested possibility to continue importing after Ctrl-C termination.
3ca8135
to
353cc77
Compare
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.
I think that keys.go
should be not in proto
package but in state
package.
7c7fe73
to
35a8926
Compare
The problem is that |
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.
Maybe better remove the keyvalue
package completely? And move files to state
package?
Remove separate tx IDs file. Use main blockchain file to get IDs to remove.
* Sync [wip] * Accounts storage: fix filterHistory() These changes must be written directly to DB, because deleting outdated records always makes sense. * BlockReadWriter: do not remove tx IDs in rollback See comment. * Add option to apply from certain height Successfully tested possibility to continue importing after Ctrl-C termination. * Accounts storage: do not store more than ROLLBACK_MAX blocks * GO-61: Reduntan mutex removed (#75) * GO-63: Correct termination, fixed binary search, fixed error messages and return codes (#76) * Rollback(): remove transaction IDs correctly Remove separate tx IDs file. Use main blockchain file to get IDs to remove. * Use camelCase for constants * Importer: use fixed-size byte array for block * Combine all related packages into single state
No description provided.