Return-Path: Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id A676ABE6 for ; Wed, 15 Aug 2018 20:33:45 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.7.6 Received: from mail-oi0-f46.google.com (mail-oi0-f46.google.com [209.85.218.46]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 15942786 for ; Wed, 15 Aug 2018 20:33:45 +0000 (UTC) Received: by mail-oi0-f46.google.com with SMTP id b16-v6so4186765oic.9 for ; Wed, 15 Aug 2018 13:33:44 -0700 (PDT) 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:from:date:message-id:subject:to :content-transfer-encoding; bh=nO/3E7LY7p7PPu/tBFm6kkluzxgQEP+uI8VMOBVOgX0=; b=AyV5s1jQNI3waIAXU/ah63T5P4UQwDvEHKCkMQOSpAaAybCzgSDYnh0RU1KR6MYQ1u bFhKa8ZukoOzHWPwu8NXsUqpmClKtnh5UPW52/trA7YKaEkA/A1OhGdTarMlkD/5Q14W QB9XMYDYlkihiH32v86i4EvTCZPXfZaBntEhJUhsJMHQaoOyFUPRLyU05kjwB74MYCUr /NTEoM3ARQO4NRF9tCnEM57DMzP07WhxtHP3a5RYhrrDzof1PQXhF2g7Y+xNHfczopRF sFvzp9WrfW2lLNINH/S+/4I0BYLhPxY06txtEQzpPrZU7a5Fzvk0d4buTsgGBztQ5HLO 3MMg== 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:content-transfer-encoding; bh=nO/3E7LY7p7PPu/tBFm6kkluzxgQEP+uI8VMOBVOgX0=; b=IsHaw6LdeUrlE9yJlL5hCargO30eAhE53gSsHgAPcQ9wBiCACwMVU3TfnsAagwI8nW /T3hW61JNLYp09BoJUcxZp6cPIDwexu1xyb6X3sb95cgmUDT5Z1ATsu2x5R/RD51VVfU diUn/qLhQJSTpLKTwyvgnH04OU8g3pYm36gOq+dAc5gN6En3b7P0EcA/pJOopUAy6k74 PKCNKnUJtFOU6XzuPXBmHRDyxmUK240yG1Y5gm7cDVeYE6DOor9h7tmN4xblME/Rh2v/ YrfZH8yyQtRe194m0AelqatFbBqE955DknSDGpORr1RsTm1MeL4ZKfuhtq5VfTa7zuUo bjIA== X-Gm-Message-State: AOUpUlGLElPXwUF6HThXAMvHKbuvtHSGNE+Qoc8mCSTIEtGSohnMlmEl o/eR3jgOK3Omvv46TYWagvqDgcdH0uMM6f4fJxOCVSury98= X-Google-Smtp-Source: AA+uWPz6Q3Fy45CMq6G5E8gy2/njHwLYENo0nXHQI9q5L4TeisWyGrKIVs64UiSiLzhFJQCUfBYFHODGV4pG39reWbY= X-Received: by 2002:aca:bec2:: with SMTP id o185-v6mr29832069oif.22.1534365224318; Wed, 15 Aug 2018 13:33:44 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a4a:d1b3:0:0:0:0:0 with HTTP; Wed, 15 Aug 2018 13:33:43 -0700 (PDT) In-Reply-To: References: From: =?UTF-8?B?Sm9yZ2UgVGltw7Nu?= Date: Wed, 15 Aug 2018 22:33:43 +0200 Message-ID: To: Christopher Allen , Bitcoin Protocol Discussion 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, FROM_EXCESS_BASE64, RCVD_IN_DNSWL_NONE autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on smtp1.linux-foundation.org Subject: Re: [bitcoin-dev] Claiming an OP_RETURN Prefix X-BeenThere: bitcoin-dev@lists.linuxfoundation.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Bitcoin Protocol Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Aug 2018 20:33:45 -0000 op_return outputs can be pruned because they are not spendable. putting a hash on in the witness script data won't make things better (it would actually make them worse) and it definitely doesn't help "block size bloat". I think I'm missing some context, but if you're using op_return purely for timestamping I would recommend using pay 2 contract instead. On Tue, Aug 14, 2018 at 8:34 PM, Christopher Allen via bitcoin-dev wrote: > On August 5, 2018 9:11:26 PM UTC, Lautaro Dragan via bitcoin-dev > wrote: >>Should we actually be using the BIP process to claim a prefix? > > I recommend against using an op_return prefix, as they allow for transact= ion > censorship. > > In fact, in our case, where we use an IPFS hash in an op_return, we remov= e > the IPFS multihash prefix information to post a =E2=80=9Cbare=E2=80=9D SH= A256 hash to look > like many other hashes being posted in op_returns, to minimize any abilit= y > for a miner to identify our transaction. The more projects that do this t= he > better =E2=80=94 a form of herd immunity. > > Longer term I=E2=80=99m looking for more responsible ways to publish this= hash, for > instance have the hash be in the witness script data, so that it can be > easily purged from nodes that do not wish to preserve it and prevent bloc= k > size bloat. However, to do so everyone has to do it the same way, ideally > have it look like any other transaction. I=E2=80=99ve not quite seen a so= lid > proposal for best practices here. > > =E2=80=94 Christopher Allen > > _______________________________________________ > bitcoin-dev mailing list > bitcoin-dev@lists.linuxfoundation.org > https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev >