Commit Graph

74 Commits

Author SHA1 Message Date
Duke Leto
9bfd9fce6a Fix logic bug that started mining by default and clean up lots of stuff 2019-11-14 22:46:31 -05:00
Duke Leto
0eaee9dc83 Good riddance 2019-11-04 10:53:36 -05:00
jl777
bcf242808b Fix adaptive pow else 2019-09-07 20:10:09 -11:00
jl777
b8dea3d5de Don't display getminingdiff in css 2019-08-07 20:47:55 -11:00
jl777
63594dfc24 >= 64 display 2019-08-07 02:26:06 -11:00
jl777
bf44de39a7 Print 2019-08-07 00:48:17 -11:00
jl777
f38c46bbad Fix ctB calc 2019-08-07 00:44:11 -11:00
jl777
1afc2f2569 bnTargetB in CSV 2019-08-07 00:24:00 -11:00
jl777
c9326196b2 Bits not timestamp! 2019-08-06 01:08:24 -11:00
jl777
fde3a1bd52 Hex print nBits 2019-08-06 01:05:05 -11:00
jl777
0bcd425424 Solvetime in csv 2019-08-06 00:32:04 -11:00
jl777
bfb2e128f7 Str2 2019-08-05 21:47:27 -11:00
jl777
138e569388 Use actual target met 2019-08-05 21:45:41 -11:00
jl777
4dbac8fea0 Strange 2019-08-05 07:25:53 -11:00
jl777
314c06007c fname[] 2019-08-05 07:23:45 -11:00
jl777
7bedc90a8b Str fix 2019-08-05 07:20:19 -11:00
jl777
1ee818c98c fname 2019-08-05 07:19:17 -11:00
jl777
5e980a8c26 fname 2019-08-05 07:18:50 -11:00
jl777
caeb613e0b Print target 2019-08-05 07:17:04 -11:00
jl777
fd28ee9c66 Return result 2019-08-05 07:15:49 -11:00
jl777
4a09f0d13e No args 2019-08-05 07:13:34 -11:00
jl777
8e2fc1c6d9 /tmp/mining.csv 2019-08-05 07:10:50 -11:00
jl777
69f87c00ad ; 2019-08-05 07:04:30 -11:00
jl777
3ff34c97cc CBlockIndex *komodo_chainactive(int32_t height); 2019-08-05 07:03:47 -11:00
jl777
e9cdff1a28 genminingCSV 2019-08-05 07:00:28 -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
a74bd537a4 .GetHex() 2019-07-31 21:22:17 -11:00
jl777
75c034113e Calculate correct target in getblocktemplate for adaptivepow 2019-07-31 21:20:58 -11:00
blackjok3r
eca62bb4f3 fix crash/lockup on KMD with mining pools when an old utxo makes IsFinalTx fail in TestBlockValidity. 2019-06-18 21:49:56 +08:00
blackjok3r
bc69675fc3 undo attempt at hs/s for staking chains 2019-06-04 17:55:34 +08:00
blackjok3r
784679fff6 This kind of works, result comes out as negative number though. 2019-05-27 02:51:11 +08:00
blackjok3r
563a08be81 undo 2019-05-23 13:55:01 +08:00
blackjok3r
1c4c00ff8b add ac_founders and ac_perc to getblocksubsidy 2019-04-17 16:16:59 +08:00
Duke Leto
2a3d132b55 Show foundersreward in getblocktemplate if ac_founders enabled (#1334) 2019-03-15 07:28:39 -11:00
blackjok3r
8328842ff0 Disable getblocktemplate flag 2019-02-10 21:44:06 +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
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
7167793dbf new version 2019-01-23 02:50:53 +08:00
jl777
7cfb6293c6 komodo_defs a lot more 2019-01-21 00:31:14 -11:00
blackjok3r
f20420ea80 fixed staking/generate in getmininginfo 2019-01-14 18:18:18 +08:00
blackjok3r
e93fd95815 Merge branch 'FSM' of https://github.com/jl777/komodo into ac_import 2019-01-02 23:29:52 +08:00
jl777
0ea9ae3c05 Update copyright to 2019 2018-12-31 21:41:05 -11:00
blackjok3r
a2d19feeba fir mining properly. Revert all proclimits to 1 or -1, as they are in zcash. also on shutdown, the pos64 was starting a new thread and then seg faulting, this stops that. 2018-12-17 12:25:53 +08:00
blackjok3rtt
4a2ea81f3c Merge branch 'master' into FSM 2018-12-17 11:49:30 +08:00
blackjok3r
2ebdae67e8 fix setgenerate better, bug on deamon stop it was starting another staking thread. 2018-12-17 11:41:26 +08:00
blackjok3r
2d725d91fc Fix setgenerate and genproclimit 2018-12-17 00:18:15 +08:00