Skip to content

Commit

Permalink
cochise, shade testnet block
Browse files Browse the repository at this point in the history
  • Loading branch information
quarkonium committed Jun 5, 2018
1 parent 4c20c51 commit 7657829
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ static const uint256 hashGenesisMerkleRoot("0xcd5029ac01fb6cd7da8ff00ff1e82f3aca
const int SHADE_FEATURE_UPDATE = 75 * 500 + 1860837;

inline bool IsProtocolV2(int nHeight) { return nHeight > 65000; }
inline bool V3(int nHeight) { return fTestNet ? nHeight >= 10 : nHeight >= 1625000; }
inline bool V4(int nHeight) { return fTestNet ? nHeight >= 40 : nHeight >= SHADE_FEATURE_UPDATE; }
inline bool V3(int nHeight) { return fTestNet ? nHeight >= 0x0a : nHeight >= 1625000; }
inline bool V4(int nHeight) { return fTestNet ? nHeight >= 0x10 : nHeight >= SHADE_FEATURE_UPDATE; }

inline int64_t PastDrift(int64_t nTime, int nHeight) { return IsProtocolV2(nHeight) ? nTime : nTime - 10 * 60; }
inline int64_t FutureDrift(int64_t nTime, int nHeight) { return IsProtocolV2(nHeight) ? nTime + 15 : nTime + 10 * 60; }
Expand Down

0 comments on commit 7657829

Please sign in to comment.