aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorGregory Maxwell <greg@xiph.org>2012-07-26 17:20:20 -0400
committerGregory Maxwell <greg@xiph.org>2012-07-26 17:50:23 -0400
commita9d811a9760720d29eb1be3b738e59a1621cc6d6 (patch)
tree34f56d2bb2cc307ca8f45abf65d22b2c7867b82e /src/main.cpp
parente0e54740b10e28dac2fe7aa9b461e956452e9649 (diff)
downloadbitcoin-a9d811a9760720d29eb1be3b738e59a1621cc6d6.tar.xz
Switch testnet3's message bytes to avoid connecting to old nodes.
The new bytes are based on "11" to appeal to Gavin's 11 fetish. This breaks existing testnet3 nodes as the blockchain files are also versioned. To upgrade a node delete everything except wallet.dat from your .bitcoin/testnet3 folder.
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 98eff597fc..0c636cdec1 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1978,10 +1978,10 @@ bool LoadBlockIndex(bool fAllowNew)
{
if (fTestNet)
{
- pchMessageStart[0] = 0xfa;
- pchMessageStart[1] = 0xbf;
- pchMessageStart[2] = 0xb5;
- pchMessageStart[3] = 0xda;
+ pchMessageStart[0] = 0x0b;
+ pchMessageStart[1] = 0x11;
+ pchMessageStart[2] = 0x09;
+ pchMessageStart[3] = 0x07;
hashGenesisBlock = uint256("000000000933ea01ad0ee984209779baaec3ced90fa3f408719526f8d77f4943");
}