npm.io
3.2.68 • Published 1 month ago

@peerbit/clock-service

Licence
MIT
Version
3.2.68
Deps
8
Size
35 kB
Vulns
0
Weekly
0

ClockService

Experimental state

This module can sign entries to verify that their timestamps are set correctly.

See the test for examples.

Nodes running this program will sign entries if their timestamp is not too far from "now". Hence, only use this program with an identity dedicated for this job since peers can send any entry to be signed (i.e. use dedicated nodes for this)