diff options
| author | Russell Yanofsky <[email protected]> | 2017-04-18 16:42:30 -0400 |
|---|---|---|
| committer | John Newbery <[email protected]> | 2018-04-04 16:52:40 -0400 |
| commit | 58845587e11140e81f087a74c3db76a4d1fc3a1a (patch) | |
| tree | 9a150957bd523137b38de0909e8ae1ab5e7b9984 /src/interface/node.cpp | |
| parent | Remove direct bitcoin calls from qt/paymentserver.cpp (diff) | |
| download | discoin-58845587e11140e81f087a74c3db76a4d1fc3a1a.tar.xz discoin-58845587e11140e81f087a74c3db76a4d1fc3a1a.zip | |
Remove direct bitcoin calls from qt transaction table files
Diffstat (limited to 'src/interface/node.cpp')
| -rw-r--r-- | src/interface/node.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/interface/node.cpp b/src/interface/node.cpp index 0e6bc4a78..a8ed275dc 100644 --- a/src/interface/node.cpp +++ b/src/interface/node.cpp @@ -60,6 +60,7 @@ class NodeImpl : public Node void initLogging() override { InitLogging(); } void initParameterInteraction() override { InitParameterInteraction(); } std::string getWarnings(const std::string& type) override { return GetWarnings(type); } + uint32_t getLogCategories() override { return ::logCategories; } bool baseInitialize() override { return AppInitBasicSetup() && AppInitParameterInteraction() && AppInitSanityChecks() && @@ -227,6 +228,11 @@ class NodeImpl : public Node std::vector<std::string> listRpcCommands() override { return ::tableRPC.listCommands(); } void rpcSetTimerInterfaceIfUnset(RPCTimerInterface* iface) override { RPCSetTimerInterfaceIfUnset(iface); } void rpcUnsetTimerInterface(RPCTimerInterface* iface) override { RPCUnsetTimerInterface(iface); } + bool getUnspentOutput(const COutPoint& output, Coin& coin) override + { + LOCK(::cs_main); + return ::pcoinsTip->GetCoin(output, coin); + } std::vector<std::unique_ptr<Wallet>> getWallets() override { #ifdef ENABLE_WALLET |