@ThreadSafe class NodeTimestamperService
This class implements the server side of the timestamping protocol, using the local clock. A future version might add features like checking against other NTP servers to make sure the clock hasnt drifted by too much.
See the doc site to learn more about timestamping authorities (nodes) and the role they play in the data model.
<init> |
NodeTimestamperService(net: MessagingService, identity: Party, signingKey: KeyPair, clock: Clock = Clock.systemDefaultZone(), tolerance: Duration = 30.seconds) This class implements the server side of the timestamping protocol, using the local clock. A future version might add features like checking against other NTP servers to make sure the clock hasnt drifted by too much. |
clock |
val clock: Clock |
identity |
val identity: Party |
signingKey |
val signingKey: KeyPair |
tolerance |
val tolerance: Duration |
processRequest |
fun processRequest(req: Request): LegallyIdentifiable |
TIMESTAMPING_PROTOCOL_TOPIC |
val TIMESTAMPING_PROTOCOL_TOPIC: String |