Skip to content

Commit

Permalink
Digital Decentralized Mining System - 1st version
Browse files Browse the repository at this point in the history
Static pool of mining addresses.
  • Loading branch information
Sun Wukong authored and mtwaro committed Apr 27, 2020
1 parent 89a1f0b commit 4493cc1
Show file tree
Hide file tree
Showing 4 changed files with 247 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/chainparams.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ class CMainParams : public CChainParams {
consensus.BIP34Hash = uint256();
consensus.BIP65Height = 1;
consensus.BIP66Height = 1;
consensus.DDMSHeight = 28529; // TO BE DECIDED
consensus.powLimit = uint256S("00000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff");
consensus.nPowTargetTimespan = 14 * 24 * 60 * 60; // two weeks
consensus.nPowTargetSpacing = 10 * 60; // 10 minutes (block time like Bitcoin)
Expand Down
3 changes: 3 additions & 0 deletions src/consensus/params.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ struct Params {
int BIP65Height;
/** Block height at which BIP66 becomes active */
int BIP66Height;
/** Block height at which DDMS becomes active */
int DDMSHeight;

/**
* Minimum blocks including miner confirmation of the total of 2016 blocks in a retargeting period,
* (nPowTargetTimespan / nPowTargetSpacing) which is also used for BIP9 deployments.
Expand Down

0 comments on commit 4493cc1

Please sign in to comment.