Skip to content
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 transactions of BlockTemplate #5454

Closed
Tracked by #5235 ...
oxarbitrage opened this issue Oct 21, 2022 · 2 comments · Fixed by #5508
Closed
Tracked by #5235 ...

Populate transactions of BlockTemplate #5454

oxarbitrage opened this issue Oct 21, 2022 · 2 comments · Fixed by #5508
Assignees

Comments

@oxarbitrage
Copy link
Contributor

oxarbitrage commented Oct 21, 2022

Motivation

The transactions field of the BlockTemplate response is an array of BlockTemplateTx structure with the transaction data and other fields.

Tasks

  • Create BlockTemplateTx
  • bring transactions from the mempool and populate the transactions.data fields. Tracking: Implement getblocktemplate RPC #5235 (comment)
    • the depends field is always an empty list, Zebra's mempool doesn't support dependent transactions
  • Populate the additional fields of BlockTemplateTx

Depends on #5451

@mpguerra
Copy link
Contributor

@teor2345
Copy link
Contributor

I split ZIP-317 transaction selection out of this ticket into #5473.

It seems like separate work, and it depends on some details that the zcashd developers haven't decided yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants