protopool.net
8c85b95220
stratum: debuglog on/off without code recompile
...
+ drop log CFLAGS comments in Makefile and old defines comments
2018-03-06 13:03:37 +01:00
Tanguy Pruvot
c49c8b30f2
stratum: fix the major socket leak on bad auth
2018-03-02 13:16:13 +01:00
Tanguy Pruvot
4d74f06204
stratum: extra check for the haters
2018-02-07 11:55:09 +01:00
Tanguy Pruvot
383682190b
stratum: prevent double auth & ignore invalid sockets
...
seems to works well, but not a normal case/behavior
2018-01-09 21:27:09 +01:00
Tanguy Pruvot
d090779579
stratum: prevent double free on bad clients
2017-12-20 23:40:14 +01:00
Tanguy Pruvot
39d123a071
stratum: reduce client algo & socket struct size
...
to reduce a bit the memory usage... require a make clean!
+ prevent null/local ips from bans.
2017-12-17 07:25:25 +01:00
Tanguy Pruvot
94e5b5ea79
stratum: fix possible issue on client subscribe
2017-09-17 03:47:42 +02:00
Tanguy Pruvot
4d532fd2e6
stratum: ignore method mining.multi_version #175
2017-09-02 00:57:04 +02:00
Tanguy Pruvot
07ff36c866
stratum: reduce the client auth rpc calls ( #111 )
2017-08-30 14:55:00 +02:00
Tanguy Pruvot
9f023450dd
stratum: allow to limit connections with max_cons setting
2016-10-17 20:05:48 +02:00
Tanguy Pruvot
0c66f33c22
stratum: extra check on client thread exit
2016-07-03 10:14:00 +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
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
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