Commit graph

396 commits

Author SHA1 Message Date
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
Tanguy Pruvot
b3090f0634 safecex: selllimit doesnt always return the order id 2016-03-08 04:42:03 +01:00
Tanguy Pruvot
4c45612261 trading: general cleanup 2016-03-08 03:55:25 +01:00
Tanguy Pruvot
5aa8c4a8ba cryptopia: automatic trading + bittrex/bleutrade vars 2016-03-08 02:24:02 +01:00
Tanguy Pruvot
e479495b9d safecex: implement automatic trading
Normal auto exchange like bittrex, not instant one...

Some higher percents can be tuned when selling on ask price

also:
- allow update yobit balance if 0
- disable crypsty user api calls (balance/trade)
2016-03-07 22:08:58 +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
Tanguy Pruvot
e669e1cc05 remove banx exchange, closing 2016-02-14 05:47:11 +01:00
Tanguy Pruvot
63ecb1515c extend maximum user address length to 35 chars 2016-02-14 04:21:01 +01:00
Tanguy Pruvot
51e846c1fd yiimp: handle decred default account 2016-02-14 04:09:23 +01:00
Tanguy Pruvot
1c230f4d60 add decred algo port + sample conf 2016-02-13 11:00:33 +01:00
Tanguy Pruvot
984cb266cf decred: prevent auto_ready reset on gbt error 2016-02-13 10:22:37 +01:00
Tanguy Pruvot
319fe43370 payouts: use a variable for the default account name 2016-02-04 20:08:02 +01:00