Commit graph

349 commits

Author SHA1 Message Date
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
Tanguy Pruvot
f4caf07277 security: remove all unserialize() funcs from code 2017-09-10 00:41:18 +02:00
Tanguy Pruvot
0112b239f7 use new nicehash api domain 2017-09-08 03:59:05 +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
91fdf629b4 Revert "admin: prevent ip spoofing for admin routes"
This reverts commit e3ed4a75b9.

Not the right place to check this header...
2017-08-05 02:31:28 +02:00
Tanguy Pruvot
e3ed4a75b9 admin: prevent ip spoofing for admin routes 2017-08-04 17:43:48 +02:00
Tanguy Pruvot
460574c555 benchs: some more AMD APUs and nvidia weird chip names 2017-08-04 06:05:44 +02:00
Tanguy Pruvot
cea296384a triggers: set missing default time values (#147) 2017-08-04 02:29:56 +02:00
Tanguy Pruvot
f6a8b2e1ab bench: the Quadro K620 is also affected by bad power readings 2017-07-31 08:54:58 +02:00
Tanguy Pruvot
7d039a1eea bench: apply a special factor for the 750/750Ti watts (x2)
These devices were the first generation to report Watts and seems
to be divided by 2. Could be because they only monitor the chip itself
like AMD RX series... and not the VRM loss, the memory chips and fans
2017-07-31 08:42:18 +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
38f70c6521 benchs: limit algo columns in overall list + memcache 2017-07-25 09:50:58 +02:00
Tanguy Pruvot
a7ff05d9a5 benchs: move arch column for faster vid google search 2017-07-25 03:39:52 +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
646ea022eb api: coinsmarkets private api and balances
also disable some less used exchanges by default (alcurex, bter, jubi)
to toggle them, see the settings table (need disabled = 0)
2017-07-21 11:05:26 +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
cfc4d59ee7 api: memcache status for 30 second 2017-07-09 23:15:34 +02:00
Tanguy Pruvot
e2d8fa818a renting: add a server constant for withdraw tx fees 2017-06-28 14:51:27 +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
Tanguy Pruvot
ca999ecfa6 store payout coin id and check algos earnings mismatches 2017-06-19 10:45:50 +02:00
Tanguy Pruvot
8633aebab4 admin: some code syntax changes and console log 2017-06-18 09:36:54 +02:00
Tristian
215fec2dc8 Add CIDR range checking for admin IP (#130)
* Add CIDR range checking for admin IP
* Be more strict in checking admin IP
2017-06-18 09:26:27 +02:00
Tristian
45823c84c5 explorer: remove unnecessary and broken definition (#129) 2017-06-13 21:28:30 +02:00
Tanguy Pruvot
e9ea21b395 api: add individual estimate to currencies list 2017-06-12 06:14:53 +02:00
Tanguy Pruvot
93c785b45a dashboard: altcoin balances totals and new market balances view
Also add a manual ticker api check to test the exchange reliability
2017-05-28 09:57:38 +02:00
Tanguy Pruvot
a6658ad221 dashboard: fix PHP 7.1 possible number error 2017-05-22 23:55:18 +02:00
Tanguy Pruvot
2cfbd87157 use proper function case for arraySafeVal 2017-05-14 07:40:28 +02:00
Tanguy Pruvot
770670ddaa decred: upgrade tickets voting status for v1.0 2017-05-07 03:36:10 +02:00
Tanguy Pruvot
8cbc8bf5f9 admin: double check the ip filter for admins 2017-04-21 12:12:15 +02:00
Tanguy Pruvot
440bdafacc admin: allow to toggle web console 2017-04-21 11:31:19 +02:00
Tanguy Pruvot
4697637adf user wallet: add a note about minimal payouts (if set) 2017-04-16 11:21:12 +02:00
Tanguy Pruvot
a4d9326e9d wallet: reduce default limit to list txs
2500 seems too much... for decred at least
2017-04-13 17:44:42 +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
Tanguy Pruvot
be1064a25b sha256t algo + fix sha/decred pool hashrate axis 2017-03-08 11:44:57 +01:00
Tanguy Pruvot
ca022f2628 stratum: add deep, timetravel and hmq1725 algos
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2017-02-27 20:38:05 +01:00
Tanguy Pruvot
9b2d591bd5 benchs: show H/W and remove Cost in last records 2017-02-27 11:33:36 +01:00
Tanguy Pruvot
6970c8e17e explorer: add a note about quark computed diff
also add a link to the explorer on Pool status coin icons
2017-02-27 03:55:15 +01:00