Bitcoin Forum
December 11, 2024, 03:37:45 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Date  (Read 328 times)
ctjacobs (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
January 12, 2017, 08:02:56 PM
 #1

What does the date field exactly do?
I know already that if I restore my wallet from the seed the date field is restored, so it must be stored somewhere on the internet.
Is the date I see necessarily the same as the date the receiver sees as I send money?
Can anyone else see the date or is it encrypted?
Is it the same as the locktime?

Chris
Jhanzo
Hero Member
*****
Offline Offline

Activity: 798
Merit: 506


Thank satoshi


View Profile
January 12, 2017, 08:29:19 PM
 #2

You mean the transaction date?  It's the exact date when the transaction got a confirmation.  Everyone will see pretty much the same date (maybe with seconds difference).  Anyone can see it but they need to find your transaction first.

No it's not the same as locktime.

Trusted an exchange that climbed to the top 3 in just under 2 years with your money? you are fucking stupid.
kolloh
Legendary
*
Offline Offline

Activity: 1736
Merit: 1023


View Profile
January 12, 2017, 08:48:01 PM
 #3

The date isn't the date of confirmation I don't believe. I believe it is the date the transaction was received by the node.

Each raw TX includes a 'received' and a 'relayed_by' field that indicates when the transactions was received and what IP relayed it. You can decode a raw transaction to see this information so it is included in the transaction itself. This is present even in unconfirmed transactions and everyone should see the same date for a transaction.
Jhanzo
Hero Member
*****
Offline Offline

Activity: 798
Merit: 506


Thank satoshi


View Profile
January 12, 2017, 09:41:08 PM
Last edit: January 12, 2017, 10:03:30 PM by Jhanzo
 #4

The date isn't the date of confirmation I don't believe. I believe it is the date the transaction was received by the node.

Each raw TX includes a 'received' and a 'relayed_by' field that indicates when the transactions was received and what IP relayed it. You can decode a raw transaction to see this information so it is included in the transaction itself. This is present even in unconfirmed transactions and everyone should see the same date for a transaction.

Raw transaction doesn't have all of those.  Try looking at one[1].

If it's the date when the transaction was received by the node, people will see varied dates depending on when their node/server received the transaction.
And no, I've compared the dates of multiple transactions with the blocktime of the blocks that they were included in.  They all match.

[1]
https://blockchain.info/tx/8514258f73e707f64585aa9fce974dce99994e62692a4451a621f3dacaf37ccf?format=hex
Code:
{
   "lock_time":0,
   "size":225,
   "inputs":[
      {
         "prev_out":{
            "index":1,
            "hash":"f4621217add356ad0ae1ddeecddc24a236aeef73dec80a65430bfd584560c797"
         },
         "script":"47304402207db793e1674c73cd02f88c977c220076483cf56def726bfaaa0d5b25ef4c27e1022061bfddbd21b57a26a1b608f9a53883800c6e04a88dbadebafec622d1b6845bef0121024b62c14291a74aa8b800bff4b269342d14a1b06ec5029d5e62eae2111c97f342"
      }
   ],
   "version":1,
   "vin_sz":1,
   "hash":"8514258f73e707f64585aa9fce974dce99994e62692a4451a621f3dacaf37ccf",
   "vout_sz":2,
   "out":[
      {
         "script_string":"OP_DUP OP_HASH160 c570307825ee31ab46043fd96f586e71b51a5f25 OP_EQUALVERIFY OP_CHECKSIG",
         "address":"1JzxWqqvFbns95BoR1M9vzRoTWLr5qDaFJ",
         "value":4830918,
         "script":"76a914c570307825ee31ab46043fd96f586e71b51a5f2588ac"
      },
      {
         "script_string":"OP_DUP OP_HASH160 27604a5e30f59c7bc86c39fc4003542089085133 OP_EQUALVERIFY OP_CHECKSIG",
         "address":"14bChs2nPdL4jMhsQvCWk2XSSGiMdt4U6d",
         "value":1210615320,
         "script":"76a91427604a5e30f59c7bc86c39fc400354208908513388ac"
      }
   ]
}

Trusted an exchange that climbed to the top 3 in just under 2 years with your money? you are fucking stupid.
kolloh
Legendary
*
Offline Offline

Activity: 1736
Merit: 1023


View Profile
January 12, 2017, 10:08:56 PM
 #5

I see the following when I decode the transaction you posted using https://live.blockcypher.com/bcy/decodetx/:
Code:
{
    "addresses": [
        "1JzxWqqvFbns95BoR1M9vzRoTWLr5qDaFJ",
        "14bChs2nPdL4jMhsQvCWk2XSSGiMdt4U6d"
    ],
    "block_height": -1,
    "block_index": -1,
    "confirmations": 0,
    "double_spend": false,
    "fees": 0,
    "hash": "8514258f73e707f64585aa9fce974dce99994e62692a4451a621f3dacaf37ccf",
    "inputs": [
        {
            "output_index": 1,
            "output_value": 0,
            "prev_hash": "f4621217add356ad0ae1ddeecddc24a236aeef73dec80a65430bfd584560c797",
            "script": "47304402207db793e1674c73cd02f88c977c220076483cf56def726bfaaa0d5b25ef4c27e1022061bfddbd21b57a26a1b608f9a53883800c6e04a88dbadebafec622d1b6845bef0121024b62c14291a74aa8b800bff4b269342d14a1b06ec5029d5e62eae2111c97f342",
            "script_type": "empty",
            "sequence": 4294967295
        }
    ],
    "lock_time": 0,
    "outputs": [
        {
            "addresses": [
                "1JzxWqqvFbns95BoR1M9vzRoTWLr5qDaFJ"
            ],
            "script": "76a914c570307825ee31ab46043fd96f586e71b51a5f2588ac",
            "script_type": "pay-to-pubkey-hash",
            "value": 4830918
        },
        {
            "addresses": [
                "14bChs2nPdL4jMhsQvCWk2XSSGiMdt4U6d"
            ],
            "script": "76a91427604a5e30f59c7bc86c39fc400354208908513388ac",
            "script_type": "pay-to-pubkey-hash",
            "value": 1210615320
        }
    ],
    "preference": "low",
    "received": "2017-01-12T22:05:37.386763544Z",
    "relayed_by": "54.204.82.112",
    "size": 225,
    "total": 1215446238,
    "ver": 1,
    "vin_sz": 1,
    "vout_sz": 2
}

This includes both the received and the relayed_by fields that I previously mentioned. Where these added by the node that received the transaction? Or where did they originate if not?
Jhanzo
Hero Member
*****
Offline Offline

Activity: 798
Merit: 506


Thank satoshi


View Profile
January 12, 2017, 10:29:25 PM
 #6

This includes both the received and the relayed_by fields that I previously mentioned. Where these added by the node that received the transaction? Or where did they originate if not?

Those are the data from blockchyper's node(s).

Trusted an exchange that climbed to the top 3 in just under 2 years with your money? you are fucking stupid.
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!