Expand description
Implements types for on-chain announcement of nodes.
Structs§
- Announcement
Data - Structure containing data used for an on-chain announcement.
That is an optional decapsulated multiaddress (with the
/p2p/{peer_id}suffix removed) and mandatory keybindingKeyBinding. - KeyBinding
- Holds the signed binding of the chain key and the packet key.
Functions§
- decapsulate_
multiaddress - Decapsulates the multiaddress (= strips the /p2p/<peer_id> suffix). If it is already decapsulated, the function is an identity.