-
Notifications
You must be signed in to change notification settings - Fork 18
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
api change - change []bool to byte array #4
Comments
To be a little more clear about what this issue is suggesting, currently the spent tracking data is kept in the memory using a []bool. Unfortunately, Go does not bit pack them, so it is using quite a bit more memory than it needs to. Ideally, a new type such as Once that is in place, all of the places up the dependency chain would have to be changed to accommodate the change. |
This will be part of overhaul described in #6. |
This has been moved to btcsuite/btcd#254. |
API needs to be changed to have it 'encapsulated'; Internally just have a byte array with bits of meaning, which is the form it is stored in the db, so faster on db load/store.
The text was updated successfully, but these errors were encountered: