Reputation: 177
while doing a notary change transaction from validating notaries to a new set of non validating notaries, how does the new set of non-validating notaries learn about the previous transactions?.
Do they get only the hashes of previous transactions or the entire transaction dependency graph?
Upvotes: 1
Views: 198
Reputation: 23140
The new notary does not learn about the past transactions at all.
Instead, we have the following process:
2772BE
and notary NotaryA
is committed to the ledger<2772BE, 0>
) to NotaryB
<2772BE, 0>
. Let's say the hash of this notary change transaction is 35D0A5
NotaryA
signs this transaction, marking its input <2772BE, 0>
as spent<35D0A5, 0>
, pointing to NotaryB
<2772BE, 0>
, which pointed to NotaryA
, is now spent. But <35D0A5, 0>
, which points to NotaryB
, is unspentIn this way, we have transferred the state to a new notary in a way that prevents double-spends.
Upvotes: 3