| 272 | void rpcSetTimerInterfaceIfUnset(RPCTimerInterface* iface) override { RPCSetTimerInterfaceIfUnset(iface); } |
| 273 | void rpcUnsetTimerInterface(RPCTimerInterface* iface) override { RPCUnsetTimerInterface(iface); } |
| 274 | bool getUnspentOutput(const COutPoint& output, Coin& coin) override |
| 275 | { |
| 276 | LOCK(::cs_main); |
| 277 | return chainman().ActiveChainstate().CoinsTip().GetCoin(output, coin); |
| 278 | } |
| 279 | TransactionError broadcastTransaction(CTransactionRef tx, CAmount max_tx_fee, std::string& err_string) override |
| 280 | { |
| 281 | return BroadcastTransaction(*m_context, std::move(tx), err_string, max_tx_fee, /*relay=*/ true, /*wait_callback=*/ false); |