Tanguy Pruvot
fff4c76d68
c-cex: indent + constant fix
2016-04-27 12:52:58 +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
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
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
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
Tanguy Pruvot
bf7fc3534f
sql: keep btc and user defined markets history
...
will allow to do internal graphes and compute better exchange orders
Also track in the new table a (BTC/EUR) alternative, from kraken public api
this second currency should be user definable later.
2016-04-24 10:23:21 +02:00
Tanguy Pruvot
0fd1d490df
decred: auto toggle ready flag with connection count
...
unlike other coins, decred ignore getblocktemplate error
This prevent miners to mine without possible reward in this special case.
2016-04-23 03:34:29 +02:00
Tanguy Pruvot
74b80292a6
stratum/decred: link new db coin rpc fields
...
And use rpcencoding='DCR' for decred checks,
to handle testnet instances or future forks..
2016-04-20 00:13:11 +02:00
Tanguy Pruvot
644f5b8560
nova: volume market check was in btc
2016-04-18 00:30:40 +02:00
Tanguy Pruvot
4ed942569a
add nova exchange api
2016-04-15 21:32:36 +02:00
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
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
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
JarBinks
d41d5c324b
cryptopia: marketid update
2016-03-31 16:53:19 +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
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
0075e26208
backups: purge outdated shares
2016-03-24 03:34:40 +01:00
Tanguy Pruvot
997f0be1b5
kraken api, to retrieve markets and btc balance
2016-03-22 14:44:10 +01:00
Tanguy Pruvot
f4fcf5c492
c-cex: handle error in return field :/
2016-03-22 06:54:06 +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
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
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
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
Tanguy Pruvot
8db4565b30
decred: blockconfirm enhancement with blocknotify(-dcr)
...
+ some getwork logs on submit errors (not seen yet)
2016-03-06 16:30:29 +01:00
Tanguy Pruvot
9976490e5c
Prevent PoS earnings
2016-03-02 19:32:18 +01:00
Tanguy Pruvot
12986518a7
backend: fix a wrong filter to detect unnotified blocks
2016-03-02 05:03:25 +01:00
Tanguy Pruvot
18795582f1
howto: special case for special users... sigh
...
Thanks to Vaccomondus for the test of all possible mistakes...
2016-03-01 17:02:42 +01:00
Tanguy Pruvot
c2cf1ebbe4
blocks: show block finder and fill missing user diff
...
diff: same generic algo as the one used in the stratum
only used on PoW coins without blocknotify feature
finder: show first letters of the user address, require blocknotify
2016-03-01 14:11:32 +01:00
Tanguy Pruvot
5d5690244f
payments: action to restore failed payouts to user balance
2016-02-29 15:48:01 +01:00
Tanguy Pruvot
3b32d4b987
backend: detect and assign category of PoS blocks
...
category "stake" while immature, "generated" after
Only shown in the dashboard...
2016-02-27 03:06:19 +01:00
Tanguy Pruvot
4d23f95d04
decred: dust seems to be 0.025, under the tx fee
2016-02-22 12:47:12 +01:00
Tanguy Pruvot
f1779325fc
poloniex: fix some weird issues
2016-02-20 14:40:22 +01:00
Tanguy Pruvot
75969e2d0b
payments: improve layout, add immataure and failed columns
2016-02-19 08:12:18 +01:00
Tanguy Pruvot
e3374b88c2
noblocknofify: add a small delay before declaring it orphan
2016-02-19 00:27:42 +01:00
Tanguy Pruvot
c28400a92e
payouts: use a new config variable for the minimum
2016-02-16 05:37:03 +01:00
Tanguy Pruvot
b103cee988
payouts: prevent dust payments under tx fee amount
2016-02-15 17:19:08 +01:00
Tanguy Pruvot
e2f982300c
decred: detect generated blocks + stratum fix
...
backend:
generated blocks were not auto detected (to double check)
stratum:
seen on a new setup, if dcrd doesnt have --miningaddr set
stratum is not able to distribute jobs and was crashing
2016-02-14 14:07:13 +01:00