Commit graph

898 commits

Author SHA1 Message Date
Nico
a78ec34d37 stratum: support for Machinecoin 0.16 mn+segwit (#265) 2018-05-04 19:52:44 +02:00
Tanguy Pruvot
adbdad424e backend: prevent php bug on empty masternode payee field (LUX) 2018-05-02 16:33:21 +02:00
Jia Wu
8fb9a74164 stratum: add vitalium algo (#261)
note: beware of the masterscams
2018-05-02 14:27:39 +02:00
crackfoo
6fe2208e2e yiimp: log ip in debug message for unknown address (#263) 2018-05-02 14:11:02 +02:00
crackfoo
078ace3a65 stratum: log ip of new clients (#262) 2018-05-02 14:10:39 +02:00
Tanguy Pruvot
138b0079bb stratum: pre-check bad usernames before db add 2018-05-01 15:36:42 +02:00
Tanguy Pruvot
1bfec2be32 stratum: precheck addresses are valid base58 2018-05-01 15:05:11 +02:00
Tanguy Pruvot
b517afb571 dashboard: some cleanup, remove unused state 2018-04-29 18:42:06 +02:00
Tanguy Pruvot
b22b599b3e explorer: only allow hexa chars in query params 2018-04-23 15:55:38 +02:00
Lukáš Nový
10be25ee82 stratum: correctly create blocks with 253-255 transactions (#260)
According to [1], varints of 0xfd to 0xff are prefixed with 0xfd too.

[1]: http://learnmeabitcoin.com/glossary/varint
2018-04-22 04:25:40 +02:00
Tanguy Pruvot
dd9b467ecb config: new server var to disable autocreation of coins 2018-04-20 17:36:57 +02:00
Tanguy Pruvot
99f1fa9ac0 graviex: use the right ticker bid/ask fields 2018-04-20 08:48:15 +02:00
Jia Wu
ea59f8a53b Fix graviex market url (#257) 2018-04-19 10:20:20 +02:00
crackfoo
e6a731cf19 explorer: add multi-algo support for ARG explorer (#254) 2018-04-11 15:52:57 +02:00
Tanguy Pruvot
5b91a559f9 stratum: do more checks on stats device names 2018-04-10 15:48:26 +02:00
Tanguy Pruvot
e97ea63c61 security: protect XSS seekers from their own hacks 2018-04-10 11:22:59 +02:00
Tanguy Pruvot
60fb627ad9 security: be more strict with algo param 2018-04-10 11:04:50 +02:00
Tanguy Pruvot
580801f399 benchs: unique function to format devices labels
+ some new devices chips rules
2018-04-10 10:53:04 +02:00
Tanguy Pruvot
2f6d74d90a trading: auto set bittrex and bleutrade withdraw tx fee 2018-04-03 11:52:45 +02:00
Jia Wu
31441a6c98 markets: handle graviex ticker (#252)
manual only, so market row need to be created manually if really required.
2018-04-01 05:06:54 +02:00
Tanguy Pruvot
5bb898f651 small x16s fixes, and stratum sample 2018-03-29 02:55:01 +02:00
opensourcerulez
a954c13b36 x16s algo, shuffle variant (#251)
see https://bitcointalk.org/?topic=3208091.0 for more explanations
2018-03-29 02:49:37 +02:00
Tanguy Pruvot
afa2e929a2 markets: avoid useless api queries if exchange is not used 2018-03-27 01:49:37 +02:00
Tanguy Pruvot
20de9ab774 markets: handle cryptohub api, but only manually
their api is not complete enough to auto create the markets...
2018-03-26 10:28:31 +02:00
Tanguy Pruvot
2ad138591e x12 algo + GCH multi-algos definition 2018-03-26 09:37:11 +02:00
Tanariel
2d0a2df480 emulate getinfo for wallets who copy bitcoin mistakes (#250)
like vertcoin 0.12... for sure its more efficient sigh
2018-03-25 12:09:26 +02:00
Tanguy Pruvot
9c438eeb94 backend: protect also balances from renting clear
+ set an expiration to memcache lock, payment unlikely fails, but...
2018-03-24 22:11:50 +01:00
Tanguy Pruvot
e5dd766dd5 backend: avoid to clear earnings during payouts (#249)
+ simplify payment code based on RavenMinerPool commit
2018-03-24 08:10:51 +01:00
exmac
1b3f15fef3 Add yescryptR32 (#247)
YescryptR32 for coin WAVI
https://bitcointalk.org/index.php?topic=3146751.0

Tested on : https://lpool.name/pool/WAVI
2018-03-19 19:27:31 +01:00
Tanguy Pruvot
77e2624db1 stratum: drop STAK unused vars + git file mode fix 2018-03-16 11:04:06 +01:00
Daniel Mackie
333acc0d25 stratum: STAK special coinbase, with SegWit support
untested, but compiled fine
2018-03-16 10:26:33 +01:00
Tanguy Pruvot
c56969c51c stratum: socket recv timeout config
With a default value set to 10mn, better than unlimited (0)
2018-03-16 10:21:19 +01:00
Tanguy Pruvot
67d3e6aeed stratum: warning fix for recent gcc
was -Wunused-result, useless but...
2018-03-14 22:46:57 +01:00
Tanguy Pruvot
f342017d31 stratum: also check early nonce is hexa
and remove double submit_bad++
2018-03-14 20:21:00 +01:00
Tanguy Pruvot
165e93bf29 stratum: function to check hex strings validity 2018-03-14 18:40:57 +01:00
Tanguy Pruvot
bd888ff4e2 stratum: function to track mem usage
+ bad client possible leak... but it is not the main one
2018-03-13 21:22:17 +01:00
Tanguy Pruvot
8c27bed438 stratum: remove useless mysql escape + fix for stats
the custom check is already more secure than "unknown" mysql code
2018-03-13 19:35:57 +01:00
Tanguy Pruvot
3624f2c44d stratum: be more strict with user string fields 2018-03-13 17:48:32 +01:00
Tanguy Pruvot
669ab6bb0f stratum: ensure all blocks are put in db (#241)
may be important for pool op noobs who dunno what they do,
doesn't setup blocknotify or have server efficiency issues..

squashed commit of today's commits, sorry for the mess ;)

prevent job delays if no blocks were submitted
double check coin id on blocknotify
remove noblocknotify boolean
prevent notify debuglog on normal blocks
2018-03-12 19:00:24 +01:00
Tanguy Pruvot
46996e3269 stratum: disable haproxy ip translation code by default
toggle it via the .conf or edit code to change overall defaults
2018-03-08 17:14:37 +01:00
Tanguy Pruvot
569661a25c memcache: revert commit for the backend job 2018-03-06 14:26:42 +01:00
Tanguy Pruvot
6a7bc6de1d memcache: fix param order in last commit 2018-03-06 13:48:57 +01:00
Johan Dufour
1e06755a74 use memcache object method instead of low level method (#234) 2018-03-06 13:26:03 +01:00
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
010fd14493 stratum: ignore possible dup on new user
This race case was causing a stratum exit  and should not
2018-03-02 15:13:35 +01:00
Tanguy Pruvot
343ec492c8 stratum: min diff and anti-flood adjustments 2018-03-02 13:41:13 +01:00
Tanguy Pruvot
c49c8b30f2 stratum: fix the major socket leak on bad auth 2018-03-02 13:16:13 +01:00
Tanguy Pruvot
befb105e5d stratum: fill fds and server name/url in stratums table
meant to detect socket leaks before its too late...
2018-03-02 00:07:54 +01:00
Tanguy Pruvot
a364e305f2 cli: allow to search users by ip 2018-03-01 15:22:53 +01:00
Tanguy Pruvot
2dccc579cf markets: handle cryptobridge ticker 2018-02-28 20:56:08 +01:00