aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces
diff options
context:
space:
mode:
authorSjors Provoost <sjors@sprovoost.nl>2021-10-29 14:06:21 +0200
committerSjors Provoost <sjors@sprovoost.nl>2021-12-21 11:31:38 +0700
commit56113daef4830cad1af3c00f6b3c447c9e2a8e05 (patch)
tree4303022dd403eeb592dec53c9eb80a96ceb4c0c5 /src/interfaces
parent887796a5ffcbafcd281b920f8d55fcb6e8347584 (diff)
downloadbitcoin-56113daef4830cad1af3c00f6b3c447c9e2a8e05.tar.xz
wallet: add taprootEnabled() to interface
Diffstat (limited to 'src/interfaces')
-rw-r--r--src/interfaces/wallet.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/interfaces/wallet.h b/src/interfaces/wallet.h
index 4213a22749..77e15fc097 100644
--- a/src/interfaces/wallet.h
+++ b/src/interfaces/wallet.h
@@ -256,6 +256,9 @@ public:
// Return whether private keys enabled.
virtual bool privateKeysDisabled() = 0;
+ // Return whether the wallet contains a Taproot scriptPubKeyMan
+ virtual bool taprootEnabled() = 0;
+
// Return whether wallet uses an external signer.
virtual bool hasExternalSigner() = 0;