From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id A712AADF for ; Tue, 12 Jan 2016 03:59:03 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from smtp2.openmailbox.org (smtp2.openmailbox.org [62.4.1.36]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id C8C9111D for ; Tue, 12 Jan 2016 03:59:02 +0000 (UTC) Received: by mail2.openmailbox.org (Postfix, from userid 1004) id BA4132AC4530; Tue, 12 Jan 2016 04:58:24 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1452571104; bh=oUgb1SsOaEt6N238zU4ywtZm0zSwTfMoUuuWiaymrH8=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=EQYwwsIrx8vgAS/58f1U7nAJp+50ui3JbggheR1P63rtvBZkfMKjDib6Ou8yGSiUE KYnb918MIkmZEiel1wbll6uAHg7tJTnVbFu9kzf8+VPA4yfdAz2j2B5OxwWUuDfQCn MDjgGP8KQ2pf9jgSrKzqBveVwXc8eepWv2Mc4dT4= X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on smtp1.linux-foundation.org X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RP_MATCHES_RCVD autolearn=ham version=3.3.1 Received: from www.openmailbox.org (openmailbox-b1 [10.91.69.218]) by mail2.openmailbox.org (Postfix) with ESMTP id A28FA2AC40F2; Tue, 12 Jan 2016 04:58:13 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 12 Jan 2016 11:58:13 +0800 From: joe2015@openmailbox.org To: Nick ODell In-Reply-To: <640324f3e4cafd1fecfef809a8cb017d@openmailbox.org> References: <6fc10e581a81abb76be5cd49275ebf48@openmailbox.org> <814e1ba765445a4c3b7364c471299393@openmailbox.org> <3b3d9102043577785d1b1679704eabfd@openmailbox.org> <640324f3e4cafd1fecfef809a8cb017d@openmailbox.org> Message-ID: <16fe2f0a56e7257b9465bcdd9e34e49c@openmailbox.org> X-Sender: joe2015@openmailbox.org User-Agent: Roundcube Webmail/1.0.6 X-Mailman-Approved-At: Tue, 12 Jan 2016 04:08:45 +0000 Cc: bitcoin-dev@lists.linuxfoundation.org Subject: Re: [bitcoin-dev] An implementation of BIP102 as a softfork. X-BeenThere: bitcoin-dev@lists.linuxfoundation.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Bitcoin Development Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jan 2016 03:59:03 -0000 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.