Commit Graph
100 Commits
Author SHA1 Message Date
blackjok3r 170ca55e46 New miner, some prints. YUse equihash difficulty algo for VerusHash and PoS64 2019-02-07 17:07:49 +08:00
blackjok3r cfef67c59b fix possible to choose more than 1 notarisation 2019-02-07 00:00:11 +08:00
blackjok3r e2e7614dff try fix 2019-02-06 21:09:43 +08:00
blackjok3r cedc9465e6 Make miner not flag invalid notarisation for coinbase createion. 2019-02-06 20:29:27 +08:00
blackjok3r 61aa40edf4 fix miner LOCK UP 2019-02-06 19:41:44 +08:00
blackjok3r c56e206889 jorians ip 2019-02-06 19:10:48 +08:00
blackjok3r de0ced7444 Check for double signs on notarisation checks. revert minsigs to normal value. 2019-02-06 17:00:21 +08:00
blackjok3r 5f780b0325 fix 2019-02-06 15:35:20 +08:00
blackjok3r 1728ffabdc minsigs =2 2019-02-06 15:30:54 +08:00
blackjok3r b9779b671c add LABST2 to block reward chains. Add exeption to verushash staker to increase staking diff in first 50 bocks. 2019-02-06 13:31:02 +08:00
blackjok3r 042756499f fix better 2019-02-04 16:40:47 +08:00
blackjok3r bd6949b987 disable notarisation priority for non staked chains. 2019-02-04 11:51:02 +08:00
blackjok3r 2863dbc6d4 Stop miner trying to mine invalid block. 2019-02-04 10:06:54 +08:00
blackjok3r 2c88bb70b6 disable temp file on initial block sync, extend era2 by 1 hour. 2019-02-03 16:05:37 +08:00
blackjok3r 157bd3046d Merge branch 'notarytest'
x
2019-02-03 14:04:31 +08:00
blackjok3r 60d0aa08d7 Merge branch 'master' into notarytest 2019-02-03 14:04:19 +08:00
blackjok3r 1b504fe066 Change ERA to 3 at:
(GMT): Sunday, 3 February 2019 9:00:00 AM
2019-02-03 13:42:54 +08:00
blackjok3r 52f7cc2caf Add some better prints/comments, move ac_notarypay validation to before temp file fix, to aviod possible attack vector. 2019-02-03 12:10:26 +08:00
blackjok3r c6e5b70f23 fix 2019-02-03 02:44:17 +08:00
blackjok3r 0ee5e12f08 New method of ac_notarypay 2019-02-03 02:37:04 +08:00
blackjok3r f82808e036 z_mergetoaddress changes to enable merge of coinbase's, while skipping iguana utxos. 2019-02-01 18:38:55 +08:00
blackjok3r 1f62670ea2 See comment for test plan. Adds Validation 2019-02-01 16:47:43 +08:00
blackjok3r cce73b01a7 new tempfile rotation. 2019-02-01 04:01:16 +08:00
blackjok3r 14b64d13fe assetchains_algo in getinfo 2019-01-30 16:55:04 +08:00
blackjok3r f9284ad20a oops 2019-01-30 14:18:20 +08:00
blackjok3r 8592d0f436 fix print 2019-01-30 14:17:11 +08:00
blackjok3r 87a1f9f000 fix ) 2019-01-30 12:27:56 +08:00
blackjok3r 8450004934 limit some prints to -ac_notarypay 2019-01-30 12:14:51 +08:00
blackjok3r abb78c279f fix min sigs 2019-01-30 00:39:16 +08:00
blackjok3r 2cf2102887 -ac_notarypay 2019-01-30 00:33:08 +08:00
blackjok3r 041c74c0a6 Add print and possible rejection of blocks based on valid/invalid notarisation! 2019-01-29 10:52:56 +08:00
blackjok3r acf850831e k 2019-01-29 07:12:46 +08:00
blackjok3r 6b786278c9 fix 2019-01-29 07:12:20 +08:00
blackjok3r c14e0909c6 Fix using temp file for receiving blocks. 2019-01-29 07:06:00 +08:00
blackjok3r 4f212c841d Fix floating point exception. Problem was POW target trying to calculate when not all blocks avalible. These changes leave us even more open to PoS attack, we need to get temp block file working as soon as we can. 2019-01-28 16:13:25 +08:00
blackjok3r 6756fa3ad7 disable orphan purge 2019-01-27 23:56:48 +08:00
blackjok3r 1a70313da0 fix cclib fresh clone 2019-01-27 13:59:50 +08:00
blackjok3r 7609e7dcd5 fix assetchains founders reward 2019-01-27 09:53:23 +08:00
blackjok3r cdb64ae0e5 fix verushash staker 2019-01-27 08:54:47 +08:00
blackjok3r 83387a82d3 wtf 2019-01-26 16:32:56 +08:00
blackjok3r 6d17cb5dec oopps 2019-01-26 16:00:03 +08:00
blackjok3r 3da846ce85 Merge branch 'FSM' of https://github.com/jl777/komodo 2019-01-26 15:59:29 +08:00
blackjok3r 9bf744ef26 fix getgenerate better 2019-01-26 15:08:00 +08:00
blackjok3r 17b2d1ed06 Fix staking output in getgenerate 2019-01-26 15:00:32 +08:00
blackjok3r 80a8414b83 fix lock up with staker when trying to startum mine and stake. 2019-01-26 14:37:11 +08:00
blackjok3r 304de9777d fix getblocktemplate for PoW while staking 2019-01-26 12:57:05 +08:00
blackjok3r 5131e12bd7 sorrry 2019-01-26 03:00:57 +08:00
blackjok3r 0875e0ecf1 fix setgenerate false 2019-01-26 02:52:54 +08:00
blackjok3r 2bff24cffe fix LABST is not staked = 2. Will stop having any block reward. 2019-01-26 00:58:17 +08:00
blackjok3r e9bd3e1d67 try change version 2019-01-25 23:44:04 +08:00
blackjok3r ef567651e3 fix block1 to allow an ac_aupply. 2019-01-25 20:51:57 +08:00
blackjok3r d5b76cee9d try fix extralen bug. Add is_STAKED == 2 to have a consensus block reward of 0. 2019-01-25 19:59:42 +08:00
blackjok3r 4bda6bcac4 Change is_STAKED so that chains with a BR are 1 and chains with none are 2. Chains that are 255 are banned, and no notarisations can happen. 2019-01-25 19:14:22 +08:00
blackjok3r fd1de72c60 fixed 2019-01-25 16:54:27 +08:00
blackjok3r 63eda9498a test fix 2019-01-25 16:50:15 +08:00
blackjok3r 73e71d5e4e fix 2019-01-25 16:42:50 +08:00
blackjok3r b984401e96 add ca333's Makefile, change depend to hardcoded berkely DB in depnds folder. Add exception for COINABSE_MATURITY =1 for all LABS chains. 2019-01-25 16:18:00 +08:00
blackjok3r c3df1b8747 add auto purge of orphans from before notarisation. 2019-01-24 17:16:42 +08:00
blackjok3r 1fb9fd6ba7 fix equihash chain sync. 2019-01-24 00:08:04 +08:00
blackjok3r bf726a2c03 Merge branch 'new_staker' into mastertest 2019-01-23 17:46:36 +08:00
blackjok3r 292edfb284 Merge branch 'FSM' of https://github.com/jl777/komodo into mastertest 2019-01-23 16:57:05 +08:00
blackjok3r 0c2aa0a649 oops 2019-01-23 16:20:31 +08:00
blackjok3r de91bdf571 mutually exclusive founders reward and comission + magic value. 2019-01-23 16:13:54 +08:00
blackjok3r a0427ebf79 ac_founders_reward fix 2019-01-23 15:01:08 +08:00
blackjok3r e460f1aa57 print 2019-01-23 14:15:43 +08:00
blackjok3r eb164bc03c ok 2019-01-23 13:57:04 +08:00
blackjok3r 4d5d14216b Merge branch 'ac_founders_reward' into new_staker
wtf
2019-01-23 13:56:09 +08:00
blackjok3r 91e94ab8cd Merge branch 'new_staker' into ac_founders_reward 2019-01-23 13:55:57 +08:00
blackjok3r bbf756704f clean up 2019-01-23 13:54:09 +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
blackjok3r 2c3247e8f1 Enable -ac_algo=verushash11 2019-01-22 00:12:05 +08:00
blackjok3r f7b6af7b3f ac_founders_reward test for Alright 2019-01-20 19:11:31 +08:00
blackjok3r 45dfd3a590 fix back to LABS 2019-01-18 17:55:20 +08:00
blackjok3r 43be0a0e91 VerusHash fix. 100% PoW wasnt working, min diff is now much higher fixing PoW doing 1s blocks. 2019-01-18 17:54:41 +08:00
blackjok3r 06ff993abd Fix rescan entire wallet when finding corrupt transaction on load. Now removes corrupt tx and re adds it with GetTransaction. 2019-01-18 17:06:30 +08:00
blackjok3r d072863d6f fix 100% chains. 2019-01-17 00:06:00 +08:00
blackjok3r a4f197794f Many bug fixes. VerusHash now works with PoS64 without special exemptions. Difficulty on new chains still behaves weridly, hoping resolves as chain ages. Also reduced CPU load on all staking. These changes should work better if you are not the only node staking. 2019-01-16 21:16:30 +08:00
blackjok3r 400a0758c1 Many bug fixes. VerusHash now works with PoS64 without special exemptions. Difficulty on new chains still behaves weridly, hoping resolves as chain ages. Also reduced CPU load on all staking. These changes should work better if you are not the only node staking. 2019-01-16 20:27:35 +08:00
blackjok3r f20420ea80 fixed staking/generate in getmininginfo 2019-01-14 18:18:18 +08:00
blackjok3r b0ca0415ef fix build 2019-01-14 17:27:34 +08:00
blackjok3r 41363b7ea4 fix prints 2019-01-14 17:09:17 +08:00
blackjok3r 4d8f79efe2 Merge branch 'FSM' of https://github.com/jl777/komodo into VHT 2019-01-14 17:02:41 +08:00
blackjok3r c2ce7ca9ce add segid to listunspent 2019-01-14 13:23:31 +08:00
blackjok3r 94593ce8fd CheckTransaction does not call overwinter checks 2019-01-12 01:15:19 +08:00
blackjok3r a963718c7c tx-overwinter-active skip check on wallet load 2019-01-12 00:35:39 +08:00
blackjok3r dbf6a552fc fix 2019-01-12 00:04:49 +08:00
blackjok3r 3bf6b75986 fix miner.cpp 2019-01-12 00:02:06 +08:00
blackjok3r 4cc99073d2 Merge branch 'FSM' of https://github.com/jl777/komodo 2019-01-11 23:43:38 +08:00
blackjok3r 8b7ca0ed32 Exit LOCK when return(0)! 2019-01-11 23:24:12 +08:00
blackjok3r dbf6a1f83d better fix 2019-01-11 17:44:10 +08:00
blackjok3r 1e0e89523c fix segid in pindex, fix help. Remove more pointless prints. 2019-01-11 17:06:06 +08:00
blackjok3r b8ae55bd3a remove prints 2019-01-10 23:31:10 +08:00
blackjok3r 2cbde4d787 fix wallet expired on load, fix pindex->segid for PoW. 2019-01-10 23:16:28 +08:00
blackjok3r 325f71b713 fix possible miner crash up with PoW, fix possible deadlock with large numbers of import transactions. 2019-01-10 22:36:38 +08:00
blackjok3r 5cb458b5f2 fix bug with getimports... Fix miner loop deadlock with staker. Remove annoying pointless prints for staker. 2019-01-10 16:44:09 +08:00
blackjok3r c11f60f532 fix merge problem 2019-01-10 02:51:03 +08:00
blackjok3r a543b675f6 Merge branch 'FSM' of https://github.com/jl777/komodo 2019-01-10 02:25:59 +08:00
blackjok3r 9646dd709a revert changes to import priority. Re-try flat transaction fee. Change miner lock to something safer. Add lock cs_main to import validation when accepting to mempool. 2019-01-10 01:35:18 +08:00
blackjok3r 7bc81ad0de fix mempool propagation 2019-01-09 04:38:54 +08:00