| 586 | return it && (*it)->GetCountWithDescendants() > 1; |
| 587 | } |
| 588 | bool broadcastTransaction(const CTransactionRef& tx, |
| 589 | const CAmount& max_tx_fee, |
| 590 | bool relay, |
| 591 | std::string& err_string) override |
| 592 | { |
| 593 | const TransactionError err = BroadcastTransaction(m_node, tx, err_string, max_tx_fee, relay, /*wait_callback*/ false); |
| 594 | // Chain clients only care about failures to accept the tx to the mempool. Disregard non-mempool related failures. |
| 595 | // Note: this will need to be updated if BroadcastTransactions() is updated to return other non-mempool failures |
| 596 | // that Chain clients do not need to know about. |
| 597 | return TransactionError::OK == err; |
| 598 | } |
| 599 | void getTransactionAncestry(const uint256& txid, size_t& ancestors, size_t& descendants, size_t* ancestorsize, CAmount* ancestorfees) override |
| 600 | { |
| 601 | ancestors = descendants = 0; |
nothing calls this directly
no test coverage detected