aboutsummaryrefslogtreecommitdiff
path: root/src/interface/node.h
diff options
context:
space:
mode:
authorRussell Yanofsky <russ@yanofsky.org>2017-04-18 16:42:30 -0400
committerJohn Newbery <john@johnnewbery.com>2018-04-04 16:52:40 -0400
commit58845587e11140e81f087a74c3db76a4d1fc3a1a (patch)
tree9a150957bd523137b38de0909e8ae1ab5e7b9984 /src/interface/node.h
parent3cab2ce5f9e159ad5a2e9ed682f28121b5248580 (diff)
downloadbitcoin-58845587e11140e81f087a74c3db76a4d1fc3a1a.tar.xz
Remove direct bitcoin calls from qt transaction table files
Diffstat (limited to 'src/interface/node.h')
-rw-r--r--src/interface/node.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/interface/node.h b/src/interface/node.h
index a31105f6f8..c73f45a1b0 100644
--- a/src/interface/node.h
+++ b/src/interface/node.h
@@ -22,6 +22,7 @@
class CCoinControl;
class CFeeRate;
class CNodeStats;
+class Coin;
class RPCTimerInterface;
class UniValue;
class proxyType;
@@ -66,6 +67,9 @@ public:
//! Get warnings.
virtual std::string getWarnings(const std::string& type) = 0;
+ // Get log flags.
+ virtual uint32_t getLogCategories() = 0;
+
//! Initialize app dependencies.
virtual bool baseInitialize() = 0;
@@ -184,6 +188,9 @@ public:
//! Unset RPC timer interface.
virtual void rpcUnsetTimerInterface(RPCTimerInterface* iface) = 0;
+ //! Get unspent outputs associated with a transaction.
+ virtual bool getUnspentOutput(const COutPoint& output, Coin& coin) = 0;
+
//! Return interfaces for accessing wallets (if any).
virtual std::vector<std::unique_ptr<Wallet>> getWallets() = 0;