-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Populate transparent coinbase transaction data for BlockTemplate
#5453
Comments
@oxarbitrage I think the coinbase transaction depends on the transactions from ticket #5454, and the miner address from ticket #5456, because it includes the transaction fee, and pays the miner reward and fee to the miner. |
Here are the fields that are calculated from the transactions, including the coinbase transaction:
And here are the fields that are calculated from the transactions, and the state request in #5455:
Can I edit the ticket? |
I think we might want to open another ticket for shielded coinbase, most of the existing coinbase transactions are transparent. (All the funding streams are transparent, and almost all miner payments are transparent.) |
Let's open the issue, however I'm not sure that we need to do this as part of an MVP for the getblocktemplate work. |
Hey team! Please add your planning poker estimate with Zenhub @arya2 @conradoplg @dconnolly @oxarbitrage @teor2345 @upbqdn |
BlockTemplate
BlockTemplate
BlockTemplate
BlockTemplate
I split #5579 out of this ticket, because the state request isn't ready yet. |
Motivation
The
coinbasetxn
field of theBlockTemplate
is a struct:(#5235 (comment)) and can be complex enough to implement it in a separated ticket.Specifications
https://zips.z.cash/protocol/protocol.pdf#txnconsensus
Tasks
Shielded coinbase is out of scope, most miners don't use it.
Create
CoinBaseTxn
struct.Populate on
getblocktemplate
responserequired
:true
defaultroots
authdataroot
merkleroot
Test: TODO
Depends on #5451
The text was updated successfully, but these errors were encountered: