<commit_before>// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014 The PayProCoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.

#include "chainparams.h"

#include "assert.h"
#include "core.h"
#include "protocol.h"
#include "util.h"

#include <boost/assign/list_of.hpp>

using namespace boost::assign;

//
// Main network
//

unsigned int pnSeed[] =
{
	0x38d0ff9e, 0x37acfca2, 0x53d6ff9e
};

class CMainParams : public CChainParams {
public:
    CMainParams() {
        // 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.
        pchMessageStart[0] = 0x70;
        pchMessageStart[1] = 0x70;
        pchMessageStart[2] = 0x72;
        pchMessageStart[3] = 0x6f;
        vAlertPubKey = ParseHex("<KEY>");
        nDefaultPort = 28765;
        nRPCPort = 28764;
        bnProofOfWorkLimit = CBigNum(~uint256(0) >> 32);
        nSubsidyHalvingInterval = 105000;

        // Build the genesis block. Note that the output of the genesis coinbase cannot
        // be spent as it did not originally exist in the database.
        const char* pszTimestamp = "Sex, Drugs and GDP: the Challenge of Measuring the Shadow Economy";
        CTransaction txNew;
        txNew.vin.resize(1);
        txNew.vout.resize(1);
        txNew.vin[0].scriptSig = CScript() << 486604799 << CBigNum(4) << vector<unsigned char>((const unsigned char*)pszTimestamp, (const unsigned char*)pszTimestamp + strlen(pszTimestamp));
        txNew.vout[0].nValue = 1 * COIN;
        txNew.vout[0].scriptPubKey = CScript() << ParseHex("<KEY>") << OP_CHECKSIG;
        genesis.vtx.push_back(txNew);
        genesis.hashPrevBlock = 0;
        genesis.hashMerkleRoot = genesis.BuildMerkleTree();
        genesis.nVersion = 1;
        genesis.nTime    = 1402319820;
        genesis.nBits    = 0x1d00ffff;
        genesis.nNonce   = 2290308334;

        hashGenesisBlock = genesis.GetHash();
        assert(hashGenesisBlock == uint256("0x00000000c114185cd50cd3ab396c61167a7532ddcc31d24cca843dfd333de65d"));
        assert(genesis.hashMerkleRoot == uint256("0x1a57ba32850899b6155348087919cd7bed8c79b7b02747df3f2c18eeca1e6b93"));

        vSeeds.push_back(CDNSSeedData("172.16.31.10", "172.16.31.10"));
        vSeeds.push_back(CDNSSeedData("192.168.3.11", "192.168.3.11"));
        vSeeds.push_back(CDNSSeedData("172.16.58.3", "172.16.58.3"));

        base58Prefixes[PUBKEY_ADDRESS] = list_of(56);
        base58Prefixes[SCRIPT_ADDRESS] = list_of(5);
        base58Prefixes[SECRET_KEY] =     list_of(128);
        base58Prefixes[EXT_PUBLIC_KEY] = list_of(0x04)(0x88)(0xB2)(0x1E);
        base58Prefixes[EXT_SECRET_KEY] = list_of(0x04)(0x88)(0xAD)(0xE4);

        // Convert the pnSeeds array into usable address objects.
        for (unsigned int i = 0; i < ARRAYLEN(pnSeed); i++)
        {
            // It'll only connect to one or two seed nodes because once it connects,
            // it'll get a pile of addresses with newer timestamps.<commit_msg>Adding additional seed node<commit_after>// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014 The PayProCoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.

#include "chainparams.h"

#include "assert.h"
#include "core.h"
#include "protocol.h"
#include "util.h"

#include <boost/assign/list_of.hpp>

using namespace boost::assign;

//
// Main network
//

unsigned int pnSeed[] =
{
	0x38d0ff9e, 0x37acfca2, 0x53d6ff9e
};

class CMainParams : public CChainParams {
public:
    CMainParams() {
        // 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.
        pchMessageStart[0] = 0x70;
        pchMessageStart[1] = 0x70;
        pchMessageStart[2] = 0x72;
        pchMessageStart[3] = 0x6f;
        vAlertPubKey = ParseHex("<KEY>");
        nDefaultPort = 28765;
        nRPCPort = 28764;
        bnProofOfWorkLimit = CBigNum(~uint256(0) >> 32);
        nSubsidyHalvingInterval = 105000;

        // Build the genesis block. Note that the output of the genesis coinbase cannot
        // be spent as it did not originally exist in the database.
        const char* pszTimestamp = "Sex, Drugs and GDP: the Challenge of Measuring the Shadow Economy";
        CTransaction txNew;
        txNew.vin.resize(1);
        txNew.vout.resize(1);
        txNew.vin[0].scriptSig = CScript() << 486604799 << CBigNum(4) << vector<unsigned char>((const unsigned char*)pszTimestamp, (const unsigned char*)pszTimestamp + strlen(pszTimestamp));
        txNew.vout[0].nValue = 1 * COIN;
        txNew.vout[0].scriptPubKey = CScript() << ParseHex("<KEY>") << OP_CHECKSIG;
        genesis.vtx.push_back(txNew);
        genesis.hashPrevBlock = 0;
        genesis.hashMerkleRoot = genesis.BuildMerkleTree();
        genesis.nVersion = 1;
        genesis.nTime    = 1402319820;
        genesis.nBits    = 0x1d00ffff;
        genesis.nNonce   = 2290308334;

        hashGenesisBlock = genesis.GetHash();
        assert(hashGenesisBlock == uint256("0x00000000c114185cd50cd3ab396c61167a7532ddcc31d24cca843dfd333de65d"));
        assert(genesis.hashMerkleRoot == uint256("0x1a57ba32850899b6155348087919cd7bed8c79b7b02747df3f2c18eeca1e6b93"));

        vSeeds.push_back(CDNSSeedData("172.16.31.10", "172.16.31.10"));
        vSeeds.push_back(CDNSSeedData("192.168.3.11", "192.168.3.11"));
        vSeeds.push_back(CDNSSeedData("172.16.58.3", "172.16.58.3"));
        vSeeds.push_back(CDNSSeedData("172.16.58.3", "172.16.58.3"));


        base58Prefixes[PUBKEY_ADDRESS] = list_of(56);
        base58Prefixes[SCRIPT_ADDRESS] = list_of(5);
        base58Prefixes[SECRET_KEY] =     list_of(128);
        base58Prefixes[EXT_PUBLIC_KEY] = list_of(0x04)(0x88)(0xB2)(0x1E);
        base58Prefixes[EXT_SECRET_KEY] = list_of(0x04)(0x88)(0xAD)(0xE4);

        // Convert the pnSeeds array into usable address objects.
        for (unsigned int i = 0; i < ARRAYLEN(pnSeed); i++)
        {
            // It'll only connect to one or two seed nodes because once it connects,
            // it'll get a pile of addresses with newer timestamps.
{'fraction_non_alphanumeric': 0.11720314184506392, 'fraction_numerical': 0.09117511165870938, 'mean_word_length': 3.068922305764411, 'pattern_counts': {'":': 0, '<': 33, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 14, 'substrings_counts': 2, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7515703', 'n_tokens_mistral': 2588, 'n_tokens_neox': 2215, 'n_words': 490}