graphprotocol / indexer-rs

Rewrite of indexer-service in Rust with TAP payments implementation
Apache License 2.0
22 stars 20 forks source link

Create check to not accept receipts if allocation was already redeemed #469

Open gusinacio opened 3 weeks ago

gusinacio commented 3 weeks ago

In case there's a problem, we don't want to accept receipts for already redeemed receipts.

It's better to let indexers know that receipts are invalid and reject queries than to lose money while aggregating.