Received: from sog-mx-2.v43.ch3.sourceforge.com ([172.29.43.192]
	helo=mx.sourceforge.net)
	by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76)
	(envelope-from <elombrozo@gmail.com>) id 1YBXkj-0007N8-Qb
	for bitcoin-development@lists.sourceforge.net;
	Wed, 14 Jan 2015 23:53:33 +0000
Received-SPF: pass (sog-mx-2.v43.ch3.sourceforge.com: domain of gmail.com
	designates 209.85.217.181 as permitted sender)
	client-ip=209.85.217.181; envelope-from=elombrozo@gmail.com;
	helo=mail-lb0-f181.google.com; 
Received: from mail-lb0-f181.google.com ([209.85.217.181])
	by sog-mx-2.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128)
	(Exim 4.76) id 1YBXki-0008OI-KA
	for bitcoin-development@lists.sourceforge.net;
	Wed, 14 Jan 2015 23:53:33 +0000
Received: by mail-lb0-f181.google.com with SMTP id u14so1160559lbd.12
	for <bitcoin-development@lists.sourceforge.net>;
	Wed, 14 Jan 2015 15:53:26 -0800 (PST)
MIME-Version: 1.0
X-Received: by 10.112.142.201 with SMTP id ry9mr6885793lbb.4.1421279606205;
	Wed, 14 Jan 2015 15:53:26 -0800 (PST)
Received: by 10.112.61.106 with HTTP; Wed, 14 Jan 2015 15:53:26 -0800 (PST)
Received: by 10.112.61.106 with HTTP; Wed, 14 Jan 2015 15:53:26 -0800 (PST)
In-Reply-To: <6E575287-887C-4628-834C-282B67AFAA94@eeqj.com>
References: <CABETNRtquBWEZZ=jOcWojcgMTpjU5nWP9p74DArLxOXqqQT7og@mail.gmail.com>
	<1421257150.8969.4.camel@niftybox.net>
	<6E575287-887C-4628-834C-282B67AFAA94@eeqj.com>
Date: Wed, 14 Jan 2015 15:53:26 -0800
Message-ID: <CABr1YTdqUxBs3+dMmtZ5dQvxP8MBFgttCdJ9cuvy10LdwAKaYQ@mail.gmail.com>
From: Eric Lombrozo <elombrozo@gmail.com>
To: Jeffrey Paul <jp@eeqj.com>
Content-Type: multipart/alternative; boundary=089e011836aa0df231050ca5720b
X-Spam-Score: -0.6 (/)
X-Spam-Report: Spam Filtering performed by mx.sourceforge.net.
	See http://spamassassin.org/tag/ for more details.
	-1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for
	sender-domain
	0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider
	(elombrozo[at]gmail.com)
	-0.0 SPF_PASS               SPF: sender matches SPF record
	1.0 HTML_MESSAGE           BODY: HTML included in message
	-0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from
	author's domain
	0.1 DKIM_SIGNED            Message has a DKIM or DK signature,
	not necessarily valid
	-0.1 DKIM_VALID Message has at least one valid DKIM or DK signature
X-Headers-End: 1YBXki-0008OI-KA
Cc: Bitcoin Dev <bitcoin-development@lists.sourceforge.net>,
	Ruben de Vries <ruben@blocktrail.com>
Subject: Re: [Bitcoin-development] convention/standard for sorting public
 keys for p2sh multisig transactions
X-BeenThere: bitcoin-development@lists.sourceforge.net
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: <bitcoin-development.lists.sourceforge.net>
List-Unsubscribe: <https://lists.sourceforge.net/lists/listinfo/bitcoin-development>,
	<mailto:bitcoin-development-request@lists.sourceforge.net?subject=unsubscribe>
List-Archive: <http://sourceforge.net/mailarchive/forum.php?forum_name=bitcoin-development>
List-Post: <mailto:bitcoin-development@lists.sourceforge.net>
List-Help: <mailto:bitcoin-development-request@lists.sourceforge.net?subject=help>
List-Subscribe: <https://lists.sourceforge.net/lists/listinfo/bitcoin-development>,
	<mailto:bitcoin-development-request@lists.sourceforge.net?subject=subscribe>
X-List-Received-Date: Wed, 14 Jan 2015 23:53:33 -0000

--089e011836aa0df231050ca5720b
Content-Type: text/plain; charset=UTF-8

I would highly recommend NOT using Base58 for anything except stuff that is
to be copy/pasted by the enduser.

Internally, pubkeys are DER-encoded integers.

- Eric
On Jan 14, 2015 2:54 PM, "Jeffrey Paul" <jp@eeqj.com> wrote:

>
> > On 20150114, at 09:39, devrandom <c1.sf-bitcoin@niftybox.net> wrote:
> >
> > At CryptoCorp we recommend to our customers that they sort
> > lexicographically by the public key bytes of the leaf public keys.  i.e.
> > the same as BitPay.
>
> To clarify: the raw bytes of the public key itself, not the ascii base58
> representation of the pubkey hash - right?
>
> -jp
>
> --
> Jeffrey Paul                                                      EEQJ
> jp@eeqj.com                                           https://eeqj.com
> +1-800-403-1126 (America)                  +1-312-361-0355 (Worldwide)
> 5539 AD00 DE4C 42F3 AFE1                      1575 0524 43F4 DF2A 55C2
>
>
>
> ------------------------------------------------------------------------------
> New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
> GigeNET is offering a free month of service with a new server in Ashburn.
> Choose from 2 high performing configs, both with 100TB of bandwidth.
> Higher redundancy.Lower latency.Increased capacity.Completely compliant.
> http://p.sf.net/sfu/gigenet
> _______________________________________________
> Bitcoin-development mailing list
> Bitcoin-development@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bitcoin-development
>

--089e011836aa0df231050ca5720b
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr">I would highly recommend NOT using Base58 for anything excep=
t stuff that is to be copy/pasted by the enduser.</p>
<p dir=3D"ltr">Internally, pubkeys are DER-encoded integers.</p>
<p dir=3D"ltr">- Eric</p>
<div class=3D"gmail_quote">On Jan 14, 2015 2:54 PM, &quot;Jeffrey Paul&quot=
; &lt;<a href=3D"mailto:jp@eeqj.com">jp@eeqj.com</a>&gt; wrote:<br type=3D"=
attribution"><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;b=
order-left:1px #ccc solid;padding-left:1ex"><br>
&gt; On 20150114, at 09:39, devrandom &lt;<a href=3D"mailto:c1.sf-bitcoin@n=
iftybox.net">c1.sf-bitcoin@niftybox.net</a>&gt; wrote:<br>
&gt;<br>
&gt; At CryptoCorp we recommend to our customers that they sort<br>
&gt; lexicographically by the public key bytes of the leaf public keys.=C2=
=A0 i.e.<br>
&gt; the same as BitPay.<br>
<br>
To clarify: the raw bytes of the public key itself, not the ascii base58 re=
presentation of the pubkey hash - right?<br>
<br>
-jp<br>
<br>
--<br>
Jeffrey Paul=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 EEQJ<br>
<a href=3D"mailto:jp@eeqj.com">jp@eeqj.com</a>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<a href=3D"https://eeqj=
.com" target=3D"_blank">https://eeqj.com</a><br>
<a href=3D"tel:%2B1-800-403-1126" value=3D"+18004031126">+1-800-403-1126</a=
>=C2=A0(America)=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 <a href=3D"tel:%2B1-312-361-0355" value=3D"+13123610355">+1-312-361-035=
5</a> (Worldwide)<br>
5539 AD00 DE4C 42F3 AFE1=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 1575 0524 43F4 DF2A 55C2<br>
<br>
<br>
---------------------------------------------------------------------------=
---<br>
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.<br>
GigeNET is offering a free month of service with a new server in Ashburn.<b=
r>
Choose from 2 high performing configs, both with 100TB of bandwidth.<br>
Higher redundancy.Lower latency.Increased capacity.Completely compliant.<br=
>
<a href=3D"http://p.sf.net/sfu/gigenet" target=3D"_blank">http://p.sf.net/s=
fu/gigenet</a><br>
_______________________________________________<br>
Bitcoin-development mailing list<br>
<a href=3D"mailto:Bitcoin-development@lists.sourceforge.net">Bitcoin-develo=
pment@lists.sourceforge.net</a><br>
<a href=3D"https://lists.sourceforge.net/lists/listinfo/bitcoin-development=
" target=3D"_blank">https://lists.sourceforge.net/lists/listinfo/bitcoin-de=
velopment</a><br>
</blockquote></div>

--089e011836aa0df231050ca5720b--