#indexer #data-integrity #graph-protocol #waku #real-time #p2p

bin+lib poi-radio

POI Radio monitors subgraph data integrity in real time using Graphcast SDK

20 releases (4 breaking)

0.4.0 Jul 14, 2023
0.3.6 Jun 21, 2023
0.3.1 May 22, 2023
0.2.0 May 9, 2023
0.0.7 Feb 28, 2023

#5 in #graph-protocol

Download history 320/week @ 2024-02-23 94/week @ 2024-03-01 2/week @ 2024-03-08 1/week @ 2024-03-15 186/week @ 2024-03-29

189 downloads per month

Apache-2.0

160KB
4K SLoC

POI Radio

Docs crates.io

Deprecated

POI Radio has been rebranded to Subgraph Radio. Please see the documentation for more information.

Introduction

The key requirement for an Indexer to earn indexing rewards is to submit a valid Proof of Indexing (POI) promptly. The importance of valid POIs causes many Indexers to alert each other on subgraph health in community discussions. To alleviate the Indexer workload, this Radio utilized Graphcast SDK to exchange and aggregate POI along with a list of Indexer on-chain identities that can be used to trace reputations. With the pubsub pattern, the Indexer can get notified as soon as other indexers (with majority of stake) publish a POI different from the local POI.

Documentation | Packages | Chat

🧪 Testing

To run unit tests for the Radio. We recommend using nextest as your test runner. Once you have it installed you can run the tests using the following commands:

cargo nextest run

Contributing

We welcome and appreciate your contributions! Please see the Contributor Guide, Code Of Conduct and Security Notes for this repository.

Dependencies

~89MB
~1.5M SLoC