Closed dr-orlovsky closed 5 years ago
@afilini am I right that this is the reason why you added bind_to
field into the proof code, which was absent in the original spec? I am talking about this situation: https://github.com/rgb-org/rgb-rust/issues/8
With acceptance of #80 this issue may be invalidated
Validation of proofs and contracts generally involves getting transactions based on a UTXO that they spent. This is a very costly operation since this detail is not indexed in the Bitcoin core. Adding the
txid
into proofs helps validation (the validator downloads that tx and checks that it really spends the UTXO)