Bounty: JMT Data Optimization
Tier: L — 150,000 XTM
Description
Jellyfish Merkle Tree (JMT) data is the single largest consumer of storage in the base node database — jmt_node_data alone accounts for 6.4 GB out of 11.4 GB total. Investigate the root cause of the excessive size (9.6M entries averaging 669 bytes each), propose an optimization strategy, and implement it. This likely involves changes to node serialization, pruning of historical JMT nodes, or restructuring how JMT data is stored in LMDB.
Acceptance Criteria
Context
- Issue opened by @stringhandler
jmt_node_data: 9,601,158 entries, 6.4 GB, avg 669 bytes, depth 4
jmt_unique_key_data: 2,615,793 entries, 302.1 MB
jmt_value_data: 2,615,793 entries, 231.8 MB
- Total LMDB map size: 11.6 GB; JMT tables account for ~60%
- Relevant code:
base_layer/core/src/chain_storage/lmdb_db/
How to Claim
- Comment on this issue to signal intent (courtesy, not a lock)
- Fork the repo and do the work
- Submit a PR that meets the acceptance criteria
- First PR that passes review and gets merged wins the bounty
- On acceptance, XTM payment is processed
Notes
- This touches core storage infrastructure — PR will require thorough review
- AI-assisted development is expected and encouraged
- If you get stuck, ask in Discord
- If you can't complete it within 14 days of claiming, let us know so someone else can pick it up
Bounty: JMT Data Optimization
Tier: L — 150,000 XTM
Description
Jellyfish Merkle Tree (JMT) data is the single largest consumer of storage in the base node database —
jmt_node_dataalone accounts for 6.4 GB out of 11.4 GB total. Investigate the root cause of the excessive size (9.6M entries averaging 669 bytes each), propose an optimization strategy, and implement it. This likely involves changes to node serialization, pruning of historical JMT nodes, or restructuring how JMT data is stored in LMDB.Acceptance Criteria
jmt_node_datastorage by at least 50%Context
jmt_node_data: 9,601,158 entries, 6.4 GB, avg 669 bytes, depth 4jmt_unique_key_data: 2,615,793 entries, 302.1 MBjmt_value_data: 2,615,793 entries, 231.8 MBbase_layer/core/src/chain_storage/lmdb_db/How to Claim
Notes