| 367 | } |
| 368 | std::vector<std::string> listRpcCommands() override { return ::tableRPC.listCommands(); } |
| 369 | std::optional<Coin> getUnspentOutput(const COutPoint& output) override |
| 370 | { |
| 371 | LOCK(::cs_main); |
| 372 | return chainman().ActiveChainstate().CoinsTip().GetCoin(output); |
| 373 | } |
| 374 | TransactionError broadcastTransaction(CTransactionRef tx, CAmount max_tx_fee, std::string& err_string) override |
| 375 | { |
| 376 | return BroadcastTransaction(*m_context, |