| 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; |
| 602 | if (!m_node.mempool) return; |
| 603 | m_node.mempool->GetTransactionAncestry(txid, ancestors, descendants, ancestorsize, ancestorfees); |
| 604 | } |
| 605 | void getPackageLimits(unsigned int& limit_ancestor_count, unsigned int& limit_descendant_count) override |
| 606 | { |
| 607 | limit_ancestor_count = gArgs.GetIntArg("-limitancestorcount", DEFAULT_ANCESTOR_LIMIT); |
no test coverage detected