v1.44.0: cargar la wallet con un descriptor (Sparrow, Bitcoin Core)

wpkh, sh(wpkh) y pkh con origen opcional, /0/*, /1/* o /<0;1>/*, suma
de verificación BIP380 comprobada, el tipo lo manda el descriptor.
Rechaza claves privadas (borradas del campo), multifirma, miniscript,
Taproot (aún no se deriva) y la red equivocada. tests/test32.js.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L5npnUYgSPkAaHkdaeUqBr
This commit is contained in:
2026-10-24 19:43:55 +02:00
co-authored by Claude Opus 5.5
parent c78dc6f688
commit 4085c8e181
8 changed files with 485 additions and 33 deletions
+1 -1
View File
@@ -24,4 +24,4 @@ if (s === -1 || e === -1) {
}
module.exports = new Function(lines.slice(s, e).join("\n") +
"\nreturn { B32, SECP, deriveChildPubkey, ripemd160, hash160, toBech32, deriveAddresses, XPUB_VERSIONS };")();
"\nreturn { B32, SECP, deriveChildPubkey, ripemd160, hash160, toBech32, deriveAddresses, XPUB_VERSIONS, TIPO_SCRIPT, descriptorChecksum, contieneClavePrivada, analizarLineaDescriptor, analizarEntradaWallet };")();