From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id 3666B280B for ; Sun, 17 Mar 2019 20:27:40 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from pectw.vm.bytemark.co.uk (pectw.vm.bytemark.co.uk [80.68.92.123]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 2F588D3 for ; Sun, 17 Mar 2019 20:27:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=pectw.net; s=dkim_test; h=Content-Type:Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-ID:Date:Subject:To:From:Sender:Reply-To:Cc: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=HwwA32JVHFLot04qqZj+S9rACxv6g2VpbTdP67uOhSY=; b=IUqAWUvl0zKeYdLHfWgJecf1Ak Ern6MjX+ywSWQD4xH1yFaOfNHvEfzu+aiVPv80mJtdtns4Wldj975zYvKC9w1JqlM6iBiE5Ajnz1U XCHp1jX7yGit8bi3MpQTHzYfp; Received: from host86-164-47-72.range86-164.btcentralplus.com ([86.164.47.72] helo=svetlana.localhost) by pectw.vm.bytemark.co.uk with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1h5cNb-0002Aw-Gi for bitcoin-dev@lists.linuxfoundation.org; Sun, 17 Mar 2019 20:27:35 +0000 From: Alistair Mann To: Bitcoin Protocol Discussion Date: Sun, 17 Mar 2019 20:27:35 +0000 Message-ID: <2800869.rK7t1eu9ik@dprfs-d5766> User-Agent: KMail/4.14.2 (Linux/4.4.0-18-generic; KDE/4.14.2; x86_64; ; ) In-Reply-To: <12139028.TiJ4v5RR02@dprfs-d5766> References: <12139028.TiJ4v5RR02@dprfs-d5766> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on smtp1.linux-foundation.org X-Mailman-Approved-At: Mon, 18 Mar 2019 17:05:21 +0000 Subject: Re: [bitcoin-dev] Pre BIP: Solving for spam and other abuse with an HTLB 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: Sun, 17 Mar 2019 20:27:40 -0000 This update collects community feedback on my HTLB Pre-BIP As reminder, I'm suggesting a BIP for a hitherto poorly supported class of transactions: "Good Behaviour Bonds". 1. On this mailing list: ZmnSCPxj notes HTLB over HTLC can improve privacy by obscuring whether a transaction is, in fact, an HTLB or an HTLC. This requires that the 'redundant' and [HASHOP] be not standardised. I intend to follow that advice. 2. On Reddit at http://tinyurl.com/yxdketdo: /u/almkglor nudges me to consider if Bob could immediately fail the HTLB to Alice's benefit. I believe he could with something like this script: OP_IF OP_DUP OP_HASH160 OP_ELSE OP_IF [HASHOP] OP_EQUALVERIFY OP_DUP OP_HASH160 OP_ELSE [TIMEOUTOP] OP_DROP OP_DUP OP_HASH160 OP_ENDIF OP_ENDIF OP_EQUALVERIFY OP_CHECKSIG The second OP_IF is new and would mean Bob can give Alice a [HASHOP] and that allows her to immediately redeem the funds. I will be modifying the proof-of-concept code to investigate and prove this change. At https://twitter.com/ChristopherA/status/1105153022206722048 3. @mappum observes the HTLB idea is "like proof-of-stake". Such a succint comparison of HTLB with existing work is useful to me even though HTLB has nothing to do with mining and PoS consensus. I'll be investigating if the PoS penalty system has more that can inform this BIP. I'm grateful to the above for their contributions, and also to the circa 60+ non-bot visitors to the berewic.com site: quiet interest is positive. Assuming no other major changes my next update will be a formal write-up for the BIP. Cheers, -- Alistair Mann