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.
cursorV2Beta4 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 query to a Waku Store to retrieve historical/missed messages.
The content topics to pass to the query, leave empty to retrieve all messages.
Optional parameters.
Generated using
Implements the .
The Waku Store protocol can be used to retrieved historical messages.