Proof of Traffic: dSync Traffic Parameter Checks and Burn Reconciliation
Organization: InfraSingularity
Author / Primary Contact: Jitin Jain (t***@infrasingularity.com)
Status: Submitted
Created: 2026-12-01
Proposal Type: RFP-aligned
RFP / Roadmap Area:
- RFP #5: Multi-synchronizer support for protocol, application development and operations
- RFP #27: Security monitoring, auditability and evidence
- RFP #20: Indexers and observability
Champion: Needs Champion
Total Funding Request: 300,000 CC
Project Duration: 8 weeks
Label: canton-protocol-multi-synchronizer
Abstract
Under CIP-0132 Phase 1, a dedicated synchronizer (dSync) operator exposes a traffic report and a paymaster burns CC on the Global Synchronizer to pay for it. The link between the two is off-ledger and both parties are trusted. CIP-0132 already guarantees that rewards can't exceed what was burned, so the open risk is the other direction: traffic that is under-reported, under-burned, or metered with cost parameters that differ from the Global Synchronizer's. Right now nobody outside the operator can check any of this. Proof of Traffic is an open-source CLI that checks a dSync's traffic cost parameters, compares the operator's traffic report with what connected participants were charged, and matches paymaster burns on the Global Synchronizer against both. It only reads data, and it produces a report that operators and SVs can rerun.
Specification
1. Objective
Give dSync operators and SVs a shared tool to detect traffic cost parameter drift, under-reported traffic and missing or short burns on dedicated synchronizers registered under CIP-0132.
2. Implementation Mechanics
Background from CIP-0132 and Splice main that shapes the design:
- The dSync Operator App returns traffic consumed on the whole synchronizer, in bytes, per 10-minute interval (
XX:00, XX:10, ...), measured on the sequencer clock. It only covers the sequencer pruning window, so older intervals cannot be re-queried.
- There is no traffic enforcement on dSyncs in Phase 1. Nodes never run out of traffic. The parameters still matter, because they decide the cost of each event, and that cost is what ends up in the report.
- A dSync is registered by SV vote (
DsoRules_RegisterSynchronizer), which creates a Splice.Amulet.DedicatedSynchronizer:DedicatedSynchronizer contract holding the synchronizerId, the paymaster party and maxAppActivityWeight / maxAssetActivityWeight.
- The paymaster pays through
AmuletRules_BuyMemberTraffic with a PaymasterTrafficPurchase argument pointing at that contract. The Daml code already checks that the buyer is the registered paymaster and that the synchronizer id matches.
- Discounts and permitted burn delays (CIP-0132 gives 7-day continuous and 14-day stepwise smoothing as examples) are agreed off-ledger between the SVs and the operator.
The tool has four parts. Each one can run on its own, so an operator can start with the parameter checker and add the others as data access allows.
Parameter checker
Reads the dSync's DynamicSynchronizerParameters.trafficControl through the topology admin API and compares it with a reference profile. The fields checked are the ones in Canton's TrafficControlParameters:
| Field | Why it matters for the report |
|---|
| traffic control present | without it the sequencer doesn't compute event cost, so there is nothing to report |
readVsWriteScalingFactor | scales the read cost per recipient; a lower value means fewer reported bytes |
baseEventCost | fixed cost added per event |
freeConfirmationResponses | excludes confirmation responses from cost |
maxBaseTrafficAmount / maxBaseTrafficAccumulationDuration | free base traffic per member |
enforceRateLimiting | recorded only; expected off in Phase 1 and not flagged |
The default reference is taken from the Global Synchronizer: the SV app sets these values from the on-ledger AmuletConfig (decentralizedSynchronizer.fees: readVsWriteScalingFactor, baseRateTrafficLimits) through ReconcileDynamicSynchronizerParametersTrigger, and the checker reads the same config from Scan. The profile is a versioned YAML file with effective-from timestamps, so a later change to the agreed values doesn't flag older periods. It supports per-dSync exceptions, since base traffic can legitimately differ, and a grace window after a change. Exceptions and grace windows will be agreed with the Multi-Synchronizer SIG and the CIP-0132 maintainers in Milestone 1.
Participant evidence adapter
Runs next to a participant node connected to the dSync. Canton returns a TrafficReceipt (consumedCost, extraTrafficConsumed, baseTrafficRemainder) with each sequenced event the member sent, and the participant admin TrafficControlService exposes the member's current TrafficState. The adapter sums consumedCost per 10-minute interval on the sequencer clock and writes a signed record with the participant ID, key fingerprint, interval bounds, total cost and a hash of the receipts. Raw events never leave the participant.
The operator report covers every member of the synchronizer, so the sum of deduplicated participant records for an interval is a lower bound on what the report should show. Milestone 1 will confirm that receipts are still populated when enforceRateLimiting is off. If they aren't, the adapter falls back to sampling TrafficState, and the scope change goes to the Committee before Milestone 3.
Reconciler
Lines up three inputs per dSync:
- Operator traffic reports, which the tool snapshots on a schedule so they survive sequencer pruning.
- Participant interval records.
- Paymaster burns from Scan update history, filtered to
AmuletRules_BuyMemberTraffic exercises whose PaymasterTrafficPurchase references the dSync's DedicatedSynchronizer contract.
Checks:
- Report vs participants: a final interval is flagged when the deduplicated participant total is higher than the reported bytes.
- Report vs burns: expected burn = reported bytes × (1 − agreed discount) × list price ($60/MB under CIP-0129) ÷ CC price for the round. Because paymasters are allowed to smooth, the check compares cumulative expected burn with cumulative actual burn over the agreed delay window, not interval by interval.
- Registration: burns are only counted when the buyer matches the paymaster on the active
DedicatedSynchronizer contract at that time.
- If the discount terms, a report or the price data for a round are missing, the result is
unknown.
Evidence states and finality
The tool keeps a real mismatch apart from evidence that is late or incomplete. A check only turns red when all of its inputs are final:
| Input | Final when |
|---|
| Operator report interval | the report marks the interval final |
| Participant record | the participant's sequencer subscription has processed events past the interval end plus a set lag |
| Burns | the agreed burn delay for the interval has passed |
| Discount terms and price data | the terms have been supplied and the round's price data is available |
Until then a check is amber (waiting for final inputs) or unknown (an input is missing). A missing report is unknown, never red. Every result records when it was computed. A later run recomputes earlier intervals when late evidence arrives, so a status can move from amber to green or red, and the earlier result stays in the report history.
Report and CLI
Each run outputs a JSON report and a short human-readable summary. Every check has a status:
| Status | Meaning |
|---|
| green | all inputs final and values match |
| amber | inputs not final yet: interval in progress, participant catching up, inside the burn delay or a grace window |
| red | a confirmed mismatch on final inputs |
| unknown | required data missing |
The report lists the data sources, Splice and Canton versions, timestamps and tool version used, so anyone with the same access can rerun it and get the same result. Nothing about individual participants is published by default. Operators decide what to share.
3. Architectural Alignment
- RFP 5: Multi-synchronizer support for protocol, application development and operations
- RFP 27: Security monitoring, auditability and evidence
- RFP 20: Indexers and observability
- CIP-0129 / CIP-0132: the tool checks the Phase 1 universal burn and paymaster model as specified. It does not propose a new CIP. We'd like reviewer input on whether RFP #8 (Tokenomics) alignment would require one.
- Existing work: uses Splice topology, Scan and participant admin APIs, and the operator traffic report being built under Universal Burn Phase 1 (#1107). It sits alongside that work rather than replacing any of it. Contract and API names above are from Splice
main as of December 2026; Milestone 1 pins them against the release #1107 ships.
4. Backward Compatibility
No backward compatibility impact. The tool only reads data. The participant adapter uses existing admin APIs and runs as a separate process.
Milestones and Deliverables
Four milestones over 8 weeks. Dates are measured from grant approval.
Milestone 1: Feasibility and Reference Profile
Estimated Delivery: Week 2 after approval
Focus: Confirm which data is available and agree the reference profile.
Deliverables / Value Metrics:
- Data source map covering dSync topology history, the Operator App traffic report, participant
TrafficReceipt / TrafficState data and Scan burn records, with what each exposes and how long it is retained.
- First version of the reference profile derived from
AmuletConfig, reviewed by at least two people from the Multi-Synchronizer SIG, CIP-0132 maintainers or dSync operators.
- LocalNet demo with a dSync whose
readVsWriteScalingFactor is changed and the change detected.
- Short threat and privacy note covering what data the tool reads, stores and outputs.
Milestone 2: Parameter Checker
Estimated Delivery: Week 4 after approval
Focus: First release that operators can run.
Deliverables / Value Metrics:
- Tagged CLI release of the parameter checker with LocalNet examples.
- Handles reference profile versions, grace windows and per-dSync exceptions.
- Operator guide and tests.
- At least one dSync operator or maintainer outside InfraSingularity runs it and gives feedback.
Milestone 3: Participant Evidence and Reconciliation
Estimated Delivery: Week 6 after approval
Focus: Compare reported traffic and burns against participant data.
Deliverables / Value Metrics:
- Participant evidence adapter and versioned record format.
- Report snapshotter, so intervals are kept after sequencer pruning.
- Reconciler for operator reports, participant records and
AmuletRules_BuyMemberTraffic burns.
- LocalNet scenarios for under-reported traffic, a missing report, a burn from a non-paymaster party, a burn delayed within the allowed window and a late participant record.
- At least one participant operator outside InfraSingularity reviews the output.
Milestone 4: Validation and v1.0 Release
Estimated Delivery: Week 8 after approval
Focus: External validation and stable release.
Deliverables / Value Metrics:
- v1.0 release with docs and a quickstart.
- Security review of the participant adapter and reconciler by a reviewer outside the development team, with fixes applied.
- At least two dSync operators or SV reviewers run the tool on LocalNet or an agreed test environment, and their feedback is published (anonymized if requested).
Acceptance Criteria
Milestone 1
- Reference profile reviewed by at least two people outside InfraSingularity, with their comments and our responses recorded.
- LocalNet demo detects a changed traffic cost parameter.
- Data source map shows which checks are possible with current APIs, including whether receipts are populated with enforcement off.
Milestone 2
- An external operator or maintainer reproduces the documented workflow.
- The checker gives the correct status for a matching profile, a mismatch, a change inside the grace window and missing data.
Milestone 3
- On LocalNet, the reconciler flags under-reported traffic, returns
unknown for a missing report, ignores a burn from a party that isn't the registered paymaster, and does not flag a burn that arrives within the permitted delay or a participant record that arrives late.
- An external participant operator reviews the results.
Milestone 4
- At least two dSync operators or SV reviewers have used the tool and given feedback.
- Security review findings are fixed or have an agreed plan.
Funding
Total Funding Request: 300,000 CC
Payment Breakdown by Milestone
| Milestone | Estimated Delivery | Payment | Payment Trigger |
|---|
| Milestone 1: Feasibility and Reference Profile | Week 2 | 50,000 CC | Committee acceptance of Milestone 1 |
| Milestone 2: Parameter Checker | Week 4 | 75,000 CC | Committee acceptance of Milestone 2 |
| Milestone 3: Participant Evidence and Reconciliation | Week 6 | 100,000 CC | Committee acceptance of Milestone 3 |
| Milestone 4: Validation and v1.0 Release | Week 8 | 75,000 CC | Committee acceptance of the v1.0 release |
| Total | | 300,000 CC | |
Motivation
CIP-0129 brings every production synchronizer into universal burn, with Phase 1 targeted for Q1 2027, and the roadmap expects 100+ dedicated synchronizers by 2028. Under CIP-0132 each one reports its own traffic and pays through a paymaster, with discounts and burn delays agreed off-ledger. SVs can't see traffic on synchronizers they don't operate, so today they have to take the operator's numbers as given. That works with a handful of dSyncs. It won't work at 100.
This tool is useful to three groups:
- dSync operators can check their own setup before they report, and show SVs evidence instead of assurances.
- Participants on a dSync can confirm the traffic they generated is being reported and paid for.
- SVs can look at reproducible evidence when they vote on registrations and discounts.
We don't yet know how many operators will run it. The external reviewer targets in each milestone are the first real signal, and we will be talking to the Multi-Synchronizer and Tokenomics SIGs from week one.
Rationale
- Focus on under-burn. CIP-0132 already ensures on-ledger that rewards can't exceed the burn, so over-reporting can't mint extra. The gap is under-reporting and under-burning, and that's what this tool checks.
- Check before enforcing. Phase 1 is trust-based by design. Before anyone builds enforcement, the ecosystem needs to know what can actually be measured. This tool answers that question.
- No protocol changes. Everything is read-only, so it can be used right away without a CIP, an upgrade or SV coordination.
- Can't cause outages. The tool never blocks traffic and adds no dependency on the Global Synchronizer, so a wrong result can't take a dSync down.
- Uses what exists. It's built on topology, Scan and participant admin APIs plus the #1107 traffic report, and it doesn't touch burn logic, so it doesn't overlap with #1107.
- Survives pruning. Operator reports are only queryable within the sequencer pruning window, so the tool snapshots them; otherwise there is nothing to audit after the fact.
- Says when it doesn't know. Missing data, including off-ledger discount terms, is reported as
unknown, and nothing is flagged until its inputs are final, so operators aren't flagged because an API didn't return something or a burn is still inside its delay.
- Participant data stays local. The adapter publishes totals and hashes, not events, and operators choose what to share.
- Usable early. The parameter checker ships in week 4 and works without the rest, so operators get value before the full release.
- Why not ZK or TEE proofs: they give stronger guarantees but are a much bigger, research-heavy project. They make more sense once this tool has shown which data can be trusted.
- Why not protocol enforcement: it needs a CIP and protocol changes, and CIP-0132 explicitly leaves stricter enforcement to later phases.
- Why not per-operator scripts: they don't give SVs a consistent format to compare across dSyncs.
- Why not manual SV review: it doesn't scale to 100+ dSyncs and gives no independent check.