Skip to content

feat: compute valid blockhashes for block history #1003

@bmuddha

Description

@bmuddha

In current implementation of the validator, we make up the blockhashes, i.e. they are not related to the ledger, and are produced by a separate validator logic. In order to have a verifiable replication, we need proper blockhashes, i.e. blockhashes which are reflect tha blockchain history.

Need to investigate a streaming blockhash computation, tied to the scheduler. The main concern is to do it in least invasive fashion and without introducing any race conditions related to slot transitions, where different threads might get out of sync on slot boundaries.

useful links:

fn transition_to_new_slot(&self) {


fn transition_to_new_slot(&mut self) {

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions