Add "checkpoints" option, to permit disabling of checkpoint logic. #2048

pull jgarzik wants to merge 2 commits into bitcoin:master from jgarzik:no-checkpoints changing 2 files +10 −0
  1. jgarzik commented at 5:09 PM on November 28, 2012: contributor

    No description provided.

  2. Add "checkpoints" option, to permit disabling of checkpoint logic. 857b3ad923
  3. New 'checkpoints' option should default to true. e6955d0411
  4. BitcoinPullTester commented at 5:28 PM on November 28, 2012: none

    Automatic sanity-testing: PASSED, see http://jenkins.bluematt.me/pull-tester/e6955d04111e842cce55dc230d9dcc971560a299 for binaries and test log.

  5. in src/init.cpp:None in e6955d0411
     257 | @@ -258,6 +258,7 @@ bool static Bind(const CService &addr, unsigned int flags) {
     258 |          "  -onlynet=<net>         " + _("Only connect to nodes in network <net> (IPv4, IPv6 or Tor)") + "\n" +
     259 |          "  -discover              " + _("Discover own IP address (default: 1 when listening and no -externalip)") + "\n" +
     260 |          "  -irc                   " + _("Find peers using internet relay chat (default: 0)") + "\n" +
     261 | +        "  -checkpoints           " + _("Lock in block chain with compiled-in checkpoints (default: 1)") + "\n" +
    


    Diapolo commented at 6:40 PM on November 28, 2012:

    I find it hard to understand that explanation, can you try to explain what this does? @jgarzik Why not just use Enable block chain checkpoint logic (default: 1)? Your current help string seems impossible to translate for me currently ^^.


    rebroad commented at 4:03 PM on December 20, 2012:

    I prefer Diapolo's description also...


    Diapolo commented at 10:22 AM on December 21, 2012:

    And I still don't get the meaning in german from that weird english description...

  6. gavinandresen commented at 6:53 PM on November 28, 2012: contributor

    ACK

  7. gmaxwell commented at 6:57 PM on November 28, 2012: contributor

    ACK

  8. sipa commented at 7:42 PM on November 28, 2012: member

    Do you mind adding a CheckPoints::fEnabled, and setting that from AppInit2(), instead of constantly reparsing the command-line flag?

  9. gavinandresen referenced this in commit a9e055a1ca on Dec 12, 2012
  10. gavinandresen merged this on Dec 12, 2012
  11. gavinandresen closed this on Dec 12, 2012

  12. laudney referenced this in commit 2fb90e767b on Mar 19, 2014
  13. sidhujag referenced this in commit 399cc913c7 on Apr 23, 2018
  14. DrahtBot locked this on Sep 8, 2021

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-13 21:16 UTC

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