summaryrefslogtreecommitdiff
path: root/27/c57cfa0b49176b8f440642fa85b0ea89c477f1
blob: ce0d87c829b62752cc0e78556f59ddfc1132b2ee (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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
Return-Path: <roconnor@blockstream.io>
Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org
	[172.17.192.35])
	by mail.linuxfoundation.org (Postfix) with ESMTPS id 0A98140C
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Mon, 22 May 2017 22:32:41 +0000 (UTC)
X-Greylist: whitelisted by SQLgrey-1.7.6
Received: from mail-ua0-f170.google.com (mail-ua0-f170.google.com
	[209.85.217.170])
	by smtp1.linuxfoundation.org (Postfix) with ESMTPS id E78901A1
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Mon, 22 May 2017 22:32:39 +0000 (UTC)
Received: by mail-ua0-f170.google.com with SMTP id y4so61789034uay.2
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Mon, 22 May 2017 15:32:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=blockstream-io.20150623.gappssmtp.com; s=20150623;
	h=mime-version:in-reply-to:references:from:date:message-id:subject:to
	:cc; bh=+xfCkEqRsQHoX1hNe5K7yRW6KQH9B5HJxwHR7Zo2G0w=;
	b=X357ml861Zj/tnGWxK6UhR/oxYPcHu9abiX9Fy+2g4xTUI90OnZnimaWRapxcwpwUX
	RfxLg/iMzhhC3ft3w8BgEDPCQ9GU36EJIvBEpme/QN8yTfi3GUay7z4roDa4xrjOwT2Z
	wnS5/Aa6FgQ2ddmfcm2uB6k2mSOFjsbgVfIqAbM6qMizDYeRmsECUQHkWses1KFr8Sse
	uEaz8PueyW15xzNwoLPBym+tJavL92L/xruGiOEfFRBRDynbDPMB+OHUXlzdnFUIw/7d
	8l74SaEPAaU2pY864Se3jp7OQK0ZlA962zaPfX99mlohewxQuSLq5psOZQJUDvr/+0NY
	dDKQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20161025;
	h=x-gm-message-state:mime-version:in-reply-to:references:from:date
	:message-id:subject:to:cc;
	bh=+xfCkEqRsQHoX1hNe5K7yRW6KQH9B5HJxwHR7Zo2G0w=;
	b=qBHy+soPof4WIonwybHFj7srRlbEJl2g3USNUkK9r+NQNl+3b6JxCtG+kjSQeE35HH
	ViKQwW0t13McNgRdfeCzaZPeyQrrJejRFXPMgOWTnMVHVXVZ/dCV7m+cL98iMa4B461Q
	kA5rd+Ds/mpvHjaWGlGl+1WWkzaSEbmURMNbueQTz62ZJvEvMNB3cOpMNOfaezCoD4IQ
	/rATAZ8XT1+Jy0iBiS9rVg72c71yKklwayk49cMyF2nk4MSUDBv3jkMVnoyBpOqIukcZ
	ny2dz2xJqzw8WEKbJVYdggLz/ivtQbHgT6Kx09dS0aMjnau8RkXfm/HE4c3EqACcMMJp
	salA==
X-Gm-Message-State: AODbwcB51a9u039WWNW2upnP2IyKLIttx3nfsqZFZ7bzMH6wotUlLktw
	+xnmtnqXrxGiBuu3Ua91FdNsYJwnssZy
X-Received: by 10.159.41.130 with SMTP id s2mr12807270uas.44.1495492358951;
	Mon, 22 May 2017 15:32:38 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.176.95.90 with HTTP; Mon, 22 May 2017 15:32:38 -0700 (PDT)
Received: by 10.176.95.90 with HTTP; Mon, 22 May 2017 15:32:38 -0700 (PDT)
In-Reply-To: <20170522140548.GA17732@fedora-23-dvm>
References: <CAMZUoK=f3hXHkqJBDfiLGSrgXi_ppgyH6+XWD9W54EYFWLm1+Q@mail.gmail.com>
	<20170522140548.GA17732@fedora-23-dvm>
From: "Russell O'Connor" <roconnor@blockstream.io>
Date: Mon, 22 May 2017 18:32:38 -0400
Message-ID: <CAMZUoKk1fxOLgBfuxqXpxG-M5ZCPHZBb62_LZF7H4syQ-L7tCg@mail.gmail.com>
To: Peter Todd <pete@petertodd.org>
Content-Type: multipart/alternative; boundary="001a114c1e92d1ec000550247204"
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID, HTML_MESSAGE, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
	smtp1.linux-foundation.org
Cc: Bitcoin Protocol Discussion <bitcoin-dev@lists.linuxfoundation.org>
Subject: Re: [bitcoin-dev] A Method for Computing Merkle Roots of Annotated
 Binary Trees
X-BeenThere: bitcoin-dev@lists.linuxfoundation.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Bitcoin Protocol 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: Mon, 22 May 2017 22:32:41 -0000

--001a114c1e92d1ec000550247204
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On May 22, 2017 23:05, "Peter Todd" <pete@petertodd.org> wrote:

On Mon, May 22, 2017 at 03:05:49AM -0400, Russell O'Connor via bitcoin-dev
wrote:
>     MerkleRoot :=3D SHA256(SHA256(LeftRoot =E2=8B=85 RightRoot))
>     sha256Compress : Word256 =C3=97 Word512 -> Word256

To be clear, what math operations do you mean by "=E2=8B=85" and "=C3=97"?


By "=E2=8B=85", I usually mean concatenation (though I also use it for func=
tion
composition in one instance).   By "=C3=97", I mean the Cartesian product.

--001a114c1e92d1ec000550247204
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto"><div><br><div class=3D"gmail_extra"><br><div class=3D"gma=
il_quote">On May 22, 2017 23:05, &quot;Peter Todd&quot; &lt;<a href=3D"mail=
to:pete@petertodd.org">pete@petertodd.org</a>&gt; wrote:<br type=3D"attribu=
tion"><blockquote class=3D"quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">On Mon, May 22, 2017 at 03:05:49AM -0400, Ru=
ssell O&#39;Connor via bitcoin-dev wrote:<br>
&gt;=C2=A0 =C2=A0 =C2=A0MerkleRoot :=3D SHA256(SHA256(LeftRoot =E2=8B=85 Ri=
ghtRoot))<br>
<div class=3D"quoted-text">&gt;=C2=A0 =C2=A0 =C2=A0sha256Compress : Word256=
 =C3=97 Word512 -&gt; Word256<br>
<br>
</div>To be clear, what math operations do you mean by &quot;=E2=8B=85&quot=
; and &quot;=C3=97&quot;?</blockquote></div></div></div><div dir=3D"auto"><=
br></div><div dir=3D"auto">By=C2=A0<span style=3D"font-family:sans-serif">&=
quot;=E2=8B=85&quot;, I usually mean concatenation (though I also use it fo=
r function composition in one instance). =C2=A0 By=C2=A0</span><span style=
=3D"font-family:sans-serif">&quot;=C3=97&quot;, I mean the Cartesian produc=
t.</span></div><div dir=3D"auto"></div><div dir=3D"auto"></div><div dir=3D"=
auto"><div class=3D"gmail_extra"><div class=3D"gmail_quote"><blockquote cla=
ss=3D"quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-=
left:1ex"><font color=3D"#888888">
</font></blockquote></div><br></div></div></div>

--001a114c1e92d1ec000550247204--