@@ -49,9 +49,9 @@ Given the stack `[x1, x2]`, where `x2` is at the top of the stack:
4949
5050` OP_PAIRCOMMIT ` will push ` SHA256(tagPC|cs(x1)|x1|cs(x2)|x2) ` onto the stack.
5151
52- Where ` | ` denotes concatenation and ` tagPC ` is calculated according to BIP-340
53- tagged hash as ` SHA256("PairCommit")|SHA256("PairCommit") ` and ` cs(x) ` means
54- ` CompactSize(x) ` .
52+ Where ` | ` denotes concatenation and ` tagPC ` is calculated according to
53+ [ BIP-340 ] tagged hash as ` SHA256("PairCommit")|SHA256("PairCommit") ` and
54+ ` cs(x) ` means ` CompactSize(x) ` .
5555
5656### Implementation
5757
@@ -178,10 +178,20 @@ This document is licensed under the 3-clause BSD license.
178178
179179## References
180180
181- 1 . LNhance bitcoin repository, [ lnhance] ( https://github.com/lnhance/bitcoin )
182- 2 . LN-Symmetry, [ eltoo] ( https://github.com/instagibbs/bolts/blob/eltoo_draft/XX-eltoo-transactions.md )
183- 3 . OP_CAT, [ BIN-2024-0001] ( https://github.com/bitcoin-inquisition/binana/blob/master/2024/BIN-2024-0001.md )
184- 4 . OP_CHECKTEMPLATEVERIFY, [ BIP-119] ( https://github.com/bitcoin/bips/tree/master/bip-0119 )
185- 5 . OP_CHECKSIGFROMSTACK, [ BIN-2024-0003] ( https://github.com/bitcoin-inquisition/binana/blob/master/2024/BIN-2024-0003.md )
186- 6 . OP_INTERNALKEY, [ BIN-2024-0004] ( https://github.com/bitcoin-inquisition/binana/blob/master/2024/BIN-2024-0004.md )
187- 7 . Tagged hash, [ BIP-340] ( https://github.com/bitcoin/bips/blob/master/bip-0340.mediawiki )
181+ 1 . LNhance bitcoin repository: [ lnhance]
182+ 2 . LN-Symmetry: [ eltoo]
183+ 3 . OP_CAT: [ BIP-347] , [ BIN-2024-0001]
184+ 4 . OP_CHECKTEMPLATEVERIFY: [ BIP-119]
185+ 5 . OP_CHECKSIGFROMSTACK: [ BIN-2024-0003]
186+ 6 . OP_INTERNALKEY: [ BIP-349] , [ BIN-2024-0004]
187+ 7 . Tagged hash: [ BIP-340]
188+
189+ [ lnhance ] : https://github.com/lnhance/bitcoin
190+ [ eltoo ] : https://github.com/instagibbs/bolts/blob/eltoo_draft/XX-eltoo-transactions.md
191+ [ BIP-119 ] : https://github.com/bitcoin/bips/tree/master/bip-0119.mediawiki
192+ [ BIP-340 ] : https://github.com/bitcoin/bips/blob/master/bip-0340.mediawiki
193+ [ BIP-347 ] : https://github.com/bitcoin/bips/blob/master/bip-0347.mediawiki
194+ [ BIP-349 ] : https://github.com/bitcoin/bips/blob/master/bip-0349.mediawiki
195+ [ BIN-2024-0001 ] : https://github.com/bitcoin-inquisition/binana/blob/master/2024/BIN-2024-0001.md
196+ [ BIN-2024-0003 ] : https://github.com/bitcoin-inquisition/binana/blob/master/2024/BIN-2024-0003.md
197+ [ BIN-2024-0004 ] : https://github.com/bitcoin-inquisition/binana/blob/master/2024/BIN-2024-0004.md
0 commit comments