[bitcoin-dev] An implementation of BIP102 as a softfork.
joe2015 at openmailbox.org
joe2015 at openmailbox.org
Tue Jan 12 03:58:13 UTC 2016
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_blocksize
https://github.com/jgarzik/bitcoin/compare/2015_2mb_blocksize...ZoomT:2015_2mb_blocksize
The new version maps the Merkle root onto a 'legacy' coinbase
transaction, solving the problem with fees.
--joe.
More information about the bitcoin-dev
mailing list