mirror of
https://github.com/bits-wallet/specs.git
synced 2025-12-17 05:34:21 +01:00
Update 02.md
This commit is contained in:
4
02.md
4
02.md
@@ -41,7 +41,7 @@ Inconvenient for onboarding new users who have no UTXO possession in the beginni
|
||||
- - Let _sk<sub>i</sub>_ = _bytes(32, (int(nsec) + int(t<sub>i</sub> )) mod n)_.
|
||||
|
||||
- For _i = 1 < u< 2<sup>32</sup>_:
|
||||
- - The _to_self_ : 32-byte x-only child public key.
|
||||
- - The _to_self_ : 32-byte x-only user child public key.
|
||||
- - The _to_remote_ : 32-byte x-only well-known LSP public key.
|
||||
- - The _keygen_ctx_ : MuSig2 keygen context containing the aggregate key.
|
||||
- - Let _to_self_ = _cbytes(pk<sub>i</sub>)_.
|
||||
@@ -52,5 +52,5 @@ Inconvenient for onboarding new users who have no UTXO possession in the beginni
|
||||
- - Let _ex_ = _CScriptNum(26280)_.
|
||||
- - Let _ts_ = `<ex> OP_CHECKSEQUENCEVERIFY OP_DROP <to_self> OP_CHECKSIG`.
|
||||
- - Let _ts<sub>hash</sub>_ = _hash<sub>TapLeaf</sub>(0xc0 || 0x27 || ts)_.
|
||||
- - Let _ts<sub>tweak</sub>_ = _hash<sub>TapTweak</sub>(lift_x(keygen_ctx<sub>Q</sub>) || ts<sub>hash</sub>)_.
|
||||
- - Let _ts<sub>tweak</sub>_ = _hash<sub>TapTweak</sub>(xbytes(keygen_ctx<sub>Q</sub>) || ts<sub>hash</sub>)_.
|
||||
- - Let _keygen_ctx'_ = _ApplyTweak(keygen_ctx, ts<sub>tweak</sub>, true)_.
|
||||
|
||||
Reference in New Issue
Block a user