Commit Graph

14722 Commits

Author SHA1 Message Date
jl777
2c5af2cd09 -print 2018-03-08 01:47:06 +02:00
jl777
a36a3726cf Mark failed blocks due to changed state 2018-03-08 01:28:39 +02:00
jl777
3ecbf90134 Test already existing block 2018-03-08 01:15:08 +02:00
jl777
beb911ecb4 Prints 2018-03-08 00:30:41 +02:00
jl777
cc07ad72d7 Test 2018-03-07 20:50:07 +02:00
jl777
e2c2f297d1 Accept pre-notarization block that matches 2018-03-07 20:32:08 +02:00
jl777
63998b6634 revert 2018-03-07 00:58:36 +02:00
jl777
17abd35a71 Dont write rpcport into .conf 2018-03-07 00:57:48 +02:00
jl777
47ca6eb3c2 Remove -Werror to allow compile on more OS variants 2018-03-05 10:23:01 +02:00
jl777
ff0e23d17e Test 2018-03-04 10:39:54 +02:00
jl777
2458b054ec Test 2018-03-04 10:36:35 +02:00
jl777
7fbab03f73 Test 2018-03-04 10:23:36 +02:00
jl777
7c5999c9f0 Prints 2018-03-04 10:21:33 +02:00
jl777
f8f7a4d4cd Test 2018-03-04 10:11:12 +02:00
jl777
b9dddf15c4 Test 2018-03-04 10:07:57 +02:00
jl777
ff4e7f8672 Test 2018-03-04 10:03:55 +02:00
jl777
67a9ed29ae Test 2018-03-04 10:03:13 +02:00
jl777
fbdd7dde33 Test 2018-03-04 10:02:44 +02:00
jl777
5968c21549 Test 2018-03-04 10:01:29 +02:00
jl777
0df0ed0c68 CLTV fprintf 2018-03-04 09:59:21 +02:00
jl777
95c463966a Dont create .conf from cli 2018-02-27 22:25:37 +02:00
jl777
2cd576089f Separate port range for mined 2018-02-27 18:10:44 +02:00
jl777
e1b44812f7 Merge branch 'beta' into dev 2018-02-25 15:44:06 +02:00
jl777
e2a7f87c31 Merge pull request #521 from jl777/kolo
VOTE replaced with VOTE2018
2018-02-25 11:02:41 +02:00
Mihail Fedorov
8bf22c6fd0 fiat scripts 2018-02-25 03:49:58 +03:00
Mihail Fedorov
ec0b0757b6 fiat scripts 2018-02-25 03:46:02 +03:00
Mihail Fedorov
830d5ff54e vote2018 2018-02-25 03:22:03 +03:00
jl777
bbb8ae00ad Fix 2018-02-22 12:17:39 +02:00
jl777
58434c5c34 Revert if 2018-02-22 12:15:36 +02:00
jl777
71b9e59c5a Guard against set generate crash in regtest 2018-02-22 12:00:08 +02:00
jl777
6ec3d43c5c -print 2018-02-21 16:15:42 +02:00
jl777
877865e3ef -couldnt open printout 2018-02-21 16:13:55 +02:00
jl777
5be9870f77 A comment 2018-02-19 00:11:38 +02:00
jl777
052f006800 ASSETCHAINS_CC 2018-02-19 00:08:02 +02:00
jl777
253cd526ac MAX_MONEY to handle mining chains 2018-02-18 23:59:52 +02:00
jl777
81c5ec4f3c Dukeleto's https://github.com/zcash/zcash/pull/2931 2018-02-18 12:45:22 +02:00
jl777
8f011ce033 Merge pull request #515 from letolabs/hashreserved
Read hashReserved block header data from disk
2018-02-18 12:10:19 +02:00
Jonathan "Duke" Leto
c989bc86e3 Read hashReserved from disk instead of assuming 0
Related to https://github.com/zcash/zcash/pull/2931
2018-02-17 20:45:00 -08:00
jl777
fc5bee9e14 -print 2018-02-14 00:57:33 +02:00
jl777
036a250c6e Test 2018-02-13 23:04:01 +02:00
jl777
e8a05f61f0 Test 2018-02-13 23:00:15 +02:00
jl777
8eaa7b03cc Test 2018-02-13 22:57:25 +02:00
jl777
148e99adac Test 2018-02-13 22:55:14 +02:00
jl777
9c7d2832f1 Test 2018-02-13 22:54:45 +02:00
jl777
85ef725a7d Test 2018-02-13 22:52:45 +02:00
jl777
e34a9d43fe Fix 2018-02-13 22:42:34 +02:00
jl777
e169b65ff0 New features in testing
New komodod -ac parameters for assetchains. If -ac_reward=<satoshis> is
non-zero, the chain will mine normally and start with -ac_reward for
the block reward.

if -ac_end=<endheight> is set, then -ac_reward will be 0 after
endheight is reached

if -ac_halving=<halvingperiod> is set, then every <halvingperiod>
blocks the block reward is reduced according to one of three methods.
1440 (approx a day) is the most frequent halving period

if -ac_decay is not set, then the normal bitcoin halving is done.

if -ac_decay=<numerator> is set to be exactly 100000000, then the
-ac_reward is scaled linearly toward 0, with 0 at endheight.

for all other values of numerator (less than 100000000) the reward is
iteratively reduced by the number of "halving" periods, ie.
	numhalvings = (height / -ac_halving);
	for (i=0; i<numhalvings; i++)
		reward = (reward * -ac_decay) / 100000000;

if -ac_perc=<satoshis> is nonzero and less than equal 100000000 and
-ac_pubkey=<secp_pubkey33> is set to a 33byte hexstr (len 66 starting
with 02 or 03) then there will be a second vout in the coinbase
transaction that is exactly the commission rate indicated by -ac_perc,
with 100000000 being the max of 100%. wallets will need to be
customized to make sure to pay the -ac_perc of transaction size as
txfee. chains with a percentage override can only be mined by the
-ac_pubkey address

bitcoin behavior would be -ac_reward=5000000000 -ac_halving=210000

KMD behavior would be -ac_reward = 300000000 -ac_end=7777777

a more smoothly reducing reward that halves every 210000 blocks would
be:

 -ac_reward=5000000000 -ac_halving=10000 -ac_decay=96777000

This release also supports a second slate of hardcoded notaries
2018-02-13 22:37:47 +02:00
jl777
ae0bb3d3c3 Test 2018-02-13 22:36:44 +02:00
jl777
698c5e7e94 Test 2018-02-13 22:34:29 +02:00
jl777
ac756fd8bb Test 2018-02-13 22:32:14 +02:00