algorand / indexer

searchable history and current state

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

validator: support validating box data.

winder opened this issue · comments

Problem

Validator is used to confirm that the postgres data is consistent with data returned by go-algorand.

It should be updated to validate box data along with the account data.

Urgency

High. If there is an inconsistency with production data we would not currently be able to detect it.

one concern: boxes don't have an associated round in indexer (unlike all the accounts data), so we'll have to consider maybe we'll need more retries or something.

Validator logic merged into indexer, however
1: requested --resource capability for redirects back into validator
2: round response incorporated into algod's box endpoint
3: round REQUEST incorporated into algod's box endpoint

4: round response into indexer endpoint #1519

checking the round response in the validator #1564

Completed with #1517