Reconciliation + Settlement Batch LIVE
qvtx_reconcile.py
What it is
Compares the clearing ledger against on-chain bridge totals per system, reports deltas, and anchors a net-settlement root on-chain.
How it works
- ledger_by_system: settled pay-in/out volume per system from the journal.
- chain_by_system: each bridge's on-chain totalIn/totalOut.
- reconcile: side-by-side + per-system delta + house-nets-to-zero check.
- anchor: settle_batch -> net positions + settlement root on Chain 42000.
API
| endpoint | notes |
|---|
GET /api/reconcile | ledger-vs-chain report + trial balance |
CLI
qvtx_reconcile.py reconcile
qvtx_reconcile.py anchor
Example
reconcile -> per-system ledger/chain in/out + match flags; house nets to zero
What's real: REAL. In production ledger and chain reconcile to 0; test/seed attestations show as deltas (flagged).
← all services