Clarify that coinbase spending restrictions only apply to transparent outputs

This commit is contained in:
Jack Grigg 2020-01-27 20:23:23 +00:00
parent 83e8313045
commit 84bbeaaed4
1 changed files with 9 additions and 6 deletions

View File

@ -72,13 +72,16 @@ Once the Heartwood network upgrade activates:
- The consensus rules applied to ``valueBalance``, ``vShieldedOutput``, and ``bindingSig`` - The consensus rules applied to ``valueBalance``, ``vShieldedOutput``, and ``bindingSig``
in non-coinbase transactions MUST also be applied to coinbase transactions. in non-coinbase transactions MUST also be applied to coinbase transactions.
- Only transparent outputs in coinbase transactions are subject to the existing
restrictions on spending coinbase funds. More precisely:
- The existing consensus rule requiring transactions that spend coinbase outputs to have - The existing consensus rule requiring transactions that spend coinbase outputs to have
an empty ``vout``, is amended to only apply to transactions that spend transparent an empty ``vout``, is amended to only apply to transactions that spend transparent
coinbase outputs. coinbase outputs.
- The existing consensus rule requiring coinbase outputs to have 100 confirmations before - The existing consensus rule requiring coinbase outputs to have 100 confirmations
they may be spent (coinbase maturity), is amended to only apply to transparent coinbase before they may be spent (coinbase maturity), is amended to only apply to transparent
outputs. coinbase outputs.
- Full Sapling note decryption MUST succeed using the all-zero outgoing viewing key. More - Full Sapling note decryption MUST succeed using the all-zero outgoing viewing key. More
precisely, all Sapling outputs in coinbase transactions MUST have valid note commitments precisely, all Sapling outputs in coinbase transactions MUST have valid note commitments