You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While reconciling a DigiDollar census against getdigidollarstats, I found one place where digiexplorer.info's DigiDollar display and a full DD-ledger walk disagree, and I think it is a label rather than a data problem. Offering it here with receipts in case it is useful.
Observation. For redemptions that carry a type-3 record, the explorer shows the record's amount as "DigiDollar Burn — $X". Walking the DD ledger (every DD output valued from the record that created it), that field is the DD change the redemption re-creates; the burn is everything consumed minus it. Three mainnet examples from the first week after activation:
Why I'm fairly confident. Under the change reading, the week-one census reconciles to getdigidollarstats at the same height to the cent (net supply $39,835.07 = node; 124 open positions = node), all 29 transfers conserve exactly, and every one of the 13 burns equals the mint amount of the position it closed. Under the burn reading, supply comes out $420 high — the exact amount of the 69a0f7ff… mint that 58f910ce… closed. Our own census made the same misread until this week, so this is offered with some humility: dgbinsights.com/mainnet-report has the corrected figures and the raw records.
Cross-check. An independent decoder (dgb-digidollar-codec 0.2.0, repo) reproduces the explorer's dd_address for every DD output byte for byte, and agrees with the explorer on every field except this label. Each transaction above can be walked in the browser at https://dgbinsights.com/lookup?tx=<txid>, which shows the explorer's own read beside the ledger computation.
If the display intends "declared amount" rather than "burn," a label change suffices; if it intends burn, the computation above is consumed − declared change. Happy to be corrected if I have the semantics of the type-3 record wrong — the source I read it from is src/digidollar/txbuilder.cpp (DD 3 <ddChangeAmountCents>).
— Michael Emery · oracle slot 29 · github.com/dgb-tools
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
While reconciling a DigiDollar census against
getdigidollarstats, I found one place where digiexplorer.info's DigiDollar display and a full DD-ledger walk disagree, and I think it is a label rather than a data problem. Offering it here with receipts in case it is useful.Observation. For redemptions that carry a type-3 record, the explorer shows the record's amount as "DigiDollar Burn — $X". Walking the DD ledger (every DD output valued from the record that created it), that field is the DD change the redemption re-creates; the burn is everything consumed minus it. Three mainnet examples from the first week after activation:
34c67c35…01bdd3(h 23,871,451)58f910ce…c882(h 23,883,116)bf4eee6b…04ec(h 23,900,190)Why I'm fairly confident. Under the change reading, the week-one census reconciles to
getdigidollarstatsat the same height to the cent (net supply $39,835.07 = node; 124 open positions = node), all 29 transfers conserve exactly, and every one of the 13 burns equals the mint amount of the position it closed. Under the burn reading, supply comes out $420 high — the exact amount of the69a0f7ff…mint that58f910ce…closed. Our own census made the same misread until this week, so this is offered with some humility: dgbinsights.com/mainnet-report has the corrected figures and the raw records.Cross-check. An independent decoder (
dgb-digidollar-codec0.2.0, repo) reproduces the explorer'sdd_addressfor every DD output byte for byte, and agrees with the explorer on every field except this label. Each transaction above can be walked in the browser athttps://dgbinsights.com/lookup?tx=<txid>, which shows the explorer's own read beside the ledger computation.If the display intends "declared amount" rather than "burn," a label change suffices; if it intends burn, the computation above is consumed − declared change. Happy to be corrected if I have the semantics of the type-3 record wrong — the source I read it from is
src/digidollar/txbuilder.cpp(DD 3 <ddChangeAmountCents>).— Michael Emery · oracle slot 29 · github.com/dgb-tools
All reactions