Merge pull request #5305 from IntersectMBO/coot/nr
typed-protocols-1.2 integration
typed-protocols-1.2 integration
QA Regression Tests
Co-authored-by: Sebastian Nagel <[email protected]>
Signed-off-by: Sasha Bogicevic <[email protected]>
> because we have no recent view of the chain since we are out of sync
> when calculating the slot drift
> the former gets updated upon ticks the later upon head transitions observed, which usually is older than ticks
* extended NodeSynced and NodeUnsynced with time and slot drifts * added Haddocks to both currentSlot and currentChainTime * made NodeState.currentChainTime non optional * defined initialChainTime = posixSecondsToUTCTime 0
This reverts commit 037aea1d9f15f65db00113f0606f9e09d0b03548.
> NodeState now tracks currentChainPoint :: ChainPointType tx, instead of currentSlot :: ChainSlot + currentChainTime :: Maybe UTCTime > NodeSynced and NodeUnsynced now carry ChainPointType tx, instead of chainTime :: UTCTime > extended IsChainState class with chainPointTime :: ChainPointType tx -> UTCTime > initialChainTime = posixSecondsToUTCTime 0
> so it doubles the unsynced policy