[Bitcoin-development] Self-dependency transaction question...

2014-07-13 Thread Richard Moore
Hey all, I'm working on the UTXO database for my Python implementation of bitcoind and have found a situation I did not realize was valid, but since it seems to be, had a quick question. If you look at block #546 the 4th transaction's first input uses its own block's 3rd transaction as an

Re: [Bitcoin-development] Self-dependency transaction question...

2014-07-13 Thread Aaron Voisine
I believe tx have to be ordered sequentially within a block. Also since a tx is referenced by it's hash, it's practically impossible to make a self referential tx. Aaron Voisine breadwallet.com On Sun, Jul 13, 2014 at 4:32 PM, Richard Moore m...@ricmoo.com wrote: Hey all, I'm working on the

Re: [Bitcoin-development] Self-dependency transaction question...

2014-07-13 Thread Jeff Garzik
On Sun, Jul 13, 2014 at 10:25 PM, Aaron Voisine vois...@gmail.com wrote: I believe tx have to be ordered sequentially within a block. Also since a tx is referenced by it's hash, it's practically impossible to make a self referential tx. Correct. A TX will not reference a later TX in the same