Commit graph

270 commits

Author SHA1 Message Date
Ralph S. (Coolguy3289)
9579d90487 Merging conflicting files 2020-01-01 23:51:28 -05:00
Tanguy Pruvot
1b2d4af8c7 wallet: show worker names if no password/extra
can be useful for miners without password argument (like gominer)
2018-11-25 21:25:28 +01:00
Tanguy Pruvot
e178ccaac4 Preparation for DigiByte rpcencoding (#289)
Since 6.16.3, listtransactions requires '*' in account field
And soon, it may require different rules for mining (algo)
2018-11-10 13:12:44 +01:00
Tanguy Pruvot
64203358dd txhisto: fix a nullptr if bitcoin wallet not in db 2018-10-02 19:44:33 +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
DumaxFr
e8f1d80b1d User wallet: disable deletion of current wallet (#280) 2018-06-30 05:17:30 +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
Tanguy Pruvot
b517afb571 dashboard: some cleanup, remove unused state 2018-04-29 18:42:06 +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
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
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
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
d7b980b219 home: update project description 2018-01-11 14:24:46 +01:00
oakey22
3712ac2e84
Merge pull request #3 from tpruvot/next
Update for Lbrypool from Yiimp
2018-01-05 19:59:16 +00:00
Tanguy Pruvot
c375085dc1 dashboard: show the stratum's uptime 2018-01-04 14:05:30 +01:00
oakey22
9472a19464
Update Lbry Community Pool 2018-01-02 15:55:59 +00:00
oakey22
73c5f539fd
update Lbry Community pool 2018-01-02 15:52:03 +00:00
oakey22
4f0ba70edd
Update for Lbry Community Pool 2018-01-02 15:51:13 +00:00
oakey22
e4f2779ea1
Update Yiimp to Lbry Community Pool 2018-01-02 15:37:28 +00:00
oakey22
83ceaae366
update index.php
changed description from yiimp to Lbry community mining pool
2017-12-29 17:21:52 +00: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
94c8db3664 dashboard: fix alt balances for multialgo coins 2017-12-02 15:08:51 +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
f14ae825de api: use a new constant for api host 2017-10-17 13:30:15 +02:00
Tanguy Pruvot
f4caf07277 security: remove all unserialize() funcs from code 2017-09-10 00:41:18 +02:00
Tanguy Pruvot
0d0fbe24f5 miners: avoid costly queries on the shares table 2017-08-30 17:15:33 +02:00
Tanguy Pruvot
da6d1525ce miners: properly cache rejected shares data 2017-08-17 09:20:59 +02:00
Tanguy Pruvot
44aa14ddf7 admin: prevent ip spoofing for admin url 2017-08-05 02:36:34 +02:00
Tanguy Pruvot
cea296384a triggers: set missing default time values (#147) 2017-08-04 02:29:56 +02:00
Tanguy Pruvot
f47ec6dd60 user wallet: move hashrate graph above miners
help when using fleet of miners...

also show the workers IP to the admin
2017-07-26 21:30:16 +02:00
Tanguy Pruvot
48b76054f6 pool: show ttf at current coin speed, if mined (yiimp mode) 2017-07-25 20:42:42 +02:00
Tanguy Pruvot
5c76be812c api: add 24h stats to currencies
share the same sql query as pool tab stats (memcached)
2017-07-25 02:51:53 +02:00
Tanguy Pruvot
6610a04b25 api: reduce wallet api paid amount to the last 24h
to be more accurate than the last 2 months...
2017-07-24 15:28:29 +02:00
Tanguy Pruvot
8f2edf76c6 index: disable links to irc/forum for anonymous yiimp copies 2017-07-21 05:57:02 +02:00
Tanguy Pruvot
26b18a1594 perfs: memcache more common panels 2017-07-15 17:59:45 +02:00
Tanguy Pruvot
135174f7ab site: memcache for 30s the pool status (per algo)
This is the most requested page (used on all pool tabs)

algo var is required to keep selected tr without javascript...
2017-07-10 16:17:26 +02:00
Tanguy Pruvot
b404c26cec user wallet: allow to drop cookie addresses 2017-06-23 17:18:33 +02:00
Tristian
44ba719477 fix jqplot memory leak (#133) 2017-06-22 13:43:35 +02:00
Tanguy Pruvot
87f89c9a4f wallet: add a 10mn meta refresh to prevent ajax graph leaks 2017-06-20 21:57:45 +02:00
Tanguy Pruvot
719a2fb38f pool: provide the value the pool is short of a currency (#29)
+ nicehash orders json fix
2017-06-20 08:22:34 +02:00