extract the matching txid's represented by this partial merkle tree and their respective indices within the partial tree. returns the merkle root, or 0 in case of failure
Declared in <merkleblock.h>
uint256
ExtractMatches(
std::vector<Txid>& vMatch,
std::vector<unsigned int>& vnIndex);
The merkle root, or 0 in case of failure.
| Name | Description |
|---|---|
| vMatch | Output list of matched transaction ids. |
| vnIndex | Output list of the indices of the matched transactions within the tree. |