[#CPartialMerkleTree-ExtractMatches] = xref:CPartialMerkleTree.adoc[CPartialMerkleTree]::ExtractMatches :relfileprefix: ../ :mrdocs: 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>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:uint256.adoc[uint256] ExtractMatches( std::vector<Txid>& vMatch, std::vector<unsigned int>& vnIndex); ---- == Return Value The merkle root, or 0 in case of failure. == Parameters [cols="1,4"] |=== | Name| Description | *vMatch* | Output list of matched transaction ids. | *vnIndex* | Output list of the indices of the matched transactions within the tree. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#