Tanguy Pruvot
f358e723c8
exchanges: ignore coins 'created' by tradesatoshi
...
they have a very huge amount of scams...
2018-05-09 00:13:15 +02:00
Tanguy Pruvot
ca974e661f
backend: keep blocks history at least 7 days
2018-05-08 23:50:10 +02:00
Tanguy Pruvot
b114a1c66f
stratum: common p2sh_pack_tx func for p2sh masternodes
2018-05-07 16:16:40 +02:00
Nico
ed97818e61
stratum: support for MAC P2SH masternodes too ( #266 )
...
note: a field "isscript" should be added to getblocktemplate masternode/superblock objects
if the type of address can vary over time...
Code may be refactored later (common func and p2sh fields in coind object)
2018-05-07 15:41:20 +02:00
Tanguy Pruvot
db7a145c0b
stratum: fix superblock script order
...
was not easy to code without the future wallet code to test it ;)
2018-05-07 15:03:18 +02:00
Tanguy Pruvot
d428130df3
allium: fix pool diff ratio, same as lyra2v2, cf cpuminer-opt
2018-05-06 17:11:20 +02:00
Tanguy Pruvot
b43d646548
handle allium algo, kind of double lyra2
2018-05-06 16:52:57 +02:00
Tanguy Pruvot
daac1a10c6
stratum: merge P2SH superblock code to prevent duplicated code
2018-05-04 21:46:26 +02:00
Tanguy Pruvot
d4b00a8b0b
Revert "stratum: support for Machinecoin 0.16 mn+segwit ( #265 )"
...
This reverts commit a78ec34d37
.
2018-05-04 21:41:06 +02:00
Tanguy Pruvot
fe47cca831
stratum: also prepare normal optional mn+segwit
2018-05-04 19:56:27 +02:00
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