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:47:33Event JSON
{
"id": "e22b111394f0a26801b03a5d0c1347aa1a978ae24a7246534209f3cfabd98d64",
"pubkey": "43b7b510fe55636e529592954f52b81d7edf0b64a73b26d83b434b89b3b927b1",
"created_at": 1686160053,
"kind": 1,
"tags": [
[
"e",
"6c75519a7aace31cb132897b68f93615daea6476dac15e9c95f1409f2d7387bd",
"",
"root"
],
[
"e",
"453de8c6ff065a120ecc372fbf3748ab5187a1d2089fe79a8388123f011fc292",
"",
"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": "9dc3daaead641d1b44485db63e473067a31d783a1254b0552b2d1a8f57fa9b337382939910fb6acd7dff016dadb2de9ca5434e9a369247b398aae7ff61c12188"
}