hiero-ledger / hiero-ledger/hiero-consensus-node

Rename pathToHashKeyValue MerkleDb store to pathToKeyValue

Open
#9,137 1 comment 0 reactions 0 assignees View on GitHub
P3 Platform Platform Data Structures Platform Virtual Map Tech Debt Reduced
Dominant language
Java
Stars
406
Forks
226
Avg merge
3d 4h
Merged PRs (30d)
210

Description

MerkleDb contains several stores, each to contain various entities. One of them is `pathToHashKeyValue` It was used to store hash/key/value triples, per virtual path. Some time ago all hashes were consolidated in a different store `internalHashStoreDisk`, so there are only keys and values in `pathToHashKeyValue`. It makes sense to rename it accordingly.

As a part of this change, it also makes sense to rename `internalHashStoreDisk` to something like `pathToHash` to be more consistent with other MerkleDb store names.

Contributor guide

Open the contributing guide

Research direction

Search the repository for `pathToHashKeyValue` and `internalHashStoreDisk`, starting with the MerkleDb store definitions and their references. Rename the stores consistently to the requested names and verify that all references still resolve and the relevant project checks pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
databases
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.