5
1
I need to properly segment transactions by time. Are timestamps in transactions trustable? Can these be forged?
I'm not sure if transaction timestamps are part of the protocol, but I'm particularly interested in the "Received Time" which shows up in blockchain.info . For example, this transaction (api url)
{
time:1385506952,
inputs:[
{
prev_out:{
n:2,
value:50000000,
addr:"17BPmjqg7mbaWYdff2EjVxra1FBHG4VAN3",
tx_index:97772745,
type:0
}
}
],
vout_sz:2,
relayed_by:"127.0.0.1",
hash:"4054f8170f7fc7c12229a116baead874f22478810b0a7e842aa28403c9b59927",
vin_sz:1,
tx_index:99131036,
ver:1,
out:[
{
n:0,
value:40000000,
addr:"1LwmnEn97jcANB68C5BVFQLJJLAm5UTJqW",
tx_index:99131036,
type:0
},
{
n:1,
value:9990000,
addr:"17BPmjqg7mbaWYdff2EjVxra1FBHG4VAN3",
tx_index:99131036,
type:0
}
],
size:257
}
related: http://bitcoin.stackexchange.com/questions/7404/how-does-bitcoin-figure-out-what-time-it-is
– Murch – 2013-11-27T01:11:58.363This is probably the time blockchain.info's bitcoin client has first seen (received) the transaction, but I have no source for that claim. Anyways, assuming it is so, it is trustworthy only in the sense that the sender of the transaction cannot forge it, but untrustworthy in the sense that any wrong time setting in blockchain.org's server time setting (or the code it is running) could cause it to be incorrect. – pyramids – 2013-11-27T19:02:09.003
Related: The
– pyramids – 2013-11-27T19:06:01.727timereceivedand other timestamps used by the original bitcoin client's API is discussed in this question. I suppose it is reasonable to assume blockchain.org uses the term "received time" in the sense oftimereceivedfrom the original bitcoin client (in the sense I mentioned in my other comment as a guess).