mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-27 07:14:48 +00:00
Changed default mainnet P2P port from 9333 to 9338.
Changed default mainnet RPC port from 9332 to 9337. mBTC: va uBTC: mva Changed default example address to SegWit address.
This commit is contained in:
parent
1e187fea9d
commit
ce06e591cd
@ -109,7 +109,7 @@ public:
|
|||||||
pchMessageStart[1] = 0xc6;
|
pchMessageStart[1] = 0xc6;
|
||||||
pchMessageStart[2] = 0x07;
|
pchMessageStart[2] = 0x07;
|
||||||
pchMessageStart[3] = 0x9a;
|
pchMessageStart[3] = 0x9a;
|
||||||
nDefaultPort = 9333;
|
nDefaultPort = 9338;
|
||||||
nPruneAfterHeight = 100000;
|
nPruneAfterHeight = 100000;
|
||||||
|
|
||||||
const uint32_t genesisBlockReward = 0.00001 * COIN; // A small reward for the core developers :-)
|
const uint32_t genesisBlockReward = 0.00001 * COIN; // A small reward for the core developers :-)
|
||||||
|
@ -33,7 +33,7 @@ class CBaseMainParams : public CBaseChainParams
|
|||||||
public:
|
public:
|
||||||
CBaseMainParams()
|
CBaseMainParams()
|
||||||
{
|
{
|
||||||
nRPCPort = 9332;
|
nRPCPort = 9337;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -46,7 +46,7 @@ public:
|
|||||||
CBaseTestNetParams()
|
CBaseTestNetParams()
|
||||||
{
|
{
|
||||||
nRPCPort = 19332;
|
nRPCPort = 19332;
|
||||||
strDataDir = "testnet5";
|
strDataDir = "testnet6";
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -41,8 +41,8 @@ QString BitcoinUnits::longName(int unit)
|
|||||||
switch(unit)
|
switch(unit)
|
||||||
{
|
{
|
||||||
case BTC: return QString("KVA");
|
case BTC: return QString("KVA");
|
||||||
case mBTC: return QString("k");
|
case mBTC: return QString("va");
|
||||||
case uBTC: return QString("m");
|
case uBTC: return QString("mva");
|
||||||
default: return QString("???");
|
default: return QString("???");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -107,7 +107,7 @@ static const uint8_t dummydata[] = {0xeb,0x15,0x23,0x1d,0xfc,0xeb,0x60,0x92,0x58
|
|||||||
// Generate a dummy address with invalid CRC, starting with the network prefix.
|
// Generate a dummy address with invalid CRC, starting with the network prefix.
|
||||||
static std::string DummyAddress(const CChainParams ¶ms)
|
static std::string DummyAddress(const CChainParams ¶ms)
|
||||||
{
|
{
|
||||||
std::vector<unsigned char> sourcedata = params.Base58Prefix(CChainParams::PUBKEY_ADDRESS);
|
std::vector<unsigned char> sourcedata = params.Base58Prefix(CChainParams::SCRIPT_ADDRESS2);
|
||||||
sourcedata.insert(sourcedata.end(), dummydata, dummydata + sizeof(dummydata));
|
sourcedata.insert(sourcedata.end(), dummydata, dummydata + sizeof(dummydata));
|
||||||
for(int i=0; i<256; ++i) { // Try every trailing byte
|
for(int i=0; i<256; ++i) { // Try every trailing byte
|
||||||
std::string s = EncodeBase58(sourcedata.data(), sourcedata.data() + sourcedata.size());
|
std::string s = EncodeBase58(sourcedata.data(), sourcedata.data() + sourcedata.size());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user