summaryrefslogtreecommitdiff
path: root/c2/257aac3c0f2187c070238fb0de970ad8ca3054
blob: dc14d30e63f9de6df65e67095307135080a387da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
Return-Path: <joe2015@openmailbox.org>
Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org
	[172.17.192.35])
	by mail.linuxfoundation.org (Postfix) with ESMTPS id A712AADF
	for <bitcoin-dev@lists.linuxfoundation.org>;
	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 <bitcoin-dev@lists.linuxfoundation.org>;
	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 <nickodell@gmail.com>
In-Reply-To: <640324f3e4cafd1fecfef809a8cb017d@openmailbox.org>
References: <6fc10e581a81abb76be5cd49275ebf48@openmailbox.org>
	<CAKJqnrGUKeUb7g4SrjnWNAcPZOuLDKB-kjP2+Jy8Rdk_MfWLyQ@mail.gmail.com>
	<814e1ba765445a4c3b7364c471299393@openmailbox.org>
	<CAKJqnrE7W8aRgracL1cy_hBLWpVsTAQL4qg4ViSP9aCHvM1yvA@mail.gmail.com>
	<3b3d9102043577785d1b1679704eabfd@openmailbox.org>
	<CANN4kme78DzknfOY_kOG0Bo+v16O1McxznCi4VPq5p9HxgzuKw@mail.gmail.com>
	<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 <bitcoin-dev.lists.linuxfoundation.org>
List-Unsubscribe: <https://lists.linuxfoundation.org/mailman/options/bitcoin-dev>,
	<mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=unsubscribe>
List-Archive: <http://lists.linuxfoundation.org/pipermail/bitcoin-dev/>
List-Post: <mailto:bitcoin-dev@lists.linuxfoundation.org>
List-Help: <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=help>
List-Subscribe: <https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev>,
	<mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=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.