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
Tanguy Pruvot
1d4551e004
decred: add a check for empty/invalid extranonces
...
Its important to have this data filled to prevent duplicates
against clients.
2016-03-17 07:20:30 +01:00
Tanguy Pruvot
5116ea9f65
stratum: prevent spaces in the username
...
that was possible since decred 35 chars workaround...
2016-03-15 03:47:53 +01:00
Tanguy Pruvot
e48a0cd335
blake2s algo
2016-03-10 08:07:08 +01:00
Tanguy Pruvot
8db4565b30
decred: blockconfirm enhancement with blocknotify(-dcr)
...
+ some getwork logs on submit errors (not seen yet)
2016-03-06 16:30:29 +01:00
Tanguy Pruvot
284cbcdae7
decred: rename blocknotifygo to blocknotify-dcr
...
also add a small delay before blockconfirm
also, for locked accounts, use iptables reject with the specific port
2016-03-04 15:16:24 +01:00
Tanguy Pruvot
5460cb205d
stratum: increase decred blocks purge time
...
show some user diff and finder id on block accept
curl: increase the credentials field size to allow very long passwords
2016-02-23 19:27:39 +01:00
Tanguy Pruvot
4f0ad69619
stratum: fix wrong yaamp default diff field on connect
...
global change, not related to recent changes or decred additions
2016-02-21 02:05:20 +01:00
Tanguy Pruvot
52e99b4d77
rpc/curl: retry getwork if no data was received
...
seems to happen with a high number of workers... (overflow)
2016-02-20 14:30:36 +01:00
Tanguy Pruvot
051e3fc786
noblocknotifiy: use the right blockhash
2016-02-18 12:10:26 +01:00
Tanguy Pruvot
48964e8393
stratum: allow to bypass blocknotify requests
...
for decred, to detect new blocks faster and store finder infos
2016-02-17 17:30:24 +01:00
Tanguy Pruvot
8a313b1281
decred: coinbase cleanup, to finish...
...
their coinbase structure is still a bit different
2016-02-16 09:58:44 +01:00
Tanguy Pruvot
9cbd9bf5e3
stratum: prepare real decred stratum
...
not finished, commited to test on another server
but, remains the problem of decred custom header fields... stakeroot etc
which should be passed to the miner..
2016-02-15 08:19:12 +01:00
Tanguy Pruvot
e2f982300c
decred: detect generated blocks + stratum fix
...
backend:
generated blocks were not auto detected (to double check)
stratum:
seen on a new setup, if dcrd doesnt have --miningaddr set
stratum is not able to distribute jobs and was crashing
2016-02-14 14:07:13 +01:00
Tanguy Pruvot
49a5d8068c
stratum: getwork sleep typo + new time funcs
2016-02-13 13:30:27 +01:00
Tanguy Pruvot
88733a14e6
stratum: new rpc curl ini/conf setting
2016-02-13 11:00:45 +01:00
Tanguy Pruvot
1c230f4d60
add decred algo port + sample conf
2016-02-13 11:00:33 +01:00
Tanguy Pruvot
984cb266cf
decred: prevent auto_ready reset on gbt error
2016-02-13 10:22:37 +01:00
Tanguy Pruvot
b7b01648d0
rpc curl code cleanup, to allow multiple connections
...
remove dead code and keep curl session initialized until coind disconnect
2016-02-13 08:44:14 +01:00
Tanguy Pruvot
55ada4b908
decred: prepare a usegetwork setting
2016-02-13 07:38:38 +01:00
Tanguy Pruvot
b6045518ed
getwork: fix result bool value
2016-02-12 22:37:40 +01:00
Tanguy Pruvot
97e8dea474
decred: use getwork... sigh
2016-02-12 22:09:06 +01:00
Tanguy Pruvot
8d34b5a187
decred: submit block override, to test
2016-02-12 15:31:59 +01:00
Tanguy Pruvot
5ef293e938
decred stratum hack with extranonce field
...
override the coinbase field with the static part of the decred header...
2016-02-12 14:49:18 +01:00
Tanguy Pruvot
e4d7dfe37d
stratum makefile cleanup
2016-02-12 09:01:47 +01:00
Tanguy Pruvot
b47be3a075
stratum: fix the template warning
2016-02-04 06:00:08 +01:00
Tanguy Pruvot
a24bf3dd3c
stratum: allow to use curl (optional) for HTTP/1.1 chunks
...
Todo: SSL RPC connections... user/pw vars may be required...
Also, update the make files and handle better the getwork client requests..
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2016-02-04 04:23:06 +01:00
Tanguy Pruvot
c615d086b4
stratum: workaround for HTTP/1.1 chunked data (decred gbt)
...
fallback to HTTP 1.0 if a wallet send chunked data transfers
Else show a message if Content-Length header is not returned (gbt)
But... decred gbt format remains too much different...
Store default account (its not the empty one "" in decred)
Note: This commit also fix some possible segfaults when the wallet
doesn't return what is expected...
2016-02-03 09:20:04 +01:00
Tanguy Pruvot
20c8056943
stratum: prepare future rpc of TLS
...
split "https://mycert@host " host field
2016-02-03 05:05:50 +01:00
Tanguy Pruvot
09d4a1f1f7
stratum: small issue seen on bitcoin wallet
2016-01-27 16:57:10 +01:00
Tanguy Pruvot
d9d1be135e
Add support for VNL blake
2016-01-27 16:56:28 +01:00
Tanguy Pruvot
9d1c34f894
argon2: clean stratum code
...
remove dead code detected after cpuminer implementation
2016-01-25 03:12:21 +01:00
Tanguy Pruvot
52580a5636
Add argon2 algo support
2016-01-24 17:15:40 +01:00