MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / handleTransactionChanged

Method handleTransactionChanged

src/interfaces/wallet.cpp:451–455  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

449 const std::string& purpose, ChangeType status) { fn(address, label, is_mine, purpose, status); }));
450 }
451 std::unique_ptr<Handler> handleTransactionChanged(TransactionChangedFn fn) override
452 {
453 return MakeHandler(m_wallet.NotifyTransactionChanged.connect(
454 [fn](CWallet*, const uint256& txid, ChangeType status) { fn(txid, status); }));
455 }
456 std::unique_ptr<Handler> handleWatchOnlyChanged(WatchOnlyChangedFn fn) override
457 {
458 return MakeHandler(m_wallet.NotifyWatchonlyChanged.connect(fn));

Callers 2

Calls 1

MakeHandlerFunction · 0.85

Tested by

no test coverage detected