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>
async version of parse_and_resolve_peer_addr
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.