Commit graph

394 commits

Author SHA1 Message Date
Tanguy Pruvot
64203358dd txhisto: fix a nullptr if bitcoin wallet not in db 2018-10-02 19:44:33 +02:00
crackfoo
a66f74fa66 explorer: add GLT multi-algo (#317) 2018-09-26 19:52:58 +02:00
Tanguy Pruvot
c5b1a57be2 crex24: private api query, update balances 2018-09-11 14:39:19 +02:00
Jaroslav Petrusevic
d1ba34e9c1 wallet: show USD (#295) 2018-08-23 21:17:25 +02:00
Tanguy Pruvot
c234694699 api: fix foreach typo in commit d78a329
and show timestamps as int value
2018-08-22 09:38:48 +02:00
phm87
d78a932939 API: WalletEx: payouts (optional) (#291)
new config keys : YAAMP_API_PAYOUTS (def. false) and YAAMP_API_PAYOUTS_PERIOD (last 24h)
2018-08-21 03:22:32 +02:00
Tanguy Pruvot
0f129bdd65 blocks: avoid delayed coin save + screenlog func
in some cases, there was issues to save correctly with the coin form.
2018-07-11 01:09:43 +02:00
opensourcerulez
243c7eaf39 Handle XSH algos in explorer (#282) 2018-07-08 13:59:11 +02:00
DumaxFr
e8f1d80b1d User wallet: disable deletion of current wallet (#280) 2018-06-30 05:17:30 +02:00
Tanguy Pruvot
7afdd17e5d explorer: better check of block PoS type 2018-06-11 04:39:46 +02:00
Tanguy Pruvot
6d52259c11 history: prefer block algo field in case of algo change
will not be used in normal cases, but you can temporary display 2 coin algos with that :

in web/yaamp/modules/site/results/found_results.php
@@ -19,6 +19,10 @@ WriteBoxHeader("Last $count Blocks ($algo)");
 $criteria->condition .= " AND IFNULL(coin.visible,1)=1"; // ifnull for rental
+if($algo == 'phi2') {
+       $criteria->condition .= " AND t.algo IN(:algo,'phi')";
+       $criteria->params = array(':algo'=>$algo);
+} else
 if($algo != 'all') {
2018-06-11 03:56:34 +02:00
crackfoo
8841bf4201 explorer: support for DUO multialgo (#272) 2018-06-06 18:38:20 +02:00
Tanguy Pruvot
c1f2ad7cf0 api: disable rental apis if not enabled 2018-05-30 15:23:22 +02:00
Tanguy Pruvot
5fcb58e9c9 api: add mbtc_mh_factor (mBTC/MH) to status api
1000 means mBTC/GH
0.001  for mBTC/kH
2018-05-28 11:48:08 +02:00
Tanguy Pruvot
b517afb571 dashboard: some cleanup, remove unused state 2018-04-29 18:42:06 +02:00
Tanguy Pruvot
b22b599b3e explorer: only allow hexa chars in query params 2018-04-23 15:55:38 +02:00
crackfoo
e6a731cf19 explorer: add multi-algo support for ARG explorer (#254) 2018-04-11 15:52:57 +02:00
Tanguy Pruvot
e97ea63c61 security: protect XSS seekers from their own hacks 2018-04-10 11:22:59 +02:00
Tanguy Pruvot
60fb627ad9 security: be more strict with algo param 2018-04-10 11:04:50 +02:00
Tanguy Pruvot
580801f399 benchs: unique function to format devices labels
+ some new devices chips rules
2018-04-10 10:53:04 +02:00
Tanguy Pruvot
2ad138591e x12 algo + GCH multi-algos definition 2018-03-26 09:37:11 +02:00
Tanguy Pruvot
9c438eeb94 backend: protect also balances from renting clear
+ set an expiration to memcache lock, payment unlikely fails, but...
2018-03-24 22:11:50 +01:00
Tanguy Pruvot
e5dd766dd5 backend: avoid to clear earnings during payouts (#249)
+ simplify payment code based on RavenMinerPool commit
2018-03-24 08:10:51 +01:00
Tanguy Pruvot
569661a25c memcache: revert commit for the backend job 2018-03-06 14:26:42 +01:00
Tanguy Pruvot
6a7bc6de1d memcache: fix param order in last commit 2018-03-06 13:48:57 +01:00
Johan Dufour
1e06755a74 use memcache object method instead of low level method (#234) 2018-03-06 13:26:03 +01:00
Tanguy Pruvot
72b738da0d explorer: truncate huge txs json for site reliability
+ display x16r hashorder field
2018-02-28 15:28:33 +01:00
Tanguy Pruvot
02c0191e5e stats: rewrite pool graphes data with json_encode 2018-02-24 19:30:12 +01:00
phm87
1e57015a65 admin: fill servers dropdown with the db #222
with proper html quotes...
2018-02-09 16:54:10 +01:00
Tanguy Pruvot
0bf982da95 sql: add hasgetinfo and no_explorer fields to coins table
wallets without getinfo will be handled in a later commit...

ps: remember to restart memcached service after the db change..
2018-02-02 06:03:07 +01:00
Tanguy Pruvot
0f04d6d824 balances: fill the btc 'onsell' field too (locked)
and restore bitstamp & cexio behavior to act like other trading exchanges

todo: kraken if possible... real pain, need to parse open orders..
2018-01-27 06:16:27 +01:00
Tanguy Pruvot
88cfe6faf7 benchs: ignore some weird device names and x16r algo 2018-01-24 20:44:28 +01:00
Tanguy Pruvot
7aa93d684a decred: listtransactions order is finally like others 2018-01-23 23:54:17 +01:00
Tanguy Pruvot
3737f97a60 lbry: change estimates in mBTC/GH like other sha algos
if needed (already mining) you can do that to update the pool estimate graph values:

UPDATE hashrate SET price=price*1000.0, rent=rent*1000 WHERE algo='lbry' AND price < 0.01;
2018-01-19 20:00:34 +01:00
Tanguy Pruvot
b760beaad3 binance: update balances
deposit addresses seems missing in their api
2018-01-14 21:00:08 +01:00
Tanguy Pruvot
d7b980b219 home: update project description 2018-01-11 14:24:46 +01:00
Tanguy Pruvot
ab5e411529 kucoin exchange api + balances and icons
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2018-01-07 20:48:25 +01:00
Tanguy Pruvot
c375085dc1 dashboard: show the stratum's uptime 2018-01-04 14:05:30 +01:00
Tanguy Pruvot
dfb28223cc cex.io rest-api (public + private)
no trading or markets yet, just made to query balances
2018-01-03 12:16:52 +01:00
AltMinerNet
ba7873e9f2 mining html fix (#195)
coin reward html end tag correction.
2017-12-16 12:55:10 +01:00
Tanguy Pruvot
35bfd756cc New admin botnets view to list users with many ips
fast, global view (all algos) to link/check wallets
2017-12-16 12:44:12 +01:00
Tanguy Pruvot
e47e40aea6 benchs: ignore if already too much data per chip/algo 2017-12-08 19:58:45 +01:00
Tanguy Pruvot
94c8db3664 dashboard: fix alt balances for multialgo coins 2017-12-02 15:08:51 +01:00
Tanguy Pruvot
66b15044ba explorer: show tx indices and truncate blocks with too much 2017-11-30 12:31:17 +01:00
Tanguy Pruvot
24c28802f8 explorer: show segwit txs + workaround for some missing ones 2017-11-30 10:47:52 +01:00
Tanguy Pruvot
cbe55a3a84 Squashed commit for segwit support:
commit c59abe5d203fabdabcca81ff5f9c6ff133cfae3b
Author: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Date:   Tue Nov 28 11:13:52 2017 +0100

    segwit: show a segwit icon on blocks history

    + remove some inline styles...

commit b4a8639370e6837ebc5a2047e7c334e9f931abfc
Author: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Date:   Tue Nov 28 09:55:40 2017 +0100

    segwit: cleanup + masternode case

    tested ok with BSD (block 400996), and with real BTX segwit txs (block 90958)

    also ok on VTC and GRS

commit 926dbd11757ebff7f7d4930266de9b9061c8ab16
Author: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Date:   Sat Nov 25 18:41:01 2017 +0100

    sql: add segwit fields, and ui config

    and fill block segwit field if it contains segwit txs,
    an icon is added in the dashboard "last blocks" for these blocks

commit 0b13bf55e9dd1d2229d188f0f8382b27642b20da
Author: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Date:   Sat Nov 25 13:47:20 2017 +0100

    segwit: include commitment in coinbase + .conf toggle

    tested ok on BTX, GRS and VTC with normal txs, but the commitment merkle hash maybe need some more love...

    so, to prevent useless bigger blocks, only generate segwit commitment if a segwit tx is present in mempool

    to check with real segwit txs... not seen any yet..

commit b508bc87943d9e426cda994c2f53c16c11e8d4c3
Author: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Date:   Thu Mar 2 11:18:34 2017 +0100

    segwit: prepare the witness data, but disabled

    need more test, may affect the coinbase merkle and the miners...

commit 19bd3a83b9ddddd8b5ed4b7a1bdf8cf8c233e346
Author: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Date:   Thu Mar 2 10:30:29 2017 +0100

    stratum: handle and auto toggle segwit if supported
2017-11-28 11:55:20 +01:00
Tanguy Pruvot
2b98f0219e payments: bulk op to reset a failed currency payout
Generally happen if the wallet balance is too low,
but in some cases could be also a rpc timeout (CHC),
so it require to be manually checked by the admin in the wallet tx history.
2017-11-22 10:07:33 +01:00
Tanguy Pruvot
9dabe06037 nicehash: disable last api calls if not wanted 2017-11-18 11:27:46 +01:00
Tanguy Pruvot
f14ae825de api: use a new constant for api host 2017-10-17 13:30:15 +02:00
Tanguy Pruvot
9bfb531d03 pool_ttf and bench fixes for more recent servers 2017-09-12 19:17:28 +02:00