Commit graph

269 commits

Author SHA1 Message Date
Tanguy Pruvot
9121aa8f23 stratum: prevent account coin symbol change with a balance 2017-01-06 18:19:24 +01:00
Tanguy Pruvot
1e72d4fb81 stratum: new function to log with the date (start/stop)
it was hard to estimate the shares/day activity with only hours
2016-12-30 07:18:35 +01:00
Tanguy Pruvot
ff136d53af stratum: skip screen instances if there is no .conf 2016-12-03 09:20:34 +01:00
Tanguy Pruvot
11c8d5b767 stratum: shares counter log mistake 2016-11-28 06:13:51 +01:00
Tanguy Pruvot
f31dd15d4e stratum: link new limits db fields
the share counter will allow you to auto restart the stratum, if required.
2016-11-24 00:54:06 +01:00
Tanguy Pruvot
e3fef4b970 xevan algo (x17 x2... but on 128 bytes hashes) 2016-11-04 19:19:59 +01:00
Tanguy Pruvot
9f023450dd stratum: allow to limit connections with max_cons setting 2016-10-17 20:05:48 +02:00
Tanguy Pruvot
1b4d4c788d veltor algo 2016-08-21 01:20:00 +02:00
Tanguy Pruvot
bc581492c4 stratum: move blake2s to component algos folder 2016-07-29 02:35:56 +02:00
Tanguy Pruvot
bf05f7b532 stratum: prevent segfault on repeated sock timeout 2016-07-26 22:43:32 +02:00
Tanguy Pruvot
a88c1e0b43 handle lbry algo and protocol
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2016-07-19 23:14:34 +02:00
Tanguy Pruvot
38a35f0084 more job prune checks 2016-07-19 23:13:38 +02:00
Tanguy Pruvot
4ccd8248bd stratum: attempt to fix a list corruption (shares) 2016-07-08 10:50:39 +02:00
root
abc134ced9 Commit AUXPOW SegFault Fix 2016-07-07 21:03:03 +02:00
Tanguy Pruvot
d2f0f424ee stratum: dont try to send on closed sockets 2016-07-07 14:38:04 +02:00
Tanguy Pruvot
a94c239b53 stratum: update vcash symbol 2016-07-06 11:28:44 +02:00
Tanguy Pruvot
0c66f33c22 stratum: extra check on client thread exit 2016-07-03 10:14:00 +02:00
crackfoo
64ec96df41 stratum: close sockets of delayed jobs 2016-07-03 10:12:01 +02:00
Tanguy Pruvot
28872880d7 stratum: check job broadcast errors (disconnect bad clients) 2016-07-01 05:27:14 +02:00
Tanguy Pruvot
b2aa3d9ffd stratum: fix height displayed for AUX debug logs 2016-06-09 14:57:05 +02:00
Tanguy Pruvot
9a60f2dc75 stratum: add bench memory field (todo in ccminer) 2016-06-07 21:41:33 +02:00
Tanguy Pruvot
7e37bd14e9 stratum: re-enable the watchdog, take too much time 2016-06-03 19:01:16 +02:00
Tanguy Pruvot
6d3dd22082 stratum: add a flag indicating we need exit
can be useful to filter real valgrind leaks on exit and trap reboot signal

also protect against db queries after close
2016-06-03 17:05:36 +02:00
Tanguy Pruvot
aed4a0a856 stratum: extra check about ntime range 2016-06-01 06:37:58 +02:00
Tanguy Pruvot
96097edfe9 x11evo algo, properly rewrote
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2016-06-01 06:37:14 +02:00
Tanguy Pruvot
1a53bf093e benchmarks: function to clean cpu names 2016-05-21 04:02:44 +02:00
Tanguy Pruvot
8d4ebc40ca stratum: allow cpuminer-multi stats 2016-05-21 01:22:22 +02:00
Tanguy Pruvot
d262f87bad stratum/stats: handle the benchmark miner user
and update benchmarks instructions
2016-05-20 21:41:42 +02:00
Tanguy Pruvot
7ae4a67ab0 stratum: defines for valid address min/max length 2016-05-20 18:33:16 +02:00
Tanguy Pruvot
a6136712d2 stratum: prevent diff/algo setting conflict 2016-05-19 22:53:51 +02:00
Tanguy Pruvot
f816169c04 stratum: improve guest users, do not create accounts 2016-05-18 22:52:13 +02:00
Tanguy Pruvot
976c87d601 stratum: allow test/benchmark/donate usernames
+ spaces check
2016-05-18 21:45:10 +02:00
Tanguy Pruvot
c47244bea3 stratum/stats: fix double values, were rounded to int 2016-05-17 22:00:14 +02:00
Tanguy Pruvot
39e0d4ba26 benchmarks: allow to del + stratum record limit 2016-05-16 16:43:49 +02:00
Tanguy Pruvot
169241f273 stratum: use the proper new method to request stats 2016-05-16 01:18:07 +02:00
Tanguy Pruvot
52f44b591e stratum: fix json parse with multiple object tags 2016-05-16 00:39:00 +02:00
Tanguy Pruvot
970016a567 stratum: temporary fix to clean about bad json parse 2016-05-15 19:44:36 +02:00
Tanguy Pruvot
ed3cd5fb69 db/benchmarks: allow ccminer to report device stats
user password should contain "stats", made for ccminer 1.7.6+

will see to allow a special bench "test" account to allow devs to
easily test the stratum and fill benchmarks, for the moment, its
enabled while mining with the -p stats password option.
2016-05-15 18:46:16 +02:00
Tanguy Pruvot
4eaab8c05d link new coin fields, auto filled 2016-05-11 21:25:42 +02:00
Tanguy Pruvot
f61d53bc67 stratum: handle block confirmations on multialgos coins
+ var typo fix
2016-05-11 19:59:28 +02:00
Tanguy Pruvot
c059a912db add x17 algo 2016-05-09 16:12:07 +02:00
Tanguy Pruvot
90b29f7cd2 blakecoin: add to default algos + diff factor fix 2016-05-02 15:40:07 +02:00
Tanguy Pruvot
74b80292a6 stratum/decred: link new db coin rpc fields
And use rpcencoding='DCR' for decred checks,
to handle testnet instances or future forks..
2016-04-20 00:13:11 +02:00
Tanguy Pruvot
1abd0ef300 decred: never change last vote bit 2016-04-16 01:34:33 +02:00
Tanguy Pruvot
553c920cab shares: store (temporary) submitted work diff for future stats...
PS: this table is only used for current round (until a bloc is found)

also log a part of the submitted shares by default, to show activity
2016-04-02 15:08:43 +02:00
Tanguy Pruvot
6950057b17 db: handle custom user donation percents
The setting is set with g=10% in password field

its disabled by default, to do maybe per worker...

prevent negative donation percents
2016-04-02 15:08:43 +02:00
Tanguy Pruvot
71de6d635b db: save blocks worker id for worker stats
Note: need database change!
2016-04-02 15:08:43 +02:00
Tanguy Pruvot
1692a47570 stratum: dont hardcode the files rlimit in binary 2016-03-31 21:24:48 +02:00
Tanguy Pruvot
b90ef30df3 small changes 2016-03-24 05:11:08 +01:00
Tanguy Pruvot
4ec4f92619 stratum: decred voting support
like heavycoin, with a 6th mining.submit parameter
2016-03-19 09:40:17 +01:00