Skip to content

Commit

Permalink
Merge pull request #249 from commerceblock/feature/defaultChecks
Browse files Browse the repository at this point in the history
Syncing speed issue
  • Loading branch information
Nikos Kostoulas authored Oct 25, 2019
2 parents 0341c0e + 3922f1f commit c4f166f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/chainparams.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,8 @@ class CMainParams : public CCustomParams {
consensus.vDeployments[Consensus::DEPLOYMENT_TESTDUMMY].nStartTime = 1199145601; // January 1, 2008
consensus.vDeployments[Consensus::DEPLOYMENT_TESTDUMMY].nTimeout = 1230767999; // December 31, 2008

fDefaultConsistencyChecks = false;

base58Prefixes[PUBKEY_ADDRESS] = std::vector<unsigned char>(1,0);
base58Prefixes[SCRIPT_ADDRESS] = std::vector<unsigned char>(1,5);
base58Prefixes[BLINDED_ADDRESS]= std::vector<unsigned char>(1,11);
Expand All @@ -348,6 +350,8 @@ class CGoldParams : public CCustomParams {
public:
CGoldParams(const std::string& chain) : CCustomParams(chain)
{
fDefaultConsistencyChecks = false;

base58Prefixes[PUBKEY_ADDRESS] = std::vector<unsigned char>(1,38); // G
base58Prefixes[SCRIPT_ADDRESS] = std::vector<unsigned char>(1,97); // g
base58Prefixes[BLINDED_ADDRESS]= std::vector<unsigned char>(1,13);
Expand Down

0 comments on commit c4f166f

Please sign in to comment.