consensus-test
Safe HaskellSafe-Inferred
LanguageHaskell2010

Test.Consensus.PeerSimulator.Run

Synopsis

Documentation

data SchedulerConfig Source #

Behavior config for the scheduler.

Constructors

SchedulerConfig 

Fields

debugSchedulerSchedulerConfigSchedulerConfig Source #

Enable debug tracing during a scheduler test.

defaultSchedulerConfigSchedulerConfig Source #

Default scheduler config

runPointSchedule ∷ ∀ m. (IOLike m, MonadTime m, MonadTimer m) ⇒ SchedulerConfigGenesisTestFull TestBlockTracer m (TraceEvent TestBlock) → m (StateView TestBlock) Source #

Construct STM resources, set up ChainSync and BlockFetch threads, and send all ticks in a PointSchedule to all given peers in turn.