Module hdk::countersigning
source · [−]Functions
Locks the local chain to commence a countersigning session.
The PreflightRequestAcceptance
MUST be sent back to the session initiator
so that the corresponding entry can be built for everyone to sign.
This function MUST be called by every signer in the signing session.
It doesn’t matter how, although concurrent remote calls are probably the
simplest mechanism to distribute and accept preflight requests before the
session times out.
Wrapper function around sys_time
to build CounterSigningSessionTimes
.
These session times are included in the PreflightRequest
and bound the
countersigning session temporally.
This function starts the session “now” in the opinion of the session
initiator and ends it after ms
milliseconds relative to “now”.
The countersigning parties will check these times as part of accepting the
preflight request so all system clocks need to be roughly aligned and the
ambient network latency must fit comfortably within the session duration.