Commit graph

370 commits

Author SHA1 Message Date
Tanguy Pruvot
e4ef728d40 coins: link the new fields in form
notes:
- account "default" should be set for decred
- payout_min handled (should be > txfee)
- payout_max to handle...

stratum rpc/account changes will be made in a second commit
2016-04-03 16:02:04 +02:00
Tanguy Pruvot
a338131f28 sql: rename account last_login to last_earning
this column name was confusing, add an index btw...

beware with this commit, need mysql change + memcache restart
2016-04-03 15:19:52 +02:00
Tanguy Pruvot
b43fa9236b coins: add link_site field
don't forget to restart memcached service to refresh the db structure
2016-04-02 15:11:54 +02:00
Tanguy Pruvot
9f431ec275 markets: improve disabled flag
disabled = 9 means permanent disable by admin (no more checked)
else, values 1 to 8 will depends on different cases... api down, low volume, etc

for the moment, only handle the autoswitch between 0 and 1 when the api reports an active state
2016-04-02 15:11:54 +02:00
Tanguy Pruvot
fbe8689fa1 markets: link new market fields (disabled/priority) 2016-04-02 15:11:53 +02:00
Tanguy Pruvot
616e448228 wallet: link new market fields 2016-04-02 15:11:53 +02:00
Tanguy Pruvot
f72ce04be1 markets: new fields + balances update 2016-04-02 15:11:53 +02:00
Tanguy Pruvot
6950057b17 db: handle custom user donation percents
The setting is set with g=10% in password field

its disabled by default, to do maybe per worker...

prevent negative donation percents
2016-04-02 15:08:43 +02:00
Tanguy Pruvot
2022170777 db: save payout errors 2016-04-02 15:08:43 +02:00
Tanguy Pruvot
71de6d635b db: save blocks worker id for worker stats
Note: need database change!
2016-04-02 15:08:43 +02:00
Tanguy Pruvot
294da52732 banx: rename to cryptomic (part 2) 2016-04-02 15:06:37 +02:00
JarBinks
a5450584e0 safecex: fixing missing cancel order routines
I left these out of the last update. :-(
2016-04-02 14:48:21 +02:00
Tanguy Pruvot
40268644b2 banx: quick fix for new domain name 2016-04-02 14:00:22 +02:00
Tanguy Pruvot
21d8a1d5c6 exchange: fix bter api queries
was badly reported as bleutrade errors
2016-04-02 13:54:25 +02:00
JarBinks
1a51a4f2ec cryptopia: bug fix in the cancel order function 2016-04-02 12:11:27 +02:00
crackfoo
c3f2e90c26 yobit: add auto withdraw BTC
fixed (tpruvot)
2016-04-01 10:55:29 +02:00
Tanguy Pruvot
06f397a357 cryptopia: double check orders api result in trading 2016-03-31 21:20:32 +02:00
JarBinks
d41d5c324b cryptopia: marketid update 2016-03-31 16:53:19 +02:00
JarBinks
46d1fe9a9a Exchange Order Cancel on Dashboard page 2016-03-31 10:05:41 +02:00
Tanguy Pruvot
e7a08087c8 util: add a new objSafeVal() function for json objects 2016-03-30 18:21:25 +02:00
Tanguy Pruvot
5f1779673d kraken: set a timeout to api calls 2016-03-30 18:21:21 +02:00
Tanguy Pruvot
87128640a3 poloniex: dont assume the api key is defined 2016-03-30 17:35:50 +02:00
Tanguy Pruvot
b46b4e0cd1 cryptopia: fix typo in markets code 2016-03-30 13:38:40 +02:00
Tanguy Pruvot
b1d7435564 c-cex: link coin labels api 2016-03-28 12:09:18 +02:00
Tanguy Pruvot
1c5daaa9b7 graphs: handle the new blake unit 2016-03-27 23:41:13 +02:00
Tanguy Pruvot
fe6c79ea23 stats: change blake algos profit to mBTC/Gh
to update history, manually run this sql query :

UPDATE hashrate SET price=price*1000.0, rent=rent*1000 WHERE algo IN ('blake','blake2s','decred','vanilla') AND price < 0.01;
2016-03-27 20:27:27 +02:00
Tanguy Pruvot
dac5d33e09 profit: move sha256 GH/s factor in a function
todo: handle blake algos like sha
2016-03-27 11:49:17 +02:00
Tanguy Pruvot
b90ef30df3 small changes 2016-03-24 05:11:08 +01:00
Tanguy Pruvot
318efbb7dc bter exchange private api 2016-03-24 05:05:52 +01:00
Tanguy Pruvot
0075e26208 backups: purge outdated shares 2016-03-24 03:34:40 +01:00
Tanguy Pruvot
8444523b98 exchange: banx and cryptopia also returns deposit addresses 2016-03-23 05:39:28 +01:00
Tanguy Pruvot
997f0be1b5 kraken api, to retrieve markets and btc balance 2016-03-22 14:44:10 +01:00
Tanguy Pruvot
6d3241d02a bleutrade: sleep before each api call 2016-03-22 09:52:34 +01:00
Tanguy Pruvot
f4fcf5c492 c-cex: handle error in return field :/ 2016-03-22 06:54:06 +01:00
Tanguy Pruvot
7d599013ea safecex: also store all balances 2016-03-22 05:52:01 +01:00
Tanguy Pruvot
40dbf13e46 c-cex: get deposit addresses 2016-03-22 05:18:21 +01:00
Tanguy Pruvot
8dfa435d94 exchanges: load balances in market table
for the moment, only when not using the auto-exchange

disable empoex (closing)
2016-03-21 16:44:11 +01:00
Tanguy Pruvot
7e739906a1 c-cex: add new apis + auto withdraw 2016-03-21 16:18:43 +01:00
Tanguy Pruvot
0f34e167cf users: rework table and bad shares count 2016-03-21 07:25:27 +01:00
Tanguy Pruvot
bc3ae3b44f Restore banx exchange, reopening..
site will also be renamed later... cryptomic.com

This reverts commit e669e1cc05.
2016-03-19 07:40:57 +01:00
Tanguy Pruvot
53a113581a bleutrade: strip annoying html log on api error 2016-03-19 05:20:06 +01:00
Tanguy Pruvot
ae822976a3 blocks: bug with PoS coins not supporting blocknotifiy
a typo was causing unotified ORB blocks to be detected as stake
2016-03-19 05:20:02 +01:00
Tanguy Pruvot
b392f7d5eb wallet: link the backend blocks ops
+ some controller cleanup...

todo: splash error messages on wallet ops
2016-03-18 03:21:01 +01:00
Tanguy Pruvot
db76c2e525 wallets: proper wallet version function 2016-03-18 01:25:37 +01:00
Tanguy Pruvot
bcf72ffeda wallet: add peer infos 2016-03-17 22:37:45 +01:00
Tanguy Pruvot
1a625a3869 x14 2016-03-17 07:30:12 +01:00
Tanguy Pruvot
266f78431a add blake2s to default algos..
+ uis algos list change
2016-03-14 23:56:02 +01:00
Tanguy Pruvot
e48a0cd335 blake2s algo 2016-03-10 08:07:08 +01:00
Tanguy Pruvot
7c87987cea safecex: wrong use of isset on property 2016-03-08 17:14:46 +01:00
Tanguy Pruvot
53f9a3d88f decred: enhance check for gettransaction (orphan check)
gettransaction <hex> seems a bit buggy on decred, it can take 30mn

Also, never delete immature and stake blocks on disabled coins,

Happened to me on dcr wallet upgrade, thanks to the backups ;)
2016-03-08 16:59:36 +01:00