| Safe Haskell | Safe-Inferred |
|---|---|
| Language | GHC2021 |
Hydra.Node.UnsyncedPeriod
Synopsis
- newtype UnsyncedPeriod = UnsyncedPeriod {}
- defaultUnsyncedPeriodFor :: ContestationPeriod -> UnsyncedPeriod
Documentation
newtype UnsyncedPeriod Source #
Period of time after which we consider the node becoming unsynced with the chain. Beyond this period the node will refuse to process new transactions and signing snapshots.
Constructors
| UnsyncedPeriod | |
Instances
defaultUnsyncedPeriodFor :: ContestationPeriod -> UnsyncedPeriod Source #
Compute a default UnsyncedPeriod based on the ContestationPeriod.
This is the legacy behavior: half of the contestation period.