1
0

transaction.py: impl taproot key-spends

Add support for key-path-spending taproot utxos into transaction.py.

- no wallet support yet
- add some psbt, and minimal descriptor support
- preliminary work towards script-path spends
This commit is contained in:
SomberNight
2024-05-23 16:09:59 +00:00
parent 7a0bffc3e3
commit 3a305881cc
11 changed files with 978 additions and 152 deletions

View File

@@ -118,7 +118,7 @@ class KeyStore(Logger, ABC):
return {}
keypairs = {}
for pubkey in txin.pubkeys:
if pubkey in txin.part_sigs:
if pubkey in txin.sigs_ecdsa:
# this pubkey already signed
continue
derivation = self.get_pubkey_derivation(pubkey, txin)