-
Notifications
You must be signed in to change notification settings - Fork 38
Description
I'd appreciate if someone could lend me a hand with implementing a small facility for the upcoming node 10.7 release.
We want to verify that a particular block hash matches the one recorded in the big ledger peer snapshot file when syncing in GenesisMode. The function has the signature forall r. SlotNo -> (forall a. STM m (Block SlotNo (Hash Blake2b_256 a)) -> r) -> r. The first parameter is the slot number to be examined and the second is a continuation which accepts an STM action, which is expected to block until the slot becomes part of the immutable chain, and which provides the corresponding Block value for the given input slot when it is available. A dummy implementation is defined in Ouroboros.Consensus.Node on mw/integrate-o-n-0.23 in commit wip.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status