mit-dci / opencbdc-tx

A transaction processor for a hypothetical, general-purpose, central bank digital currency

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Enable supply auditing by storing values in the UHS

HalosGhost opened this issue · comments

If we include the value of the output in the preimage used to create the UHS ID, and store the values along-side the IDs in the UHS, then we've effectively made a hash-based commitment to the value which can be verified after-the-fact.

This makes it easy to keep all our invariants, and elegantly adds a simple mechanism to verify that the full monetary supply continues to hold the total-minted-value.