Skip to content

Commit

Permalink
Brexit Relaunch
Browse files Browse the repository at this point in the history
  • Loading branch information
brexitcoin committed Jul 4, 2016
1 parent 93aeefc commit dcebb2a
Show file tree
Hide file tree
Showing 81 changed files with 215 additions and 215 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -32,8 +32,8 @@ Brexit is a digital currency that enables instant payments to anyone, anywhere i


**MainNet Parameters**
P2P Port = 7511
RPC Port = 7512
P2P Port = 7611
RPC Port = 7612


Build Instructions for Qt5 Linux Wallet (Ubuntu)
Expand Down
2 changes: 0 additions & 2 deletions build/build.h

This file was deleted.

4 changes: 2 additions & 2 deletions contrib/debian/examples/brexitcoin.conf
Expand Up @@ -10,11 +10,11 @@
#proxy=127.0.0.1:9050

# Use as many addnode= settings as you like to connect to specific peers
#addnode=188.120.246.137:7511
#addnode=188.120.246.137:7611

# ... or use as many connect= settings as you like to connect ONLY
# to specific peers:
#connect=188.120.246.137:7511
#connect=188.120.246.137:7611

# Do not use Internet Relay Chat (irc.lfnet.org #brexit channel) to
# find other peers.
Expand Down
2 changes: 1 addition & 1 deletion contrib/linearize/example-linearize.cfg
Expand Up @@ -3,7 +3,7 @@
rpcuser=someuser
rpcpassword=somepassword
host=127.0.0.1
port=7512
port=7612

# bootstrap.dat hashlist settings (linearize-hashes)
max_height=390000
Expand Down
2 changes: 1 addition & 1 deletion contrib/linearize/linearize-hashes.py
Expand Up @@ -89,7 +89,7 @@ def get_block_hashes(settings):
if 'host' not in settings:
settings['host'] = '127.0.0.1'
if 'port' not in settings:
settings['port'] = 7512
settings['port'] = 7612
if 'min_height' not in settings:
settings['min_height'] = 0
if 'max_height' not in settings:
Expand Down
2 changes: 1 addition & 1 deletion share/seeds/generate-seeds.py
Expand Up @@ -121,7 +121,7 @@ def main():
g.write('// Each line contains a 16-byte IPv6 address and a port.\n')
g.write('// IPv4 as well as onion addresses are wrapped inside a IPv6 address accordingly.\n')
with open(os.path.join(indir,'nodes_main.txt'),'r') as f:
process_nodes(g, f, 'pnSeed6_main', 7511)
process_nodes(g, f, 'pnSeed6_main', 7611)
g.write('\n')
with open(os.path.join(indir,'nodes_test.txt'),'r') as f:
process_nodes(g, f, 'pnSeed6_test', 25714)
Expand Down
42 changes: 22 additions & 20 deletions src/chainparams.cpp
Expand Up @@ -21,6 +21,7 @@ struct SeedSpec6 {

#include "chainparamsseeds.h"


//
// Main network
//
Expand Down Expand Up @@ -49,14 +50,14 @@ class CMainParams : public CChainParams {
// 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] = 0x58;
pchMessageStart[1] = 0xca;
pchMessageStart[2] = 0x9e;
pchMessageStart[3] = 0xa4;
vAlertPubKey = ParseHex("0486bce1bac0d543f104cbff2bd23680056a3b9ea05e1137d2ff90eeb5e08472eb500322593a2cb06fbf8297d7beb6cd30cb90f98153b5b7cce1493749e41e0284");
nDefaultPort = 7511;
nRPCPort = 7512;
bnProofOfWorkLimit = CBigNum(~uint256(0) >> 20);
pchMessageStart[0] = 0xb7;
pchMessageStart[1] = 0x67;
pchMessageStart[2] = 0xb0;
pchMessageStart[3] = 0x00;
vAlertPubKey = ParseHex("044394dd9f4c40c7f88c8979f2c6a3e4a4eb0f978c20112ef203df6de71c31498101e6f99c25a36a73d1f859756d09007ccc4526fff3f221ae24fb2a3e9e2fab5a");
nDefaultPort = 7611;
nRPCPort = 7612;
bnProofOfWorkLimit = CBigNum(~uint256(0) >> 16);

// Build the genesis block. Note that the output of the genesis coinbase cannot
// be spent as it did not originally exist in the database.
Expand All @@ -66,7 +67,7 @@ class CMainParams : public CChainParams {
// CTxIn(COutPoint(0000000000, 4294967295), coinbase 00012a24323020466562203230313420426974636f696e2041544d7320636f6d6520746f20555341)
// CTxOut(empty)
// vMerkleTree: 12630d16a9
const char* pszTimestamp = "IMF Boss Markets Got Brexit Prediction Wrong June 26th 2017 ";
const char* pszTimestamp = "IMF Boss Markets Got Brexit Prediction Wrong";
std::vector<CTxIn> vin;
vin.resize(1);
vin[0].scriptSig = CScript() << 0 << CBigNum(42) << vector<unsigned char>((const unsigned char*)pszTimestamp, (const unsigned char*)pszTimestamp + strlen(pszTimestamp));
Expand All @@ -78,13 +79,14 @@ class CMainParams : public CChainParams {
genesis.hashPrevBlock = 0;
genesis.hashMerkleRoot = genesis.BuildMerkleTree();
genesis.nVersion = 1;
genesis.nTime = 1467051682;
genesis.nTime = 1467640833;
genesis.nBits = 0x1e0fffff;
genesis.nNonce = 166307;
genesis.nNonce = 217629;

hashGenesisBlock = genesis.GetHash();
assert(hashGenesisBlock == uint256("0x000004c9f8db4e9501320efb1de8012e57e31fa52e8e1b9ccc18103a79f5d312"));
assert(genesis.hashMerkleRoot == uint256("0xacd362f2b57c2f3c0f968669df4a766f08cba7e14e2712beb60b4f8c65860234"));

assert(hashGenesisBlock == uint256("0x00000420f0363f64f0e159fa35604cf4eec7fd13038849229f1d84b7f1f38f1c"));
assert(genesis.hashMerkleRoot == uint256("0x6082c39c4274874dcfc9447327bd6b8071f2d8ba4458909b3d494c5bfa6e6569"));

base58Prefixes[PUBKEY_ADDRESS] = list_of(25);
base58Prefixes[SCRIPT_ADDRESS] = list_of(85);
Expand All @@ -94,7 +96,7 @@ class CMainParams : public CChainParams {

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

vSeeds.push_back(CDNSSeedData("node.brexit.co.in", "95.211.57.108"));
vSeeds.push_back(CDNSSeedData("", ""));

nLastPOWBlock = 62016;
}
Expand Down Expand Up @@ -122,14 +124,14 @@ class CTestNetParams : 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] = 0xb7;
pchMessageStart[1] = 0x67;
pchMessageStart[2] = 0xb0;
pchMessageStart[3] = 0x00;
pchMessageStart[0] = 0x58;
pchMessageStart[1] = 0xca;
pchMessageStart[2] = 0x9e;
pchMessageStart[3] = 0xa4;
bnProofOfWorkLimit = CBigNum(~uint256(0) >> 16);
vAlertPubKey = ParseHex("0471dc165db490094d35cde15b1f5d755fa6ad6f2b5ed0f340e3f17f57389c3c2af113a8cbcc885bde73305a553b5640c83021128008ddf882e856336269080496");
nDefaultPort = 17512;
nRPCPort = 17512;
nDefaultPort = 17612;
nRPCPort = 17612;
strDataDir = "testnet";

// Modify the testnet genesis block so the timestamp is valid for a later start.
Expand Down
2 changes: 1 addition & 1 deletion src/checkpoints.cpp
Expand Up @@ -27,7 +27,7 @@ namespace Checkpoints
//
static MapCheckpoints mapCheckpoints =
boost::assign::map_list_of
( 0, uint256("0x000004c9f8db4e9501320efb1de8012e57e31fa52e8e1b9ccc18103a79f5d312") )
( 0, uint256("0x") )
;

// TestNet has no checkpoints
Expand Down
4 changes: 2 additions & 2 deletions src/init.cpp
Expand Up @@ -170,7 +170,7 @@ std::string HelpMessage()
strUsage += " -proxy=<ip:port> " + _("Connect through SOCKS5 proxy") + "\n";
strUsage += " -tor=<ip:port> " + _("Use proxy to reach tor hidden services (default: same as -proxy)") + "\n";
strUsage += " -dns " + _("Allow DNS lookups for -addnode, -seednode and -connect") + "\n";
strUsage += " -port=<port> " + _("Listen for connections on <port> (default: 7511 or testnet: 25714)") + "\n";
strUsage += " -port=<port> " + _("Listen for connections on <port> (default: 7611 or testnet: 25714)") + "\n";
strUsage += " -maxconnections=<n> " + _("Maintain at most <n> connections to peers (default: 125)") + "\n";
strUsage += " -addnode=<ip> " + _("Add a node to connect to and attempt to keep the connection open") + "\n";
strUsage += " -connect=<ip> " + _("Connect only to the specified node(s)") + "\n";
Expand Down Expand Up @@ -223,7 +223,7 @@ std::string HelpMessage()
"solved instantly. This is intended for regression testing tools and app development.") + "\n";
strUsage += " -rpcuser=<user> " + _("Username for JSON-RPC connections") + "\n";
strUsage += " -rpcpassword=<pw> " + _("Password for JSON-RPC connections") + "\n";
strUsage += " -rpcport=<port> " + _("Listen for JSON-RPC connections on <port> (default: 7512 or testnet: 25715)") + "\n";
strUsage += " -rpcport=<port> " + _("Listen for JSON-RPC connections on <port> (default: 7612 or testnet: 25715)") + "\n";
strUsage += " -rpcallowip=<ip> " + _("Allow JSON-RPC connections from specified IP address") + "\n";
if (!fHaveGUI)
{
Expand Down
Empty file modified src/leveldb/build_detect_platform 100644 → 100755
Empty file.
8 changes: 4 additions & 4 deletions src/main.h
Expand Up @@ -54,9 +54,9 @@ static const unsigned int LOCKTIME_THRESHOLD = 500000000; // Tue Nov 5 00:53:20

static const int64_t COIN_YEAR_REWARD = 4 * CENT;

inline bool IsProtocolV1RetargetingFixed(int nHeight) { return TestNet() || nHeight > 2800; }
inline bool IsProtocolV2(int nHeight) { return TestNet() || nHeight > 2800; }
inline bool IsProtocolV3(int64_t nTime) { return TestNet() || nTime > 1444028400; }
inline bool IsProtocolV1RetargetingFixed(int nHeight) { return TestNet() || nHeight > 62016; }
inline bool IsProtocolV2(int nHeight) { return TestNet() || nHeight > 62016; }
inline bool IsProtocolV3(int64_t nTime) { return TestNet() || nTime > 1467633600; }

static const int64_t workDrift = 10 * 60; // 600 seconds
static const int64_t stakeDrift = 10 * 64; // 640 seconds
Expand Down Expand Up @@ -580,7 +580,7 @@ class CBlock
{
public:
// header
static const int CURRENT_VERSION = 2;
static const int CURRENT_VERSION = 1;
int nVersion;
uint256 hashPrevBlock;
uint256 hashMerkleRoot;
Expand Down
4 changes: 2 additions & 2 deletions src/qt/bitcoinstrings.cpp
Expand Up @@ -39,7 +39,7 @@ QT_TRANSLATE_NOOP("bitcoin-core", "Specify connection timeout in milliseconds (d
QT_TRANSLATE_NOOP("bitcoin-core", "Connect through SOCKS5 proxy"),
QT_TRANSLATE_NOOP("bitcoin-core", "Use proxy to reach tor hidden services (default: same as -proxy)"),
QT_TRANSLATE_NOOP("bitcoin-core", "Allow DNS lookups for -addnode, -seednode and -connect"),
QT_TRANSLATE_NOOP("bitcoin-core", "Listen for connections on <port> (default: 7511 or testnet: 25714)"),
QT_TRANSLATE_NOOP("bitcoin-core", "Listen for connections on <port> (default: 7611 or testnet: 25714)"),
QT_TRANSLATE_NOOP("bitcoin-core", "Maintain at most <n> connections to peers (default: 125)"),
QT_TRANSLATE_NOOP("bitcoin-core", "Add a node to connect to and attempt to keep the connection open"),
QT_TRANSLATE_NOOP("bitcoin-core", "Connect only to the specified node(s)"),
Expand Down Expand Up @@ -85,7 +85,7 @@ QT_TRANSLATE_NOOP("bitcoin-core", ""
QT_TRANSLATE_NOOP("bitcoin-core", "Username for JSON-RPC connections"),
QT_TRANSLATE_NOOP("bitcoin-core", "Password for JSON-RPC connections"),
QT_TRANSLATE_NOOP("bitcoin-core", ""
"Listen for JSON-RPC connections on <port> (default: 7512 or testnet: 25715)"),
"Listen for JSON-RPC connections on <port> (default: 7612 or testnet: 25715)"),
QT_TRANSLATE_NOOP("bitcoin-core", "Allow JSON-RPC connections from specified IP address"),
QT_TRANSLATE_NOOP("bitcoin-core", "Send commands to node running on <ip> (default: 127.0.0.1)"),
QT_TRANSLATE_NOOP("bitcoin-core", "Wait for RPC server to start"),
Expand Down
4 changes: 2 additions & 2 deletions src/qt/locale/bitcoin_af_ZA.ts
Expand Up @@ -2715,7 +2715,7 @@ for example: alertnotify=echo %%s | mail -s &quot;Brexit Alert&quot; admin@foo.c
</message>
<message>
<location line="+5"/>
<source>Listen for connections on &lt;port&gt; (default: 7511 or testnet: 25714)</source>
<source>Listen for connections on &lt;port&gt; (default: 7611 or testnet: 25714)</source>
<translation type="unfinished"/>
</message>
<message>
Expand Down Expand Up @@ -2765,7 +2765,7 @@ for example: alertnotify=echo %%s | mail -s &quot;Brexit Alert&quot; admin@foo.c
</message>
<message>
<location line="+62"/>
<source>Listen for JSON-RPC connections on &lt;port&gt; (default: 7512 or testnet: 25715)</source>
<source>Listen for JSON-RPC connections on &lt;port&gt; (default: 7612 or testnet: 25715)</source>
<translation type="unfinished"/>
</message>
<message>
Expand Down
4 changes: 2 additions & 2 deletions src/qt/locale/bitcoin_ar.ts
Expand Up @@ -2718,7 +2718,7 @@ for example: alertnotify=echo %%s | mail -s &quot;Brexit Alert&quot; admin@foo.c
</message>
<message>
<location line="+5"/>
<source>Listen for connections on &lt;port&gt; (default: 7511 or testnet: 25714)</source>
<source>Listen for connections on &lt;port&gt; (default: 7611 or testnet: 25714)</source>
<translation type="unfinished"/>
</message>
<message>
Expand Down Expand Up @@ -2768,7 +2768,7 @@ for example: alertnotify=echo %%s | mail -s &quot;Brexit Alert&quot; admin@foo.c
</message>
<message>
<location line="+62"/>
<source>Listen for JSON-RPC connections on &lt;port&gt; (default: 7512 or testnet: 25715)</source>
<source>Listen for JSON-RPC connections on &lt;port&gt; (default: 7612 or testnet: 25715)</source>
<translation type="unfinished"/>
</message>
<message>
Expand Down
4 changes: 2 additions & 2 deletions src/qt/locale/bitcoin_be_BY.ts
Expand Up @@ -2719,7 +2719,7 @@ for example: alertnotify=echo %%s | mail -s &quot;Brexit Alert&quot; admin@foo.c
</message>
<message>
<location line="+5"/>
<source>Listen for connections on &lt;port&gt; (default: 7511 or testnet: 25714)</source>
<source>Listen for connections on &lt;port&gt; (default: 7611 or testnet: 25714)</source>
<translation type="unfinished"/>
</message>
<message>
Expand Down Expand Up @@ -2769,7 +2769,7 @@ for example: alertnotify=echo %%s | mail -s &quot;Brexit Alert&quot; admin@foo.c
</message>
<message>
<location line="+62"/>
<source>Listen for JSON-RPC connections on &lt;port&gt; (default: 7512 or testnet: 25715)</source>
<source>Listen for JSON-RPC connections on &lt;port&gt; (default: 7612 or testnet: 25715)</source>
<translation type="unfinished"/>
</message>
<message>
Expand Down
4 changes: 2 additions & 2 deletions src/qt/locale/bitcoin_bg.ts
Expand Up @@ -2715,7 +2715,7 @@ for example: alertnotify=echo %%s | mail -s &quot;Brexit Alert&quot; admin@foo.c
</message>
<message>
<location line="+5"/>
<source>Listen for connections on &lt;port&gt; (default: 7511 or testnet: 25714)</source>
<source>Listen for connections on &lt;port&gt; (default: 7611 or testnet: 25714)</source>
<translation type="unfinished"/>
</message>
<message>
Expand Down Expand Up @@ -2765,7 +2765,7 @@ for example: alertnotify=echo %%s | mail -s &quot;Brexit Alert&quot; admin@foo.c
</message>
<message>
<location line="+62"/>
<source>Listen for JSON-RPC connections on &lt;port&gt; (default: 7512 or testnet: 25715)</source>
<source>Listen for JSON-RPC connections on &lt;port&gt; (default: 7612 or testnet: 25715)</source>
<translation type="unfinished"/>
</message>
<message>
Expand Down
4 changes: 2 additions & 2 deletions src/qt/locale/bitcoin_bs.ts
Expand Up @@ -2715,7 +2715,7 @@ for example: alertnotify=echo %%s | mail -s &quot;Brexit Alert&quot; admin@foo.c
</message>
<message>
<location line="+5"/>
<source>Listen for connections on &lt;port&gt; (default: 7511 or testnet: 25714)</source>
<source>Listen for connections on &lt;port&gt; (default: 7611 or testnet: 25714)</source>
<translation type="unfinished"/>
</message>
<message>
Expand Down Expand Up @@ -2765,7 +2765,7 @@ for example: alertnotify=echo %%s | mail -s &quot;Brexit Alert&quot; admin@foo.c
</message>
<message>
<location line="+62"/>
<source>Listen for JSON-RPC connections on &lt;port&gt; (default: 7512 or testnet: 25715)</source>
<source>Listen for JSON-RPC connections on &lt;port&gt; (default: 7612 or testnet: 25715)</source>
<translation type="unfinished"/>
</message>
<message>
Expand Down
4 changes: 2 additions & 2 deletions src/qt/locale/bitcoin_ca.ts
Expand Up @@ -2715,7 +2715,7 @@ for example: alertnotify=echo %%s | mail -s &quot;Brexit Alert&quot; admin@foo.c
</message>
<message>
<location line="+5"/>
<source>Listen for connections on &lt;port&gt; (default: 7511 or testnet: 25714)</source>
<source>Listen for connections on &lt;port&gt; (default: 7611 or testnet: 25714)</source>
<translation type="unfinished"/>
</message>
<message>
Expand Down Expand Up @@ -2765,7 +2765,7 @@ for example: alertnotify=echo %%s | mail -s &quot;Brexit Alert&quot; admin@foo.c
</message>
<message>
<location line="+62"/>
<source>Listen for JSON-RPC connections on &lt;port&gt; (default: 7512 or testnet: 25715)</source>
<source>Listen for JSON-RPC connections on &lt;port&gt; (default: 7612 or testnet: 25715)</source>
<translation type="unfinished"/>
</message>
<message>
Expand Down
4 changes: 2 additions & 2 deletions src/qt/locale/bitcoin_ca@valencia.ts
Expand Up @@ -2715,7 +2715,7 @@ for example: alertnotify=echo %%s | mail -s &quot;Brexit Alert&quot; admin@foo.c
</message>
<message>
<location line="+5"/>
<source>Listen for connections on &lt;port&gt; (default: 7511 or testnet: 25714)</source>
<source>Listen for connections on &lt;port&gt; (default: 7611 or testnet: 25714)</source>
<translation type="unfinished"/>
</message>
<message>
Expand Down Expand Up @@ -2765,7 +2765,7 @@ for example: alertnotify=echo %%s | mail -s &quot;Brexit Alert&quot; admin@foo.c
</message>
<message>
<location line="+62"/>
<source>Listen for JSON-RPC connections on &lt;port&gt; (default: 7512 or testnet: 25715)</source>
<source>Listen for JSON-RPC connections on &lt;port&gt; (default: 7612 or testnet: 25715)</source>
<translation type="unfinished"/>
</message>
<message>
Expand Down
8 changes: 4 additions & 4 deletions src/qt/locale/bitcoin_ca_ES.ts
Expand Up @@ -2731,8 +2731,8 @@ for example: alertnotify=echo %%s | mail -s &quot;Brexit Alert&quot; admin@foo.c
</message>
<message>
<location line="+5"/>
<source>Listen for connections on &lt;port&gt; (default: 7511 or testnet: 25714)</source>
<translation>Escoltar connexions en &lt;port&gt; (per defecte: 7511 o testnet: 25714)</translation>
<source>Listen for connections on &lt;port&gt; (default: 7611 or testnet: 25714)</source>
<translation>Escoltar connexions en &lt;port&gt; (per defecte: 7611 o testnet: 25714)</translation>
</message>
<message>
<location line="+1"/>
Expand Down Expand Up @@ -2781,8 +2781,8 @@ for example: alertnotify=echo %%s | mail -s &quot;Brexit Alert&quot; admin@foo.c
</message>
<message>
<location line="+62"/>
<source>Listen for JSON-RPC connections on &lt;port&gt; (default: 7512 or testnet: 25715)</source>
<translation>Escoltar connexions JSON-RPC al port &lt;port&gt; (per defecte: 7512 o testnet: 25715)</translation>
<source>Listen for JSON-RPC connections on &lt;port&gt; (default: 7612 or testnet: 25715)</source>
<translation>Escoltar connexions JSON-RPC al port &lt;port&gt; (per defecte: 7612 o testnet: 25715)</translation>
</message>
<message>
<location line="-16"/>
Expand Down
8 changes: 4 additions & 4 deletions src/qt/locale/bitcoin_cs.ts
Expand Up @@ -2735,8 +2735,8 @@ for example: alertnotify=echo %%s | mail -s &quot;Brexit Alert&quot; admin@foo.c
</message>
<message>
<location line="+5"/>
<source>Listen for connections on &lt;port&gt; (default: 7511 or testnet: 25714)</source>
<translation>Naslouchej připojením na &lt;port&gt; (výchozí: 7511 nebo testovací síť: 25714)</translation>
<source>Listen for connections on &lt;port&gt; (default: 7611 or testnet: 25714)</source>
<translation>Naslouchej připojením na &lt;port&gt; (výchozí: 7611 nebo testovací síť: 25714)</translation>
</message>
<message>
<location line="+1"/>
Expand Down Expand Up @@ -2785,8 +2785,8 @@ for example: alertnotify=echo %%s | mail -s &quot;Brexit Alert&quot; admin@foo.c
</message>
<message>
<location line="+62"/>
<source>Listen for JSON-RPC connections on &lt;port&gt; (default: 7512 or testnet: 25715)</source>
<translation>Naslouchej JSON-RPC připojením na &lt;port&gt; (výchozí: 7512 nebo testovací síť: 25715)</translation>
<source>Listen for JSON-RPC connections on &lt;port&gt; (default: 7612 or testnet: 25715)</source>
<translation>Naslouchej JSON-RPC připojením na &lt;port&gt; (výchozí: 7612 nebo testovací síť: 25715)</translation>
</message>
<message>
<location line="-16"/>
Expand Down

0 comments on commit dcebb2a

Please sign in to comment.