-
Notifications
You must be signed in to change notification settings - Fork 795
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
block_balance DB table (draft) #1285
Conversation
to improve I/O of balance/amount visitors
Each block require balance
Can we put the balance in the value of the block table? hash -> [block_data, balance] Then we don’t need a separate table and it should pack more efficiently. |
make receive_v1, open_v1, change_v1 tables? |
We could detect the length. If len = [block_data] it needs update. If len = [block_data, balance] no update needed. |
This will tie into the change to store block confirmation height (#1303), which has been moved to V18.0 |
Tied with DB changes in #1303 |
Closing in favor of https://github.com/nanocurrency/raiblocks/tree/block_sideband |
to improve I/O of balance/amount visitors
data.ldb size
Before: 5302931456
After: 5699977216