summaryrefslogtreecommitdiff
path: root/78/b2549346056594f9f220c2b6aa3503b37f038a
blob: 03b676ac8ffe13f971f62b143fd9a20be579c8f5 (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
83
84
85
86
87
88
89
90
91
92
93
94
95
Return-Path: <jtimon@jtimon.cc>
Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org
	[172.17.192.35])
	by mail.linuxfoundation.org (Postfix) with ESMTPS id D4568C59
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Wed,  9 Dec 2015 01:02:59 +0000 (UTC)
X-Greylist: whitelisted by SQLgrey-1.7.6
Received: from mail-vk0-f47.google.com (mail-vk0-f47.google.com
	[209.85.213.47])
	by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 698B2154
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Wed,  9 Dec 2015 01:02:59 +0000 (UTC)
Received: by vkay187 with SMTP id y187so33703406vka.3
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Tue, 08 Dec 2015 17:02:58 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=jtimon-cc.20150623.gappssmtp.com; s=20150623;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type:content-transfer-encoding;
	bh=wmfTHrFfZ3o1OCdycmVoNbHlfuJlWWmlwo5woH/RBsY=;
	b=EogyNtiia+R2wCl/iHqKRhQb0LLrzApg320CQZFY0SwXvFMDbvSgAgdzh2HYdfdpp2
	fEKH/W+Ho66ARXNHGox8To3wb0byu2vHO9D9n1PSzu4n2yEpEJmSZIrG98iLJbJGkS2+
	SXlpz2Z9JMM/nCGl2IujkKwDt/nh1RErHQgjcdagsfMNrFqFLP7pFrf789vF1orrI2us
	TVbnmZjM+ZzcBO44BdrEvXr+/3QvL4a6GjEl1Sk6eQnG353C5Mv09XhWfZJC7flGoicY
	g/jgztJXcFR+iTatH+YWOaAsrvErOsuUIAew8y9X5F1ODwNK2rwus+K7oho5m/mRmk27
	4mjQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:cc:content-type
	:content-transfer-encoding;
	bh=wmfTHrFfZ3o1OCdycmVoNbHlfuJlWWmlwo5woH/RBsY=;
	b=WQIDFYHQlyRil0Y5a4eklICHjbZW8+1GA1KyA1MVRQAVChpnHlZ5X9FyJMbghs1t4q
	6FEvr63NZwowN+uRRh4Qg+Jw0Dw+pom7E+piC55W5dci3XUISwjP/0PkzCBGOC4ZUHwS
	W+iNCOuNErB1oVpNd5YGwIVd49XPq0aGekHJ2VnDQWdIw5al6+1Ko3tpOhp3MEnuwvQT
	yCwwOtvsMLC31dlm+f14Om6k5KJskoFr3qXliGtbW66NcxIFQg3oP45W/PN3bjHFf0CV
	AoA7utxEsxJAU7wFl0RKLgdsecHPBNiskbQ9g70qzHzAoeDJjusfWPBgDcTClrpIpC1v
	Uyjg==
X-Gm-Message-State: ALoCoQnkg4BbsM25A2AFa3bMXecoqWQnftmvbJw767NKmRe4P7acrZ1lH4azNNcjEck3TGna0ooV4cVSpAY/4qyvpEE7qaRAkQ==
MIME-Version: 1.0
X-Received: by 10.31.188.83 with SMTP id m80mr2363821vkf.46.1449622978663;
	Tue, 08 Dec 2015 17:02:58 -0800 (PST)
Received: by 10.31.236.70 with HTTP; Tue, 8 Dec 2015 17:02:58 -0800 (PST)
In-Reply-To: <CABm2gDrb4ka_sYG-jRzg=gqWvtxLysbRxXCLYL+F5HMqDP0jGg@mail.gmail.com>
References: <CAAS2fgQyVs1fAEj+vqp8E2=FRnqsgs7VUKqALNBHNxRMDsHdVg@mail.gmail.com>
	<20151208110752.GA31180@amethyst.visucore.com>
	<CABm2gDpcek=u=Rpe68EMOq6M7Bji9J=s5VvoQWKRqaQDAP5kTw@mail.gmail.com>
	<CABsx9T1wga3Tandoe2mVGSKdHJytHoc9Ko7HRm2SvJXABEFk9w@mail.gmail.com>
	<CAAS2fgTGYSiAJHZq80rD4UieV8XetS=W0b45b5onWAS9gF-F7g@mail.gmail.com>
	<CABm2gDrb4ka_sYG-jRzg=gqWvtxLysbRxXCLYL+F5HMqDP0jGg@mail.gmail.com>
Date: Wed, 9 Dec 2015 02:02:58 +0100
Message-ID: <CABm2gDrBbCE16rWgRf73=4ZQmkjHKWKccu9wH-V1q4jenjV3_Q@mail.gmail.com>
From: =?UTF-8?B?Sm9yZ2UgVGltw7Nu?= <jtimon@jtimon.cc>
To: Gregory Maxwell <greg@xiph.org>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID,RCVD_IN_DNSWL_LOW,URIBL_BLACK autolearn=no version=3.3.1
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
	smtp1.linux-foundation.org
Cc: Bitcoin Dev <bitcoin-dev@lists.linuxfoundation.org>
Subject: Re: [bitcoin-dev] Capacity increases for the Bitcoin system.
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: Wed, 09 Dec 2015 01:02:59 -0000

On Wed, Dec 9, 2015 at 1:58 AM, Jorge Tim=C3=B3n <jtimon@jtimon.cc> wrote:
> struct hashRootStruct
> {
> uint256 hashMerkleRoot;
> uint256 hashWitnessesRoot;
> int32_t nHeight;
> }

Or better, for forward compatibility (we may want to include more
things apart from nHeight and hashWitnessesRoot in the future):

struct hashRootStruct
{
 uint256 hashMerkleRoot;
 uint256 hashWitnessesRoot;
 uint256 hashextendedHeader;
}

For example, we may want to chose to add an extra nonce there.