【发布时间】:2020-10-19 08:33:35
【问题描述】:
我正在尝试了解 Utreexo 技术,但遇到了一个问题。在 Utreexo 中,我们有一片森林,每棵树都有 2^k 片叶子。我们有 3 个操作:
add(acc, newNode) : Proof // simply adds new UTXO to our Utreexo, and returns the proof for added element.
verify(acc, proof) : Bool // gets the proof as argument and checks that the element is still in set.
remove(acc, proof) // removes element with given proof from accumulator.
问题是:我添加了一个新的 UTXO 并得到了证明。之后,发生了一些变化(不同的删减和添加),Utreexo 的结构也发生了变化。现在,如我所见,我的证明(我在添加新 UTXO 时收到的)将不正确。如何处理这个问题?还是我误会了什么?
【问题讨论】:
标签: algorithm transactions cryptography bitcoin cryptocurrency