Skip to content

Commit

Permalink
Testnet, Mark III
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinandresen committed May 25, 2012
1 parent 4e6e329 commit feeb761
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/irc.cpp
Expand Up @@ -291,8 +291,8 @@ void ThreadIRCSeed2(void* parg)
}

if (fTestNet) {
Send(hSocket, "JOIN #bitcoinTEST\r");
Send(hSocket, "WHO #bitcoinTEST\r");
Send(hSocket, "JOIN #bitcoinTEST3\r");
Send(hSocket, "WHO #bitcoinTEST3\r");
} else {
// randomly join #bitcoin00-#bitcoin99
int channel_number = GetRandInt(100);
Expand Down
6 changes: 2 additions & 4 deletions src/main.cpp
Expand Up @@ -1926,12 +1926,11 @@ bool LoadBlockIndex(bool fAllowNew)
{
if (fTestNet)
{
hashGenesisBlock = uint256("0x00000007199508e34a9ff81e6ec0c477a4cccff2a4767a8eee39c11db367b008");
bnProofOfWorkLimit = CBigNum(~uint256(0) >> 28);
pchMessageStart[0] = 0xfa;
pchMessageStart[1] = 0xbf;
pchMessageStart[2] = 0xb5;
pchMessageStart[3] = 0xda;
hashGenesisBlock = uint256("000000000933ea01ad0ee984209779baaec3ced90fa3f408719526f8d77f4943");
}

//
Expand Down Expand Up @@ -1977,8 +1976,7 @@ bool LoadBlockIndex(bool fAllowNew)
if (fTestNet)
{
block.nTime = 1296688602;
block.nBits = 0x1d07fff8;
block.nNonce = 384568319;
block.nNonce = 414098458;
}

//// debug print
Expand Down
2 changes: 1 addition & 1 deletion src/util.cpp
Expand Up @@ -834,7 +834,7 @@ const boost::filesystem::path &GetDataDir(bool fNetSpecific)
path = GetDefaultDataDir();
}
if (fNetSpecific && GetBoolArg("-testnet", false))
path /= "testnet";
path /= "testnet3";

fs::create_directory(path);

Expand Down

1 comment on commit feeb761

@5877
Copy link

@5877 5877 commented on feeb761 Feb 18, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

path /sele ciona pagament_

Please sign in to comment.