| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Cardano.Network.Protocol.ChainSync.Codec.TimeLimits
Synopsis
- timeLimitsChainSync :: ChainSyncIdleTimeout -> PeerTrustable -> ProtocolTimeLimitsWithRnd (ChainSync header point tip)
Documentation
Arguments
| :: ChainSyncIdleTimeout | idle timeout, the default value
|
| -> PeerTrustable | |
| -> ProtocolTimeLimitsWithRnd (ChainSync header point tip) |
Time Limits
| Trustable peer | ChainSync State | timeout (s) |
|---|---|---|
| corresponds to ChainSyncIdleTimeout | |
| shortWait | |
| IsNotTrustable |
| randomly picked using uniform distribution from
the range (,
which corresponds to a chance of an empty streak of slots
between `0.0001%` and `1%` probability. |
| IsTrustable | | waitForever (i.e. never times out) |
| shortWait |