MCPcopy Create free account
hub / github.com/ElementsProject/elements / handleTransactionChanged

Method handleTransactionChanged

src/wallet/interfaces.cpp:507–511  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

505 const std::string& purpose, ChangeType status) { fn(address, label, is_mine, purpose, status); }));
506 }
507 std::unique_ptr<Handler> handleTransactionChanged(TransactionChangedFn fn) override
508 {
509 return MakeHandler(m_wallet->NotifyTransactionChanged.connect(
510 [fn](const uint256& txid, ChangeType status) { fn(txid, status); }));
511 }
512 std::unique_ptr<Handler> handleWatchOnlyChanged(WatchOnlyChangedFn fn) override
513 {
514 return MakeHandler(m_wallet->NotifyWatchonlyChanged.connect(fn));

Callers 2

Calls 3

MakeHandlerFunction · 0.85
fnFunction · 0.85
connectMethod · 0.80

Tested by

no test coverage detected