Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: FabioCarpi on January 10, 2015, 10:58:26 PM



Title: orphan blocks
Post by: FabioCarpi on January 10, 2015, 10:58:26 PM
I has thinking...
The orphan blocks stay in everyone's machine?
I read, after 100 blocks, the branch is abandoned...
The biggest branch wins.
And all the transactions in the abandoned branch, need to  reconfirmed in the winner branch?


Title: Re: orphan blocks
Post by: hexafraction on January 11, 2015, 12:06:39 AM
And all the transactions in the abandoned branch, need to  reconfirmed in the winner branch?

Yes, they will either be dropped, or will need to be confirmed by being added to blocks on the main branch.

The orphan blocks stay in everyone's machine?

Depends on the client, an SPV node probably won't keep them around, but a full node may need to keep them around in case that chain subsequently becomes longer again.


Title: Re: orphan blocks
Post by: Buffer Overflow on January 12, 2015, 05:21:09 AM
I read, after 100 blocks, the branch is abandoned...
The biggest branch wins.
And all the transactions in the abandoned branch, need to  reconfirmed in the winner branch?

Transactions in the abandoned branch can be put inside other branches immediately. No need to wait 100 blocks.