Giter Club home page Giter Club logo

message-finder's Introduction

Message Finder

Retrieve WakuMessages from Storenodes

How to use

  1. Edit main_test.go. Setup the following variables if neccesary
  • nodeList: set the list of storenode multiaddresses
  • clusterID: 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 in status.prod fleet and "/waku/2/rs/16/32" in shards.test fleet
  • contentTopics: array of strings with content topics. In the status app use the following format "/waku/1/0xaabbccdd/rfc26"
  • startTime: unix timestamp in nanoseconds
  • endTime: unix timestamp in nanoseconds
  • envelopeHash: the hash of the message to find. This is optional. (Use 0x to not search for an specific message)
  1. 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.

message-finder's People

Contributors

richard-ramos avatar

Watchers

Jacek Sieka avatar Alvaro Revuelta avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.