stellar-etl
stellar-etl copied to clipboard
State table verification
Overview
This implements Horizon's verify
package to stellar-etl
command export_ledger_entry_changes
. It only verifies entries from checkpoint ledgers (every 64 ledgers, every ~5 minutes).
Changes
- Add
Raw*
fields typesAccountOutput
,OfferOutput
,PoolOutput
,ClaimableBalanceOutput
andTrustlineOutput
- Add
LedgerIsCheckpoint()
function toutils
package - Add
TransformedOutput
type tointernal/transform/schema.go
to assist the Horizon'sverify
package implementation - Refactor
internal/utils/verify.go
to work withstellar-etl
- Update unit tests to add new fields