Returns known peers from the address book (libp2p.peerStore
) that support
store protocol. Waku may or may not be currently connected to these peers.
Returns a random peer that supports store protocol from the address
book (libp2p.peerStore
). Waku may or may not be currently connected to
this peer.
Register a decryption key to attempt decryption of messages received in any subsequent queryHistory call. This can either be a private key for asymmetric encryption or a symmetric key. WakuStore will attempt to decrypt messages using both methods.
Strings must be in hex format.
Delete a decryption key that was used to attempt decryption of messages received in subsequent queryHistory calls.
Strings must be in hex format.
Do a History Query to a Waku Store.
The content topics to pass to the query, leave empty to retrieve all messages.
Generated using TypeDoc
Implements the Waku v2 Store protocol.