Commit graph

886 commits

Author SHA1 Message Date
Tanguy Pruvot
db2efc310d stratum: only accept compatible addresses
add cflag to only allow compatible mining addresses

and set user coinid directly on connect,
Without that, there are wallet conflicts (CHC vs CTO)

assign the right coin job when exchange is disabled

backend: share only the mined coin
2015-07-23 06:00:19 +02:00
Tanguy Pruvot
3684958354 stratum: prevent sql injections
At least the symbol was accepting special chars... we dont want any...
2015-07-23 05:56:50 +02:00
Tanguy Pruvot
afdf1e9b64 reduce bloc clearing time when exchange is disabled 2015-07-23 05:56:50 +02:00
Tanguy Pruvot
30e8b9f43e stratum: prevent possible segfault 2015-07-23 05:56:50 +02:00
Tanguy Pruvot
3d2581b4f4 shell: add a maximum execution time on screen tasks 2015-07-23 05:56:50 +02:00
Tanguy Pruvot
ef7a5ba911 users: do not fallback to btc balance if exchange is disabled 2015-07-23 05:56:50 +02:00
Tanguy Pruvot
b8adb72034 coin: show a sample config in form + new fields 2015-07-23 05:56:50 +02:00
Tanguy Pruvot
a1909ed636 remove hard coded site urls 2015-07-23 05:56:50 +02:00
Tanguy Pruvot
00aa5f13dc do not increase user btc balance if exchange is disabled 2015-07-23 05:56:50 +02:00
Tanguy Pruvot
81c1c9c1db workers: show 'login' if set in account table 2015-07-23 05:56:50 +02:00
Tanguy Pruvot
7ad244c996 rental: hide rental rows if we dont use it with var
and clean the admin panel main grid...
2015-07-23 05:56:49 +02:00
Tanguy Pruvot
4d4c48eed2 status: variable to toggle estimates columns 2015-07-23 05:56:49 +02:00
Tanguy Pruvot
0028095d0b cryptsy: try catch on ticker and use new pubapi servers 2015-07-23 05:56:49 +02:00
Tanguy Pruvot
cda26ad1ab exchanges: get btc balances when auto trade is disabled 2015-07-23 05:56:49 +02:00
Tanguy Pruvot
1d2953cec3 allow to disable nicehash rental api calls 2015-07-23 05:56:49 +02:00
Tanguy Pruvot
84fa733ecd stats: do not assume we have the btc currency in db
disable coins table auto delete... a broken exchange api could erase our db...
2015-07-23 05:56:49 +02:00
Tanguy Pruvot
4be918cb4f set special fixed pool fees in server config 2015-07-23 05:56:49 +02:00
Tanguy Pruvot
a775238115 remove serverconfig.php from git 2015-07-23 05:56:49 +02:00
Tanguy Pruvot
1824eb7d64 sample database change, coins hasmasternodes 2015-07-23 05:56:49 +02:00
Tanguy Pruvot
79413164c8 use path variables in rc.local, add comments 2015-07-23 05:56:49 +02:00
Tanguy Pruvot
0dde692642 rawcoins (polo) 2015-07-23 05:56:48 +02:00
Tanguy Pruvot
49784ca66f yiic: check keys.php file is present, update readme 2015-07-23 05:56:48 +02:00
Tanguy Pruvot
688291c635 new images 2015-07-23 05:56:48 +02:00
Tanguy Pruvot
c96c870792 trading: add security flag to disallow orders 2015-07-23 05:56:48 +02:00
Tanguy Pruvot
4be1ea49fb do not stop webserver on server load
compiling a wallet or doing db maintenance would stop the server...
2015-07-23 05:56:48 +02:00
Tanguy Pruvot
46b188dfc9 stratum: link hasmasternodes new db field
and fix possible segfault if "payee" string does not exists for masternodes

Also handle MDT masternodes amounts
2015-07-23 05:56:48 +02:00
Tanguy Pruvot
92cfceb233 use getiparam everywhere to get url ids 2015-07-23 05:56:48 +02:00
Tanguy Pruvot
bc6f7166bf stratum: fix makefile on fedora (mysql lib) 2015-07-23 05:56:48 +02:00
Tanguy Pruvot
c3a70f8307 add banx.io markets api 2015-07-23 05:56:48 +02:00
Tanguy Pruvot
b1a4d9e57f admin access filter 2015-07-23 05:56:48 +02:00
Tanguy Pruvot
0d15387053 yiic: dist clean command 2015-07-23 05:56:47 +02:00
Tanguy Pruvot
087958b76f accounts: add column hostaddr 2015-07-23 05:56:47 +02:00
Tanguy Pruvot
0feed8bd1d more checks for new installs 2015-07-23 05:56:47 +02:00
Tanguy Pruvot
307fba924d bmw algo 2015-07-23 05:56:47 +02:00
Tanguy Pruvot
c2ff5018c3 markets: cryptsy debug prices 2015-07-23 05:56:47 +02:00
Tanguy Pruvot
d80abb7386 earnings: cleanup and missing clearearnings route 2015-07-23 05:56:47 +02:00
Tanguy Pruvot
6b819c3be1 config var to dis/allow autoexchange 2015-07-23 05:56:47 +02:00
Tanguy Pruvot
721bedbda7 yiic: add function to delete an user by id 2015-07-23 05:56:47 +02:00
Tanguy Pruvot
6b48c43a87 markets: only warn about unkown exchange on enabled coins 2015-07-23 05:56:47 +02:00
Tanguy Pruvot
61d1f4d12f index: warn more about user coin address and site essentials 2015-07-23 05:56:47 +02:00
Tanguy Pruvot
45904076e9 status: show coin name if mining a single coin per algo 2015-07-23 05:56:46 +02:00
Tanguy Pruvot
8423662cc5 warn on BTC addresses 2015-07-23 05:56:46 +02:00
Tanguy Pruvot
955d6d1520 status: hide weird estimations until fix 2015-07-23 05:56:46 +02:00
Tanguy Pruvot
b7f0fab467 update api sample (workers/last) 2015-07-23 05:56:46 +02:00
Tanguy Pruvot
14fe22117a Disable renting tab and show bloc explorers
also show the net hash rate (via memcached getmininfo)
2015-07-23 05:56:46 +02:00
Tanguy Pruvot
b10abe401a bestmarket: allow to force a coin exchange in coin table 2015-07-23 05:56:46 +02:00
Tanguy Pruvot
dbb423420b enable all algos, now auto hidden + trading
c11: reduce fees
2015-07-23 05:56:46 +02:00
Tanguy Pruvot
ccb9a56878 stats: reduce stratum debug logs and db earnings records
disable startup restart notices in debug...
2015-07-23 05:56:46 +02:00
Tanguy Pruvot
b0b32a2a2d disable dynamic fee system 2015-07-23 05:56:46 +02:00
Tanguy Pruvot
2738fe1439 stratum: attempt to support skeincoin wallet
accountaddress doesnt return an array but a simple string....
2015-07-23 05:56:46 +02:00