joe2015 at openmailbox.org [ARCHIVE] on Nostr: 📅 Original date posted:2016-01-12 📝 Original message:On 2016-01-05 09:26, ...
📅 Original date posted:2016-01-12
📝 Original message:On 2016-01-05 09:26, joe2015--- via bitcoin-dev wrote:
> On 2016-01-05 02:04, Nick ODell wrote:
>> How are you collecting fees from the transactions in the block?
>
> Probably the simplest way to do this is to map the new-rules coinbase
> tx (which collects the block reward and fees) into an old-rules legacy
> coinbase tx (which collects the block reward only). Care must be
> taken to ensure the mapping is not reversible. I will update my
> implementation in due course.
The redesigned implementation is here:
https://github.com/ZoomT/bitcoin/tree/2015_2mb_blocksizehttps://github.com/jgarzik/bitcoin/compare/2015_2mb_blocksize...ZoomT:2015_2mb_blocksizeThe new version maps the Merkle root onto a 'legacy' coinbase
transaction, solving the problem with fees.
--joe.
Published at
2023-06-07 17:31:20Event JSON
{
"id": "390ae5254b873bc0e73b7890a39fe9eaca3f7af03dca2882aeb29fd1a5a6f16b",
"pubkey": "43b7b510fe55636e529592954f52b81d7edf0b64a73b26d83b434b89b3b927b1",
"created_at": 1686159080,
"kind": 1,
"tags": [
[
"e",
"12831bac096285a82689601c6fc77b25e078f4c2c82389a7d53ebaa44f52dd6e",
"",
"root"
],
[
"e",
"dbf1b13eba6fc5d1a72e21a6de99a267875367af96613d226274e60e6f2278f3",
"",
"reply"
],
[
"p",
"43b7b510fe55636e529592954f52b81d7edf0b64a73b26d83b434b89b3b927b1"
]
],
"content": "📅 Original date posted:2016-01-12\n📝 Original message:On 2016-01-05 09:26, joe2015--- via bitcoin-dev wrote:\n\u003e On 2016-01-05 02:04, Nick ODell wrote:\n\u003e\u003e How are you collecting fees from the transactions in the block?\n\u003e \n\u003e Probably the simplest way to do this is to map the new-rules coinbase\n\u003e tx (which collects the block reward and fees) into an old-rules legacy\n\u003e coinbase tx (which collects the block reward only). Care must be\n\u003e taken to ensure the mapping is not reversible. I will update my\n\u003e implementation in due course.\n\nThe redesigned implementation is here:\n\nhttps://github.com/ZoomT/bitcoin/tree/2015_2mb_blocksize\nhttps://github.com/jgarzik/bitcoin/compare/2015_2mb_blocksize...ZoomT:2015_2mb_blocksize\n\nThe new version maps the Merkle root onto a 'legacy' coinbase \ntransaction, solving the problem with fees.\n\n--joe.",
"sig": "937ded013e0cdb05393eefbe6504c517dcc29d79da44c0f93fbcf4dd2f846550c98e32140d5d935116154d398e424ae81b4973785bf8b3c1056e6aebde38370f"
}