avoid partial functions in HeadLogic
> best to use the Error outcome type for this cases
> best to use the Error outcome type for this cases
> so it doubles the unsynced policy
> this required to define an offline chain backend, which throws errors at any backend call but it has a hardcoded option of blockTime = 1
This reverts commit 520a85ca96e5bf851c924dfac2fec03e87f8e908.
> current is insuficient for real networks
This reverts commit 45d9da3e13c47db435038dd8392ded6b233e5df6.
This reverts commit 520a85ca96e5bf851c924dfac2fec03e87f8e908.
This reverts commit 45d9da3e13c47db435038dd8392ded6b233e5df6.
> now stepHydraNode takes the current time as argument > that allows runToCompletion to not depend on a recent clock time, rather it now derives next current-time as the following after the last known by the node state.
> to make it more specific and dedicated
> replace NominalDiffTime with Natural
> avoids computing drift when rejecting inputs while catching up - we also wrapped all time reference being tracked by the into a new product type called ChainPointTime - now drift is a Natural and not a NominalDiffTime as in principle it should never be negative