mirror of
https://github.com/logos-messaging/message-finder.git
synced 2026-01-02 14:03:11 +00:00
1.1 KiB
1.1 KiB
Message Finder
Retrieve WakuMessages from Storenodes
How to use
- Edit
main_test.go. Setup the following variables if neccesary
nodeList: set the list of storenode multiaddressesclusterID: the cluster id used by the storenodes (this was set with the--cluster-idflag when running the store node)pubsubTopic: pubsub topic on which the message was published. In the status app,"/waku/2/default-waku/proto"is used instatus.prodfleet and"/waku/2/rs/16/32"inshards.testfleetcontentTopics: array of strings with content topics. In the status app use the following format"/waku/1/0xaabbccdd/rfc26"startTime: unix timestamp in nanosecondsendTime: unix timestamp in nanosecondsenvelopeHash: the hash of the message to find. This is optional. (Use0xto not search for an specific message)
- Execute
make
The program will attempt to retrieve the messages that match the criteria described in the previous variables, and print basic details about them, as well as use any query cursor returned to retrieve more pages of results.