jl777
61e4db4332
Fix null access
2019-08-01 10:01:55 -11:00
jl777
a8f5005a7f
Fix crash
2019-08-01 09:54:24 -11:00
jl777
23ca86df3a
Zawys new algo
...
1) FTL 4 seconds
2) MTP from 11 -> 1
3) must calc MAX(diff[I]) for past 11 blocks
4) bnTarget *= mult*mult
5) bnTarget.nBits -> onchain
2019-08-01 09:14:07 -11:00
jl777
6fbae7109c
Allow disabling adaptivepow
2019-07-30 04:09:37 -11:00
jl777
02e6851870
Update adaptivepow to handle variable block times
2019-07-29 21:25:49 -11:00
jl777
5d19239884
Set origtargert
2019-07-29 08:21:00 -11:00
jl777
35f7f057ca
Tweak -ac_adaptivepow
2019-07-29 07:13:29 -11:00
jl777
20f9a16c80
-ac_adaptivepow
2019-07-29 07:08:10 -11:00
blackjok3r
18854e2af7
ac_nk params
2019-04-17 13:42:02 +08:00
blackjok3r
170ca55e46
New miner, some prints. YUse equihash difficulty algo for VerusHash and PoS64
2019-02-07 17:07:49 +08:00
blackjok3r
bf726a2c03
Merge branch 'new_staker' into mastertest
2019-01-23 17:46:36 +08:00
blackjok3r
e460f1aa57
print
2019-01-23 14:15:43 +08:00
blackjok3r
7167793dbf
new version
2019-01-23 02:50:53 +08:00
blackjok3r
8324e606cd
try to add PoS% to staking loop, to adjust staking difficulty
2019-01-22 14:39:29 +08:00
jl777
7cfb6293c6
komodo_defs a lot more
2019-01-21 00:31:14 -11:00
jl777
0ea9ae3c05
Update copyright to 2019
2018-12-31 21:41:05 -11:00
jl777
bf204809b4
Again
2018-11-22 02:18:30 -11:00
miketout
6e2a502b0e
Merge of Komodo and Verus Technologies Post Sapling, Pre-VerusPoP with Support for Time locked coinbases
2018-11-14 16:40:10 -08:00
miketout
54036e72cd
Revert POS change
2018-10-12 21:51:30 -07:00
miketout
4326041663
Cheatcatcher tests to remove and change to max sequential POS
2018-10-12 21:09:45 -07:00
miketout
051af72cbd
Cap the random additional stake of a block to 1/2 the current stake difficulty
2018-10-08 17:20:31 -07:00
miketout
8682e17a7d
Sapling support for z_shieldcoinbase and more
2018-10-08 16:17:24 -07:00
Jack Grigg
4c90270469
Explicitly check the min-difficulty flag against boost::none
...
It isn't clear how a boost::optional that holds 0 (which is the case for
regtest) is coerced to a boolean, unless you pore over the Boost
documentation. An explicit check is clearer.
2018-10-04 23:29:11 +01:00
Jack Grigg
1f7ee4af70
Rename min-difficulty flag to remove off-by-one in the name
2018-10-04 23:26:05 +01:00
Jack Grigg
b86dc98047
Only enable min-difficulty blocks on testnet from a particular height
...
The min-difficulty change is a bilateral consensus rule change, and so
must be conditionally enabled in order for the earlier section of the
chain to synchronise.
Technically this could be implemented as a network upgrade, but as this will
never be deployed to mainnet, a targeted fork will suffice.
2018-10-04 14:05:27 +01:00
miketout
4739095d0f
Fix comparison
2018-10-04 01:01:29 -07:00
miketout
00a7120e90
Cleanup, initialize stake for chainPower in pre-sapling path
2018-10-04 00:35:52 -07:00
Jack Grigg
1702a86455
Allow minimum-difficulty blocks on testnet and regtest
...
A block may be mined with nBits set to the minimum difficulty if its
nTime is set more than six block intervals (15 minutes) after its parent
block.
This is a consensus rule change on testnet that will result in a chain
split (as desired).
2018-10-03 17:50:17 +01:00
Jack Grigg
639e46b4d7
Revert "Remove testnet-only difficulty rules"
...
This reverts commit 333ea3c426 .
2018-10-03 16:15:03 +01:00
miketout
c68ca1a225
Leverage nonce for overwhelming chance of single deterministic winner for chain power in POS
2018-09-28 14:35:38 -07:00
miketout
4b729ec577
Changes for most chain power rule
2018-09-28 01:38:14 -07:00
miketout
9feb4b9e08
Major updates integration from all upstreams
2018-09-18 14:33:53 -07:00
Michael Toutonghi
0c8fa56a02
All latest updates, smart contracts, including oracle from KMD/jl777
2018-09-13 13:00:13 -07:00
Jonathan "Duke" Leto
47a5268bd4
Prevent useless prints in regtest
2018-08-22 09:49:55 +02:00
Michael Toutonghi
5034d1c134
Sync with latest Komodo changes
2018-08-06 12:52:22 -07:00
jl777
f108acf943
Easy diff for PoS
2018-07-10 04:53:28 -11:00
jl777
97a337f739
Initial revisions
2018-07-10 01:19:29 -11:00
jl777
2ba9de01cb
7250 diff cap.16 hardfork for PoS
2018-07-09 22:15:27 -11:00
jl777
7ed0e00b82
Test
2018-07-08 16:23:30 -11:00
jl777
45ee62cb71
Ht 6000 test
2018-07-08 16:17:39 -11:00
jl777
ffd2c38348
Remove easy diff at 4400
2018-07-08 03:03:21 -11:00
jl777
0cd39760aa
Test
2018-07-08 02:05:40 -11:00
jl777
dec86f1b5a
Delay activation to 4200
2018-07-08 00:14:24 -11:00
jl777
196c69f770
Fix easy diff check for PoS
2018-07-08 00:13:09 -11:00
jl777
67df454d11
End free4all at height 1 million, cap PoSdiff to mindiff*4
2018-06-27 00:40:49 -11:00
Michael Toutonghi
4dcb64c081
Radical hash rate optimization
2018-06-26 07:39:50 -07:00
Simon
10a7d55a03
Remove now redundant Rust call to librustzcash_xor.
2018-06-06 23:24:21 -07:00
jl777
525c7b98a9
Skip equihash test for regrets
2018-05-30 03:01:05 -11:00
Michael Toutonghi
30ceed219d
Accurate POW block counting
2018-05-20 17:24:28 -07:00
Michael Toutonghi
12b384112e
final fix to pos dif algo
2018-05-20 17:18:48 -07:00