From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <1240902@gmail.com> Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id 6CFF0F8A for ; Sun, 30 Aug 2015 02:02:02 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.7.6 Received: from mail-ig0-f174.google.com (mail-ig0-f174.google.com [209.85.213.174]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 099EF179 for ; Sun, 30 Aug 2015 02:02:02 +0000 (UTC) Received: by igui7 with SMTP id i7so37608663igu.0 for ; Sat, 29 Aug 2015 19:02:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type:content-transfer-encoding; bh=/PmVtmxTLBns9jt9Q/SMR5mFt1Es4tqYQBovuAWJEk0=; b=cRUeA+k9IpJWyDRRK2NA6jYsLx6Qo+6E8QmQcPx/Vx+JiqLlj64PW7rHJkfx/QHhJy sehBvAXj1S4xcztiOoEA/++xfb23eR1PgJ77RlFaShDIY6KikZAQ8eIvesMt++2exTM6 6TFcs8HlmE2X8BvVOMq+Ou18xxz0S6UzfU6SCa4cmdTvJw1+ef0/lknUqBYFfDFu4oR3 1P+qscpP0zk5DY/3LRmjsIrNHkhItk+7Za1b2zqtESGLsZ6W+LgvzwlZG/WnoatDO1Xu TUskkq11Pmr9I742UmJaN+AM9mZWq9AU4tRrm/qvvgQmoprTh2pmntl72z+3xFWwAvBM wvUg== MIME-Version: 1.0 X-Received: by 10.50.57.52 with SMTP id f20mt11069237igq.54.1440900121594; Sat, 29 Aug 2015 19:02:01 -0700 (PDT) Received: by 10.107.43.68 with HTTP; Sat, 29 Aug 2015 19:02:01 -0700 (PDT) In-Reply-To: References: <2509151.XgrrNGsCxR@crushinator> Date: Sun, 30 Aug 2015 10:02:01 +0800 Message-ID: From: Chun Wang <1240902@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM, MALFORMED_FREEMAIL,MISSING_HEADERS,RCVD_IN_DNSWL_LOW 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 Subject: Re: [bitcoin-dev] RFC - BIP: URI scheme for Blockchain exploration 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: Sun, 30 Aug 2015 02:02:02 -0000 On Sun, Aug 30, 2015 at 4:10 AM, Jorge Tim=C3=B3n wrote: /tx/3b95a766d7a99b87188d6875c8484cb2b310b78459b7816d4dfc3f0f7e04281a?chain= =3D000000000933ea01ad0ee984209779baaec3ced90fa3f408719526f8d77f4943 > > (a tx in testnet) > > /block/00000000000000000b0d504d142ac8bdd1a2721d19f423a8146d0d6de882167b?c= hain=3D000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f Some altcoins (LTC and FTC for example) have the same genesis block hash. On Sun, Aug 30, 2015 at 4:10 AM, Jorge Tim=C3=B3n wrote: > On Sat, Aug 29, 2015 at 9:01 PM, Matt Whitlock via bitcoin-dev > wrote: >> That's still not right, since "mainnet" and "testnet" are not host names= . >> >> You'd have to do something like: >> >> blockchain:?network=3Dtestnet&txid=3D3b95a766d7a99b87188d6875c8484cb2b31= 0b78459b7816d4dfc3f0f7e04281a > > I would really prefer chain=3D over network=3D > By chainID I mean the hash of the genesis block, see > https://github.com/jtimon/bitcoin/commit/3191d5e8e75687a27cf466b7a4c70bdc= 04809d39 > I'm completely fine with doing that using an optional parameter (for > backwards compatibility). > > I agree with Andreas Schildbach that respecting the most commonly used > schemes is desirable. > So my preference would be: > > /tx/3b95a766d7a99b87188d6875c8484cb2b310b78459b7816d4dfc3f0f7e04281a?chai= n=3D000000000933ea01ad0ee984209779baaec3ced90fa3f408719526f8d77f4943 > > (a tx in testnet) > > /block/00000000000000000b0d504d142ac8bdd1a2721d19f423a8146d0d6de882167b?c= hain=3D000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f > > (a block in bitcoin's mainnet) > _______________________________________________ > bitcoin-dev mailing list > bitcoin-dev@lists.linuxfoundation.org > https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev