nTime as a uint32_t #18182

issue barrystyle opened this issue on February 19, 2020
  1. barrystyle commented at 6:13 PM on February 19, 2020: none

    Short and sweet; Linux has recently added support for 64bit timestamps to the kernel. Since the resolution of nTime is limited to 4 bytes - or as a standard unix timestamp (pre-patch) if you prefer; wouldn't bitcoin be susceptible to the year 2038 bug?

  2. barrystyle added the label good first issue on Feb 19, 2020
  3. brakmic commented at 6:19 PM on February 19, 2020: contributor

    This doesn't look like a good "good first issue", imo. There is a certain template that should be used. Maybe better let experienced devs formulate them.

  4. barrystyle commented at 6:21 PM on February 19, 2020: none

    If you are having trouble understanding what i've written, happy to explain further.

  5. brakmic commented at 6:23 PM on February 19, 2020: contributor

    What you have formulated is, imo, not a good first issue but rather a question. Also, you did not follow the guides of this project, because you did not use the template Bitcoin devs use.

    However, I don't want to (mis)use this for any philosophical discussions and will leave it for Core Devs to decide.

    Regards,

  6. kristapsk commented at 6:30 PM on February 19, 2020: contributor

    You can't just simply change timestamp format used for Bitcoin blocks, that will be a consensus change and cause a hardfork. Such changes aren't decided in Bitcoin Core repo, must have broader discussion and follow BIP (Bitcoin Improement Proposal) process.

  7. barrystyle commented at 6:34 PM on February 19, 2020: none

    Just wanted to open a dialogue gentlemen.. the issue isn't going to go away.

    On that note, you'd probably integrate a timestamp into the block's coinbase transaction and deprecate the existing variable.

  8. barrystyle closed this on Feb 19, 2020

  9. fanquake removed the label good first issue on Feb 19, 2020
  10. MarcoFalke locked this on Feb 15, 2022

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-21 21:14 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me