def _test_generateblocks(self, blocks): print("Test generating", blocks, 'blocks') daemon = Daemon() res = daemon.get_info() height = res['height'] res = daemon.generateblocks('42ey1afDFnn4886T7196doS9GPMzexD9gXpsZJDwVjeRVdFCSoHnv7KPbBeGpzJBzHRCAs9UxqeoyFQMYbqSWYTfJJQAWDm', blocks) assert res['height'] == height + blocks - 1
def _test_generateblocks(self, blocks): print("Test generating", blocks, 'blocks') daemon = Daemon() res = daemon.get_info() height = res['height'] res = daemon.generateblocks('42ey1afDFnn4886T7196doS9GPMzexD9gXpsZJDwVjeRVdFCSoHnv7KPbBeGpzJBzHRCAs9UxqeoyFQMYbqSWYTfJJQAWDm', blocks) assert res['height'] == height + blocks - 1
def _test_generateblocks(self, blocks): print("Test generating", blocks, 'blocks') daemon = Daemon() res = daemon.get_info() height = res['height'] res = daemon.generateblocks(mainnet_address, blocks) assert res['height'] == height + blocks - 1
def _test_generateblocks(self, blocks): print("Test generating", blocks, 'blocks') daemon = Daemon() res = daemon.get_info() height = res['height'] res = daemon.generateblocks( 'WmsAX8KpL3NADH2pu4VKVE2mi7f4WS53W8ywgQWPWGcieuyAoNPa3F1JpT9772RTBBAo9vLfYKTzbVA5GR48bBf1263W9Tijy', blocks) assert res['height'] == height + blocks - 1