Skip to content

Conversation

@instagibbs
Copy link
Contributor

…ommitment

Useful for non-consensus proof of publication of data.

@instagibbs instagibbs force-pushed the getnewblockhex_commit branch from b9ebab3 to 98a1547 Compare October 22, 2019 17:34
@instagibbs instagibbs added the needs port Needs backport to a different branch label Oct 22, 2019
},
},
"proposed_parameters"},
{"data", RPCArg::Type::STR_HEX, RPCArg::Optional::NO, "Data in hex to be committed to in an additional coinbase output."},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: commit_data

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that's not a nit :) will fix

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh I see, you're nitting the name. I'm merely matching what's in createrawtransaction fwiw, so I'll keep this if that's ok

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was nitting the name. In createrawtx, the data field is part of an output. Here it's part of a block. I think it's less obvious what "data" means in a "create block" context. But well if you think consistency is more important, it's fine. ack then.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, changed

@instagibbs instagibbs force-pushed the getnewblockhex_commit branch from 98a1547 to 6d9639b Compare October 28, 2019 13:11
@stevenroose
Copy link
Contributor

ACK 6d9639b

stevenroose added a commit that referenced this pull request Oct 28, 2019
…k coinbase c…

6d9639b getnewblockhex: Take data push for arbitrary data in block coinbase commitment (Gregory Sanders)

Pull request description:

  …ommitment

  Useful for non-consensus proof of publication of data.

Tree-SHA512: 8967238c97b5188db50f99d7a8d8a1b26712a6b4c02812880502b5eb9572f7ca6a509a2020cb9661b2931f7d2b06f0580baa8652516b529b2386e92e73767a73
@stevenroose stevenroose merged commit 6d9639b into ElementsProject:master Oct 28, 2019
instagibbs added a commit that referenced this pull request Oct 29, 2019
…in block coinbase c…

c79ad5f getnewblockhex: Take data push for arbitrary data in block coinbase commitment (Gregory Sanders)

Pull request description:

  …ommitment

  backport of #753

Tree-SHA512: b118f33643a5f62978c4d839c7d38917b65fdf7b8ef86fe8091485ea4f80024b5e8dbaecb00b778c8e9898611bc742b4169d5ce69b59dae8faff749d040c5120
apoelstra added a commit to apoelstra/elements that referenced this pull request Nov 9, 2020
apoelstra added a commit to apoelstra/elements that referenced this pull request Nov 10, 2020
stevenroose pushed a commit that referenced this pull request Mar 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs port Needs backport to a different branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants