Bitcoin Forum
November 07, 2024, 09:28:49 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Blockchain Hash is it possible to repeat it again on other Block?  (Read 131 times)
macdevil007 (OP)
Full Member
***
Offline Offline

Activity: 692
Merit: 100



View Profile
May 03, 2018, 07:43:18 AM
 #1

A newbie question...

Example:  Block 12345 got hash Hash   0000000000000000001ac4321c39d3da75489e6951137c64d1ffa42ccae885cd
     
is it possible to happen this Hash again on Block 67890?

thanks for those who will answer..
bitperson
Full Member
***
Offline Offline

Activity: 210
Merit: 119


View Profile
May 03, 2018, 07:50:08 AM
 #2

Example:  Block 12345 got hash Hash   0000000000000000001ac4321c39d3da75489e6951137c64d1ffa42ccae885cd
     
is it possible to happen this Hash again on Block 67890?
It is very unlikely, as it is the block header, which is different for each block, that is being hashed. Please see https://en.bitcoin.it/wiki/Block_hashing_algorithm for the contents of the block header.

How to ask questions the smart way
When you’re happy with the answers in a thread you have started, please click ‘lock topic’ to prevent spam.
1AWrZWnN4ThpGB5z24WTzsoZRMqvLpDGYU
mocacinno
Legendary
*
Offline Offline

Activity: 3570
Merit: 5187


https://merel.mobi => buy facemasks with BTC/LTC


View Profile WWW
May 03, 2018, 07:54:18 AM
Last edit: May 03, 2018, 08:06:54 AM by mocacinno
 #3

If i remember correctly, this is one of the checks a node does before accepting a block... If the hash of a new block is the same as the hash of a previous block, the new block will be rejected...
Source: my memory... Might not be 100% accurate Wink

EDIT: do realise the odds of a collision are incredibly small

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
JohnGalt
Full Member
***
Offline Offline

Activity: 249
Merit: 114


Who is John Galt?


View Profile
May 03, 2018, 08:27:03 AM
 #4

If i remember correctly, this is one of the checks a node does before accepting a block... If the hash of a new block is the same as the hash of a previous block, the new block will be rejected...
Source: my memory... Might not be 100% accurate Wink

EDIT: do realise the odds of a collision are incredibly small

While the odds of a collision are extremely low, they rise with an increasing difficulty. And since the number of blocks is unbounded, the probability of a collision occurring at some pojnt in the future is 100%.

Trade physical bitcoins: Economy > Marketplace > Goods > Collectibles
My signing address: 19mzFU4zFrZHkAkHSUta6LapJ6fTFJyhiH
mocacinno
Legendary
*
Offline Offline

Activity: 3570
Merit: 5187


https://merel.mobi => buy facemasks with BTC/LTC


View Profile WWW
May 03, 2018, 08:30:02 AM
 #5

While the odds of a collision are extremely low, they rise with an increasing difficulty. And since the number of blocks is unbounded, the probability of a collision occurring approaches 100%.

Sure, given an infinite timeframe, the odds become 100%, but still, the block would get rejected, so it's just the miner who mined the block with the colliding hash loses the block reward + fees for that block, and that's about all that'll happen.

In our lifetime, i doubt we'll ever see such a collision happening... My math is not good enough to calculate the exact odds tough, but it would be an extremely small number...

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
macdevil007 (OP)
Full Member
***
Offline Offline

Activity: 692
Merit: 100



View Profile
May 06, 2018, 12:38:23 PM
 #6

Thanks and appreciate your responses.. Got an idea already about Hash in Blockchain
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!