forked from spesmilo/electrum
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
86 lines (54 loc) · 2.77 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
** base58-encoded Ixcoin addresses.
Public-key-hash-addresses have version 138 (or 111 testnet).
int64 nSubsidy = 96 * COIN;
nSubsidy >>= (nHeight / 210000);
//Hard limit to 21M Ixcoins
if (nHeight >= 227499)
nSubsidy = 0;
static const int64 nTargetTimespan = 14 * 24 * 60 * 60; // two weeks
static const int64 nTargetSpacing = 10 * 60;
getnexwork required_ixc:https://github.com/FrictionlessCoin/iXcoin/commit/47a908c3dc11ca3b8f6e2b537e3972c2670fc742#diff-7ec3c68a81efff79b6ca22ac1f1eabbaR1184
int64 nTargetTimespan = 14 * 24 * 60 * 60; // two weeks
+ bool revisedIxcoin = pindexLast->nHeight+1 > 20055; //next normal target: 20160
+ if (revisedIxcoin) nTargetTimespan = 24 * 60 * 60; //24 hours i.e. 144 blocks
+
+ const int64 nTargetSpacing = 10 * 60;
+ const int64 nInterval = nTargetTimespan / nTargetSpacing;
+// Threshold for nLockTime: below this value it is interpreted as block number, otherwise as UNIX timestamp.
+static const int LOCKTIME_THRESHOLD = 500000000;
block.nTime = 1304113447;
block.nNonce = 2245271137;
// Genesis block
const char* pszTimestamp = "To see the farm is to leave it";
txNew.vout[0].scriptPubKey = CScript() << ParseHex("04678afdb0fe5548271967f1a67130b7105cd6a828e03909a67962e0ea1f61deb649f6bc3f4cef38c4f35504e51ec112de5c384df7ba0b8d578a4c702b6bf11984") << OP_CHECKSIG;
uint256 hashGenesisBlock("0x0000000001534ef8893b025b9c1da67250285e35c9f76cae36a4904fdf72c591");//("0x000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f"); // ixcoin
const int nTotalBlocksEstimate = 36500; // Conservative estimate of total nr of blocks on main chain //ixcoin
int64 nSubsidy = 96 * COIN; //ixcoin
chainid return 0x0003;
checksignature !key.SetPubKey(ParseHex("04fc9702847840aaf195de8442ebecedf5b095cdbb9bc716bda9110971b28a49e0ead8564ff0db22209e0374782c093bb899692d524e9d6a6956e7c5ecbcd68284"))) //8284 ixcoin
Electrum-IXC - lightweight Bitcoin client
Licence: GNU GPL v3
Author: Thomas Voegtlin
Language: Python
Homepage: https://ixco.in/electrum
1. GETTING STARTED
------------------
To run Electrum from this directory, just do:
./electrum-ixc
If you install Electrum on your system, you can run it from any
directory:
sudo python setup.py install
electrum-ixc
To start Electrum from your web browser, see
http://electrum.org/bitcoin_URIs.html
2. HOW OFFICIAL PACKAGES ARE CREATED
------------------------------------
python mki18n.py
pyrcc4 icons.qrc -o gui/qt/icons_rc.py
python setup.py sdist --format=zip,gztar
On Mac OS X:
# On port based installs
sudo python setup-release.py py2app
# On brew installs
ARCHFLAGS="-arch i386 -arch x86_64" sudo python setup-release.py py2app --includes sip
sudo hdiutil create -fs HFS+ -volname "Electrum-IXC" -srcfolder dist/Electrum-IXC.app dist/electrum-ixc-VERSION-macosx.dmg