Merge pull request #11354 from Roasbeef/taproot-vectors-bolts-1352
What changed, and why it matters
This commit only updates test data and test code for Taproot channel scripts in LND. It adds new test vectors that match the latest BOLT specification draft (bolts#1352), including separate keys for the remote party's commitment and a corrected distinction between the combined MuSig2 funding key and the final BIP-86 tweaked funding key. No production wallet, consensus, or networking code is changed, so this cannot directly affect live funds or node security.
No security action required. Treat as a normal test-maintenance merge. Reviewers may optionally verify that the regenerated JSON vectors match the expected BOLT test vectors, but this is a correctness/standards-compliance check, not a security patch.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff modifies lnwallet/taproot_test_vectors_test.go and lnwallet/test_vectors_taproot.json. It extends the test context with local revocation and remote per-commitment secrets, derives the remote commitment’s revocation/HTLC keys, renames the funding vector field from combined_key to combined_funding_key plus adds funding_key, and regenerates HTLC script vectors using the remote commitment key set where appropriate. It also fixes a test-only bug where the revocation basepoint in createTaprootTestChannelsForVectors was incorrectly using the local payment basepoint secret instead of a dedicated revocation basepoint secret. All changes are confined to test fixtures and vector generation/verification.
Changed components
lnwallet/taproot_test_vectors_test.golnwallet/test_vectors_taproot.jsonInspect captured patch +173 / −54
### lnwallet/taproot_test_vectors_test.go
@@ -188,10 +188,12 @@ type taprootTestContext struct {
remotePaymentBasepointSecret *btcec.PrivateKey
localDelayedPaymentBasepointSecret *btcec.PrivateKey
remoteRevocationBasepointSecret *btcec.PrivateKey
+ localRevocationBasepointSecret *btcec.PrivateKey
localHtlcBasepointSecret *btcec.PrivateKey
remoteHtlcBasepointSecret *btcec.PrivateKey
- localPerCommitSecret lntypes.Hash
+ localPerCommitSecret lntypes.Hash
+ remotePerCommitSecret lntypes.Hash
fundingAmount btcutil.Amount
dustLimit btcutil.Amount
@@ -230,19 +232,28 @@ func newTaprootTestContext(t *testing.T) *taprootTestContext {
tc.remoteRevocationBasepointSecret = deriveKeyFromSeed(
seed, "remote-revocation-basepoint",
)
+ tc.localRevocationBasepointSecret = deriveKeyFromSeed(
+ seed, "local-revocation-basepoint",
+ )
tc.localHtlcBasepointSecret = deriveKeyFromSeed(
seed, "local-htlc-basepoint",
)
tc.remoteHtlcBasepointSecret = deriveKeyFromSeed(
seed, "remote-htlc-basepoint",
)
- // Derive per-commitment secret from the seed as well.
+ // Derive the per-commitment secrets of both commitments from the seed
+ // as well.
h := sha256.New()
h.Write(seed)
h.Write([]byte("local-per-commit-secret"))
copy(tc.localPerCommitSecret[:], h.Sum(nil))
+ h.Reset()
+ h.Write(seed)
+ h.Write([]byte("remote-per-commit-secret"))
+ copy(tc.remotePerCommitSecret[:], h.Sum(nil))
+
return tc
}
@@ -251,6 +262,35 @@ func (tc *taprootTestContext) commitPoint() *btcec.PublicKey {
return input.ComputeCommitmentPoint(tc.localPerCommitSecret[:])
}
+// remoteCommitPoint returns the per-commitment point of the remote
+// commitment.
+func (tc *taprootTestContext) remoteCommitPoint() *btcec.PublicKey {
+ return input.ComputeCommitmentPoint(tc.remotePerCommitSecret[:])
+}
+
+// remoteCommitKeys returns the revocation key and the local and remote HTLC
+// keys of the remote commitment. These are derived from the remote
+// per-commitment point, and the revocation key uses the local revocation
+// basepoint, since it's the local party that can punish a breach of the
+// remote commitment.
+func (tc *taprootTestContext) remoteCommitKeys() (*btcec.PublicKey,
+ *btcec.PublicKey, *btcec.PublicKey) {
+
+ commitPt := tc.remoteCommitPoint()
+
+ revocationPubkey := input.DeriveRevocationPubkey(
+ tc.localRevocationBasepointSecret.PubKey(), commitPt,
+ )
+ localHtlcPubkey := input.TweakPubKey(
+ tc.localHtlcBasepointSecret.PubKey(), commitPt,
+ )
+ remoteHtlcPubkey := input.TweakPubKey(
+ tc.remoteHtlcBasepointSecret.PubKey(), commitPt,
+ )
+
+ return revocationPubkey, localHtlcPubkey, remoteHtlcPubkey
+}
+
// TaprootTestVectors is the top-level JSON structure for taproot test vectors.
type TaprootTestVectors struct {
Params TestVectorParams `json:"params"`
@@ -285,6 +325,8 @@ type KeySet struct {
LocalDelayedPaymentBasepoint string `json:"local_delayed_payment_basepoint"` //nolint:ll
RemoteRevocationBasepointSecret string `json:"remote_revocation_basepoint_secret"` //nolint:ll
RemoteRevocationBasepoint string `json:"remote_revocation_basepoint"` //nolint:ll
+ LocalRevocationBasepointSecret string `json:"local_revocation_basepoint_secret"` //nolint:ll
+ LocalRevocationBasepoint string `json:"local_revocation_basepoint"` //nolint:ll
LocalHtlcBasepointSecret string `json:"local_htlc_basepoint_secret"`
LocalHtlcBasepoint string `json:"local_htlc_basepoint"`
@@ -294,12 +336,20 @@ type KeySet struct {
LocalPerCommitSecret string `json:"local_per_commit_secret"`
LocalPerCommitPoint string `json:"local_per_commit_point"`
- // Derived per-commitment keys.
+ RemotePerCommitSecret string `json:"remote_per_commit_secret"`
+ RemotePerCommitPoint string `json:"remote_per_commit_point"`
+
+ // Derived per-commitment keys of the local commitment.
DerivedLocalDelayedPubkey string `json:"derived_local_delayed_pubkey"`
DerivedRevocationPubkey string `json:"derived_revocation_pubkey"`
DerivedLocalHtlcPubkey string `json:"derived_local_htlc_pubkey"`
DerivedRemoteHtlcPubkey string `json:"derived_remote_htlc_pubkey"`
DerivedRemotePaymentPubkey string `json:"derived_remote_payment_pubkey"`
+
+ // Derived per-commitment keys of the remote commitment.
+ RemoteCommitRevocationPubkey string `json:"remote_commit_revocation_pubkey"` //nolint:ll
+ RemoteCommitLocalHtlcPubkey string `json:"remote_commit_local_htlc_pubkey"` //nolint:ll
+ RemoteCommitRemoteHtlcPubkey string `json:"remote_commit_remote_htlc_pubkey"` //nolint:ll
}
// ScriptVectorEntry represents a single tapscript tree decomposition.
@@ -317,8 +367,15 @@ type ScriptVectorEntry struct {
// FundingScriptVector holds the funding output vector.
type FundingScriptVector struct {
FundingTxHex string `json:"funding_tx_hex"`
- CombinedKey string `json:"combined_key"`
- PkScript string `json:"pkscript"`
+
+ // CombinedFundingKey is the x-only MuSig2 aggregate of both funding
+ // keys, which is used as the taproot internal key.
+ CombinedFundingKey string `json:"combined_funding_key"`
+
+ // FundingKey is the x-only BIP 86 tweaked output key.
+ FundingKey string `json:"funding_key"`
+
+ PkScript string `json:"pkscript"`
}
// ScriptVectors holds all script test vectors.
@@ -388,6 +445,9 @@ func (tc *taprootTestContext) generateParams() TestVectorParams {
// For tweakless channels, the remote payment key is untweaked.
remotePaymentPubkey := tc.remotePaymentBasepointSecret.PubKey()
+ remoteRevocationPubkey, remoteCommitLocalHtlcPubkey,
+ remoteCommitRemoteHtlcPubkey := tc.remoteCommitKeys()
+
return TestVectorParams{
Seed: taprootVectorSeedHex,
FundingAmountSatoshis: int64(tc.fundingAmount),
@@ -430,6 +490,12 @@ func (tc *taprootTestContext) generateParams() TestVectorParams {
RemoteRevocationBasepoint: pubHex(
tc.remoteRevocationBasepointSecret.PubKey(),
),
+ LocalRevocationBasepointSecret: privHex(
+ tc.localRevocationBasepointSecret,
+ ),
+ LocalRevocationBasepoint: pubHex(
+ tc.localRevocationBasepointSecret.PubKey(),
+ ),
LocalHtlcBasepointSecret: privHex(
tc.localHtlcBasepointSecret,
@@ -449,11 +515,26 @@ func (tc *taprootTestContext) generateParams() TestVectorParams {
),
LocalPerCommitPoint: pubHex(commitPt),
+ RemotePerCommitSecret: hex.EncodeToString(
+ tc.remotePerCommitSecret[:],
+ ),
+ RemotePerCommitPoint: pubHex(tc.remoteCommitPoint()),
+
DerivedLocalDelayedPubkey: pubHex(localDelayedPubkey),
DerivedRevocationPubkey: pubHex(revocationPubkey),
DerivedLocalHtlcPubkey: pubHex(localHtlcPubkey),
DerivedRemoteHtlcPubkey: pubHex(remoteHtlcPubkey),
DerivedRemotePaymentPubkey: pubHex(remotePaymentPubkey),
+
+ RemoteCommitRevocationPubkey: pubHex(
+ remoteRevocationPubkey,
+ ),
+ RemoteCommitLocalHtlcPubkey: pubHex(
+ remoteCommitLocalHtlcPubkey,
+ ),
+ RemoteCommitRemoteHtlcPubkey: pubHex(
+ remoteCommitRemoteHtlcPubkey,
+ ),
},
}
}
@@ -486,14 +567,27 @@ func (tc *taprootTestContext) generateFundingVector() FundingScriptVector {
var txBuf bytes.Buffer
require.NoError(t, fundingTx.Serialize(&txBuf))
- // Extract the combined key from the pkScript. For P2TR, the pkScript
- // is OP_1 <32-byte-key>, so the key starts at byte 2.
- combinedKeyBytes := pkScript[2:]
+ // The combined funding key is the MuSig2 aggregate of both funding
+ // keys before the BIP 86 tweak is applied.
+ combinedKey, _, _, err := musig2.AggregateKeys(
+ []*btcec.PublicKey{
+ tc.localFundingPrivkey.PubKey(),
+ tc.remoteFundingPrivkey.PubKey(),
+ }, true,
+ )
+ require.NoError(t, err)
+
+ // Extract the BIP 86 tweaked output key from the pkScript. For P2TR,
+ // the pkScript is OP_1 <32-byte-key>, so the key starts at byte 2.
+ fundingKeyBytes := pkScript[2:]
return FundingScriptVector{
FundingTxHex: hex.EncodeToString(txBuf.Bytes()),
- CombinedKey: hex.EncodeToString(combinedKeyBytes),
- PkScript: scriptHex(pkScript),
+ CombinedFundingKey: hex.EncodeToString(
+ schnorr.SerializePubKey(combinedKey.FinalKey),
+ ),
+ FundingKey: hex.EncodeToString(fundingKeyBytes),
+ PkScript: scriptHex(pkScript),
}
}
@@ -555,9 +649,11 @@ func secondLevelScriptTreeToEntry(
scripts := make(map[string]string)
leafHashes := make(map[string]string)
- successScript := tree.SuccessTapLeaf.Script
- scripts["success"] = scriptHex(successScript)
- leafHashes["success"] = leafHash(successScript)
+ // Both second level outputs pay to the same delay script as the
+ // to_local output, so we name the leaf after it.
+ delayScript := tree.SuccessTapLeaf.Script
+ scripts["delay"] = scriptHex(delayScript)
+ leafHashes["delay"] = leafHash(delayScript)
return ScriptVectorEntry{
Scripts: scripts,
@@ -645,34 +741,44 @@ func (tc *taprootTestContext) generateScriptVectors() ScriptVectors {
require.NoError(t, err)
payHash0 := preimage0.Hash()
- // 4. Offered HTLC (local commit).
+ // The remote commitment uses its own set of keys, derived from the
+ // remote per-commitment point and the local revocation basepoint.
+ remoteRevocationPubkey, remoteCommitLocalHtlcPubkey,
+ remoteCommitRemoteHtlcPubkey := tc.remoteCommitKeys()
+
+ // The HTLC scripts are generated the same way GenTaprootHtlcScript
+ // does: offered and accepted are relative to the owner of the
+ // commitment, so an HTLC we offer is an offered HTLC on our
+ // commitment, and an accepted HTLC on theirs.
+ //
+ // 4. Offered HTLC (local commit): we're the sender.
offeredLocalTree, err := input.SenderHTLCScriptTaproot(
localHtlcPubkey, remoteHtlcPubkey, revocationPubkey,
payHash0[:], lntypes.Local, noAux,
input.WithProdScripts(),
)
require.NoError(t, err)
- // 5. Offered HTLC (remote commit).
+ // 5. Offered HTLC (remote commit): the remote party is the sender.
offeredRemoteTree, err := input.SenderHTLCScriptTaproot(
- localHtlcPubkey, remoteHtlcPubkey, revocationPubkey,
- payHash0[:], lntypes.Remote, noAux,
+ remoteCommitRemoteHtlcPubkey, remoteCommitLocalHtlcPubkey,
+ remoteRevocationPubkey, payHash0[:], lntypes.Remote, noAux,
input.WithProdScripts(),
)
require.NoError(t, err)
- // 6. Accepted HTLC (local commit).
+ // 6. Accepted HTLC (local commit): the remote party is the sender.
acceptedLocalTree, err := input.ReceiverHTLCScriptTaproot(
- 500, localHtlcPubkey, remoteHtlcPubkey, revocationPubkey,
+ 500, remoteHtlcPubkey, localHtlcPubkey, revocationPubkey,
payHash0[:], lntypes.Local, noAux,
input.WithProdScripts(),
)
require.NoError(t, err)
- // 7. Accepted HTLC (remote commit).
+ // 7. Accepted HTLC (remote commit): we're the sender.
acceptedRemoteTree, err := input.ReceiverHTLCScriptTaproot(
- 500, localHtlcPubkey, remoteHtlcPubkey, revocationPubkey,
- payHash0[:], lntypes.Remote, noAux,
+ 500, remoteCommitLocalHtlcPubkey, remoteCommitRemoteHtlcPubkey,
+ remoteRevocationPubkey, payHash0[:], lntypes.Remote, noAux,
input.WithProdScripts(),
)
require.NoError(t, err)
@@ -829,7 +935,7 @@ func createTaprootTestChannelsForVectors(tc *taprootTestContext,
PubKey: tc.localDelayedPaymentBasepointSecret.PubKey(),
},
RevocationBasePoint: keychain.KeyDescriptor{
- PubKey: tc.localPaymentBasepointSecret.PubKey(),
+ PubKey: tc.localRevocationBasepointSecret.PubKey(),
},
}
@@ -934,6 +1040,7 @@ func createTaprootTestChannelsForVectors(tc *taprootTestContext,
tc.localFundingPrivkey,
tc.localPaymentBasepointSecret,
tc.localDelayedPaymentBasepointSecret,
+ tc.localRevocationBasepointSecret,
tc.localHtlcBasepointSecret,
}
remoteKeys := []*btcec.PrivateKey{
@@ -1342,8 +1449,12 @@ func verifyTaprootVectors(t *testing.T) {
t.Run("funding", func(t *testing.T) {
require.Equal(t,
- stored.Scripts.Funding.CombinedKey,
- scripts.Funding.CombinedKey,
+ stored.Scripts.Funding.CombinedFundingKey,
+ scripts.Funding.CombinedFundingKey,
+ )
+ require.Equal(t,
+ stored.Scripts.Funding.FundingKey,
+ scripts.Funding.FundingKey,
)
require.Equal(t,
stored.Scripts.Funding.PkScript,
### lnwallet/test_vectors_taproot.json
@@ -19,23 +19,31 @@
"local_delayed_payment_basepoint": "02ae68d8ff4c59864c03a42bbff6c07f9ae18047e0daa9bc40d07c410f9a0f7899",
"remote_revocation_basepoint_secret": "36c4175b91cff9731a63d1472b5b1c4cf3e7b688e87d5fb806b2e8350484e68d",
"remote_revocation_basepoint": "02c354121ef71922b5cb32fa685c08ac0014b558f96e28f383c45eb28b7da264c3",
+ "local_revocation_basepoint_secret": "23cf84216f3544a1434f8e8aa5a29f29b8774d4149f470802914c1c2517314e8",
+ "local_revocation_basepoint": "02541f962a12e44040a1eb2366fb1351575da51e55869c277091cab73e9279cfba",
"local_htlc_basepoint_secret": "786eb5024e4851bea3ddc6e40036c81b1efcf50eeed440eedefe5245bde6fc14",
"local_htlc_basepoint": "033ce88bf3c8333e242996964ac91ee7cd945bfe4c49668ea10f3211f3d418fbc8",
"remote_htlc_basepoint_secret": "51c9b6cf8279def85e3925bc8f16fc0ff100ee7b03ce7c954149ca29c834b684",
"remote_htlc_basepoint": "02932dfbf6737001e3c516696ae3dcd323fd91a01ce7898f7f91ab98eebacc323e",
"local_per_commit_secret": "037b507180b3985cea6396d6a70987cea11ccd05fde49e943a3ea0fe56ee33ed",
"local_per_commit_point": "02a0f5a09017c1dec2d30dd54a25dc4037fc5a2aa3832ee3c7b58f3a88a0836287",
+ "remote_per_commit_secret": "1f1cd13beffb656c5ff58ffb8dfe551053e98dc7a6e1884c0d6db60e1c7c76ae",
+ "remote_per_commit_point": "03f261a5addb6f656859484d49bbb730b3adf36aea78eaa3844fd26c3aa251e968",
"derived_local_delayed_pubkey": "0315ec0138eb42f1ab4603042123988d53c854e89d1d87aa4dbb97a57482029c05",
"derived_revocation_pubkey": "03d4c77088d346bce67c13bbbf82ca112588f4b1c9595a1f8af3be9b2f95a109a0",
"derived_local_htlc_pubkey": "0271e82ef65d5c667159036bfcf662cac2f6c41e38323d148bbbd00fdcd923739e",
"derived_remote_htlc_pubkey": "032deba21cf03c42362c9f912094f62ba045a040a2060882ba1ed3abf1f664a47d",
- "derived_remote_payment_pubkey": "03595f2ef2a51d2250a21077dbea4a7fc3ce550f10676996bf63719e2a71d1f4c9"
+ "derived_remote_payment_pubkey": "03595f2ef2a51d2250a21077dbea4a7fc3ce550f10676996bf63719e2a71d1f4c9",
+ "remote_commit_revocation_pubkey": "03446f816a86f4515a7478db362644e3e6e24a7e3ed3d49668c9ab9666ac15cbd1",
+ "remote_commit_local_htlc_pubkey": "03aa94a753869f14bda931f656eb6f8c034fe9793cb51a1e237e9492482d411937",
+ "remote_commit_remote_htlc_pubkey": "03080168ab7a8e4047c6a954b520fb6369b932480bb839e335ee6b63bb181d4320"
}
},
"scripts": {
"funding": {
"funding_tx_hex": "02000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000018096980000000000225120d0ebb4909d563a7ae1213fddede4ae54132fba0ef0b97ee3f8469191fecd348e00000000",
- "combined_key": "d0ebb4909d563a7ae1213fddede4ae54132fba0ef0b97ee3f8469191fecd348e",
+ "combined_funding_key": "d91205e7f976b741b1943f594b2ccd3f9d49ec45b2d44589e6c7735e55ded06f",
+ "funding_key": "d0ebb4909d563a7ae1213fddede4ae54132fba0ef0b97ee3f8469191fecd348e",
"pkscript": "5120d0ebb4909d563a7ae1213fddede4ae54132fba0ef0b97ee3f8469191fecd348e"
},
"to_local": {
@@ -104,52 +112,52 @@
},
"offered_htlc_remote_commit": {
"scripts": {
- "success": "82012088a914b8bcb07f6344b42ab04250c86a6e8b75d3fdbbc688202deba21cf03c42362c9f912094f62ba045a040a2060882ba1ed3abf1f664a47dad51b2",
- "timeout": "2071e82ef65d5c667159036bfcf662cac2f6c41e38323d148bbbd00fdcd923739ead202deba21cf03c42362c9f912094f62ba045a040a2060882ba1ed3abf1f664a47dac"
+ "success": "82012088a914b8bcb07f6344b42ab04250c86a6e8b75d3fdbbc68820aa94a753869f14bda931f656eb6f8c034fe9793cb51a1e237e9492482d411937ad51b2",
+ "timeout": "20080168ab7a8e4047c6a954b520fb6369b932480bb839e335ee6b63bb181d4320ad20aa94a753869f14bda931f656eb6f8c034fe9793cb51a1e237e9492482d411937ac"
},
"leaf_hashes": {
- "success": "cd4b7ba74d132998f2bcea85f76082f5018e614c86f27f2631b6569c4914320f",
- "timeout": "dd0bd08b3df902c399f5493a682f6c50c476c89e233ba454e89a234d2d16ffe3"
+ "success": "a93d6f51723936ed96b67944056f47adcec98b6f881d398af8d60cf16057fbec",
+ "timeout": "6f2a89644ff6963c6980112b2f7c84516d50340921e00474d8ae20e31ec929ba"
},
- "tapscript_root": "f36c8bd45002c5264cfce9944211e7bc6ea974a6b90cf99a87812d18acf28a2a",
- "internal_key": "03d4c77088d346bce67c13bbbf82ca112588f4b1c9595a1f8af3be9b2f95a109a0",
- "output_key": "033e5c3be9f4ce7ae07c28ad5e0eb0ab617c06eeb82b8d6ef10a5bf561848df5f0",
- "pkscript": "51203e5c3be9f4ce7ae07c28ad5e0eb0ab617c06eeb82b8d6ef10a5bf561848df5f0"
+ "tapscript_root": "77b7db508fcc3381ae65c7b3e766f883a071315f0885bf8b1669194e8053d6fd",
+ "internal_key": "03446f816a86f4515a7478db362644e3e6e24a7e3ed3d49668c9ab9666ac15cbd1",
+ "output_key": "0371418129bad912c290587ac1f6ad85ba9cdb172ad6b47a7b42cba8d2fd5408b2",
+ "pkscript": "512071418129bad912c290587ac1f6ad85ba9cdb172ad6b47a7b42cba8d2fd5408b2"
},
"accepted_htlc_local_commit": {
"scripts": {
- "success": "82012088a914b8bcb07f6344b42ab04250c86a6e8b75d3fdbbc688202deba21cf03c42362c9f912094f62ba045a040a2060882ba1ed3abf1f664a47dad2071e82ef65d5c667159036bfcf662cac2f6c41e38323d148bbbd00fdcd923739eac",
- "timeout": "2071e82ef65d5c667159036bfcf662cac2f6c41e38323d148bbbd00fdcd923739ead51b26902f401b1"
+ "success": "82012088a914b8bcb07f6344b42ab04250c86a6e8b75d3fdbbc6882071e82ef65d5c667159036bfcf662cac2f6c41e38323d148bbbd00fdcd923739ead202deba21cf03c42362c9f912094f62ba045a040a2060882ba1ed3abf1f664a47dac",
+ "timeout": "202deba21cf03c42362c9f912094f62ba045a040a2060882ba1ed3abf1f664a47dad51b26902f401b1"
},
"leaf_hashes": {
- "success": "69192ca730d4480044ade8741b8bd0845a32880aebaf58bc6f9186f8d2be8cbf",
- "timeout": "4da43c795365bf757ed1e9656d12ea744b4cf52b01719a3ea94e6569115623f0"
+ "success": "1acb571d56481cd7ea0fdbe601063eec88943ce6f5eb29608599e047f74fc7e9",
+ "timeout": "e5e8fd071b9ade6367122afbd8acacc1a6727ddb6d478612af30827590027e03"
},
- "tapscript_root": "1a990caa4bb0ed41ceb19e7466fcea5d9b31e3da968f348f6223201c5831d0a3",
+ "tapscript_root": "2a208a0ec3ff8d66e15da435e4b3f2b2921431ef97f646a2fcd5d3a941bae8d4",
"internal_key": "03d4c77088d346bce67c13bbbf82ca112588f4b1c9595a1f8af3be9b2f95a109a0",
- "output_key": "029aadbdd9aff986e5ea086cf53ae062972d33d0a5c7f5fb986dafec7fa6d7e6ea",
- "pkscript": "51209aadbdd9aff986e5ea086cf53ae062972d33d0a5c7f5fb986dafec7fa6d7e6ea"
+ "output_key": "029ce82cd1b1f6f975049d58019a7145a3ec9680079969cf929d7d2c4bc9b30637",
+ "pkscript": "51209ce82cd1b1f6f975049d58019a7145a3ec9680079969cf929d7d2c4bc9b30637"
},
"accepted_htlc_remote_commit": {
"scripts": {
- "success": "82012088a914b8bcb07f6344b42ab04250c86a6e8b75d3fdbbc688202deba21cf03c42362c9f912094f62ba045a040a2060882ba1ed3abf1f664a47dad2071e82ef65d5c667159036bfcf662cac2f6c41e38323d148bbbd00fdcd923739eac",
- "timeout": "2071e82ef65d5c667159036bfcf662cac2f6c41e38323d148bbbd00fdcd923739ead51b26902f401b1"
+ "success": "82012088a914b8bcb07f6344b42ab04250c86a6e8b75d3fdbbc68820080168ab7a8e4047c6a954b520fb6369b932480bb839e335ee6b63bb181d4320ad20aa94a753869f14bda931f656eb6f8c034fe9793cb51a1e237e9492482d411937ac",
+ "timeout": "20aa94a753869f14bda931f656eb6f8c034fe9793cb51a1e237e9492482d411937ad51b26902f401b1"
},
"leaf_hashes": {
- "success": "69192ca730d4480044ade8741b8bd0845a32880aebaf58bc6f9186f8d2be8cbf",
- "timeout": "4da43c795365bf757ed1e9656d12ea744b4cf52b01719a3ea94e6569115623f0"
+ "success": "9b14720afa876aa5e6df576307680e7aa1b29a76f30e00b68d943576dbaa35fd",
+ "timeout": "1dbd79c3546a899717323f2238074fc962236b606bd7b37b7d0d4f2fcf0d68cb"
},
- "tapscript_root": "1a990caa4bb0ed41ceb19e7466fcea5d9b31e3da968f348f6223201c5831d0a3",
- "internal_key": "03d4c77088d346bce67c13bbbf82ca112588f4b1c9595a1f8af3be9b2f95a109a0",
- "output_key": "029aadbdd9aff986e5ea086cf53ae062972d33d0a5c7f5fb986dafec7fa6d7e6ea",
- "pkscript": "51209aadbdd9aff986e5ea086cf53ae062972d33d0a5c7f5fb986dafec7fa6d7e6ea"
+ "tapscript_root": "fc6307ca70735f5e144425541f9fe147bd0979243c84eea631bcd9c18c233632",
+ "internal_key": "03446f816a86f4515a7478db362644e3e6e24a7e3ed3d49668c9ab9666ac15cbd1",
+ "output_key": "03d09097e7608e7df177ff1cdf507a70f4705b8c8522caa2aec42c685780720dfa",
+ "pkscript": "5120d09097e7608e7df177ff1cdf507a70f4705b8c8522caa2aec42c685780720dfa"
},
"second_level_htlc_success": {
"scripts": {
- "success": "2015ec0138eb42f1ab4603042123988d53c854e89d1d87aa4dbb97a57482029c05ad029000b2"
+ "delay": "2015ec0138eb42f1ab4603042123988d53c854e89d1d87aa4dbb97a57482029c05ad029000b2"
},
"leaf_hashes": {
- "success": "dbf0400e9c7c57f30b6ad0b0677e396b5a002cbf050d873c8925b966048e6a62"
+ "delay": "dbf0400e9c7c57f30b6ad0b0677e396b5a002cbf050d873c8925b966048e6a62"
},
"tapscript_root": "dbf0400e9c7c57f30b6ad0b0677e396b5a002cbf050d873c8925b966048e6a62",
"internal_key": "03d4c77088d346bce67c13bbbf82ca112588f4b1c9595a1f8af3be9b2f95a109a0",
@@ -158,10 +166,10 @@
},
"second_level_htlc_timeout": {
"scripts": {
- "success": "2015ec0138eb42f1ab4603042123988d53c854e89d1d87aa4dbb97a57482029c05ad029000b2"
+ "delay": "2015ec0138eb42f1ab4603042123988d53c854e89d1d87aa4dbb97a57482029c05ad029000b2"
},
"leaf_hashes": {
- "success": "dbf0400e9c7c57f30b6ad0b0677e396b5a002cbf050d873c8925b966048e6a62"
+ "delay": "dbf0400e9c7c57f30b6ad0b0677e396b5a002cbf050d873c8925b966048e6a62"
},
"tapscript_root": "dbf0400e9c7c57f30b6ad0b0677e396b5a002cbf050d873c8925b966048e6a62",
"internal_key": "03d4c77088d346bce67c13bbbf82ca112588f4b1c9595a1f8af3be9b2f95a109a0",Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.