Commit Graph

909 Commits

Author SHA1 Message Date
miketout
8682e17a7d Sapling support for z_shieldcoinbase and more 2018-10-08 16:17:24 -07:00
miketout
ca4a5f2692 Change name to Stake Guard 2018-10-07 19:56:02 -07:00
miketout
d0cd50740c Fix error in display-only of winning stake POS hash when output prevout.n was not 0 2018-10-07 14:54:07 -07:00
miketout
f3b0d2ab4e Add stake consistency enforcement and near complete CoinbaseGuard validation 2018-10-05 14:51:37 -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
00a7120e90 Cleanup, initialize stake for chainPower in pre-sapling path 2018-10-04 00:35:52 -07:00
miketout
aa3ce4242f Fix upgrade check polarity 2018-10-03 11:17:08 -07:00
miketout
86e31e3dfc Cleanup staking and fee consistency for stake tx 2018-10-03 10:31:01 -07:00
Jack Grigg
5ead4b1713 Revert "Get rid of consensus.fPowAllowMinDifficultyBlocks."
This reverts commit dffc025d38.
2018-10-03 16:08:00 +01:00
miketout
06f4116090 VerusStakeTransaction 2018-10-03 00:58:00 -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
miketout
64d6048f4a Fixed checkpoint data that was put into codebase without proper check for blockchain, breaking other blockchains or asset chains 2018-08-27 12:11:33 -07:00
miketout
24dd56729b More work on initial sync 2018-08-26 11:58:14 -07:00
miketout
bca01f86eb Ensure in sync differently 2018-08-25 21:47:10 -07:00
miketout
6d84700d44 Enable syncing of new test chains before checkpoints have started 2018-08-25 10:48:40 -07:00
jl777
6e78d3df43 KOMODO_MININGTHREADS to control staking vs PoW, delay start mining by 15 seconds 2018-08-13 21:06:49 -11:00
Michael Toutonghi
3c40a9a667 Fail on get_chainactive before lock if checks fail 2018-08-10 17:21:41 -07:00
Michael Toutonghi
4ca6678c70 Put staking readout once per staking loop so people know it's staking 2018-08-09 18:19:18 -07:00
Michael Toutonghi
bf9c36f4ed Staking and mining timeing improvements 2018-08-09 18:04:19 -07:00
Michael Toutonghi
049e890a79 Remove unnecessary staking delay 2018-08-09 17:09:09 -07:00
Michael Toutonghi
0ba2065183 Network decentralizatoin and bug fixes 2018-08-09 15:32:48 -07:00
Michael Toutonghi
5034d1c134 Sync with latest Komodo changes 2018-08-06 12:52:22 -07:00
Eirik Ogilvie-Wigley
4fc309f0f5 Rename Merkle Trees to include sprout or sapling 2018-08-01 10:31:09 -06:00
jl777
7adbb3e3c1 Fix mining deadlock 2018-07-31 03:56:20 -11:00
jl777
a839f3a384 Test 2018-07-31 03:30:21 -11:00
jl777
809f2e257b Put process block's check block call inside lock, revert mining testblockvalidity outside lock 2018-07-29 20:17:54 -11:00
jl777
e9d56b2cda Mining_height 2018-07-25 06:15:09 -11:00
jl777
a02c45db89 KOMODO_LONGESTCHAIN 2018-07-25 06:14:36 -11:00
jl777
99ba67a0d1 insync flag 2018-07-25 00:00:29 -11:00
jl777
0c6665ad63 fix notary mining 2018-07-24 22:30:34 -11:00
jl777
d1bc3a75e9 -print 2018-07-23 20:35:32 -11:00
jl777
2a6a442a4e Test 2018-07-23 20:29:33 -11:00
jl777
562852ab08 Test 2018-07-23 20:26:23 -11:00
jl777
581409cbd1 Test 2018-07-23 20:24:33 -11:00
jl777
1792955303 Test 2018-07-23 20:22:05 -11:00
jl777
c6c7527ff9 Fix 2018-07-23 20:04:35 -11:00
jl777
63a24829c4 Tweak locks 2018-07-23 19:55:54 -11:00
jl777
0548be2094 Fix 2018-07-23 19:43:40 -11:00
jl777
e40ea822e9 . 2018-07-23 19:41:41 -11:00
jl777
f7c507356e Fix 2018-07-23 19:40:15 -11:00
jl777
34c88aa0a5 P 2018-07-23 19:34:23 -11:00
jl777
32b0978b57 Test 2018-07-23 19:16:28 -11:00
jl777
194ad5b859 Initial rewards CC 2018-07-23 18:37:46 -11:00
jl777
b712e32f63 Filter duplicate validates 2018-07-21 10:12:44 -11:00
jl777
2ab9183cd7 Test 2018-07-21 10:08:06 -11:00
jl777
f2e8496cf9 Test 2018-07-21 10:01:25 -11:00