Received: from sog-mx-4.v43.ch3.sourceforge.com ([172.29.43.194] helo=mx.sourceforge.net) by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1YqjfI-0006r0-6W for bitcoin-development@lists.sourceforge.net; Fri, 08 May 2015 14:54:12 +0000 Received-SPF: pass (sog-mx-4.v43.ch3.sourceforge.com: domain of gmail.com designates 209.85.214.173 as permitted sender) client-ip=209.85.214.173; envelope-from=benjamin.l.cordes@gmail.com; helo=mail-ob0-f173.google.com; Received: from mail-ob0-f173.google.com ([209.85.214.173]) by sog-mx-4.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1YqjfH-0007F5-8m for bitcoin-development@lists.sourceforge.net; Fri, 08 May 2015 14:54:12 +0000 Received: by obcus9 with SMTP id us9so27446580obc.2 for ; Fri, 08 May 2015 07:54:05 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.202.224.11 with SMTP id x11mr3209482oig.33.1431096845862; Fri, 08 May 2015 07:54:05 -0700 (PDT) Received: by 10.202.214.208 with HTTP; Fri, 8 May 2015 07:54:05 -0700 (PDT) In-Reply-To: References: Date: Fri, 8 May 2015 16:54:05 +0200 Message-ID: From: Benjamin To: Tier Nolan Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -1.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 (benjamin.l.cordes[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -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: 1YqjfH-0007F5-8m Cc: Bitcoin Dev Subject: Re: [Bitcoin-development] Assurance contracts to fund the network with OP_CHECKLOCKTIMEVERIFY X-BeenThere: bitcoin-development@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 May 2015 14:54:12 -0000 >> Imagine a group of 1000 people who want to make a donation of 50BTC to something. They all way that they will donate 0.05BTC, but only if everyone else donates. It still isn't perfect. Everyone has an incentive to wait until the last minute to pledge. << AC does not solve the problem. AC works if people gain directly from the payment. Imagine a group of people paying tax - nobody gains from paying it. You have to actually need to enforce negative outcomes to enable it (jail for tax fraud). Hence in Bitcoin we have the enforced subsidy. AFAIK the problem of how to incentivize transaction verification without subsidy is unsolved. Who determines a fair price? People around here should study more economics, game theory, etc. instead of debating low level encodings all the time. On Fri, May 8, 2015 at 4:15 PM, Tier Nolan wrote: > Just to clarify the process. > > Pledgers create transactions using the following template and broadcast > them. The p2p protocol could be modified to allow this, or it could be a > separate system. > > Input: 0.01 BTC > Signed with SIGHASH_ANYONE_CAN_PAY > > Output 50BTC > Paid to: <1 million> OP_CHECKLOCKTIMEVERIFY OP_TRUE > > Output 0.01BTC > Paid to OP_TRUE > > This transaction is invalid, since the inputs don't pay for the output. The > advantage of the sighash "anyone can pay" field is that other people can add > additional inputs without making the signature invalid. Normally, any > change to the transaction would make a signature invalid. > > Eventually, enough other users have added pledges and a valid transaction > can be broadcast. > > Input: 0.01 BTC > Signed with SIGHASH_ANYONE_CAN_PAY > > Input: 1.2 BTC > Signed with SIGHASH_ANYONE_CAN_PAY > > Input: 5 BTC > Signed with SIGHASH_ANYONE_CAN_PAY > > > > Input: 1.3 BTC > Signed with SIGHASH_ANYONE_CAN_PAY > > Output 50BTC > Paid to: <1 million> OP_CHECKLOCKTIMEVERIFY OP_TRUE > > Output 0.01BTC > Paid to OP_TRUE > > This transaction can be submitted to the main network. Once it is included > into the blockchain, it is locked in. > > In this example, it might be included in block 999,500. The 0.01BTC output > (and any excess over 50BTC) can be collected by the block 999,500 miner. > > The OP_CHECKLOCKTIMEVERIFY opcode means that the 50BTC output cannot be > spent until block 1 million. Once block 1 million arrives, the output is > completely unprotected. This means that the miner who mines block 1 million > can simply take it, by including his own transaction that sends it to an > address he controls. It would be irrational to include somebody else's > transaction which spent it. > > If by block 999,900, the transaction hasn't been completed (due to not > enough pledgers), the pledgers can spend the coin(s) that they were going to > use for their pledge. This invalidates those inputs and effectively > withdraws from the pledge. > > On Fri, May 8, 2015 at 11:01 AM, Benjamin > wrote: >> >> 2. "A merchant wants to cause block number 1 million to effectively >> have a minting fee of 50BTC." - why should he do that? That's the >> entire tragedy of the commons problem, no? > > > No, the pledger is saying that he will only pay 0.01BTC if the miner gets a > reward of 50BTC. > > Imagine a group of 1000 people who want to make a donation of 50BTC to > something. They all way that they will donate 0.05BTC, but only if everyone > else donates. > > It still isn't perfect. Everyone has an incentive to wait until the last > minute to pledge.