def __init__(self, testgen, datadir):
    self.test_generator = testgen
    self.connections = []
    self.test_nodes = []
    self.block_store = BlockStore(datadir)
    self.tx_store = TxStore(datadir)
    self.ping_counter = 1
def __init__(self, testgen, datadir):
    self.test_generator = testgen
    self.connections = []
    self.test_nodes = []
    self.block_store = BlockStore(datadir)
    self.tx_store = TxStore(datadir)
    self.ping_counter = 1