diff options
author | Gavin Andresen <gavinandresen@gmail.com> | 2012-03-21 15:45:58 -0400 |
---|---|---|
committer | Gavin Andresen <gavinandresen@gmail.com> | 2012-03-21 15:45:58 -0400 |
commit | 8f188ece3c82c4cf5d52a3363e7643c23169c0ff (patch) | |
tree | 7592a20920428b69de86f21c4b97e426b8626982 /src/init.cpp | |
parent | 2e2c04e250fff9a3404b4da2cf0f73c38c126050 (diff) |
Remove -bip16 and -paytoscripthashtime command-line arguments
Diffstat (limited to 'src/init.cpp')
-rw-r--r-- | src/init.cpp | 23 |
1 files changed, 5 insertions, 18 deletions
diff --git a/src/init.cpp b/src/init.cpp index a5db20b908..81e98fe294 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -489,24 +489,11 @@ bool AppInit2(int argc, char* argv[]) fAllowDNS = GetBoolArg("-dns"); fNoListen = !GetBoolArg("-listen", true); - // This code can be removed once a super-majority of the network has upgraded. - if (GetBoolArg("-bip16", true)) - { - if (fTestNet) - SoftSetArg("-paytoscripthashtime", "1329264000"); // Feb 15 - else - SoftSetArg("-paytoscripthashtime", "1333238400"); // April 1 2012 - - // Put "/P2SH/" in the coinbase so everybody can tell when - // a majority of miners support it - const char* pszP2SH = "/P2SH/"; - COINBASE_FLAGS << std::vector<unsigned char>(pszP2SH, pszP2SH+strlen(pszP2SH)); - } - else - { - const char* pszP2SH = "NOP2SH"; - COINBASE_FLAGS << std::vector<unsigned char>(pszP2SH, pszP2SH+strlen(pszP2SH)); - } + // Continue to put "/P2SH/" in the coinbase to monitor + // BIP16 support. + // This can be removed eventually... + const char* pszP2SH = "/P2SH/"; + COINBASE_FLAGS << std::vector<unsigned char>(pszP2SH, pszP2SH+strlen(pszP2SH)); if (!fNoListen) { |