Author

Topic: blok ile ilgili longest chain ne demek ? (Read 907 times)

full member
Activity: 140
Merit: 100
September 13, 2015, 02:56:45 AM
#5
Quote
Imagine that the blockchain is 210000 blocks long and TWO miners both find valid blocks within a few seconds of each other and broadcast them to the network.

This is perfectly normal as the Bitcoin network is peer to peer and global.

You now have two chains, each of length 210001. Neither of these are longer than each other. Some bitcoind nodes will see the first miner's block and some bitcoind nodes will see the second.

Temporarily you have two forks of the blockchain, each of length 210001 blocks long. They are identical for 210000 blocks, but the 210001st is different on the two forks.

Sometime later another miner finds another valid block, the 210002nd block, and that will be attached to exactly one of the forks.

This chain is now the longest at 210002 blocks and becomes the longest chain. It becomes the "definitive" blockchain.

(The transactions in the alternate fork don't disappear - they simply get put back into the pool of unconfirmed transactions and miners will put them into a subsequent block).

aslında dediğim doğruymuş fakat işin arkaplanı böyleymiş tıpkı senin anlattığın gibi cakir.teşekkürler.
hero member
Activity: 739
Merit: 500
September 12, 2015, 09:02:03 PM
#4
Ornek guzel anladım fakat bitcoinde nasil isliyor ?

Birileri forklarsa minerların hangi zinciri takip ettiğine bakılıyor. Daha çok güç olan yoluna devam ediyor, diğer minerlar pes edip en uzun zincire geri dönüyor.
full member
Activity: 140
Merit: 100
September 12, 2015, 12:53:56 PM
#3
Ornek guzel anladım fakat bitcoinde nasil isliyor ?
legendary
Activity: 1274
Merit: 1000
★ BitClave ICO: 15/09/17 ★
September 12, 2015, 12:32:17 PM
#2
şu mu 370.001 uzunluğundaki blok zinciri mi ?
Hayır. (Bu sayıyı örnek olarak vermiştim daha önce, güncel uzunluk an itibariyle: 374206 )

Bir ağaç düşünün, sürekli yukarı doğru uzaması gerekiyor. Ancak bir süre sonra bu ağacın yanından başka bir dal yukarı doğru uzamaya başlıyor. Eğer dal aynı sürede daha fazla uzarsa, gövde kesilir, yerine dal üzerinden gider. Burada en uzun zincir dal olur. Eğer dal gövdeye yetişemezse dal kesilir gövde uzamaya devam eder.

full member
Activity: 140
Merit: 100
September 12, 2015, 11:29:43 AM
#1
şu mu 370.001 uzunluğundaki blok zinciri mi ?
Jump to: