Commit graph

794 commits

Author SHA1 Message Date
Tanguy Pruvot
6ced60c84e markets: add stocks.exchange public api
disabled by default, optional...
2017-11-22 12:15:04 +01:00
Tanguy Pruvot
f7a04abf06 markets: disable nova by default, ignore cryptopia scrypt
nova is closing in a week... better to ignore it now.
2017-11-22 11:09:31 +01:00
Tanguy Pruvot
2b98f0219e payments: bulk op to reset a failed currency payout
Generally happen if the wallet balance is too low,
but in some cases could be also a rpc timeout (CHC),
so it require to be manually checked by the admin in the wallet tx history.
2017-11-22 10:07:33 +01:00
scorpio18
b16af0efa5 polytimos algo list fix
:/
2017-11-21 09:00:21 +01:00
Tanguy Pruvot
9dabe06037 nicehash: disable last api calls if not wanted 2017-11-18 11:27:46 +01:00
crackfoo
d63483c52e yiimp: add polytimos to algo list (#188) 2017-11-17 15:54:34 +01:00
Tanguy Pruvot
bfd614859f polytimos algo 2017-11-16 11:06:11 +01:00
Tanguy Pruvot
a1d3ecd0da backend: recheck orphaned blocks status in the hour, for LUX 2017-11-03 18:46:47 +01:00
Tanguy Pruvot
028d661056 binance public api (markets)
disabled by default, and not enough infos about symbols (no coin label etc)
2017-11-01 03:23:41 +01:00
Tanguy Pruvot
3eb8c33fc3 cli: improve coin generated command for confirmed orphans
some unstable (or flooded) wallet chains like LUX may fork twice
2017-10-22 05:02:53 +02:00
Tanguy Pruvot
f14ae825de api: use a new constant for api host 2017-10-17 13:30:15 +02:00
Tanguy Pruvot
c6e140ef7c handle phi algo too 2017-10-11 18:06:19 +02:00
Tanguy Pruvot
b97c52f14d hsr algo (x13 + custom hash) 2017-10-10 08:05:51 +02:00
Tanguy Pruvot
7d85e363c4 backend: prevent too long wallet versions 2017-10-09 11:26:24 +02:00
Tanguy Pruvot
778f9aeb85 cli: maintenance function to fix an invalid user symbol 2017-09-22 22:10:47 +02:00
Tanguy Pruvot
6c90300b6e cryptopia: workaround for missing deposit addresses 2017-09-13 12:40:08 +02:00
Tanguy Pruvot
b7a9174a20 cli: enhance graphes holes maintenance task 2017-09-13 08:28:41 +02:00
Tanguy Pruvot
ca50beefe6 blocknotify-dcr: refresh glide and fix new build issue
+ reduce sunday min payout
2017-09-13 08:28:33 +02:00
Tanguy Pruvot
ad3968fa69 backend: more proper int overflow on pool_ttf #141
related to mysql 5.7, int(11) seems no more supported
2017-09-13 07:10:51 +02:00
Tanguy Pruvot
9bfb531d03 pool_ttf and bench fixes for more recent servers 2017-09-12 19:17:28 +02:00
Tanguy Pruvot
f4caf07277 security: remove all unserialize() funcs from code 2017-09-10 00:41:18 +02:00
Tanguy Pruvot
0112b239f7 use new nicehash api domain 2017-09-08 03:59:05 +02:00
Tanguy Pruvot
e68f8225e6 livecoin: implement manual coindb labels via their api
+ poloniex trading possible issue... for zpool
2017-09-07 21:41:31 +02:00
Alastair Clark
acae4fd872 Fix for Nova trading (#180)
Remove the check for poloniex or bittrex. Which stopped coins that also had polo or trex markets to fail to sell.
2017-09-05 17:22:58 +02:00
Tanguy Pruvot
0520257c38 c-cex: fix missing variable 2017-09-03 01:40:44 +02:00
Tanguy Pruvot
0d0fbe24f5 miners: avoid costly queries on the shares table 2017-08-30 17:15:33 +02:00
Tanguy Pruvot
b21098c037 "yiimp coin SYM generated" command for maintenance checkups
can be useful if blocknotify is not working or if the backend had issues..

basically search for missed generated blocks.. and create them if the second param is set

Note: to use with care, old blocks are purged from the db after some time...
2017-08-30 13:53:50 +02:00
Tanguy Pruvot
15cee4797d c-cex: implement getmarketsummaries to reduce api calls 2017-08-24 16:40:01 +02:00
Tanguy Pruvot
046e24ad79 framework: remove an extra php end tag
may not be used, but just in case, prevent a leading space
2017-08-24 16:19:53 +02:00
Tanguy Pruvot
369b6530a1 difficulty: force int type to ceil() for php 7.x 2017-08-24 14:32:48 +02:00
Tanguy Pruvot
e829478835 nova: handle both possibles 'ok' status 2017-08-23 15:21:30 +02:00
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
da6d1525ce miners: properly cache rejected shares data 2017-08-17 09:20:59 +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
fd77e477b0 Never affect REMOTE_ADDR with HTTP_X_FORWARDED_FOR 2017-08-14 12:46:01 +02:00
hexpool
d9b97ee3bc Update keys.sample.php (#150)
include BTER
2017-08-13 13:05:38 +02:00
Tanguy Pruvot
6afff0c2e5 router: set yiimp url case sensitive 2017-08-10 17:14:46 +02:00
Tanguy Pruvot
90a100462d rpc: dissallow all wallet rpc methods containing key 2017-08-05 03:37:05 +02:00
Tanguy Pruvot
44aa14ddf7 admin: prevent ip spoofing for admin url 2017-08-05 02:36:34 +02:00
Tanguy Pruvot
91fdf629b4 Revert "admin: prevent ip spoofing for admin routes"
This reverts commit e3ed4a75b9.

Not the right place to check this header...
2017-08-05 02:31:28 +02:00
Tanguy Pruvot
e3ed4a75b9 admin: prevent ip spoofing for admin routes 2017-08-04 17:43:48 +02:00
Tanguy Pruvot
9743868290 config: remove 127.0.0.1 from sample config for 37.17.23.254 hacker
To prevent the hack by 37.17.23.254 (.by) who stole funds
from several pools (not mine)

total of 994 DNR stolen and transferred to these addresses
DP38wNb2SbYDeYqkQtE5WjCowKhMb1GR4q
DKDY5XWxzoPfLoJ1XXT7YWSneJ9sMw3FxG
DF9ZD91iQDMAegSCzbVrvPRaZrDXCgkurH
DCeeCazTExun2AkaM1Q2BuzNe8AwW2KZHX

total of 74209 SIGT stolen and transferred to these addreses
B557LL3vQhmxgRsCeRqAHpPBB7WRrMgfFA
BPDfVHVfKawJsVyK9gjkZ8DNsYgMjZyEAh
BTAGK33fvjhmfUzpEZu6GZssGqWXxrhU9o
user was mining to DMKRadxGRxRN9Hr8J9Wo3De2REH9mHu3Ew

The stealer had the same IP on the 3 pools who reported me infos
with activity from the 27th july 2017 until today
2017-08-04 15:17:22 +02:00
Tanguy Pruvot
777f39314c debug: show client ip of bad requests 2017-08-04 06:06:24 +02:00
Tanguy Pruvot
460574c555 benchs: some more AMD APUs and nvidia weird chip names 2017-08-04 06:05:44 +02:00
Tanguy Pruvot
cea296384a triggers: set missing default time values (#147) 2017-08-04 02:29:56 +02:00
Tanguy Pruvot
f6a8b2e1ab bench: the Quadro K620 is also affected by bad power readings 2017-07-31 08:54:58 +02:00
Tanguy Pruvot
7d039a1eea bench: apply a special factor for the 750/750Ti watts (x2)
These devices were the first generation to report Watts and seems
to be divided by 2. Could be because they only monitor the chip itself
like AMD RX series... and not the VRM loss, the memory chips and fans
2017-07-31 08:42:18 +02:00
Tanguy Pruvot
c28ed5b3f8 backend: retry once before disabling coins not answering to getinfo 2017-07-31 08:38:49 +02:00