consensus-test
Safe HaskellSafe-Inferred
LanguageHaskell2010

Test.Util.PartialAccessors

Description

Helpers to access particular parts of trees and schedules Those functions are partial, and are designed to only be used in tests. We know they won't fail there, because we generated the structures with the correct properties.

Documentation

getOnlyBranchTipHasHeader blk ⇒ BlockTree blk → blk Source #

getTrunkTipHasHeader blk ⇒ BlockTree blk → blk Source #