Skip to content

Commit a68d1e3

Browse files
authored
[0.13.0.x] Add notes about changes in mining (#2628)
* Add `Mining` section to `Notable changes`, mention P2SH and `script` in `getblocktemplate` * Also mention `coinbase_payload`
1 parent e24c0e8 commit a68d1e3

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

doc/release-notes.md

+15
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,20 @@ update a masternode list with additional proof data.
110110

111111
Read more: https://github.com/dashpay/dips/blob/master/dip-0004.md
112112

113+
Mining
114+
------
115+
Please note that masternode payments in `getblocktemplate` rpc are now returned as an array and not as
116+
a single object anymore. Make sure to apply corresponding changes to your pool software.
117+
118+
Also, deterministic masternodes can now set their payout address to a P2SH address. The most common use
119+
case for P2SH is multisig but script can be pretty much anything. If your pool software doesn't recognize
120+
P2SH addresses, the simplest way to fix it is to use `script` field which shows scriptPubKey for each
121+
entry of masternode payments array in `getblocktemplate`.
122+
123+
And finally, after DIP0003 activation your pool software must be able to produce Coinbase Special
124+
Transaction https://github.com/dashpay/dips/blob/master/dip-0004.md#coinbase-special-transaction.
125+
Use `coinbase_payload` from `getblocktemplate` to get extra payload needed to construct this transaction.
126+
113127
PrivateSend
114128
-----------
115129
With further refactoring of PrivateSend code it became possible to implement mixing in few parallel
@@ -198,6 +212,7 @@ There are a few changes in existing RPC interfaces in this release:
198212
- `masternode status` and `masternode list` show some DIP0003 related info now;
199213
- `previousbits` and `coinbase_payload` fields were added in `getblocktemplate`;
200214
- `getblocktemplate` now returns an array for masternode payments instead of a single object (miners and mining pools have to upgrade their software to support multiple masternode payees);
215+
- masternode and superblock payments in `getblocktemplate` show payee scriptPubKey in `script` field in addition to payee address in `payee`;
201216
- `getblockchaininfo` shows BIP9 deployment progress;
202217
- `help command subCommand` should give detailed help for subcommands e.g. `help protx list`;
203218
- `compressed` option in `masternode genkey`;

0 commit comments

Comments
 (0)