1
0

wallet/keystore: add apis for "add_slip_19_ownership_proofs_to_tx"

- implement it specifically for the "singlesig trezor" case
- aimed to be generic enough that support for more complex scripts
  and other keystores could be added later
This commit is contained in:
SomberNight
2024-02-05 13:42:35 +00:00
parent c84e55e957
commit 0925f15280
5 changed files with 78 additions and 2 deletions

View File

@@ -202,6 +202,12 @@ class KeyStore(Logger, ABC):
def can_have_deterministic_lightning_xprv(self) -> bool:
return False
def has_support_for_slip_19_ownership_proofs(self) -> bool:
return False
def add_slip_19_ownership_proofs_to_tx(self, tx: 'PartialTransaction', *, password) -> None:
raise NotImplementedError()
class Software_KeyStore(KeyStore):