mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-05-12 15:03:18 +02:00
fa16bc53d7test: Require named arg for create_block ntime arg (MarcoFalke)fab352053dtest: Remove unused create_coinbase imports (MarcoFalke)fad6deb3cbscripted-diff: Use new create_block height option (MarcoFalke)fa5eb74b96test: Allow to set height in create_block (MarcoFalke) Pull request description: The `create_block` helper is often called with `create_coinbase`: `create_block(prev_hash, create_coinbase(new_height))` This is fine, but a bit verbose and tedious to type each time. Also, it requires an additional import. Improve this by allowing to set `height` in `create_block` directly, similar to other options, such as `ntime`, or `hashprev`. ACKs for top commit: l0rinc: reACKfa16bc53d7theStack: re-ACKfa16bc53d7Tree-SHA512: 41ca7327aac714b446d53b1a29f83e792f7fc13d567cd0f063f743d50b193fa0c71cc651454ae1f3c960b0b82cc8658932ea08b3be8632f69a18ccd09a052c17