Commit graph

828 commits

Author SHA1 Message Date
Tanguy Pruvot
4e5fbb4939 cexio: include btc in orders for the balance
to do like bitstamp...
2018-01-25 00:33:10 +01:00
Tanguy Pruvot
a89a0ef4cf stratum: fix altminer commit 2018-01-24 20:47:46 +01:00
Tanguy Pruvot
88cfe6faf7 benchs: ignore some weird device names and x16r algo 2018-01-24 20:44:28 +01:00
Tanguy Pruvot
0019ca611d new x16r algo, with stratum factor 256, like timetravel algos
beware: this algo may have a variable hashrate, unlike timetravel

its ignored from benchs for this reason
2018-01-24 20:43:52 +01:00
AltMinerNet
e4914a6b09 stratum: check coin filters early (#211)
Avoid the override of global variables
g_stratum_max_cons, g_max_shares, g_stratum_segwit
by excluded coinds by checking the include/exclude filters earlier.
2018-01-24 20:35:41 +01:00
Tanguy Pruvot
7aa93d684a decred: listtransactions order is finally like others 2018-01-23 23:54:17 +01:00
AltMinerNet
1f9bfd006a stratum: handle proxy protocol (#196)
Implemented PROXY v2 protocol (https://www.haproxy.org/download/1.8/doc/proxy-protocol.txt) so that stratum can be run behind an haproxy instance.

iptables/ipset still work if haproxy is run on local machine. if run on remote machine switch to using client_block_ipset() and periodically sync the ipset to the machine running haproxy.
haproxy must be configured with send-proxy-v2, version 1 does not work
2018-01-22 01:18:57 +01:00
AltMinerNet
117c7b3c9c stratum: pushing more old masternodes (#210) 2018-01-19 23:12:24 +01:00
Tanguy Pruvot
bc7c183114 backend: drop old blocks from the db after 60 days 2018-01-19 21:28:35 +01:00
Tanguy Pruvot
3737f97a60 lbry: change estimates in mBTC/GH like other sha algos
if needed (already mining) you can do that to update the pool estimate graph values:

UPDATE hashrate SET price=price*1000.0, rent=rent*1000 WHERE algo='lbry' AND price < 0.01;
2018-01-19 20:00:34 +01:00
Tanguy Pruvot
758e591348 stratum: initialize segwit flag 2018-01-19 00:53:38 +01:00
Tanguy Pruvot
b760beaad3 binance: update balances
deposit addresses seems missing in their api
2018-01-14 21:00:08 +01:00
Tanguy Pruvot
e569b57749 binance: auth rest api function 2018-01-14 20:11:16 +01:00
Tanguy Pruvot
fda559bca4 stratum: hsr sm3 cleanup + rotl32 issue 2018-01-14 00:44:11 +01:00
Jia Wu
5ae0afb43d ui: remove css width % from footer (#206)
Was bothering me a lot.
2018-01-13 20:36:59 +01:00
Tanguy Pruvot
accb3b4bd3 kucoin: daily check deposit addresses + typo on manual ticker update 2018-01-12 13:42:18 +01:00
Tanguy Pruvot
d7b980b219 home: update project description 2018-01-11 14:24:46 +01:00
Tanguy Pruvot
bc68c04163 stratum: handle more old masternodes (#204) 2018-01-10 16:10:34 +01:00
Tanguy Pruvot
d200935198 stratum: null ptr check on json arrays 2018-01-10 15:54:21 +01:00
crackfoo
9a0aedfacd bittrex: update min trade (#203) 2018-01-10 01:01:21 +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
1d523798be stratum: use new dash masternodes as default
remember to do a make clean... coind struct was changed
2018-01-09 17:53:45 +01:00
Tanguy Pruvot
ab5e411529 kucoin exchange api + balances and icons
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2018-01-07 20:48:25 +01:00
AltMinerNet
7729b5c2ef stratum: possibility to change sql port 2018-01-06 13:51:48 +01:00
Tanguy Pruvot
c375085dc1 dashboard: show the stratum's uptime 2018-01-04 14:05:30 +01:00
Tanguy Pruvot
149e950f57 coinexchange: check wallet status and disable if offline 2018-01-03 15:47:42 +01:00
Tanguy Pruvot
dfb28223cc cex.io rest-api (public + private)
no trading or markets yet, just made to query balances
2018-01-03 12:16:52 +01:00
phm87
80fa212c23 update keys.sample.php (#199) 2018-01-01 19:14:51 +01:00
Tanguy Pruvot
41821cee93 sql: also add a stratum start time column
time column is refreshed at regular interval by the process
2018-01-01 12:58:46 +01:00
Tanguy Pruvot
472b4d7635 stratum: fill new port workers and symbol fields 2018-01-01 12:31:01 +01:00
Tanguy Pruvot
31163c3933 sql: prepare new stratums fields for multiple instances
will be used to show the right pid/port of one instance,
and add some stats to avoid users to use full ones...
2018-01-01 11:47:37 +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
AltMinerNet
ba7873e9f2 mining html fix (#195)
coin reward html end tag correction.
2017-12-16 12:55:10 +01:00
Tanguy Pruvot
35bfd756cc New admin botnets view to list users with many ips
fast, global view (all algos) to link/check wallets
2017-12-16 12:44:12 +01:00
Tanguy Pruvot
a8e98c1839 stratum: ipset function to block botnets
can be (manually) used, if needed, in client_authorize
2017-12-15 23:53:39 +01:00
Tanguy Pruvot
f95177cc14 stratum: prefer user coin first in yiimp mode
prevent a few shares on the "best" algo wallet on connect...
2017-12-12 19:13:27 +01:00
Tanguy Pruvot
01c5736512 yobit: markets price typo + coinsmarkets server fake bid price 2017-12-12 02:01:41 +01:00
Tanguy Pruvot
6b6866048e keccak: use mBTC/GH unit like blake
if needed (already mining) you can do that to update the pool estimate graph values :

UPDATE hashrate SET price=price*1000.0, rent=rent*1000 WHERE algo IN ('keccak','keccakc') AND price < 0.01;
2017-12-11 23:54:10 +01:00
Tanguy Pruvot
258bc24c31 cli: new bench command to query bench data avgs 2017-12-10 18:34:05 +01:00
Tanguy Pruvot
ff6b22cc5f cli: allow to pass args with spaces 2017-12-10 18:18:33 +01:00
Tanguy Pruvot
6c09e5f1b9 yaamp_fee() comment a few unused sql queries (on shares) 2017-12-08 23:56:52 +01:00
Tanguy Pruvot
e47e40aea6 benchs: ignore if already too much data per chip/algo 2017-12-08 19:58:45 +01:00
Tanguy Pruvot
80c53c8a6e cryptopia: new default min_btc_trade and withdraw_fee_btc 2017-12-05 15:39:19 +01:00
Tanguy Pruvot
94c8db3664 dashboard: fix alt balances for multialgo coins 2017-12-02 15:08:51 +01:00
Tanguy Pruvot
797dba14f6 stocks.exchange private api function 2017-12-02 13:49:59 +01:00
Tanguy Pruvot
ac13a0f0d9 markets: update yobit markets prices with a different base
note: market record should be created manually, experimental..
2017-12-01 14:22:17 +01:00
Tanguy Pruvot
69a8f951a3 stratum: allow wallet filters in the .conf
Allow to create a stratum port for only one wallet
2017-11-30 13:02:17 +01:00
Tanguy Pruvot
66b15044ba explorer: show tx indices and truncate blocks with too much 2017-11-30 12:31:17 +01:00
Tanguy Pruvot
24c28802f8 explorer: show segwit txs + workaround for some missing ones 2017-11-30 10:47:52 +01:00