Bitcoin-Qt: add Genesis blocks time for testnet #2460

pull Diapolo wants to merge 1 commits into bitcoin:master from Diapolo:clientmodel changing 1 files +3 −1
  1. Diapolo commented at 8:18 PM on April 4, 2013: none
    • add the Genesis blocks time for the testnet in ClientModel::getLastBlockDate()

    See https://github.com/bitcoin/bitcoin/blob/master/src/main.cpp#L2743

  2. Bitcoin-Qt: add Genesis blocks time for testnet
    - add the Genesis blocks time for the testnet in
      ClientModel::getLastBlockDate()
    8d432cd66d
  3. sipa commented at 8:19 PM on April 4, 2013: member

    I'd rather try to fetch this from Checkpoints::

  4. Diapolo commented at 8:27 PM on April 4, 2013: none

    How would I do that? I thought about a global constant somewhere, to not have that value in different places, but that was also not done while the mainnet Genesis block's time was added there ;).

  5. sipa commented at 8:32 PM on April 4, 2013: member

    Oh, I'm wrong- I think the genesis time was already in checkpoints. Let's ignore it for now, and fix it later.

  6. sipa referenced this in commit 430cbad411 on Apr 5, 2013
  7. sipa merged this on Apr 5, 2013
  8. sipa closed this on Apr 5, 2013

  9. laudney referenced this in commit c4a2d822d2 on Mar 19, 2014
  10. DrahtBot locked this on Sep 8, 2021
Contributors

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 18:16 UTC

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