Commit graph

651 commits

Author SHA1 Message Date
Tanguy Pruvot
797dba14f6 stocks.exchange private api function 2017-12-02 13:49:59 +01:00
Tanguy Pruvot
ac13a0f0d9 markets: update yobit markets prices with a different base
note: market record should be created manually, experimental..
2017-12-01 14:22:17 +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
9d65986c57 tools: add coincap.io api for missing labels 2017-11-27 15:01:41 +01:00
Tanguy Pruvot
5b30461d29 tools: update coindb labels api 2017-11-27 14:32:01 +01:00
Tanguy Pruvot
6ced60c84e markets: add stocks.exchange public api
disabled by default, optional...
2017-11-22 12:15:04 +01:00
Tanguy Pruvot
f7a04abf06 markets: disable nova by default, ignore cryptopia scrypt
nova is closing in a week... better to ignore it now.
2017-11-22 11:09:31 +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
scorpio18
b16af0efa5 polytimos algo list fix
:/
2017-11-21 09:00:21 +01:00
Tanguy Pruvot
9dabe06037 nicehash: disable last api calls if not wanted 2017-11-18 11:27:46 +01:00
crackfoo
d63483c52e yiimp: add polytimos to algo list (#188) 2017-11-17 15:54:34 +01:00
Tanguy Pruvot
bfd614859f polytimos algo 2017-11-16 11:06:11 +01:00
Tanguy Pruvot
a1d3ecd0da backend: recheck orphaned blocks status in the hour, for LUX 2017-11-03 18:46:47 +01:00
Tanguy Pruvot
028d661056 binance public api (markets)
disabled by default, and not enough infos about symbols (no coin label etc)
2017-11-01 03:23:41 +01:00
Tanguy Pruvot
3eb8c33fc3 cli: improve coin generated command for confirmed orphans
some unstable (or flooded) wallet chains like LUX may fork twice
2017-10-22 05:02:53 +02:00
Tanguy Pruvot
f14ae825de api: use a new constant for api host 2017-10-17 13:30:15 +02:00
Tanguy Pruvot
c6e140ef7c handle phi algo too 2017-10-11 18:06:19 +02:00
Tanguy Pruvot
b97c52f14d hsr algo (x13 + custom hash) 2017-10-10 08:05:51 +02:00
Tanguy Pruvot
7d85e363c4 backend: prevent too long wallet versions 2017-10-09 11:26:24 +02:00
Tanguy Pruvot
778f9aeb85 cli: maintenance function to fix an invalid user symbol 2017-09-22 22:10:47 +02:00
Tanguy Pruvot
6c90300b6e cryptopia: workaround for missing deposit addresses 2017-09-13 12:40:08 +02:00
Tanguy Pruvot
b7a9174a20 cli: enhance graphes holes maintenance task 2017-09-13 08:28:41 +02:00
Tanguy Pruvot
ca50beefe6 blocknotify-dcr: refresh glide and fix new build issue
+ reduce sunday min payout
2017-09-13 08:28:33 +02:00
Tanguy Pruvot
ad3968fa69 backend: more proper int overflow on pool_ttf #141
related to mysql 5.7, int(11) seems no more supported
2017-09-13 07:10:51 +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
e68f8225e6 livecoin: implement manual coindb labels via their api
+ poloniex trading possible issue... for zpool
2017-09-07 21:41:31 +02:00
Alastair Clark
acae4fd872 Fix for Nova trading (#180)
Remove the check for poloniex or bittrex. Which stopped coins that also had polo or trex markets to fail to sell.
2017-09-05 17:22:58 +02:00
Tanguy Pruvot
0520257c38 c-cex: fix missing variable 2017-09-03 01:40:44 +02:00
Tanguy Pruvot
0d0fbe24f5 miners: avoid costly queries on the shares table 2017-08-30 17:15:33 +02:00
Tanguy Pruvot
b21098c037 "yiimp coin SYM generated" command for maintenance checkups
can be useful if blocknotify is not working or if the backend had issues..

basically search for missed generated blocks.. and create them if the second param is set

Note: to use with care, old blocks are purged from the db after some time...
2017-08-30 13:53:50 +02:00
Tanguy Pruvot
15cee4797d c-cex: implement getmarketsummaries to reduce api calls 2017-08-24 16:40:01 +02:00
Tanguy Pruvot
046e24ad79 framework: remove an extra php end tag
may not be used, but just in case, prevent a leading space
2017-08-24 16:19:53 +02:00
Tanguy Pruvot
369b6530a1 difficulty: force int type to ceil() for php 7.x 2017-08-24 14:32:48 +02:00
Tanguy Pruvot
e829478835 nova: handle both possibles 'ok' status 2017-08-23 15:21:30 +02:00
Tanguy Pruvot
8c49ab8090 decred: limit payments tx sigops to 990 2017-08-21 15:08:24 +02:00
Tanguy Pruvot
894f2aa901 tradesatoshi: public api to list markets 2017-08-20 17:45:16 +02:00
Tanguy Pruvot
da6d1525ce miners: properly cache rejected shares data 2017-08-17 09:20:59 +02:00
Tanguy Pruvot
b539cff940 exchanges: add cryptowatch as possible fallback price source
not used yet, but could be useful to handle secondary fiat (EUR,GBP,CAD,JPY) prices later
2017-08-15 13:49:22 +02:00
Tanguy Pruvot
196507fe04 poloniex: check deposit address before generating one 2017-08-14 12:59:34 +02:00
Tanguy Pruvot
fd77e477b0 Never affect REMOTE_ADDR with HTTP_X_FORWARDED_FOR 2017-08-14 12:46:01 +02:00
hexpool
d9b97ee3bc Update keys.sample.php (#150)
include BTER
2017-08-13 13:05:38 +02:00
Tanguy Pruvot
6afff0c2e5 router: set yiimp url case sensitive 2017-08-10 17:14:46 +02:00
Tanguy Pruvot
90a100462d rpc: dissallow all wallet rpc methods containing key 2017-08-05 03:37:05 +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