Releases: nervosnetwork/sparse-merkle-tree
Releases · nervosnetwork/sparse-merkle-tree
v0.6.1
This release is a major update to the previous version. It includes a storage optimization: a new feature flag trie
allows users to store the branch data in an optimized way, this feature flag is disabled by default for compatibility with the previous version.
Comparing to the previous version, the trie
feature can reduce the storage usage by 90% and improve the performance by 15x (see benchmark). Users need to migrate the storage data from the previous version to the new version if they want to enable the trie
feature flag, the migration process is simply creating the smt tree and inserting all the leaves from the previous data.
Changes
v0.5.4
v0.5.3
v0.5.2
Changes since v0.5.1-rc1
:
- fix: pub BranchKey and BranchNode fields
- fix(ckb_smt.h): C implementation behavior incorrect if the last command is 0x48
- Optimize SMT implementation and reduce proof size
- perf: Skip zero hash checks by introducing a new type.
- feat: Use cxx compatible restrict
Fix replay to pass proof
v0.5.0-rc1 Update README.md