Bitcoin Forum
April 03, 2026, 04:48:23 AM *
News: Latest Bitcoin Core release: 30.2 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: What is with these Bitcoin blocks?  (Read 112 times)
Bitcoin_Arena (OP)
Copper Member
Legendary
*
Offline Offline

Activity: 2604
Merit: 2043


฿itcoin for all, All for ฿itcoin.


View Profile
January 22, 2024, 12:27:46 AM
 #1

When you look at the timestamp of Block 826742, it's as though it got confirmed before Block 826743, yet they appear otherwise in the block order. Can someone help explain this?



Block 826741: https://mempool.space/block/00000000000000000002acc5da3f7656f24cd7af3a7e3dd4613077dcaea38a51 ---> Timestamp: ‎2024-01-22 01:44
Block 826742: https://mempool.space/block/00000000000000000003551a74fcab62511a381f2913313a5314ca78085435f7 ---> Timestamp: ‎2024-01-22 01:48
Block 826743: https://mempool.space/block/00000000000000000002acc5da3f7656f24cd7af3a7e3dd4613077dcaea38a51 ---> Timestamp: ‎2024-01-22 01:46


 
.Winna.com..

░░░░░░░▄▀▀▀
░░


▐▌▐▌
▄▄▄▒▒▒▄▄▄
████████████
█████████████
███▀▀███▀

▄▄

██████████████
████████████▄
█████████████
███▄███▄█████▌
███▀▀█▀▀█████
████▀▀▀█████▌
████████████
█████████████
█████
▀▀▀██████

▄▄
THE ULTIMATE CRYPTO
...CASINO & SPORTSBOOK...
─────  ♦  ─────

▄▄██▄▄
▄▄████████▄▄
██████████████
████████████████
███████████████
████████████████
▀██████████████▀
▀██████████▀
▀████▀

▄▄▄▄

▄▄▀███▀▄▄
▄██████████▄
███████████
███▄▄
▄███▄▄▄███
████▀█████▀███
█████████████████
█████████████
▀███████████
▀▀█████▀▀

▄▄▄▄


.....INSTANT.....
WITHDRAWALS
 
...UP TO 30%...
LOSSBACK
 
 

   PLAY NOW   
Zaguru12
Legendary
*
Offline Offline

Activity: 1386
Merit: 1195



View Profile WWW
January 22, 2024, 01:06:25 AM
 #2

Timestamp do not need to be accurate order as the requirements for a block ordering must be the block height, as such the timestamp can for a previous block can be lower than that of a higher a block because the timestamp rules is that it needs to be in the median of the time stamp of the last 11 blocks according to bitcoin wiki. The time stamp is just used to calculate the difficulty and not necessarily the block order.

In this case it might be that the mempool.space node received the block 826743 before the block 826742 because there is no way that the block 826743 would have been mined before the 826742 because the latter needs the block header of the former. The real mined time isn’t classified by the timestamp

BlackBoss_
Hero Member
*****
Offline Offline

Activity: 1330
Merit: 647


Rollbit is for you. Take $RLB token!


View Profile
January 22, 2024, 02:15:13 AM
Merited by pooya87 (2), ABCbits (1), Bitcoin_Arena (1)
 #3

Bitcoin block timestamp protection rules.

It is a good article to understand about this. The protection has two rules, Median Past Time (MPT) Rule; Future Block Time Rule.

The Future Block Time Rule is coded in this line.
https://github.com/bitcoin/bitcoin/blob/4daadce36cfe9baa63c4d7d70de027add03a00df/src/chain.h#L22
Code:
static constexpr int64_t MAX_FUTURE_BLOCK_TIME = 2 * 60 * 60;

R


▀▀▀▀▀▀▀██████▄▄
████████████████
▀▀▀▀█████▀▀▀█████
████████▌███▐████
▄▄▄▄█████▄▄▄█████
████████████████
▄▄▄▄▄▄▄██████▀▀
LLBIT|
4,000+ GAMES
███████████████████
██████████▀▄▀▀▀████
████████▀▄▀██░░░███
██████▀▄███▄▀█▄▄▄██
███▀▀▀▀▀▀█▀▀▀▀▀▀███
██░░░░░░░░█░░░░░░██
██▄░░░░░░░█░░░░░▄██
███▄░░░░▄█▄▄▄▄▄████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█████████
▀████████
░░▀██████
░░░░▀████
░░░░░░███
▄░░░░░███
▀█▄▄▄████
░░▀▀█████
▀▀▀▀▀▀▀▀▀
█████████
░░░▀▀████
██▄▄▀░███
█░░█▄░░██
░████▀▀██
█░░█▀░░██
██▀▀▄░███
░░░▄▄████
▀▀▀▀▀▀▀▀▀
||.
|
▄▄████▄▄
▀█▀
▄▀▀▄▀█▀
▄░░▄█░██░█▄░░▄
█░▄█░▀█▄▄█▀░█▄░█
▀▄░███▄▄▄▄███░▄▀
▀▀█░░░▄▄▄▄░░░█▀▀
░░██████░░█
█░░░░▀▀░░░░█
▀▄▀▄▀▄▀▄▀▄
▄░█████▀▀█████░▄
▄███████░██░███████▄
▀▀██████▄▄██████▀▀
▀▀████████▀▀
.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
░▀▄░▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄░▄▀
███▀▄▀█████████████████▀▄▀
█████▀▄░▄▄▄▄▄███░▄▄▄▄▄▄▀
███████▀▄▀██████░█▄▄▄▄▄▄▄▄
█████████▀▄▄░███▄▄▄▄▄▄░▄▀
███████████░███████▀▄▀
███████████░██▀▄▄▄▄▀
███████████░▀▄▀
████████████▄▀
███████████
▄▄███████▄▄
▄████▀▀▀▀▀▀▀████▄
▄███▀▄▄███████▄▄▀███▄
▄██▀▄█▀▀▀█████▀▀▀█▄▀██▄
▄██▀▄███░░░▀████░███▄▀██▄
███░████░░░░░▀██░████░███
███░████░█▄░░░░▀░████░███
███░████░███▄░░░░████░███
▀██▄▀███░█████▄░░███▀▄██▀
▀██▄▀█▄▄▄██████▄██▀▄██▀
▀███▄▀▀███████▀▀▄███▀
▀████▄▄▄▄▄▄▄████▀
▀▀███████▀▀
OFFICIAL PARTNERSHIP
SOUTHAMPTON FC
FAZE CLAN
SSC NAPOLI
ranochigo
Legendary
*
Offline Offline

Activity: 3178
Merit: 4511


View Profile
January 22, 2024, 05:10:48 AM
Merited by pooya87 (2), ABCbits (2), hosemary (1), Bitcoin_Arena (1)
 #4

In this case it might be that the mempool.space node received the block 826743 before the block 826742 because there is no way that the block 826743 would have been mined before the 826742 because the latter needs the block header of the former. The real mined time isn’t classified by the timestamp
The time stated is the timestamp of the block and not the received time. As you have identified, the block timestamp doesn’t have to be sequential. Hence, it would be perfectly fine for the timestamp of a future block to come before the timestamp of an earlier block so long as it fulfils the Median Past Time.

Pools would usually try to broadcast the block immediately, or with minimal delay and propagation should he under a minute as well.
LoyceV
Legendary
*
Offline Offline

Activity: 4004
Merit: 21520


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
January 22, 2024, 08:12:49 AM
 #5

Even with NTP, internet lag can cause time diffences between systems. I can imagine that, if the time stamp would matter, it could lead to a race between miners to have a timestamp farthest in the future.

¡uʍop ǝpᴉsdn pɐǝɥ ɹnoʎ ɥʇᴉʍ ʎuunɟ ʞool no⅄
ranochigo
Legendary
*
Offline Offline

Activity: 3178
Merit: 4511


View Profile
January 23, 2024, 05:47:34 AM
 #6

Even with NTP, internet lag can cause time diffences between systems. I can imagine that, if the time stamp would matter, it could lead to a race between miners to have a timestamp farthest in the future.
It would probably create too many forks, each node has a different range of acceptable time when considering the network adjusted time. Each node would also see a different set of valid blocks.
LoyceV
Legendary
*
Offline Offline

Activity: 4004
Merit: 21520


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
January 23, 2024, 08:05:05 AM
 #7

Each node would also see a different set of valid blocks.
Good point. Mostly ignoring the block time was a very good idea Smiley

¡uʍop ǝpᴉsdn pɐǝɥ ɹnoʎ ɥʇᴉʍ ʎuunɟ ʞool no⅄
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!