diff --git a/qa/rpc-tests/test_framework/mininode.py b/qa/rpc-tests/test_framework/mininode.py index 2552eb8d59b61..5c67d70ca0325 100755 --- a/qa/rpc-tests/test_framework/mininode.py +++ b/qa/rpc-tests/test_framework/mininode.py @@ -840,6 +840,47 @@ def __repr__(self): return "BlockTransactions(hash=%064x transactions=%s)" % (self.blockhash, repr(self.transactions)) +class CPartialMerkleTree(object): + def __init__(self): + self.nTransactions = 0 + self.vBits = [] + self.vHash = [] + + def deserialize(self, f): + self.nTransactions = struct.unpack("