Skip to content

Commit

Permalink
add checkpoint and version rules
Browse files Browse the repository at this point in the history
  • Loading branch information
CryptoManiac committed Apr 1, 2013
1 parent 65abc20 commit e6d4751
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/checkpoints.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ namespace Checkpoints
( 0, hashGenesisBlockOfficial )
( 6000, uint256("0x000000000945e3c9d8e15df834e802521eb79f9ceb4191a27bdfadad4b777f4a"))
( 8700, uint256("0x00000000014270724837789c9a69859290f6bdee38556bc4561c21f17935a178"))
( 13560, uint256("0xa1591a0fcbf11f282d671581edb9f0aadcd06fee69761081e0a3245914c13729"))
;

bool CheckHardened(int nHeight, const uint256& hash)
Expand Down
4 changes: 2 additions & 2 deletions src/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ static const int MIN_PROTO_VERSION = 209;
static const int CADDR_TIME_VERSION = 31402;

// only request blocks from nodes outside this range of versions
static const int NOBLKS_VERSION_START = 32000;
static const int NOBLKS_VERSION_END = 32400;
static const int NOBLKS_VERSION_START = 60002;
static const int NOBLKS_VERSION_END = 60003;

// BIP 0031, pong message, is enabled for all versions AFTER this one
static const int BIP0031_VERSION = 60000;
Expand Down

0 comments on commit e6d4751

Please sign in to comment.