diff options
author | michael1011 <me@michael1011.at> | 2024-07-21 18:32:51 +0200 |
---|---|---|
committer | michael1011 <me@michael1011.at> | 2024-07-21 18:32:51 +0200 |
commit | f1a5c71094f212e088b9960eb69cdd5a9a27cb5e (patch) | |
tree | 6d06d6f7545709b3cd3eb8e8066fdeb24a407480 | |
parent | 812907c2b00b92ee31e2b638622a4fe14a428aee (diff) |
BIP46 clarify witness
-rw-r--r-- | bip-0046.mediawiki | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bip-0046.mediawiki b/bip-0046.mediawiki index e3ad575..1602f81 100644 --- a/bip-0046.mediawiki +++ b/bip-0046.mediawiki @@ -90,7 +90,7 @@ month = 1 + index % 12 To derive the address from the above calculated public key and timelock, we create a <tt>witness script</tt> which locks the funds until the <tt>timelock</tt>, and then checks the signature of the <tt>derived_key</tt>. The <tt>witness script</tt> is hashed with SHA256 to produce a 32-byte hash value that forms the <tt>witness program</tt> in the output script of the P2WSH address. witnessScript: <timelock> OP_CHECKLOCKTIMEVERIFY OP_DROP <derived_key> OP_CHECKSIG - witness: <signature> <pubkey> + witness: <signature> <witnessScript> scriptSig: (empty) scriptPubKey: 0 <32-byte-hash> (0x0020{32-byte-hash}) |