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
Currently TxOut contains cached field which is a hint that tells the client this output will be spent within the same block it is created. Since OutPoint includes TxOut it contributes to the outpoint hash, which becomes a leaf in the Utreexo accumulator. However, the Utreexo node cannot provide this hint (easily), and generally speaking it is not part of the data (it is a hint).
Task
Add custom implementation of the Hash trait for TxOut to exclude cached field
Context
Currently
TxOut
containscached
field which is a hint that tells the client this output will be spent within the same block it is created. SinceOutPoint
includesTxOut
it contributes to the outpoint hash, which becomes a leaf in the Utreexo accumulator. However, the Utreexo node cannot provide this hint (easily), and generally speaking it is not part of the data (it is a hint).Task
Hash
trait forTxOut
to excludecached
fieldDepends on #229 (should be merged first)
The text was updated successfully, but these errors were encountered: