aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet.h
diff options
context:
space:
mode:
authorfurszy <matiasfurszyfer@protonmail.com>2023-01-18 10:00:20 -0300
committerfurszy <matiasfurszyfer@protonmail.com>2023-02-15 15:49:44 -0300
commitd8f5fc446216258a68e256076c889ec23471855f (patch)
treeee6f71f6602fe42d1b3e8b0d8043b166bb360e69 /src/wallet/wallet.h
parent3477a28dd3b4bc6c1993554c5ce589d69fa86070 (diff)
wallet: set '-walletnotify' script instead of access global args manager
Diffstat (limited to 'src/wallet/wallet.h')
-rw-r--r--src/wallet/wallet.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h
index a50c7eaa6e..073c4910ff 100644
--- a/src/wallet/wallet.h
+++ b/src/wallet/wallet.h
@@ -645,6 +645,9 @@ public:
/** Number of pre-generated keys/scripts by each spkm (part of the look-ahead process, used to detect payments) */
int64_t m_keypool_size{DEFAULT_KEYPOOL_SIZE};
+ /** Notify external script when a wallet transaction comes in or is updated (handled by -walletnotify) */
+ std::string m_notify_tx_changed_script;
+
size_t KeypoolCountExternalKeys() const EXCLUSIVE_LOCKS_REQUIRED(cs_wallet);
bool TopUpKeyPool(unsigned int kpSize = 0);