From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sog-mx-3.v43.ch3.sourceforge.com ([172.29.43.193] helo=mx.sourceforge.net) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1WdmVr-0004dR-9P for bitcoin-development@lists.sourceforge.net; Fri, 25 Apr 2014 20:14:23 +0000 Received-SPF: pass (sog-mx-3.v43.ch3.sourceforge.com: domain of petertodd.org designates 62.13.149.81 as permitted sender) client-ip=62.13.149.81; envelope-from=pete@petertodd.org; helo=outmail149081.authsmtp.net; Received: from outmail149081.authsmtp.net ([62.13.149.81]) by sog-mx-3.v43.ch3.sourceforge.com with esmtp (Exim 4.76) id 1WdmVq-0005fD-4u for bitcoin-development@lists.sourceforge.net; Fri, 25 Apr 2014 20:14:23 +0000 Received: from mail-c237.authsmtp.com (mail-c237.authsmtp.com [62.13.128.237]) by punt18.authsmtp.com (8.14.2/8.14.2/) with ESMTP id s3PKEFms081529; Fri, 25 Apr 2014 21:14:15 +0100 (BST) Received: from savin (76-10-178-109.dsl.teksavvy.com [76.10.178.109]) (authenticated bits=128) by mail.authsmtp.com (8.14.2/8.14.2/) with ESMTP id s3PKEAEm060768 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Fri, 25 Apr 2014 21:14:13 +0100 (BST) Date: Fri, 25 Apr 2014 16:14:03 -0400 From: Peter Todd To: Alex Mizrahi Message-ID: <20140425201403.GA8994@savin> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="jI8keyz6grp/JLjh" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Server-Quench: 2b77431c-ccb6-11e3-94fa-002590a135d3 X-AuthReport-Spam: If SPAM / abuse - report it at: http://www.authsmtp.com/abuse X-AuthRoute: OCd2Yg0TA1ZNQRgX IjsJECJaVQIpKltL GxAVKBZePFsRUQkR aAdMdAcUGUUGAgsB AmIbWVVeUVl7WGA7 bAxPbAVDY01GQQRq WVdMSlVNFUsrAnx6 c29rDxl0dwJAcDB4 bU5hEHIJW0N+dkcu Xx0HR2sbZGY1a30W VBYJagNUcgZDfk5E aVUrVz1vNG8XDQg5 AwQ0PjZ0MThBJSBS WgQAK04nCWwqJnZ5 DzALBjVnOUoORCg/ ZyA8I1gHFU0NM0I0 Wf8F X-Authentic-SMTP: 61633532353630.1024:706 X-AuthFastPath: 0 (Was 255) X-AuthSMTP-Origin: 76.10.178.109/587 X-AuthVirus-Status: No virus detected - but ensure you scan with your own anti-virus system. X-Spam-Score: -1.5 (-) 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 SPF_PASS SPF: sender matches SPF record X-Headers-End: 1WdmVq-0005fD-4u Cc: Bitcoin Development Subject: Re: [Bitcoin-development] BIP - Hash Locked Transaction 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, 25 Apr 2014 20:14:23 -0000 --jI8keyz6grp/JLjh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 25, 2014 at 11:06:37PM +0300, Alex Mizrahi wrote: > It is also useful for betting: an oracle will associate a hash with each > possible outcome, and when outcome is know, it will reveal a corresponding > preimage which will unlock the transaction. >=20 > This approach has several advantages over approach with multi-sig script: > 1. oracle doesn't need to be involved in each specific transaction > 2. resolution is same for everyone who makes a bet on a specific event > outcome > 3. no need for two-way communication > 4. no need for a special protocol: oracle might publish unlocking preimage > on a web page, and participants will manually enter it into their clients Actually I did some work looking at this problem a few months ago and other than somewhat larger transactions it looks like implementing oracles by having the oracle reveal ECC secret keys works better in every case. Notably the oracle can prove they really do have the key by signing a challenge message, and with some ECC math the transaction can include keys that have been derived from the oracle keys, blinding what purposes the oracle is being used for from the oracle itself. --=20 'peter'[:-1]@petertodd.org 0000000000000000852baa93672889c1cc0ebe0b886b153410529d6bf404b835 --jI8keyz6grp/JLjh Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (GNU/Linux) iQGrBAEBCACVBQJTWsIGXhSAAAAAABUAQGJsb2NraGFzaEBiaXRjb2luLm9yZzAw MDAwMDAwMDAwMDAwMDA4NTJiYWE5MzY3Mjg4OWMxY2MwZWJlMGI4ODZiMTUzNDEw NTI5ZDZiZjQwNGI4MzUvFIAAAAAAFQARcGthLWFkZHJlc3NAZ251cGcub3JncGV0 ZUBwZXRlcnRvZC5vcmcACgkQJIFAPaXwkfs6hwgAkWWf6gMHMLoFIrxajgabnmGr ODxw1XXqf4HMaoiPUGts/v/58SZYoIjlqaqcg74POz03kUI9eA3JKnvYr0yoRC/v Lp9TwzJIwSYtPfQOwtBqtXW5LzM2xS1q6yBtgScYrbU4qnqvboFjjkg3UH+GAGDI Yai/X0T2fLnu4WULRy/8xghAnuOyxrC8atwmo3TIq1p2dugRwvOfu3ipOl6NW34u 1v+CdwIrZDcL98mOkAiPreciH4oRTCKZ0ZTof/E9oU1416Tda79zq2M6H1mJLSNc 82QQ9yljQ95dpYXgVDiesiqsFGFGnfzOs1EgrN8nY4KQEgjjXXBh27HSmYTkxw== =zNXM -----END PGP SIGNATURE----- --jI8keyz6grp/JLjh--