MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / getUnspentOutput

Method getUnspentOutput

src/node/interfaces.cpp:369–373  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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,

Callers 1

toHTMLMethod · 0.80

Calls 1

GetCoinMethod · 0.45

Tested by

no test coverage detected