Commit graph

19 commits

Author SHA1 Message Date
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
169241f273 stratum: use the proper new method to request stats 2016-05-16 01:18:07 +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
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
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
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
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
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
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
2a6ccf6e8f stratum: implement mandatory foundation txs (dev fees)
At least 2 coins are using this system (EGC and LTCR)

Fields are present in the database but were not used, link them.
2016-01-18 12:08:44 +01:00
Tanguy Pruvot
9d4c4d41c7 stratum: reduce defines, prepare the autoexchange variable
also improve the user wallet addresses checks

and allow to mine aux coins in normal (gbt) + aux at the same time
2015-09-26 06:51:14 +02:00
Tanguy Pruvot
68bd3702e9 stratum: clear unauthorized workers 2015-07-24 05:36:57 +02:00
Tanguy Pruvot
db2efc310d stratum: only accept compatible addresses
add cflag to only allow compatible mining addresses

and set user coinid directly on connect,
Without that, there are wallet conflicts (CHC vs CTO)

assign the right coin job when exchange is disabled

backend: share only the mined coin
2015-07-23 06:00:19 +02:00
Tanguy Pruvot
ce1457a183 stratum: allow my own ip 2015-07-14 09:29:10 +02:00
root
cc92c825ef stratum code 2015-07-02 20:58:24 +02:00