[Bitcoin-development] Atomic coin swapping?

2012-09-22 Thread Jeff Garzik
Forum URL: https://bitcointalk.org/index.php?topic=112007.0 gmaxwell was talking about colored coins[1] in IRC recently. They are potentially interesting in the context of distributed bonds[2], which I am currently pursuing with pybond[3]. Here is the problem I am trying to solve, does the

Re: [Bitcoin-development] Atomic coin swapping?

2012-09-22 Thread Jorge Timón
I'm very interested in this. I was expecting transitive/multi-hop transactions (Ripple) with colored coins, and I don't understand why is not possible. From https://en.bitcoin.it/wiki/Contracts --- SIGHASH_ALL: This is the default. It indicates that everything about the transaction is signed,

Re: [Bitcoin-development] Atomic coin swapping?

2012-09-22 Thread Mike Hearn
Why Signing the input scripts as well would obviously make it impossible to construct a transaction? As it states in the source code, signatures cannot sign themselves. If scriptSigs were included in the data that is being signed, the act of inserting the newly calculated signature for one

Re: [Bitcoin-development] Atomic coin swapping?

2012-09-22 Thread Jeff Garzik
On Sat, Sep 22, 2012 at 5:10 AM, Jorge Timón timon.elvi...@gmail.com wrote: I'm very interested in this. I was expecting transitive/multi-hop transactions (Ripple) with colored coins, and I don't understand why is not possible. From https://en.bitcoin.it/wiki/Contracts --- SIGHASH_ALL: