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

Use block reading utility method in `RedactingEventHashBlockStreamValidator`

Open
#22,023 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
406
Forks
226
Avg merge
3d 4h
Merged PRs (30d)
210

Description

The `RedactingEventHashBlockStreamValidator` class writes blocks to disk, then reads them back in using custom code. The reading of blocks from disk should be replaced with an existing utility method, `BlockStreamAccess.readBlocks`. Initial efforts to do this failed, so there is some issue to be figured out.

Contributor guide

Open the contributing guide

Research direction

Start in RedactingEventHashBlockStreamValidator and compare its custom block-reading code with the BlockStreamAccess.readBlocks utility. Investigate why earlier replacement attempts failed, then verify that blocks written to disk are read and validated with the utility without changing behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.