Commit Graph

252 Commits

Author SHA1 Message Date
softsimon
e82c89a985
Only save cache on new block when in sync. 2021-01-22 23:20:39 +07:00
softsimon
9900f4da80
Set backend to out of sync after connection retry interval has exceeded. 2021-01-20 17:16:43 +07:00
softsimon
a158794e2c
Bitcoind: Lookup block transactions as long as in sync.
refs #288
2021-01-20 17:15:11 +07:00
softsimon
1a04b088fb
Fix: Load mempool cache before checking DB connectivity. 2021-01-20 01:34:21 +07:00
softsimon
1e81355e7d
Increased disk cache chunks amount to 10 to fix json string length error. 2021-01-15 23:26:32 +07:00
softsimon
eff4d2c8cd
Optionally support second CoreRPC instance as source for the minimum fee. 2021-01-15 22:23:32 +07:00
wiz
ab8cb033e6
Update backend/package-lock.json for axios security vulnerability 2021-01-11 23:27:27 +09:00
softsimon
4f1049bace
npm audit fix 2021-01-11 16:04:16 +07:00
softsimon
0a0e7fad3a
Update backend/package.json
Co-authored-by: wiz <j@wiz.biz>
2021-01-11 15:23:59 +07:00
softsimon
e76ee93bbb
Config updates. Renamed BITCOIND to CORE_RPC. 2021-01-11 14:53:18 +07:00
softsimon
20406fa522
Moved method $validateAddress 2021-01-11 14:30:58 +07:00
softsimon
905ddbb363
Bitcoind: Use mempool as address index when doing address prefix search. 2021-01-11 01:51:57 +07:00
softsimon
38d534caee
Return not implemented error instead of empty array. 2021-01-11 00:26:36 +07:00
softsimon
c4d1fad853
Cache electrum address history fetch a couple of seconds to prevent double requests on address page load. 2021-01-10 19:58:55 +07:00
softsimon
9a23d2c6b0
Electrum: Sort address transactions correctly by confirmed and unconfirmed. 2021-01-10 17:40:05 +07:00
softsimon
065c21da1f
Bitcoind: Push full transactions to address page and RBF mode. 2021-01-10 17:38:59 +07:00
softsimon
6a58717694
Loading progressbar for loading address, block transactions and blocks 2021-01-08 21:44:36 +07:00
softsimon
b91516a1c1
Push new conversion rate updates to the clients. 2021-01-06 23:31:33 +07:00
softsimon
dc63fd9428
Config file updates. electrs -> esplora 2021-01-06 22:49:28 +07:00
softsimon
29dd6e5d8d
Never run statistics when mempool not in sync. 2021-01-06 03:09:31 +07:00
softsimon
9e1ef1b747
Adding bitcoinJS-lib and parse P2SH and P2WSH scripts. 2021-01-06 01:36:28 +07:00
softsimon
632c243b34
Loading indicator service indicating mempool sync status. 2021-01-05 18:57:06 +07:00
softsimon
f46728080d
Inform client when Electrum server limit exceeded 2021-01-05 17:30:53 +07:00
softsimon
1a6c2e79e6
Electrum protocol and tx lookup setting. 2021-01-05 03:06:57 +07:00
softsimon
7729ad8b79
Convert sighash to match esplora. 2021-01-03 22:02:10 +07:00
softsimon
a25125091d
Hack to make it possible to load the Coinbase transaction from Bitcoin Core. 2021-01-02 04:40:10 +07:00
softsimon
89b4de2484
Fixed addressTransactions with pagination in electrum API. 2020-12-30 02:27:34 +07:00
softsimon
5390629e41
Improved block fetching performance. 2020-12-30 01:47:07 +07:00
softsimon
62c78f5b08
Adding getBlocks support. 2020-12-29 20:41:16 +07:00
softsimon
ae87694bc3
Use @mempool/electrum-client lib as Electrum Client lib. 2020-12-29 14:14:34 +07:00
softsimon
a3644e23a7
Switching Electrum Client lib supporting auto reconnect. 2020-12-29 00:41:02 +07:00
softsimon
3c0fa71a10
Updates for general transaction and block fetching. 2020-12-28 20:17:32 +07:00
softsimon
bb28a56622
Big refactor of multiple backends handling. 2020-12-28 04:47:22 +07:00
softsimon
f84b9e6582
Address page mostly working. 2020-12-22 06:04:31 +07:00
softsimon
ecc0f316cc
Refactored transaction handling. 2020-12-21 23:08:34 +07:00
softsimon
5dbf6789a7
Basic bitcoind/romanz-electrum support to sync the mempool and blocks. 2020-12-20 22:36:36 +07:00
softsimon
c7abb7a08a
Merge pull request #189 from mempool/only-return-active-bisq-markets
Modify /bisq/api/v1/markets/markets to only return active markets
2020-11-23 22:02:13 +07:00
wiz
d613aec395
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
9e716aa913
Remove unnecessary @types/axios dependency. 2020-11-23 18:36:55 +07:00
wiz
824bc21035
Same npm fix for running tsc from ./node_modules for backend 2020-11-23 17:26:22 +09:00
softsimon
bd67eec777
correcting merge 2020-11-23 11:46:04 +07:00
wiz
9059c0c7e4
Merge remote-tracking branch 'origin/master' into simon/update-pricefeed 2020-11-23 09:56:23 +09:00
wiz
8fab153fb0
Remove extra space in price server URL 2020-11-23 09:48:06 +09:00
softsimon
c0d2430a84
Merge "getInitData" method from simon/angular-universal. 2020-11-23 02:38:56 +07:00
softsimon
1521d47cc7
Replace opennode usd price source with wiz api.
fixes #166
2020-11-22 16:48:55 +07:00
softsimon
0616b3c3b0
Axios error handle sponsor proxy requests. 2020-11-15 14:31:34 +07:00
softsimon
e7ddedaeb6
Replacing request.js with axios
fixes #153
2020-11-15 14:22:47 +07:00
wiz
12b3ecd078
Add basic websocket error handler as emergency fix for site crashing 2020-11-15 11:44:16 +09:00
wiz
203374bce2
Update Bisq price API: markets.bisq.network -> bisq.markets 2020-11-05 13:59:58 +09:00
softsimon
c03073bddd
FIx: Write cache sync on exit. 2020-11-02 22:06:51 +07:00