Skip to content

Commit

Permalink
Revert "build: fix newer boost build with c++11"
Browse files Browse the repository at this point in the history
This reverts commit b513bc4.
  • Loading branch information
thrasher- committed Oct 26, 2016
1 parent 865c17d commit e59c294
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions src/chainparams.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ class CMainParams : public CChainParams {
CMainParams() {
networkID = CBaseChainParams::MAIN;
strNetworkID = "main";
/**
/**
* The message start string is designed to be unlikely to occur in normal data.
* The characters are rarely used upper ASCII, not valid as UTF-8, and produce
* a large 4-byte int at any alignment.
Expand All @@ -130,7 +130,7 @@ class CMainParams : public CChainParams {
/**
* Build the genesis block. Note that the output of the genesis coinbase cannot
* be spent as it did not originally exist in the database.
*
*
* CBlock(hash=000000000019d6, ver=1, hashPrevBlock=00000000000000, hashMerkleRoot=4a5e1e, nTime=1231006505, nBits=1d00ffff, nNonce=2083236893, vtx=1)
* CTransaction(hash=4a5e1e, ver=1, vin.size=1, vout.size=1, nLockTime=0)
* CTxIn(COutPoint(000000, -1), coinbase 04ffff001d0104455468652054696d65732030332f4a616e2f32303039204368616e63656c6c6f72206f6e206272696e6b206f66207365636f6e64206261696c6f757420666f722062616e6b73)
Expand Down Expand Up @@ -163,11 +163,11 @@ class CMainParams : public CChainParams {
vSeeds.push_back(CDNSSeedData("weminemnc.com", "dnsseed.weminemnc.com"));
vSeeds.push_back(CDNSSeedData("loshan.co.uk", "seed-a.litecoin.loshan.co.uk"));

base58Prefixes[PUBKEY_ADDRESS] = {48};
base58Prefixes[SCRIPT_ADDRESS] = {5};
base58Prefixes[SECRET_KEY] = {176};
base58Prefixes[EXT_PUBLIC_KEY] = {0x04, 0x88, 0xb2, 0x1e};
base58Prefixes[EXT_SECRET_KEY] = {0x04, 0x88, 0xad, 0xe4};
base58Prefixes[PUBKEY_ADDRESS] = list_of(48);
base58Prefixes[SCRIPT_ADDRESS] = list_of(5);
base58Prefixes[SECRET_KEY] = list_of(176);
base58Prefixes[EXT_PUBLIC_KEY] = list_of(0x04)(0x88)(0xB2)(0x1E);
base58Prefixes[EXT_SECRET_KEY] = list_of(0x04)(0x88)(0xAD)(0xE4);

convertSeed6(vFixedSeeds, pnSeed6_main, ARRAYLEN(pnSeed6_main));

Expand All @@ -184,7 +184,7 @@ class CMainParams : public CChainParams {
nEnforceV2AfterHeight = 710000;
}

const Checkpoints::CCheckpointData& Checkpoints() const
const Checkpoints::CCheckpointData& Checkpoints() const
{
return data;
}
Expand Down Expand Up @@ -225,11 +225,11 @@ class CTestNetParams : public CMainParams {
vSeeds.push_back(CDNSSeedData("xurious.com", "testnet-seed.ltc.xurious.com"));
vSeeds.push_back(CDNSSeedData("wemine-testnet.com", "dnsseed.wemine-testnet.com"));

base58Prefixes[PUBKEY_ADDRESS] = {111};
base58Prefixes[SCRIPT_ADDRESS] = {196};
base58Prefixes[SECRET_KEY] = {239};
base58Prefixes[EXT_PUBLIC_KEY] = {0x04, 0x35, 0x87, 0xcf};
base58Prefixes[EXT_SECRET_KEY] = {0x04, 0x35, 0x83, 0x94};
base58Prefixes[PUBKEY_ADDRESS] = list_of(111);
base58Prefixes[SCRIPT_ADDRESS] = list_of(196);
base58Prefixes[SECRET_KEY] = list_of(239);
base58Prefixes[EXT_PUBLIC_KEY] = list_of(0x04)(0x35)(0x87)(0xCF);
base58Prefixes[EXT_SECRET_KEY] = list_of(0x04)(0x35)(0x83)(0x94);

convertSeed6(vFixedSeeds, pnSeed6_test, ARRAYLEN(pnSeed6_test));

Expand All @@ -244,7 +244,7 @@ class CTestNetParams : public CMainParams {
// Litecoin: Testnet v2 enforced as of block 400k
nEnforceV2AfterHeight = 400000;
}
const Checkpoints::CCheckpointData& Checkpoints() const
const Checkpoints::CCheckpointData& Checkpoints() const
{
return dataTestnet;
}
Expand Down Expand Up @@ -293,7 +293,7 @@ class CRegTestParams : public CTestNetParams {
// Litecoin: v2 enforced using Bitcoin's supermajority rule
nEnforceV2AfterHeight = -1;
}
const Checkpoints::CCheckpointData& Checkpoints() const
const Checkpoints::CCheckpointData& Checkpoints() const
{
return dataRegtest;
}
Expand Down Expand Up @@ -322,7 +322,7 @@ class CUnitTestParams : public CMainParams, public CModifiableParams {
nEnforceV2AfterHeight = -1;
}

const Checkpoints::CCheckpointData& Checkpoints() const
const Checkpoints::CCheckpointData& Checkpoints() const
{
// UnitTest share the same checkpoints as MAIN
return data;
Expand Down

0 comments on commit e59c294

Please sign in to comment.