Collect the entire cluster of connected transactions for each transaction in txids. All txids must correspond to transaction entries in the mempool, otherwise this returns an empty vector. This call will also exit early and return an empty vector if it collects 500 or more transactions as a DoS protection.
Synopsis
Declared in <txmempool.h>
[[requires_capability(0x7f2e1b5a2e18), requires_capability(0x7f2e2721be28), requires_capability(0x7f2e421cd538), requires_capability(0x7f2e2880c4f8), requires_capability(0x7f2e3212f888), requires_capability(0x7f2e347f7f18), requires_capability(0x7f2e2b05c388), requires_capability(0x7f2e2bee3a28)]]
std::vector<txiter>
GatherClusters(std::vector<Txid> const& txids) const;
Return Value
The iterators of every transaction in the collected clusters, or an empty vector.
Parameters
Name |
Description |
txids |
The txids whose clusters are collected. |
Created with MrDocs