Commit Graph

939 Commits

Author SHA1 Message Date
blackjok3r
5418cd4ad7 disaable longestchain check in miner under 128 blocks 2018-10-22 17:11:27 +08:00
blackjok3r
4da719819f disable need for extra TX under 128 blocks 2018-10-17 10:57:19 +08:00
blackjok3r
af7ee58943 disable miner TX to test again 2018-10-17 09:58:42 +08:00
blackjok3r
a3b0c67415 fix miner, with extra TX 2018-10-17 00:13:38 +08:00
blackjok3r
d118b457b0 temp disable adding last tx to test consensus rule 2018-10-16 23:47:48 +08:00
blackjok3r
1f5efd44aa not a chance this will work? 2018-10-16 23:02:47 +08:00
blackjok3r
fb0f519301 try to make miner spend p2pk utxo 2018-10-16 21:17:27 +08:00
blackjok3r
68032ee5a7 change so only ac_pubkey can mine coinbase 2018-10-16 17:14:07 +08:00
blackjok3r
b66f366d5c next try 2018-10-16 16:06:49 +08:00
blackjok3r
3793c63860 oops LOL 2018-10-16 15:33:09 +08:00
blackjok3r
8ca9133eb4 fix 2018-10-16 14:44:55 +08:00
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