Browse Source

Starwels Ai

tags/v0.15.1
DATSEC 2 years ago
parent
commit
b75d909b35
4 changed files with 32 additions and 31 deletions
  1. 1
    1
      contrib/linearize/example-linearize.cfg
  2. 1
    1
      doc/man/starwels-qt.1
  3. 1
    1
      doc/man/starwelsd.1
  4. 29
    28
      src/chainparams.cpp

+ 1
- 1
contrib/linearize/example-linearize.cfg View File

@@ -18,7 +18,7 @@ input=/home/example/.starwels/blocks

# testnet
#netmagic=0b110907
#genesis=00000000c5a2df98ed0b29d576af8b99b3c6b65052614da34292aa4a109b3004
#genesis=000000003d69a915e9da53348c5c272978bb743442e3a6341c11061c125811a2
#input=/home/example/.starwels/testnet3/blocks

# "output" option causes blockchain files to be written to the given location,

+ 1
- 1
doc/man/starwels-qt.1 View File

@@ -34,7 +34,7 @@ and potentially skip their script verification (0 to verify all,
default:
0000000002a47ec40e87c18501786717cbebb96efa3bb05505e1c24cce51689e,
testnet:
00000000bf9f221b2acc9bd6ae001ccd5640615a5e4d9ed94bbb3564d3e372bd)
0000000002a47ec40e87c18501786717cbebb96efa3bb05505e1c24cce51689e)
.HP
\fB\-conf=\fR<file>
.IP

+ 1
- 1
doc/man/starwelsd.1 View File

@@ -35,7 +35,7 @@ and potentially skip their script verification (0 to verify all,
default:
0000000002a47ec40e87c18501786717cbebb96efa3bb05505e1c24cce51689e,
testnet:
00000000bf9f221b2acc9bd6ae001ccd5640615a5e4d9ed94bbb3564d3e372bd)
0000000002a47ec40e87c18501786717cbebb96efa3bb05505e1c24cce51689e)
.HP
\fB\-conf=\fR<file>
.IP

+ 29
- 28
src/chainparams.cpp View File

@@ -93,7 +93,7 @@ public:
consensus.nMinimumChainWork = uint256S("0x000000000000000000000000000000000000000000000000000010c410c410c4");

// By default assume that the signatures in ancestors of this block are valid.
consensus.defaultAssumeValid = uint256S("0x0000000002a47ec40e87c18501786717cbebb96efa3bb05505e1c24cce51689e"); //4096
consensus.defaultAssumeValid = uint256S("0x0000000002a47ec40e87c18501786717cbebb96efa3bb05505e1c24cce51689e"); // 4096

/**
* The message start string is designed to be unlikely to occur in normal data.
@@ -151,16 +151,16 @@ public:
CTestNetParams() {
strNetworkID = "test";
consensus.nSubsidyHalvingInterval = 210000;
consensus.BIP34Height = 21111;
consensus.BIP34Height = 227931;
consensus.BIP34Hash = uint256S("0x00");
consensus.BIP65Height = 581885;
consensus.BIP66Height = 330776;
consensus.BIP65Height = 388381;
consensus.BIP66Height = 363725;
consensus.powLimit = uint256S("00000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff");
consensus.nPowTargetTimespan = 14 * 24 * 60 * 60; // two weeks
consensus.nPowTargetSpacing = 10 * 60;
consensus.fPowAllowMinDifficultyBlocks = true;
consensus.fPowAllowMinDifficultyBlocks = false;
consensus.fPowNoRetargeting = false;
consensus.nRuleChangeActivationThreshold = 1512; // 75% for testchains
consensus.nRuleChangeActivationThreshold = 1916; // 95% of 2016
consensus.nMinerConfirmationWindow = 2016; // nPowTargetTimespan / nPowTargetSpacing
consensus.vDeployments[Consensus::DEPLOYMENT_TESTDUMMY].bit = 28;
consensus.vDeployments[Consensus::DEPLOYMENT_TESTDUMMY].nStartTime = 1493596800; // May 1 Monday, 2017
@@ -177,51 +177,52 @@ public:
consensus.vDeployments[Consensus::DEPLOYMENT_SEGWIT].nTimeout = 1530403200; // July 1 Sunday, 2018

// The best chain should have at least this much work.
consensus.nMinimumChainWork = uint256S("0x0000000000000000000000000000000000000000000000000000020102010201");
consensus.nMinimumChainWork = uint256S("0x000000000000000000000000000000000000000000000000000010c410c410c4");

// By default assume that the signatures in ancestors of this block are valid.
consensus.defaultAssumeValid = uint256S("0x00000000bf9f221b2acc9bd6ae001ccd5640615a5e4d9ed94bbb3564d3e372bd"); //512
consensus.defaultAssumeValid = uint256S("0x0000000002a47ec40e87c18501786717cbebb96efa3bb05505e1c24cce51689e"); // 4096

pchMessageStart[0] = 0x0b;
pchMessageStart[1] = 0x11;
pchMessageStart[2] = 0x09;
pchMessageStart[3] = 0x07;
pchMessageStart[0] = 0xf9;
pchMessageStart[1] = 0xbe;
pchMessageStart[2] = 0xb4;
pchMessageStart[3] = 0xd9;
nDefaultPort = 18353;
nPruneAfterHeight = 1000;
nPruneAfterHeight = 100000;

genesis = CreateGenesisBlock(1484956800, 2266491446, 0x1d00ffff, 1, 50 * COIN);
genesis = CreateGenesisBlock(1484870400, 2121032621, 0x1d00ffff, 1, 50 * COIN);
consensus.hashGenesisBlock = genesis.GetHash();
assert(consensus.hashGenesisBlock == uint256S("0x00000000c5a2df98ed0b29d576af8b99b3c6b65052614da34292aa4a109b3004"));
assert(consensus.hashGenesisBlock == uint256S("0x000000003d69a915e9da53348c5c272978bb743442e3a6341c11061c125811a2"));
assert(genesis.hashMerkleRoot == uint256S("0x7e2c59b1404833991962e7e6d95a1d4f81f03fffeaf79c0d25d97d24182db485"));

vFixedSeeds.clear();
vSeeds.clear();
// nodes with support for servicebits filtering should be at the top

base58Prefixes[PUBKEY_ADDRESS] = std::vector<unsigned char>(1,111);
base58Prefixes[SCRIPT_ADDRESS] = std::vector<unsigned char>(1,196);
base58Prefixes[SECRET_KEY] = std::vector<unsigned char>(1,239);
base58Prefixes[EXT_PUBLIC_KEY] = {0x04, 0x35, 0x87, 0xCF};
base58Prefixes[EXT_SECRET_KEY] = {0x04, 0x35, 0x83, 0x94};
base58Prefixes[PUBKEY_ADDRESS] = std::vector<unsigned char>(1,0);
base58Prefixes[SCRIPT_ADDRESS] = std::vector<unsigned char>(1,5);
base58Prefixes[SECRET_KEY] = std::vector<unsigned char>(1,128);
base58Prefixes[EXT_PUBLIC_KEY] = {0x04, 0x88, 0xB2, 0x1E};
base58Prefixes[EXT_SECRET_KEY] = {0x04, 0x88, 0xAD, 0xE4};

vFixedSeeds = std::vector<SeedSpec6>(pnSeed6_test, pnSeed6_test + ARRAYLEN(pnSeed6_test));
vFixedSeeds = std::vector<SeedSpec6>(pnSeed6_main, pnSeed6_main + ARRAYLEN(pnSeed6_main));

fDefaultConsistencyChecks = false;
fRequireStandard = false;
fRequireStandard = true;
fMineBlocksOnDemand = false;


checkpointData = (CCheckpointData) {
{
{256, uint256S("00000000284f483ce4d56f4f1a026363d2d0daf2c18f77cd5e8969166ca16212")},
{1024, uint256S("0x00000000fb559851169e0d915093533d31af0d963e06a7d80a20496f9cfd2b9f")},
{2048, uint256S("0x00000000a753b360bb5d54908378d999132fbeb415279ef530b397ae249cbef4")},
}
};

chainTxData = ChainTxData{
// Data as of block 00000000bf9f221b2acc9bd6ae001ccd5640615a5e4d9ed94bbb3564d3e372bd (height 512)
1518787878,
536,
0.15
// Data as of block 0000000002a47ec40e87c18501786717cbebb96efa3bb05505e1c24cce51689e (height 4096).
1517574356, // * UNIX timestamp of last known number of transactions
4172, // * total number of transactions between genesis and that timestamp
// (the tx=... number in the SetBestChain debug.log lines)
3.1 // * estimated number of transactions per second after that timestamp
};

}

Loading…
Cancel
Save