-
Notifications
You must be signed in to change notification settings - Fork 986
Closed
Labels
Milestone
Description
The current Merkle tree implementation is mostly a placeholder and is going to be inadequate to handle the UTXO set tree. The following are highly desirable property:
- cheap lookups, additions and deletions
- efficient store and update operations in db (likely rocksdb)
- simple
- an immutable data structure (pruned on a later pass) may be easier to reason about
The MMR [1] [2] algorithm has been proposed and Merklix trees [3] offer interesting possibilities as well (i.e. p2p querying, sharding).
[1] https://github.com/opentimestamps/opentimestamps-server/blob/master/python-opentimestamps/opentimestamps/core/timestamp.py#L324
[2] https://github.com/opentimestamps/opentimestamps-server/blob/master/doc/merkle-mountain-range.md
[3] http://www.deadalnix.me/2016/09/29/using-merklix-tree-to-checkpoint-an-utxo-set/
@GarrickOllivander @merope07 and @apoelstra have expressed interest.
Reactions are currently unavailable