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. > > 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. -- 'peter'[:-1]@petertodd.org 0000000000000000852baa93672889c1cc0ebe0b886b153410529d6bf404b835