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
1answer
41 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 ...
1
vote
1answer
107 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 ...
1
vote
2answers
44 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 ...
1
vote
2answers
746 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 (...
1
vote
1answer
59 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 ...
2
votes
1answer
89 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 ...
1
vote
1answer
124 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 ...
0
votes
1answer
35 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 ...
1
vote
1answer
173 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 ...
2
votes
2answers
84 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?)
4
votes
2answers
242 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?
1
vote
1answer
99 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 ...
0
votes
1answer
61 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 ...
2
votes
3answers
313 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 ...
1
vote
1answer
65 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 ...
5
votes
2answers
218 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 ...
3
votes
0answers
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?
1
vote
1answer
229 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 ...
0
votes
1answer
26 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 ...
1
vote
0answers
24 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. ...
0
votes
0answers
18 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 + ...
0
votes
1answer
71 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 ...
0
votes
2answers
86 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 ...
0
votes
1answer
80 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 ...
0
votes
1answer
470 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 ...
7
votes
1answer
833 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?
3
votes
1answer
56 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/...
3
votes
1answer
885 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 ...
0
votes
1answer
132 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 ...
5
votes
1answer
546 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 ...
1
vote
3answers
99 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 ...
2
votes
1answer
687 views

How is PSZ Timestamp encoded in Bitcoin core code?

In Chainparams.cpp of the Bitcoin Core source, the encoded PSZTimestamp is as follows ...
3
votes
2answers
626 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)?
8
votes
1answer
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 ...
0
votes
1answer
195 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 ...
1
vote
2answers
64 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 ...
0
votes
1answer
76 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 ...
5
votes
2answers
4k 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 ...
3
votes
1answer
635 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 ...
0
votes
1answer
92 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 ...
1
vote
1answer
77 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 ...
2
votes
1answer
27 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 ...
1
vote
0answers
165 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?
1
vote
1answer
297 views

How do nodes agree on timestamps?

While re-calculating the difficulty every 2016 blocks, how do nodes agree on the new difficulty? There is no unique timestamp on the p2p network, because nodes can lie about their time stamps. Let us ...
2
votes
1answer
980 views

How to calculate block generation time from block's data?

I'm working on paper Double-Spending Attacks on Fast Payments in Bitcoin. And I see they give out the result : block generation time is approximately 10 minutes (9 minutes and 54 seconds), the ...
0
votes
1answer
66 views

Proving the margin of error of a block timestamp

In the Bitcoin wiki: Block times are accurate only to within an hour or two. is a bit vague. Is it possible to prove that an arbitrary accepted block timestamp is within x seconds of the real-...
3
votes
2answers
2k views

timestamp different block explorers are not the same

I'm kind of confused why the timestamp of a block is different when checking different block explorers. I think normally this is the time the block was found, no? So, when I check a transaction in ...
1
vote
1answer
147 views

Why do we need two transactions for CommitCoin scheme

I am studying BitCoin recently. I noticed a method called CommitCoin for secure timestamping. It requires two transactions to send coins back with the same randomness so that others can compute the ...
6
votes
2answers
244 views

Can a blockchain from the future be synchronized today?

If one or a few computers with blockchains from a future time line were connected to the Internet today, what would happen? This other question in Worldbuilding focus on possible consequences, but ...
3
votes
1answer
154 views

Why do testnet blocks have future timestamp?

I am playing experiments with testnet blockchain, and it seems like the best block is always set about 2 hours into the future. For example, now, the block has timestamp 90 minutes into the future. I ...