a28415b70c | ||
---|---|---|
Makefile | ||
README.md | ||
go.mod | ||
go.sum | ||
main_test.go | ||
setup_test.go | ||
utils_test.go |
README.md
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-id
flag 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.prod
fleet and"/waku/2/rs/16/32"
inshards.test
fleetcontentTopics
: 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. (Use0x
to 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.