Ryan Ofsky
cd3d9fa5ea
Merge bitcoin/bitcoin#31318 : Drop script_pub_key arg from createNewBlock
...
52fd1511a774d1ff9e747b2ce88aa1fcb778ced8 test: drop scriptPubKeyIn arg from CreateNewBlock (Sjors Provoost)
ff41b9e296aba0237e068fab181523c50bf8c9d0 Drop script_pub_key arg from createNewBlock (Sjors Provoost)
7ab733ede444aee61ab52670c228eec811268c6f rpc: rename coinbase_script to coinbase_output_script (Sjors Provoost)
Pull request description:
Providing a script for the coinbase transaction is only done in test code and for (unoptimized) CPU solo mining.
Production miners use the `getblocktemplate` RPC which omits the coinbase transaction entirely from its block template, leaving it to external (pool) software to construct it.
This commit removes the `script_pub_key argument` from `createNewBlock()` in the Mining interface.
A coinbase script can still be passed via `BlockCreateOptions` instead. Tests are modified to do so.
ACKs for top commit:
ryanofsky:
Code review ACK 52fd1511a774d1ff9e747b2ce88aa1fcb778ced8. No change since last review other than rebase
TheCharlatan:
Re-ACK 52fd1511a774d1ff9e747b2ce88aa1fcb778ced8
vasild:
ACK 52fd1511a774d1ff9e747b2ce88aa1fcb778ced8
Tree-SHA512: c4b3a53774d9a5dc90950e77f47a64dbb68f971baffbb9a0d8f59332ef8e52d0c039130c925bde73135b3d0e79e65d91d1df30dc4cff13f32d8a72e5c56669d8
2024-12-17 11:50:44 -05:00
..
2024-12-04 12:46:33 +07:00
2024-12-03 11:04:10 +01:00
2024-11-11 10:24:38 +01:00
2024-10-10 12:22:12 +02:00
2024-12-04 15:09:05 -04:00
2024-12-04 15:09:05 -04:00
2024-12-17 11:50:44 -05:00
2024-12-17 11:50:44 -05:00
2024-11-12 09:24:54 -05:00
2024-06-13 13:17:57 +01:00
2024-08-29 13:49:57 +02:00
2024-06-12 14:38:39 +01:00
2024-12-17 11:50:44 -05:00
2024-11-25 21:05:11 +01:00
2024-07-08 11:12:01 +02:00
2024-12-04 15:09:05 -04:00
2024-12-17 11:50:44 -05:00
2024-11-25 15:36:05 +01:00
2024-11-04 14:59:46 -05:00
2024-07-24 09:57:49 +01:00
2024-12-17 11:50:44 -05:00
2024-08-30 21:31:39 +01:00
2024-12-05 16:55:36 +01:00
2024-12-09 15:25:57 -05:00
2024-10-25 18:09:36 +01:00
2024-09-14 20:33:32 +03:00
2024-10-28 12:36:19 +00:00
2024-07-30 14:06:58 -04:00
2024-07-30 14:06:58 -04:00
2024-09-20 12:55:22 -04:00
2024-11-11 12:47:53 -03:00
2024-11-11 12:47:53 -03:00
2024-08-03 21:59:54 +02:00
2024-08-29 13:49:57 +02:00
2024-08-06 11:03:31 +02:00
2024-08-06 11:03:31 +02:00
2024-12-03 17:38:41 -05:00
2024-10-28 12:36:19 +00:00
2024-11-20 22:55:25 +01:00
2024-10-28 12:36:19 +00:00
2024-12-04 13:20:46 -05:00
2024-10-28 12:36:19 +00:00
2024-11-20 22:55:23 +01:00
2024-10-28 12:36:19 +00:00
2024-11-20 22:55:25 +01:00
2024-10-28 12:36:19 +00:00
2024-11-20 22:55:23 +01:00
2024-08-29 13:49:57 +02:00
2024-07-08 11:12:01 +02:00
2024-09-17 09:54:18 +02:00
2024-10-28 11:38:38 -04:00
2024-11-14 13:41:02 -05:00
2024-11-14 13:41:02 -05:00
2024-08-27 07:00:27 +02:00
2024-12-03 18:02:37 -05:00
2024-11-15 17:16:03 +01:00
2024-10-28 12:35:49 +00:00
2024-11-11 14:14:39 +00:00
2024-11-23 15:31:39 +00:00
2024-12-04 14:09:05 -05:00
2024-12-02 13:52:34 +01:00
2024-06-07 13:55:23 -04:00
2024-11-26 20:47:08 -05:00
2024-12-05 14:37:47 +00:00
2024-06-07 13:55:23 -04:00
2024-07-04 22:35:29 +02:00
2024-11-30 20:19:08 +01:00
2024-11-30 20:19:08 +01:00
2024-08-13 07:44:31 +02:00
2024-08-29 13:49:57 +02:00
2024-07-24 09:39:35 +02:00
2024-11-04 14:59:46 -05:00
2024-08-29 13:49:57 +02:00
2024-07-08 11:12:01 +02:00
2024-12-03 10:38:21 +01:00
2024-12-04 15:09:05 -04:00
2024-07-11 19:08:46 +01:00
2024-06-26 15:28:26 -04:00
2024-06-12 16:19:50 -03:00
2024-12-13 18:56:37 -05:00
2024-09-06 09:08:10 -04:00
2024-10-27 15:38:54 +01:00
2024-08-04 08:52:22 +02:00
2024-08-04 08:51:36 +02:00
2024-10-01 11:31:39 +02:00
2024-10-01 11:31:39 +02:00
2024-10-25 15:02:07 -04:00
2024-10-24 18:23:30 +02:00
2024-11-04 18:46:40 +01:00
2024-07-08 11:12:01 +02:00
2024-11-14 09:43:47 +00:00
2024-10-01 21:55:18 -04:00
2024-07-08 11:12:01 +02:00
2024-12-04 15:09:05 -04:00
2024-11-13 12:13:17 +00:00
2024-08-13 07:44:31 +02:00
2024-07-01 12:39:53 -04:00
2024-10-10 12:22:12 +02:00
2024-09-10 11:20:40 -03:00
2024-11-11 14:14:39 +00:00
2024-09-02 15:43:33 +01:00
2024-09-11 17:41:26 +02:00
2024-10-26 23:44:15 +02:00
2024-10-26 23:44:15 +02:00
2024-07-11 19:08:46 +01:00
2024-08-28 19:11:59 +02:00
2024-08-28 19:09:51 +02:00
2024-10-24 18:08:12 -04:00
2024-10-21 23:24:17 +02:00
2024-10-21 23:24:17 +02:00
2024-10-28 12:36:19 +00:00
2024-07-08 11:12:01 +02:00
2024-08-29 13:49:57 +02:00
2024-08-13 07:44:31 +02:00
2024-11-04 18:46:40 +01:00
2024-11-04 18:46:40 +01:00
2024-07-08 11:12:01 +02:00
2024-07-08 11:12:01 +02:00
2024-10-28 19:13:46 -04:00
2024-12-13 18:56:37 -05:00
2024-11-14 13:41:02 -05:00
2024-09-18 20:03:47 +02:00
2024-09-18 20:03:47 +02:00
2024-11-13 13:27:01 -05:00
2024-11-13 13:27:01 -05:00
2024-10-01 21:55:18 -04:00
2024-10-24 21:23:56 -04:00
2024-08-07 20:00:28 +01:00
2024-07-24 09:15:34 +02:00
2024-09-06 17:36:18 +02:00
2024-12-13 08:25:25 -05:00
2024-12-03 18:02:37 -05:00
2024-10-08 15:25:47 +00:00
2024-07-25 11:01:22 +01:00
2024-07-08 11:12:01 +02:00