Skip to content

Commit dd7c1cf

Browse files
committed
Merge pull request #3551
6873cfb Update linearize.py defaults to block 279,000 (Micha) e7906d1 Add a new checkpoint at block 279,000 (Micha)
2 parents 490d6a3 + 6873cfb commit dd7c1cf

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

contrib/linearize/example-linearize.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ port=8332
77

88
# bootstrap.dat settings
99
netmagic=f9beb4d9
10-
max_height=250000
10+
max_height=279000
1111
output=bootstrap.dat
1212

contrib/linearize/linearize.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def get_blocks(settings):
117117
if 'min_height' not in settings:
118118
settings['min_height'] = 0
119119
if 'max_height' not in settings:
120-
settings['max_height'] = 250000
120+
settings['max_height'] = 279000
121121
if 'rpcuser' not in settings or 'rpcpass' not in settings:
122122
print "Missing username and/or password in cfg file"
123123
sys.exit(1)

src/checkpoints.cpp

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2009-2013 The Bitcoin developers
1+
// Copyright (c) 2009-2014 The Bitcoin developers
22
// Distributed under the MIT/X11 software license, see the accompanying
33
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
44

@@ -50,11 +50,12 @@ namespace Checkpoints
5050
(216116, uint256("0x00000000000001b4f4b433e81ee46494af945cf96014816a4e2370f11b23df4e"))
5151
(225430, uint256("0x00000000000001c108384350f74090433e7fcf79a606b8e797f065b130575932"))
5252
(250000, uint256("0x000000000000003887df1f29024b06fc2200b55f8af8f35453d7be294df2d214"))
53+
(279000, uint256("0x0000000000000001ae8c72a0b0c301f67e3afca10e819efa9041e458e9bd7e40"))
5354
;
5455
static const CCheckpointData data = {
5556
&mapCheckpoints,
56-
1375533383, // * UNIX timestamp of last checkpoint block
57-
21491097, // * total number of transactions between genesis and last checkpoint
57+
1389047471, // * UNIX timestamp of last checkpoint block
58+
30549816, // * total number of transactions between genesis and last checkpoint
5859
// (the tx=... number in the SetBestChain debug.log lines)
5960
60000.0 // * estimated number of transactions per day after checkpoint
6061
};
@@ -111,7 +112,7 @@ namespace Checkpoints
111112

112113
double fWorkBefore = 0.0; // Amount of work done before pindex
113114
double fWorkAfter = 0.0; // Amount of work left after pindex (estimated)
114-
// Work is defined as: 1.0 per transaction before the last checkoint, and
115+
// Work is defined as: 1.0 per transaction before the last checkpoint, and
115116
// fSigcheckVerificationFactor per transaction after.
116117

117118
const CCheckpointData &data = Checkpoints();

0 commit comments

Comments
 (0)