211 Commits

Author SHA1 Message Date
wiz
f1e5ae536e Merge remote-tracking branch 'origin/master' into simon/update-pricefeed 2020-11-23 09:56:23 +09:00
wiz
b2c3bdcb43 Remove extra space in price server URL 2020-11-23 09:48:06 +09:00
softsimon
ed1808ede8 Merge "getInitData" method from simon/angular-universal. 2020-11-23 02:38:56 +07:00
softsimon
2176b358b9 Replace opennode usd price source with wiz api.
fixes #166
2020-11-22 16:48:55 +07:00
softsimon
a67e5ea26e Axios error handle sponsor proxy requests. 2020-11-15 14:31:34 +07:00
softsimon
1c1cfa0cbb Replacing request.js with axios
fixes #153
2020-11-15 14:22:47 +07:00
wiz
6be353c1b3 Add basic websocket error handler as emergency fix for site crashing 2020-11-15 11:44:16 +09:00
wiz
57f92e2d80 Update Bisq price API: markets.bisq.network -> bisq.markets 2020-11-05 13:59:58 +09:00
softsimon
021c082ac7 FIx: Write cache sync on exit. 2020-11-02 22:06:51 +07:00
softsimon
70c01c017d Fix for kept block amount when cache already contains more. 2020-11-02 21:28:40 +07:00
softsimon
e8a99e7eef Fix: Split mempool disk cache into 50K txs per file 2020-11-02 19:11:04 +07:00
softsimon
95e85fb55f Mute websocket parse error. 2020-11-02 01:14:42 +07:00
softsimon
04d1c9cb12 Removing unnused config MINED_BLOCKS_CACHE. 2020-10-31 18:58:34 +07:00
softsimon
df28347b5e Adding missing error cause messages. 2020-10-28 11:00:48 +07:00
softsimon
d34d506edf Removing hxpress http compression 2020-10-27 17:42:10 +07:00
softsimon
2ac8608620 Change collapsing dashboard into 3 levels. 2020-10-27 16:34:27 +07:00
softsimon
2365c9686d Write cache.json on startup if it doesn't exist.
Write mempool and block data to cache on every new block
fixes #146
2020-10-27 00:05:06 +07:00
softsimon
69aa6aa938 Handle weird response body when fetching Bisq price.
fixes #145
2020-10-26 19:33:20 +07:00
wiz
66ff3e09f4 Revert "Lock NPM versions."
This reverts commit b544af14e435c6a180d111473b27841ae15e1090.
2020-10-26 20:56:55 +09:00
softsimon
a3457a723a Sponsor Lightning support. 2020-10-26 18:29:25 +07:00
softsimon
82dd3eaf75 Lock NPM versions. 2020-10-26 15:59:28 +07:00
softsimon
7e85ecb454 Removing AVG() from mysql query reducing execution time. Increasing graph data span.
fixes #106
2020-10-26 01:00:21 +07:00
wiz
14272d704e Don't rebuild backend on every restart 2020-10-25 22:22:34 +09:00
softsimon
45cbbc300b Only log warning if main update loop has failed more than once. 2020-10-23 16:27:02 +07:00
softsimon
ad809bae1c Fix for statistics enabled config. 2020-10-19 20:24:22 +07:00
wiz
3fbb51b8ee Don't append btc_mainnet/db/ to BISQ_MARKETS.DATA_PATH 2020-10-19 20:58:25 +09:00
softsimon
a46a38c45c Use default configs.
refs #141
2020-10-19 18:36:29 +07:00
softsimon
2c8d05c683 Limit mempool clear protection to >20K TX mempool
fixes #140
2020-10-19 17:30:47 +07:00
softsimon
e2a7683828 Revamping configuration file.
fixes #141
2020-10-19 11:57:02 +07:00
softsimon
4e4a6f6c59 Reducing retry time to max 60 seconds 2020-10-18 22:48:15 +07:00
softsimon
7870c55185 Slow down retries on Electrs errors in the main mempool loop. 2020-10-18 21:47:47 +07:00
softsimon
e35f3d7a3d Proxy image requests. 2020-10-18 21:37:27 +07:00
softsimon
69695c5a00 Backend API to load sponsor profile photos. 2020-10-18 17:14:35 +07:00
softsimon
04c4be5f4b Run Bisq block parse in separate Worker Thread. 2020-10-17 18:13:09 +07:00
softsimon
b360b6b57b Fix exception handling. Don't save < 0.01 donations to DB.
refs #133
2020-10-17 15:01:58 +07:00
softsimon
9a6e7fdc87 Use Twitter API to fetch profile photos.
fixes #133
2020-10-16 16:29:54 +07:00
softsimon
2568cbb0c0 Readding "BISQ_ENABLED". Display 'bisq' in logs. 2020-10-15 11:54:21 +07:00
softsimon
db42476192 Replacing BISQ_ENABLED with NETWORK === "bisq" 2020-10-15 11:37:25 +07:00
softsimon
ba441278c4 Allow bisq network to be "bisq". 2020-10-15 11:15:04 +07:00
softsimon
9cba1790da Improve some logger error messages. 2020-10-15 11:12:33 +07:00
softsimon
6dea589820 New backend config "NETWORK".
Only activate mempool protection.
Log network to
fixes #140
2020-10-15 11:07:53 +07:00
softsimon
be59db31c4 Input sanitation. Minimum amount fix. Debug log updated. 2020-10-13 19:54:47 +07:00
softsimon
d53dd4a837 Add notice for BTCpay invoices and requests.
refs #135
2020-10-13 18:26:10 +07:00
softsimon
20a97fe155 Changing more loggings levels.
refs #135
2020-10-13 17:48:43 +07:00
softsimon
9b7b8942cb Changing more loggings levels.
refs #135
2020-10-13 16:58:48 +07:00
softsimon
06333bd415 Changing more loggings levels.
refs #135
2020-10-13 16:43:09 +07:00
softsimon
a3e8e8120e Use persistent dgram socket client.
refs #135
2020-10-13 16:03:03 +07:00
softsimon
d083cee481 Changing common output messages to Debug.
refs #135
2020-10-13 16:00:58 +07:00
softsimon
fae1347db2 Adding logger wrapper.
Log backend messages to syslog.
fixes #135
2020-10-13 15:27:52 +07:00
softsimon
cd710d1002 Making order_id (BTCPay invoice id) unique in the database. 2020-10-13 10:10:46 +07:00