hiero-ledger / hiero-ledger/hiero-consensus-node
Handle running hash syncronization without a Future
Open
Platform
- Dominant language
- Java
- Stars
- 407
- Forks
- 226
- Avg merge
- 3d 4h
- Merged PRs (30d)
- 210
Description
We currently handle thread synchronization between the running event hasher and the consensus round handler via a Future. This pattern is incompatible with turtle style testing.
Switch this into a wiring model managed join operation. The consensus round handler will need to accept consensus rounds and running hashes, and join them together into a single output stream (the immutable states). This is going to be more complicated that refactoring the PCES synchronization, since the join logic is going to have to live inside the consensus round handler directory (due to state immutability constraints).
Contributor guide
Assessment
This issue has not been assessed yet.