Skip to content
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

go tendermint db: restructure badger iterator #2667

Merged
merged 2 commits into from
Feb 12, 2020

Conversation

pro-wh
Copy link
Contributor

@pro-wh pro-wh commented Feb 11, 2020

Here's an alternate implementation.

  • Responsibility for correct seeking is moved down to BadgerDB.
  • Responsibility for caching keys and values is moved up or down.
  • Bounds checking is moved to Valid.
  • Methods now don't call Close internally. Remember to call it yourself and don't abuse Valid.

- Responsibility for correct seeking is moved down to BadgerDB.
- Responsibility for caching keys and values is moved up or down.
- Bounds checking is moved to Valid.
- Methods now don't call Close internally. Remember to call it
  yourself and don't abuse Valid.
@pro-wh
Copy link
Contributor Author

pro-wh commented Feb 12, 2020

alright, gonna merge into #2664

@pro-wh pro-wh merged commit ff863aa into pro-wh/bugfix/badger Feb 12, 2020
@pro-wh pro-wh deleted the pro-wh/feature/badger2 branch February 12, 2020 18:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants