Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Remove db templates #3783

Merged
merged 13 commits into from
Apr 9, 2022
Merged

Conversation

clemahieu
Copy link
Contributor

This branch removes templates from the lmdb/rocksdb backend.

Templates were intended to reduce the amount of boilerplate code shared between different backends, however, backends infrequently had matching implementations making the template code confusing and unmaintainable.

This removes templates from the various block store classes and replaces it with simple inheritance.

@zhyatt zhyatt added the quality improvements This item indicates the need for or supplies changes that improve maintainability label Apr 8, 2022
@zhyatt zhyatt added this to the V24.0 milestone Apr 8, 2022
@thsfs
Copy link
Contributor

thsfs commented Apr 8, 2022

Seems to be a good path to reduce complexity and enable further changes.

@clemahieu clemahieu merged commit e9eb258 into nanocurrency:develop Apr 9, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
quality improvements This item indicates the need for or supplies changes that improve maintainability
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants