Commit Graph
48 Commits
Author SHA1 Message Date
softsimon bde6bdd6c9 Refactoring backend routes code 2022-07-11 19:15:28 +02:00
Ayanami 02a0ac14fd Add an ability to change circuits 2022-06-07 04:16:37 +09:00
Ayanami 31192d1893 Include SocksProxyAgent inside while loop
To address error Socks5 proxy rejected connection - Failure
2022-06-07 04:16:37 +09:00
Ayanami 0cc970ce68 Added missing config value
addressing comments from @knorrium
2022-06-07 04:16:36 +09:00
Ayanami 1629d8f1c6 Added configurable user-agent for axios
Will use `mempool/v${backendInfo.getBackendInfo().version}` for default
2022-06-07 04:16:36 +09:00
Ayanami cdf645f68e Handle Error with basic retry while syncing external assets ( Price Data )
+ Removed unused External Assets value

+ Make static URL dynamic

+ Added config options for syncing pool data

+ Added retry interval & max retry
2022-06-07 04:16:36 +09:00
nymkappa bfff3909e9 If bisq data folder is not ready, retry every 3 minutes instead of exit 2022-05-13 11:54:52 +02:00
nymkappa efd8472571 Clean local block cache before loading dump: 2022-04-27 13:06:16 +09:00
nymkappa be7e30b4ab Read bisq dump blocks line by line and parse manually 2022-04-25 11:49:04 +09:00
softsimon 74d7ca8c4c Breaking out strtotime from locutus lib 2022-04-12 17:52:30 +04:00
softsimon 8d76798af3 Handle changes to address RPC api in bitcoin core 22
fixes #778
2021-09-17 19:22:15 +04:00
softsimon 645986b7fc Backend: Bumping Typescript version to 4.4.2 (#748)
* Backend: Bumping Typescript version to 4.4.2

* Replacing any types with instanceOf checks.
2021-08-31 15:09:33 +03:00
wiz 1d5d0a7bec Hush a noisy bisq error message down to info 2021-08-02 16:57:49 +09:00
softsimon fd73cfad2c Bisq transactions was listed in the wrong order.
fixes #566
2021-06-11 10:55:13 -05:00
softsimon 5ab470a670 Empty Bisq blocks was missing. (#541)
fixes #539
2021-06-06 16:07:26 -04:00
softsimon 492a77b126 Unified Bisq config 2021-04-25 02:38:46 +04:00
softsimon 0de2c105d4 Bisq markets: Volume and other fixes. 2021-03-10 23:02:55 +07:00
softsimon eb2a194994 Bisq markets dashboard: 24H Volume. WIP. 2021-02-28 17:18:29 +07:00
wiz 12002f5685 Increase Bisq block height divergence warning to 10 blocks for Tor issues 2021-01-30 23:02:20 +09:00
softsimon ec9fdbe3d6 Adding missing default timeout on all axios requests.
fixes #314
2021-01-30 16:25:22 +07:00
softsimon 6c043f1598 Corrected Bisq stats calculation.
fixes #280
2021-01-23 19:26:05 +07:00
softsimon 4cc8f8a3dc Big refactor of multiple backends handling. 2020-12-28 04:47:22 +07:00
wiz c554f19a00 Modify /bisq/api/v1/markets/markets to only return active markets
As per https://github.com/bisq-network/bisq/issues/4826 and https://github.com/bisq-network/bisq/pull/4831
2020-11-23 22:46:14 +09:00
softsimon 1c1cfa0cbb Replacing request.js with axios
fixes #153
2020-11-15 14:22:47 +07:00
wiz 57f92e2d80 Update Bisq price API: markets.bisq.network -> bisq.markets 2020-11-05 13:59:58 +09:00
softsimon df28347b5e Adding missing error cause messages. 2020-10-28 11:00:48 +07:00
softsimon 69aa6aa938 Handle weird response body when fetching Bisq price.
fixes #145
2020-10-26 19:33:20 +07:00
wiz 3fbb51b8ee Don't append btc_mainnet/db/ to BISQ_MARKETS.DATA_PATH 2020-10-19 20:58:25 +09:00
softsimon e2a7683828 Revamping configuration file.
fixes #141
2020-10-19 11:57:02 +07:00
softsimon 04c4be5f4b Run Bisq block parse in separate Worker Thread. 2020-10-17 18:13:09 +07:00
softsimon 9cba1790da Improve some logger error messages. 2020-10-15 11:12:33 +07:00
softsimon 20a97fe155 Changing more loggings levels.
refs #135
2020-10-13 17:48:43 +07:00
softsimon 06333bd415 Changing more loggings levels.
refs #135
2020-10-13 16:43:09 +07:00
softsimon fae1347db2 Adding logger wrapper.
Log backend messages to syslog.
fixes #135
2020-10-13 15:27:52 +07:00
softsimon e08b33c481 Correct timer to get actual time to update bisq market data. 2020-09-29 19:38:01 +07:00
softsimon db12d99723 Fix for Bisq blocks data watchers stopps working randomly. Restaring watcher when block height has diverged. 2020-09-27 17:21:18 +07:00
softsimon d6744c07f9 NodeJS cluster support. 2020-09-22 03:52:54 +07:00
softsimon 1b46047ef4 Markets API: Adding cache for general /ticker requests 2020-09-19 23:02:02 +07:00
softsimon 9ef9bd879f Market api: /volume api fix. 2020-09-19 15:59:09 +07:00
softsimon d3cbe78867 Markets API: Use file mtime to only parse files that has updated. 2020-09-18 23:43:45 +07:00
softsimon 34a2970ff7 Markets api: Add missing "timestamp" parameter for /hloc and /volumes 2020-09-17 15:38:25 +07:00
softsimon 43e605d611 Corrected Offers response data. 2020-09-17 02:45:14 +07:00
softsimon 549192121b Market api: Fix memory leak 2020-09-15 23:12:42 +07:00
softsimon e49eac9f61 Bisq market: Fix for missing prices from /trades 2020-09-15 12:37:54 +07:00
softsimon c172de2c34 * /volumes API
* /ticker API
2020-09-15 03:11:52 +07:00
softsimon a3f8555087 HLOC markets api. 2020-09-13 17:51:53 +07:00
softsimon 23b2b108a6 Corrections to parameters handling and sorting. 2020-09-12 01:26:51 +07:00
softsimon bb0e644922 Bisq Markets API. WIP 2020-09-10 14:46:23 +07:00