Commit Graph

1128 Commits

Author SHA1 Message Date
blackjok3r
0d63c1f908 add some prints 2018-10-16 13:36:24 +08:00
blackjok3r
0cf52141ef give this a go 2018-10-16 12:58:43 +08:00
miketout
73a4cd2011 Fix incorrect voutNum and ensure that voutNum is of output with value 2018-10-14 21:27:25 -07:00
miketout
e82ee7e3cc Don't stake on null wallet call 2018-10-14 00:01:16 -07:00
miketout
ec8a120b4d Cleanup, comment out test code, prepare for release PR 2018-10-13 22:49:45 -07:00
miketout
6c621e0e43 Allow NULL keystore to actually work 2018-10-13 21:03:47 -07:00
miketout
9c0342676d Update handling of relayed stake transactions 2018-10-13 16:04:44 -07:00
miketout
c8700efe63 Change default note contents in Tx builder and cheat message change 2018-10-13 14:29:17 -07:00
miketout
ac2b240436 Add value to cheat catcher through SendChangeTo 2018-10-13 01:24:36 -07:00
miketout
83a426bc91 Adjust cheat catcher height 2018-10-12 16:53:53 -07:00
miketout
69fa3d0e00 Reduce lag timeouts 2018-10-11 22:28:37 -07:00
miketout
af2e212d7a Remove spurios opret in tx builder, don't wait forever for blocks before mining, add delay to getblocktemplate 2018-10-11 21:35:09 -07:00
miketout
271326fafd Clean up stake rebroadcasting and mempool checking 2018-10-11 19:52:32 -07:00
miketout
ae773246f8 Error message only when cheatstaker parameter is invalid, not missing 2018-10-11 14:52:05 -07:00
miketout
1021455845 Fix negative height issues for pruning cheat lists 2018-10-11 14:23:14 -07:00
Michael Toutonghi
8fc4030c10 Reorganized cheatcatcher for build issues 2018-10-10 21:46:40 -07:00
Michael Toutonghi
2d02c19ee7 Build 2018-10-10 19:15:41 -07:00
Michael Toutonghi
df756d24ba Cheatcatcher 2018-10-10 19:02:09 -07:00
miketout
5f63373eb9 Selectively reject Sapling transactions while synced below activation height. Add separate control of staking. 2018-10-08 21:15:21 -07:00
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