Functions
This async function returns only when a true signal was received from a watcher that tells us when to exit.
Parse and resolve a peer’s address including public key, written in the format:
<public key hex>@<ip or hostname>:<port>
Parse a peer’s address including public key, written in the format:
<public key hex>@<ip>:<port>
Utility function: encodes any serializable value in MessagePack binary format using the RMP library.
Creates a watch that contains false
, and that changes
to true
when a Ctrl+C signal is received.
Type Definitions
A network key
A node’s identifier, which is also its public cryptographic key
A node’s secret key