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
Synopsis
Declared in <merkleblock.h>
uint256
ExtractMatches(
std::vector<Txid>& vMatch,
std::vector<unsigned int>& vnIndex);
Return Value
The merkle root, or 0 in case of failure.
Parameters
Name |
Description |
vMatch |
Output list of matched transaction ids. |
vnIndex |
Output list of the indices of the matched transactions within the tree. |
Created with MrDocs