Changeset View
Changeset View
Standalone View
Standalone View
test/functional/chronik_token_alp.py
Show First 20 Lines • Show All 567 Lines • ▼ Show 20 Lines | be in ascending order""", | ||||
block_height = 102 | block_height = 102 | ||||
block = create_block( | block = create_block( | ||||
int(block_hashes[-1], 16), | int(block_hashes[-1], 16), | ||||
create_coinbase(block_height, b"\x03" * 33), | create_coinbase(block_height, b"\x03" * 33), | ||||
1300000500, | 1300000500, | ||||
) | ) | ||||
block.vtx += [ | block.vtx += [ | ||||
genesis.tx, | genesis.tx, | ||||
send.tx, | |||||
mint.tx, | mint.tx, | ||||
send.tx, | |||||
genesis2.tx, | genesis2.tx, | ||||
multi.tx, | multi.tx, | ||||
all_things.tx, | all_things.tx, | ||||
] | ] | ||||
make_conform_to_ctor(block) | make_conform_to_ctor(block) | ||||
block.hashMerkleRoot = block.calc_merkle_root() | block.hashMerkleRoot = block.calc_merkle_root() | ||||
block.solve() | block.solve() | ||||
peer.send_blocks_and_test([block], node) | peer.send_blocks_and_test([block], node) | ||||
▲ Show 20 Lines • Show All 81 Lines • Show Last 20 Lines |