Commit graph

159 commits

Author SHA1 Message Date
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
Tanguy Pruvot
9322d7e1bc markets: increase validity-check of json ticker results 2017-04-21 17:58:54 +02:00
Tanguy Pruvot
fd780ed27b backend: disable coinexchange by default
detected an attempt to hack prices this night and dont have private apis
2017-04-08 06:22:12 +02:00
Tanguy Pruvot
10d72b8c22 decred: double check user addresses in failed payments 2017-04-01 23:58:15 +02:00
Tristian
527a9c8142 Fix some LiveCoin error checking (#100)
* Fix some LiveCoin error checking
* Correct LiveCoin withdrawl fee
* Fix typo in LiveCoin trading call
* Log returned data not address (fixed)
2017-03-30 07:19:31 +02:00
Tristian
b4bd34a608 Add 'sellonbid' for Livecoin (#99)
* Add 'sellonbid' for Livecoin
* Remove extraneous bracket
* Upgrade Livecoin priority
* Remove duplicate variable name
2017-03-28 01:05:46 +02:00
Tanguy Pruvot
b8d6892827 coinexchange: fix wrong market id 2017-03-24 07:01:56 +01:00
Tanguy Pruvot
94a52ef296 coinexchange public api/markets 2017-03-24 03:14:48 +01:00
Tanguy Pruvot
6b91caa27b backend: drop bench dups logs + balances workaround 2017-03-17 17:49:18 +01:00
Tristian
ef1cd062e1 Livecoin trading #68
Insert balance row if it is missing

use tabs + restore public api function for users without keys
2017-03-17 12:56:58 +01:00
Tanguy Pruvot
74cda705ff bittrex: use marketsummaries api in bulk 2017-03-16 16:30:56 +01:00
Tanguy Pruvot
9d1630c40c decred: missed one 0.8.x getbalance for tickets 2017-02-17 20:14:38 +01:00
Tanguy Pruvot
0bed2e0465 lyra2z (v3) xzc at block 20500
disable the public explorer for now + dyn payee

note: xzc coinbase value is already without dev fees

warning: this wallet rpc is very slow and seems to slow down the backend (use it at your risks)
2017-02-12 09:23:32 +01:00
Tanguy Pruvot
9b69d0a0d2 benchs: show real freq. and power limit + cleanup rules
these new values are now reported by ccminer 2.0...
2017-02-06 13:22:00 +01:00
Tanguy Pruvot
8d930e0f33 markets: cryptopia maintenance + livecoin deposit addr 2017-01-31 23:37:36 +01:00
Tanguy Pruvot
09336533c0 decred: handle reggression in orphaned getblock + cleanup
removed confusing/dead code in stratum code (failed attempt to use gbt)
2017-01-17 16:53:10 +01:00
Tanguy Pruvot
f11285087f wallet: update db balances after manual send 2017-01-03 08:16:19 +01:00
Tanguy Pruvot
5ed5e2da35 triggers: fix variable errors 2016-12-24 23:04:31 +01:00
Tanguy Pruvot
8a034edf29 triggers: handle rpc commands
move the text query parser used in web console in the wallet rpc class
2016-12-24 01:11:29 +01:00
Tanguy Pruvot
3801d3d539 New config to toggle new coin mail notification 2016-12-03 09:20:41 +01:00
Tanguy Pruvot
a4af6b856f cron: update new coin balance fields (from db) 2016-11-25 04:26:58 +01:00
Tanguy Pruvot
ad3f2e2714 backend: move mature_blocks update at a better place 2016-11-24 02:24:11 +01:00
Tanguy Pruvot
81518c4c7d backend: auto stop mining at pow end & fill mature_blocks 2016-11-24 01:19:29 +01:00
Tanguy Pruvot
e09147ede9 explorer: first fixes to handle zec
This coin seems to have many specific things, no coinbasevalue, and a wrong "bits" diff formula
2016-11-06 18:28:16 +01:00
Tanguy Pruvot
f9e7422653 exchanges: add livecoin markets and balances 2016-11-06 13:52:12 +01:00
Tanguy Pruvot
114001ab1b cleanup: drop dead exchanges code
cryptsy cryptomic(banx) and safecex
2016-10-22 00:52:32 +02:00
Tanguy Pruvot
d4150a9ffe shapeshift: handle as markets price source
reduce market priority until we have trading code
2016-10-22 00:52:00 +02:00
Tanguy Pruvot
b2ca40a7fd exchanges: disable cryptomic, closed 2016-09-23 18:29:17 +02:00
Tanguy Pruvot
06c377bb3c backend: more db integrity checks for zpool issues 2016-09-04 08:33:10 +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
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
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
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
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
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
33e0aa65c4 markets: fix typo related to the LTC test 2016-05-02 16:27:20 +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