Commit graph

228 commits

Author SHA1 Message Date
Tanguy Pruvot
a88c1e0b43 handle lbry algo and protocol
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2016-07-19 23:14:34 +02:00
Tanguy Pruvot
bf3259b73c benchs: prevent too much records from the same user 2016-07-04 07:14:59 +02:00
Tanguy Pruvot
548f31e846 markets: minor message fix 2016-07-04 07:14:58 +02:00
Tanguy Pruvot
38ee58fbfa benchs: chip and vid filter 2016-07-01 08:55:55 +02:00
Tanguy Pruvot
7a302e9751 benchs: allow to filter by chip 2016-07-01 08:12:24 +02:00
Tanguy Pruvot
53638b1d90 bench: add a task to add new submitted chips
also remove "safe" model rules, seems to create import problems
2016-06-08 19:49:59 +02:00
Tanguy Pruvot
c2374d1420 cron: rework tasks to update blocks status more often
should make immature blocks confirmations more accurate and help
to see which exchange slow down the cron task.

also, orphan outdated blocks (one week)) from the db if the wallet is disabled
2016-06-07 21:41:32 +02:00
Tanguy Pruvot
afecf8e614 notify: wallet ui to add/toggle/del trigger rules
admin: move common ui functions in a new file
2016-06-02 09:06:16 +02:00
Tanguy Pruvot
dbdd50321e Add basic notify rules check
sample db rule which mail the admin:

enabled, description, conditiontype, conditionvalue, notifytype

1, 'DCR Greater than X', 'price >', 0.0035, 'email'

see core/backend/notify.php for more details...
2016-06-01 17:32:20 +02:00
Tanguy Pruvot
96097edfe9 x11evo algo, properly rewrote
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2016-06-01 06:37:14 +02:00
Tanguy Pruvot
01c4519638 rpc: error string was not properly retrieved 2016-05-30 10:20:33 +02:00
Tanguy Pruvot
722b9c9118 eth: handle rpc exceptions 2016-05-30 09:46:48 +02:00
Tanguy Pruvot
738848b7e9 various small changes 2016-05-30 09:13:19 +02:00
Tanguy Pruvot
f26060c15f ethereum: handle unknown methods 2016-05-29 14:34:30 +02:00
Tanguy Pruvot
3ab1c89493 fix typo 2016-05-29 10:22:14 +02:00
Tanguy Pruvot
35220977ef new wallet rpc class to handle martians
add some bitcoin rpc commands to query geth wallet informations (balance,diff,connections..)

todo: handle explorer and transactions list
2016-05-29 09:39:04 +02:00
Tanguy Pruvot
bea876bbd1 benchs: add averages in footer for current filter 2016-05-23 02:40:02 +02:00
crackfoo
de88b7c829 payouts: additional errors for failed tx
Added some additional errors to catch for miner payments and to resend 1/2 the failed amount.

Note (tpruvot): only for coins with the max_payout set (buggy or diing coins)
2016-05-19 03:24:19 +02:00
Tanguy Pruvot
c5f328a601 poloniex: be more safe with balance api results
unsure how it was possible, but zpool reported this error
2016-05-17 22:00:15 +02:00
Tanguy Pruvot
a0ba300188 benchmark: improve algo selection and handle gpus suffixes 2016-05-16 00:39:01 +02:00
Tanguy Pruvot
035d3b3bf2 c-cex: upgrade to newer auth api (balances) 2016-05-12 17:24:01 +02:00
Tanguy Pruvot
386b94c3b5 keep stake value if not in getinfo
will be required for decred

+ fix watched coins typo
2016-05-12 06:44:58 +02:00
Tanguy Pruvot
4eaab8c05d link new coin fields, auto filled 2016-05-11 21:25:42 +02:00
Tanguy Pruvot
c059a912db add x17 algo 2016-05-09 16:12:07 +02:00
Tanguy Pruvot
b047690843 markets: link exchange settings + default values
allow to toggle dead code more easily (cryptsy/empoex)

+ set some default market/exchange settings, to prevent hardcoded rules
2016-05-06 12:56:34 +02:00
Tanguy Pruvot
6172ae09ba settings: market and coin functions + cache
and update cli settings commands
2016-05-06 12:26:11 +02:00
Tanguy Pruvot
f3c65e270c explorer: dynamic generation of all explorer links
will use a more friendly format if the coin is visible

bitcoins txs will be linked to an external site, and if the site explorer
is disabled, hyperlinks should be disabled (text only)

+ some other changes related to the explorer...
2016-05-03 21:37:18 +02:00
Tanguy Pruvot
382131c413 Fix displayed pending amount in user wallet
There was a (UI only) difference between details and total.

note: the paid amount was correct (the one showed in show details)
2016-05-03 13:42:57 +02:00
Tanguy Pruvot
33e0aa65c4 markets: fix typo related to the LTC test 2016-05-02 16:27:20 +02:00
Tanguy Pruvot
90b29f7cd2 blakecoin: add to default algos + diff factor fix 2016-05-02 15:40:07 +02:00
Tanguy Pruvot
e0e1b1d144 yobit: price update was interrupted by the deposit address check
also, add more autotrade safety against scams pump'n'dump
2016-05-02 15:08:34 +02:00
Tanguy Pruvot
2d1af265fa history: improve the stacked graph series with missing data
+ optional hack to allow to store decred staking (locked) balance history
2016-05-01 13:29:25 +02:00
Tanguy Pruvot
2300314280 wallet: enhance graph ajax refresh and resize
prevent graph flicker on ajax refresh, only reload data after 5mn
and/or when the browser window is resized.

should reduce a bit the browser cpu usage...
2016-05-01 08:00:05 +02:00
Tanguy Pruvot
cf9b70c04b history: update time to rounded hour on older history
+ db user setting to set the delete delay (in seconds)
2016-04-30 18:05:31 +02:00
Tanguy Pruvot
b81a3701b4 history: prune database + better axis interval for 7 days
2 months kept in the database, and pruned by avg after 7 days
2016-04-30 13:50:24 +02:00
Tanguy Pruvot
6d2ab6efa1 markets: attempt to handle LTC markets
for the test, i added (manually) a market record named "c-cex LTC"
with base_coin set to "LTC", you may have to disable any BTC market(s) for the coin

In this case, the coin BTC price/balance is computed, based on LTC price,
even if the database coin "BTC price" is under 1 sat.

require LTC to be enabled or... "watched" to also update LTC/BTC price

implemented for cryptopia, nova and c-cex, not bleutrade (DOGE only)

+ various small log fixes..
2016-04-28 18:51:23 +02:00
Tanguy Pruvot
d32c673fa9 bitstamp: fix api typo 2016-04-27 13:16:02 +02:00
Tanguy Pruvot
fff4c76d68 c-cex: indent + constant fix 2016-04-27 12:52:58 +02:00
Tanguy Pruvot
6c8c6ce043 bitstamp: fix private api + getbalance 2016-04-27 12:08:41 +02:00
Tanguy Pruvot
b7c846c985 settings: link the exchange disable flag
+ apply settings to all exchanges

but remove the btc withdraw address from valid keys by default, security issue...
2016-04-27 11:12:38 +02:00
Tanguy Pruvot
7e0c9f69ce sql: settings table for exchange variables
only applied to bittrex as sample, default values are kept if unset.
2016-04-27 09:58:32 +02:00
Tanguy Pruvot
9d20eb01b3 backups: prefer xz if available 2016-04-27 05:17:27 +02:00
crackfoo
878716ea62 yiimp: add system var db & host for backup 2016-04-27 05:17:25 +02:00
crackfoo
15654cce6c bittrex: fix withdraw subtract tx fee from balance 2016-04-26 16:34:35 +02:00
Tanguy Pruvot
c74cfff0fc payments: handle payout_max field, to enhance later 2016-04-26 15:49:13 +02:00
Tanguy Pruvot
fac301fb93 cryptomic: finish renaming + kraken ask/bid check 2016-04-26 12:47:54 +02:00
Tanguy Pruvot
70d4ac5b88 bitstamp public api, private untested yet 2016-04-26 12:47:52 +02:00
Tanguy Pruvot
457a90d02d markets: dont disable cryptopia-only markets 2016-04-26 05:45:16 +02:00
Tanguy Pruvot
e816d5ce0c markets: always update markets if we have the data
Only require installed flag if a secondary api query is required

+ banx rename
+ kraken BTC/ALT markets fix, prices are 1/x
2016-04-25 12:49:13 +02:00
Tanguy Pruvot
21746e5953 history: allow to watch local price/balance
also show graphes even if the wallet is not installed (like BTC or LTC)

+ yaamp "core" function to know if a coin is watched
2016-04-25 12:49:10 +02:00