-
Notifications
You must be signed in to change notification settings - Fork 40
Open
Labels
Description
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) { |
| _ = block_updated.recv() => { |
| fn transition_to_new_slot(&mut self) { |
Reactions are currently unavailable