turbofish-org / merk

High-performance Merkle key/value store
Apache License 2.0
226 stars 36 forks source link

Split into LevelUp proxy wrapper, and Merkle LevelDown wrapper #4

Closed mappum closed 5 years ago

mappum commented 6 years ago

This module really does two things:

We could split these into 2 packages, levelize and merklevel since they can each be useful without the other.

mappum commented 6 years ago

Also makes sense to make a third module to handle mutation transactions/commits, which can unbundle the commit/rollback logic from the levelize data structures, and will be useful in state management inside lotion.

mappum commented 6 years ago

The commit/rollback logic is now extracted and improved in a new package called muta.

merk doesn't currently make use of this, but that will happen in the future.

mappum commented 5 years ago

Closing since this repo was already refactored to only include the merkle kv store component.