paritytech / paritytech/trie

HashDB on disk example

Open
#80 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
274
Forks
72
PR merge metrics
No merged PRs in 30d

Description

This is an awesome project and appreciate the amazing work.

Can someone help me understand how I can store a HashDB on disk? I’ve been using the MemoryDB but would like to persist the data.

Are there any examples using HashDB with a KV? How can I use TrieDB to store data and keep an up to date root?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the project’s examples or documentation for HashDB, MemoryDB, TrieDB, and KV usage; the issue names no specific files or tests. Clarify the intended on-disk persistence and root-update workflow, then add an example that demonstrates the requested usage and can be followed to verify the data remains available.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
databases, documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.