]> Git Repo - VerusCoin.git/blobdiff - src/merkleblock.h
test
[VerusCoin.git] / src / merkleblock.h
index 52c914967ff5896987e23afeb27212c8a84f7ba9..904c22abc2b942f4a004c275b9a50f83327e93a3 100644 (file)
@@ -104,7 +104,7 @@ public:
         }
     }
 
-    /** Construct a partial merkle tree from a list of transaction id's, and a mask that selects a subset of them */
+    /** Construct a partial merkle tree from a list of transaction ids, and a mask that selects a subset of them */
     CPartialMerkleTree(const std::vector<uint256> &vTxid, const std::vector<bool> &vMatch);
 
     CPartialMerkleTree();
@@ -139,6 +139,11 @@ public:
      */
     CMerkleBlock(const CBlock& block, CBloomFilter& filter);
 
+    // Create from a CBlock, matching the txids in the set
+    CMerkleBlock(const CBlock& block, const std::set<uint256>& txids);
+
+    CMerkleBlock() {}
+
     ADD_SERIALIZE_METHODS;
 
     template <typename Stream, typename Operation>
This page took 0.02483 seconds and 4 git commands to generate.