Commit graph

374 commits

Author SHA1 Message Date
Tanguy Pruvot
8c49ab8090 decred: limit payments tx sigops to 990 2017-08-21 15:08:24 +02:00
Tanguy Pruvot
894f2aa901 tradesatoshi: public api to list markets 2017-08-20 17:45:16 +02:00
Tanguy Pruvot
b539cff940 exchanges: add cryptowatch as possible fallback price source
not used yet, but could be useful to handle secondary fiat (EUR,GBP,CAD,JPY) prices later
2017-08-15 13:49:22 +02:00
Tanguy Pruvot
196507fe04 poloniex: check deposit address before generating one 2017-08-14 12:59:34 +02:00
Tanguy Pruvot
90a100462d rpc: dissallow all wallet rpc methods containing key 2017-08-05 03:37:05 +02:00
Tanguy Pruvot
c28ed5b3f8 backend: retry once before disabling coins not answering to getinfo 2017-07-31 08:38:49 +02:00
Tanguy Pruvot
eb6a4e2021 cryptopia: fix error parsing public api 2017-07-25 09:51:00 +02:00
Tanguy Pruvot
38f70c6521 benchs: limit algo columns in overall list + memcache 2017-07-25 09:50:58 +02:00
Tanguy Pruvot
2156c0f002 backend: consolidate user shares after 48h
these shares are no more shown in graphes, so sum them in one per worker
2017-07-23 18:18:55 +02:00
Tanguy Pruvot
af58024219 backups: compress after the dump to reduce db locktime 2017-07-23 16:27:10 +02:00
Tanguy Pruvot
c2ff8fdc8c skunk: fix admin bg color + sample config 2017-07-22 07:32:35 +02:00
Tanguy Pruvot
c53ff49a63 Signatum skunk algo
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2017-07-21 11:11:04 +02:00
Tanguy Pruvot
646ea022eb api: coinsmarkets private api and balances
also disable some less used exchanges by default (alcurex, bter, jubi)
to toggle them, see the settings table (need disabled = 0)
2017-07-21 11:05:26 +02:00
Tanguy Pruvot
30ae9dfa61 cryptopia: fix public api (bad copy paste) 2017-07-21 05:13:10 +02:00
Tanguy Pruvot
fb176db565 cryptopia: handle maintenance and public api errors 2017-07-20 15:07:28 +02:00
Tanguy Pruvot
919ba6d0a2 kraken: handle api exceptions without crash 2017-07-20 15:02:58 +02:00
Tanguy Pruvot
3489940168 exchanges: add missing timeout curl options 2017-07-18 01:01:45 +02:00
Tanguy Pruvot
fe4dc4e25a poloniex: do not throw exceptions on curl errors 2017-07-17 06:23:28 +02:00
Tanguy Pruvot
17875d358f backend: ignore btc net hash overflow #141
could be due to the unit for the network_hash.. quick fix
2017-07-17 06:23:07 +02:00
Tanguy Pruvot
41afa22d0d backend: dont delete shares during the quick clean
do it after the payouts...
2017-07-15 21:02:35 +02:00
Tanguy Pruvot
446cb0187c backend: allow more cpu threads to do the backup compression
if xz take too much time, mysql buffer can suffer and can overflow

Also, drop useless invalid shares after 24h, no more used in graphes
2017-07-15 16:09:44 +02:00
Tanguy Pruvot
7f28b3d8f5 nova: fix possible error on deposit addresses
also add missing timeout options...
2017-07-12 16:36:03 +02:00
Tanguy Pruvot
c3721b77c9 tribus algo, nothing complicated...
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2017-07-05 19:17:06 +02:00
Tanguy Pruvot
14740a09cb wallet: add an admin link to external explorer (if set) 2017-07-04 14:12:17 +02:00
Tanguy Pruvot
e2d8fa818a renting: add a server constant for withdraw tx fees 2017-06-28 14:51:27 +02:00
Tanguy Pruvot
bd64837278 Remove old MUE workarounds
remember to reset the reward multiplier to 1 (not 1000 like quark)
2017-06-28 10:47:56 +02:00
Tanguy Pruvot
ca999ecfa6 store payout coin id and check algos earnings mismatches 2017-06-19 10:45:50 +02:00
Tanguy Pruvot
5e000cf1db hitbtc: read existing deposit addresses
todo: some monthtly task or command line tool to check all addresses
2017-06-19 10:35:52 +02:00
Tanguy Pruvot
c3764732d3 hitbtc: fix unparsable object array 2017-06-19 09:27:38 +02:00
Tanguy Pruvot
90577822a6 markets: handle hitbtc api and user's balances 2017-06-19 09:10:32 +02:00
Tanguy Pruvot
fb8d9b341d admin: fix deprecated function for netmask check 2017-06-19 09:09:55 +02:00
Tanguy Pruvot
8633aebab4 admin: some code syntax changes and console log 2017-06-18 09:36:54 +02:00
Tristian
215fec2dc8 Add CIDR range checking for admin IP (#130)
* Add CIDR range checking for admin IP
* Be more strict in checking admin IP
2017-06-18 09:26:27 +02:00
Tanguy Pruvot
69a4859c56 markets: coinsmarkets public api, disabled by default 2017-06-18 08:11:09 +02:00
Tanguy Pruvot
209836e80a trading: update default withdrawal fees 2017-06-11 21:28:31 +02:00
Tanguy Pruvot
e9e30c0cf7 shapeshift: command line api functions
explanations: yiimp shift help
2017-06-11 21:14:59 +02:00
Tanguy Pruvot
a2aaf2b9e0 markets: handle most other exchanges tickers 2017-05-28 20:10:29 +02:00
Tanguy Pruvot
93c785b45a dashboard: altcoin balances totals and new market balances view
Also add a manual ticker api check to test the exchange reliability
2017-05-28 09:57:38 +02:00
Tanguy Pruvot
550db2d7de markets: always use official symbols 2017-05-28 08:36:29 +02:00
Tanguy Pruvot
1c22ec4df6 refresh/fix jha algo, keep only the last variant 2017-05-19 13:20:56 +02:00
Tristian
0402b68fcd nova: trading fixes (#117)
* nova: loop through All orders and flush
* nova: fix CancelOrder
2017-05-18 17:39:03 +02:00
Tanguy Pruvot
cb7ad18421 exchanges: handle more Cloudflare JSON api errors! morons 2017-05-14 07:49:41 +02:00
Tristian
7f49085c0e nova: fix order placement (#116)
check symbol2 when getting deposit addresses
check for bad server response
fix typos
2017-05-14 07:28:58 +02:00
Tanguy Pruvot
67983eb173 markets: restore the ignore on new nova coins + remove deleted field set
using the deleted field would delete/insert records incrementing the db pk

+ nova fix for address
2017-05-12 06:29:20 +02:00
Tristian
25aa694498 nova: update API to v2, get deposit addresses (#112)
- fix updateNovaMarkets
- slight refactor of trading to handle symbol2
- get deposit addresses
2017-05-12 06:16:57 +02:00
Tanguy Pruvot
5a3dce2ba1 payments: more code for crappy wallets + CHC timeouts
also, attempt to increase the cron job execution time for this
special task.
2017-05-10 07:00:26 +02:00
Tristian
9a6ece22cd Add Nova trading (#108) 2017-05-09 05:07:36 +02:00
Tanguy Pruvot
94afe1073e bench: drop invalid clocks in nv 381.x (fixed in 382) 2017-05-07 03:36:11 +02:00
Tanguy Pruvot
8428d49750 bitcore timetravel-10 algo variant
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2017-05-01 01:02:14 +02:00
Tanguy Pruvot
5a332328d1 backend: enhance masternodes and decred orphans detection
handle new DASH/SIB masternodes template for the coin reward

for decred orphans, a wallet restart can lead to orphans,
so double check the wallet status with walletinfo
2017-04-30 23:10:26 +02:00