Commit Graph

306 Commits

Author SHA1 Message Date
jl777
487f2319cd Try again 2018-03-26 18:17:21 +03:00
jl777
f03351d46f Test 2018-03-26 16:22:37 +03:00
jl777
2da1debd06 Test 2018-03-26 16:10:12 +03:00
jl777
72070c9477 Test 2018-03-26 15:55:54 +03:00
jl777
8b53992182 Test 2018-03-26 15:45:00 +03:00
jl777
c60397dd3a Lagging chaintip fix 2018-03-26 15:38:49 +03:00
jl777
5e0e5f8571 Faster 2018-03-26 13:57:33 +03:00
jl777
3e7e310912 Test 2018-03-26 13:41:46 +03:00
jl777
c615ffff01 Test 2018-03-26 13:21:15 +03:00
jl777
a142cb4f7c Test 2018-03-26 13:20:00 +03:00
jl777
35998dd5ae Test 2018-03-26 13:18:44 +03:00
jl777
a76b835b2a Test 2018-03-26 13:17:49 +03:00
jl777
eb7171f560 Test 2018-03-26 06:05:56 +03:00
jl777
c6df523fa4 Test 2018-03-26 06:02:32 +03:00
jl777
1746e25c18 Test 2018-03-26 05:57:00 +03:00
jl777
7c2c1b5af1 Test 2018-03-26 05:52:17 +03:00
jl777
bc6ba3da30 Test 2018-03-26 05:37:15 +03:00
jl777
70b73d8f25 Test 2018-03-26 05:34:22 +03:00
jl777
92fc319628 Test 2018-03-26 04:32:21 +03:00
jl777
61c2776c8f Test 2018-03-26 04:31:09 +03:00
jl777
faf51f1a7a Cache pubkey33 and notary 2018-03-26 04:23:57 +03:00
jl777
643bc61b9e Test 2018-03-25 22:50:36 +03:00
jl777
287a665404 Test 2018-03-25 22:48:54 +03:00
jl777
e74e837eb9 Test 2018-03-25 22:45:32 +03:00
jl777
c13f04b795 Test 2018-03-25 22:30:56 +03:00
jl777
15280cb441 Test 2018-03-24 16:22:18 +02:00
jl777
b91ef9cf13 Test 2018-03-24 16:02:25 +02:00
jl777
5ca88c28d8 Test 2018-03-24 15:39:49 +02:00
jl777
16ed777a8c Fix off by ones 2018-03-24 14:28:18 +02:00
jl777
b3548b524d Test 2018-03-24 14:16:00 +02:00
jl777
aa5ca00101 Test 2018-03-24 14:10:59 +02:00
jl777
0ab5b33594 Test 2018-03-22 18:09:08 +02:00
jl777
895977bf2e Test 2018-03-22 17:07:27 +02:00
jl777
3da303b505 Test 2018-03-22 16:58:48 +02:00
jl777
279fac9187 Test 2018-03-22 16:56:41 +02:00
jl777
e35bc6fea3 Test 2018-03-22 16:23:32 +02:00
jl777
98b7faf6e2 Test 2018-03-22 16:18:04 +02:00
jl777
e8f0f0d67a Test 2018-03-22 16:13:10 +02:00
jl777
2c5af2cd09 -print 2018-03-08 01:47:06 +02:00
jl777
beb911ecb4 Prints 2018-03-08 00:30:41 +02:00
jl777
8eaa7b03cc Test 2018-02-13 22:57:25 +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
8683bd8d11 Debugging 2018-02-13 21:29:42 +02:00
jl777
5416af1ddc KOMODO_DEFS_H 2017-11-10 19:15:34 +02:00
jl777
7c130297c2 KOMODO_ASSETCHAIN_MAXLEN -> 65 2017-11-10 19:07:36 +02:00
jl777
05c1e522c0 Test 2017-10-23 13:54:39 +03:00
jl777
34c68daaa9 Test 2017-10-23 13:49:19 +03:00