Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [timestamp]

Collects questions about the rules, precision, and utility of the timestamp in block headers.

Filter by
Sorted by
Tagged with
0 votes
1 answer
55 views

Softening the 2106 hard fork

Following along the 2106 problem solution proposed in Will a hard fork be required to change timestamp fields? … Is it possible to start including this logic into newer versions of core (is it already ...
user avatar
0 votes
1 answer
25 views

Which time does timestamp given in the block explorer represents?

The time block header was constructed The time when block was validated? if 2, this means not only nonce is incremented +1 every time we have hashed block header but also timestamp increments and ...
user avatar
5 votes
1 answer
115 views

Is timestamping needed for anything except difficulty adjustment

This question asks about the role of timestamping and this answer supports the assertion that the main role is block difficulty adjustment. On the other hand, the whitepaper claims that ordering ...
user avatar
3 votes
1 answer
66 views

Is the Bitcoin Blockchain aware of time?

I recently learned about how the lightning network works, and one particular thing that I found interesting is that, to prevent fraud, the output for each commitment transaction contains a clause for ...
user avatar
0 votes
3 answers
42 views

if the lower bound of a blocks timestamps is the median of the previous blocks, how can the network difficulty ever decrease?

according to bitcoin developer documentation the lower bound for a blocks timestamp is the median of the previous 11 blocks. and also according to the documentation the network difficulty is ...
user avatar
  • 125
0 votes
1 answer
54 views

UNIX END TIME January 19, 2038 - Will it affect Timelock nLOCKTIME smart contracts past that date?

So UNIX END TIME is January 19, 2038. What will happen then to the btc TX that looks at Unixtime for nLOCKTIME transactions? Will any Locktime transaction past that date, say to 2040 be an issue? Or ...
user avatar
4 votes
1 answer
197 views

How bitcoin miners choose timestamp in block header when mining?

I did a statistic about the difference between the first announcement time in the network and the timestamp in block header for blocks within 2020. Surprisingly, most (93%) differences are less than ...
user avatar
  • 97
0 votes
1 answer
252 views

What is the correct way to calculate timestamp for a Block(125552)?

I am just learning mining process. Today I learned that we have to find nonce for given block header. And for block header we need timestamp in UTC I took the timestamp data from below link of 125552 ...
user avatar
  • 3
0 votes
1 answer
110 views

Why is there no block time bias to <10min due to increasing hashrate?

Since the difficulty adjustment is based on a 2016 block window from the past, if we assume that the hashrate of the network is steadily increasing over time (up to temporary disturbances), why do ...
user avatar
  • 121
1 vote
2 answers
68 views

What would happen to Bitcoin if GPS/Galileo timing ceased to be available?

According to this web site, the timing from a system like GPS is essential to "financial networks [which] rely on precision timing for synchronization and operational efficiency." Is the ...
user avatar
1 vote
2 answers
820 views

How strict are the Unix Epoch time validation rules?

According to bitcoin.org, full nodes have a strict requirement on the deviation of time within certain boundaries. The block time is a Unix epoch time when the miner started hashing the header (...
user avatar
  • 1,359
1 vote
1 answer
158 views

Will a hard fork be required to change timestamp fields?

In the protocol there are multiple timestamp fields with varying lengths. For example a 4 byte unix timestamp would overflow in the year 2106. Will a hard fork be needed to deal with this issue in the ...
user avatar
  • 121
1 vote
1 answer
135 views

Explanation of "Timestamp Server" section in original bitcoin paper

I'm trying to understand the "Timestamp Server" section in the original bitcoin paper. It feels overly short for someone without an understanding of cryptography. Is it saying? A block ...
user avatar
  • 113
1 vote
1 answer
171 views

Can Taproot be used to commit arbitrary data to chain without any additional footprint?

A common way of committing some data to the chain is through an OP_RETURN with some hash. Doing this marks an output unspendable, but the output still requires some footprint (and cost) on the chain ...
user avatar
  • 3,190
0 votes
1 answer
40 views

Input and Output of all funds in the same block?

Hope, someone can clarify this problem to me. Please have a look at the btc address: 1CRTSXJXa3LsaHwjTA5yTbqbyi6QituztX There have been 2 transactions so far. 1 input and 1 output. BUT: According to ...
user avatar
2 votes
1 answer
384 views

Proof of Work vs. Proof of History

Can someone explain the context of what Nakamoto exactly meant with: "To implement a distributed timestamp server on a peer-to-peer basis, we will need to use a proof- of-work system..."? I ...
user avatar
2 votes
2 answers
87 views

Can we look at how long it took to solve for the most recent block in the blockchain? (and how?)

For example, can we see, the latest block, somebody got lucky and solved it in 1 minute, but then the next block, nobody solved it until 18 minutes later? (and how can we see it?)
user avatar
4 votes
2 answers
273 views

what if the timelock is in the past?

I just started learning about bitcoin scripting and wonder: what if the timelock in CLTV is in the past? what if the timelock in nLocktime is equal to 500.000?
user avatar
  • 53
2 votes
1 answer
137 views

Is a timestamp in bitcoin different than just the "stamp of time"?

In the "References" section of Bitcoin's whitepaper, Satoshi Nakamoto points to three papers that serve as inspiration for digital timestamping. When you read those documents it is clear ...
user avatar
  • 21
0 votes
1 answer
72 views

HELP ME WITH BITCOIN TIME STAMPS

OK, so I had several backed up .dat files on google which I put in opentimestamps I could see that these files had time stamp data... so I uploaded and *****below is what the results were. What does ...
user avatar
2 votes
3 answers
449 views

Is there a way to see the precise time of when a transaction was sent out?

I'm a developer. I'm not really knowledgeable in bitcoin development, yet. Say, I'm using Electrum wallet. I share an address with someone. The thing is that I need this someone to pay a certain ...
user avatar
1 vote
1 answer
91 views

How to get the time when a block is received at a node?

Is there any variable in the bitcoind code that records the timestamp when a block is received for the first time by a particular node? To be more precise, for transactions, transaction information ...
user avatar
5 votes
2 answers
227 views

Does Cryptocurrency really need timestamps?

Bitcoin is supposed to be a clock on it's own right so it always felt sketchy to me that outside time is referenced. Could bitcoin be aware of it's own block interval through something like uncle ...
user avatar
  • 51
3 votes
0 answers
190 views

Block 620826 is 1 second before block 620825? [duplicate]

How does that happen? Obviously the miner of 826 built his block on top of 825, but why is the time 1 second earlier?
user avatar
  • 354
1 vote
1 answer
292 views

What does best block time mean in wallet.dat

I have a wallet.dat file that states: Best block at time of backup was 42603 (0000000013136bd812212959a15ef0ea0f084ee2c64e2f7f0e127d198f67a37f), mined on 2010-02-26T00:36:08Z Does that mean that one ...
user avatar
0 votes
1 answer
31 views

how the miner start to count the timestamp to insert in the block

I have a doubt, how the miner starts to count the timestamp to insert in the block. An example the timestamp insert inside the genesis block is 1/3/2009, 7:15:05 PM GMT+1. If the genesis block would ...
user avatar
1 vote
0 answers
29 views

Is it feasible to prove the density of found hashes and could that be valuable?

Background When a miner claims a certain hash power and timestamps a block they solved, they are making a claim that a certain amount of time has passed since they received the previous block. ...
user avatar
0 votes
0 answers
19 views

TSA: Why singing hash(hash(data),t)?

Why does a TSA first appends the timestamp and hashes the combination of timestamp and data? This product is then signed and send to the client back with the timestamp. Why not signing hash + ...
user avatar
0 votes
1 answer
72 views

Retrieve number of OP-RETURN transaction

Is there a possible way to extract the bitcoin transaction protocoll with Python and extract specifically OP RETURN transaction? I want to plot the number of those over the course of time to derive ...
user avatar
  • 1
0 votes
2 answers
102 views

How does this time-stamping system work?

There is an online tool called Proof of Existence which uses the bitcoin blockchain to time-stamp documents. I'm reading the documentation but I fail to see how it works. I understand that it adds ...
user avatar
0 votes
1 answer
110 views

How do nodes come to consensus on whether a timestamp is valid?

From bitcoin wiki: A timestamp is accepted as valid if it is greater than the median timestamp of previous 11 blocks, and less than the network-adjusted time + 2 hours. If a miner submits a block ...
user avatar
  • 101
0 votes
1 answer
606 views

Bitcoin Pro API - How do you format start/end time for Historic Data?

I don't understand how to format the start and end time per https://docs.pro.coinbase.com/#get-historic-rates The sample time is "1415398768" which makes no intuitive sense to me, and when I tried ...
user avatar
  • 21
7 votes
1 answer
1k views

January 19th, 2038: RIP Unix Timestamps

Is there a plan in place for when the inevitable 32-bit overflow of Unix timestamps occurs? How much will this impact existing blocks that are timestamped with Unix Epoch times?
user avatar
3 votes
1 answer
61 views

When update mining difficulty, Is the timespan of the past 2016 blocks approximated value?

I know how to calculate difficulty, and I know it is increased or decreased by checking the timespan of the past 2016 blocks. and I found actual code for calculating timespan: https://github.com/...
user avatar
3 votes
1 answer
900 views

How does timejacking enable double spending?

http://culubas.blogspot.com/2011/05/timejacking-bitcoin_802.html I went over this blog, but I am still not clear how double spending is achieved by this attack. From what I read, the attackers submit ...
user avatar
0 votes
1 answer
149 views

Network Time of Bitcoin

Bitcoin uses UNIX time for timestamp. Unix Time is really accurate. I want to know why there is a "70 minutes" offset is allowed in Bitcoin network adjusted time. Is there any distribution used to get ...
user avatar
5 votes
1 answer
571 views

From where does the 2 hours limitation on bitcoin time stamp come?

Bitcoin wiki says that: A timestamp is accepted as valid if it is greater than the median timestamp of previous 11 blocks, and less than the network-adjusted time + 2 hours My question is why 2 ...
user avatar
  • 81
1 vote
3 answers
109 views

What prevents DoS based on near-valid block timestamps?

Upon receiving a newly mined block, the block timestamp validation is performed here: https://github.com/bitcoin/bitcoin/blob/master/src/validation.cpp#L3263-L3270 Q1: As for the second check (block ...
user avatar
  • 151
2 votes
1 answer
739 views

How is PSZ Timestamp encoded in Bitcoin core code?

In Chainparams.cpp of the Bitcoin Core source, the encoded PSZTimestamp is as follows ...
user avatar
3 votes
2 answers
722 views

Why does the median-past time average the last 11 block timestamps and not the last 12?

As described in BIP-113. Wouldn't the last 12 blocks bring us closer to a one-hour offset (ie 120min, midpoint 60)?
user avatar
9 votes
1 answer
1k views

What prevents similar time-warp attacks in Bitcoin as happened to Verge?

Right now (may 2018), Verge (an altcoin with proof of work) was attacked by time-warp attack. More can be read here https://blog.theabacus.io/the-verge-hack-explained-7942f63a3017 What exactly ...
user avatar
  • 2,535
0 votes
1 answer
217 views

Would mining future bitcoins break the bitcoin?

assuming an bitcoin miner with very much hashrate like bitmain would decide to mine "future" bitcoin blocks and provide them within very short time to the network, would this break the bitcoin? As i ...
user avatar
  • 103
1 vote
2 answers
71 views

What roles has the TIME information play in the bitcoin header?

What role does the time play in the bitcoin header? Is it ok to set it to 1 sec after the last block and never change it while calculating? Will the block be rejected when the gap is to large? If 2 ...
user avatar
  • 113
0 votes
1 answer
78 views

What is happening to the none approved transactions?

Every 10 minutes only 1MB of transactions are been approved, so what happened to the rest of them? Let's say my transaction was not entered into the block, can I be sure that no one is going insert it ...
user avatar
6 votes
2 answers
5k views

The role of timestamp

In Satoshi’s original paper, it is written that “we need timestamp to prevent double-spending”. However, I think timestamp is unnecessary, because every block has a previous block hash and merkle ...
user avatar
  • 227
3 votes
1 answer
687 views

Rewriting the entire blockchain: is it possible to spoof block timestamps of a privately mined chain?

According to fork.lol and Pieter's bitcoin.sipa, it would currently take ~200 days for an attacker with 100% of the current hashpower to rewrite the entire btc blockchain. My question pertains to how ...
user avatar
  • 17.2k
0 votes
1 answer
99 views

Bitcoind Testnet time/timereceived constantly changing?

I've got a small question: over a week ago I did some transactions on the Bitcoin testnet as I am developing a new GUI header for full nodes. When continuing development today, I noticed that when ...
user avatar
1 vote
1 answer
87 views

From the Whitepaper: Timestamps prove that the data must have existed at the time"

The whitepaper says exactly this: "The timestamp proves that the data must have existed at the time, obviously, in order to get into the hash. Each timestamp includes the previous timestamp in its ...
user avatar
  • 263
2 votes
1 answer
30 views

Are there performance implications using the "timestamp" property of ImportMulti in the following way?

Based on the Developer Reference for importmulti, it seems the the timestamp property is purely used to determine how far back to rescan. If I have, say, 100 addresses and I simply set all of their ...
user avatar
1 vote
0 answers
168 views

What is the purpose of Bitcoin timestamps

Why do we even need timestamps on the blocks? Has it something to do with the consensus?
user avatar
  • 291