1500 Commits

Author SHA1 Message Date
softsimon
9cd67d878f bitcoind: Parse witness scripts from P2SH transactions.
fixes #323
2021-02-03 13:11:14 +07:00
wiz
5c615537de Merge pull request #317 from bguillaumat/add-cache-dir
Add Dockerization of Mempool v2 for Umbrel App Store
2021-02-03 03:21:22 +09:00
Bastien
ffb9d01f85 Add CACHE_DIR var 2021-02-01 15:54:27 +01:00
softsimon
65454bf169 Hide address received/sent from address page when using electrum API.
fixes #294
2021-02-01 04:52:24 +07:00
softsimon
1bed4b4313 Moved sponsors cache creation until after diskcache is done.
refs #315
2021-01-30 22:12:22 +07:00
softsimon
1b8bd80d4c Refactored when statistics cache from database is created.
refs #315
2021-01-30 21:40:04 +07:00
softsimon
2c94f3a8ef Wait for database connection established before continuing startup.
refs #315
2021-01-30 21:09:30 +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
db6ab5091c Increased database query timeouts
fixes #315
2021-01-30 19:20:52 +07:00
softsimon
42fa7c67bb Replacing localhost with 127.0.0.1 2021-01-30 18:43:58 +07:00
softsimon
ec9fdbe3d6 Adding missing default timeout on all axios requests.
fixes #314
2021-01-30 16:25:22 +07:00
softsimon
c9f2a871fc Fix for fee estimate not being correct when block is almost full with more projected blocks in queue.
fixes #278
2021-01-30 01:34:40 +07:00
softsimon
c9ef7cf0f3 Replacing weight with vsize in transactions api to match esplora. 2021-01-28 18:24:02 +07:00
softsimon
4ff55e694c Don't save disk cache on exit. Handle corrupted mempool disk cache.
fixes #304
2021-01-27 01:49:11 +07:00
softsimon
5b9c39bda8 Readding deleted blocks api endpoint. 2021-01-27 00:33:16 +07:00
softsimon
e262d954f0 Adding missing basic API endpoints when in bitcoind/electrum mode.
fixes #291
2021-01-25 01:09:42 +07:00
softsimon
11ff5b28b4 Always fetch at least the coinbase transaction of blocks, and throw error if failed. 2021-01-24 23:56:51 +07:00
softsimon
d7b2a03bd5 Increasing clear protection period to 10 minutes. 2021-01-24 19:33:05 +07:00
softsimon
5e0f2dda62 Disable support for Electrum TX lookups (require -txindex). 2021-01-24 04:15:06 +07:00
softsimon
ee0feac7ba Correctly error handle getTransaction and set 404 status when not found. 2021-01-24 02:51:22 +07:00
softsimon
6c043f1598 Corrected Bisq stats calculation.
fixes #280
2021-01-23 19:26:05 +07:00
softsimon
ccec935193 Only save cache on new block when in sync. 2021-01-22 23:20:39 +07:00
softsimon
207c156eb3 Set backend to out of sync after connection retry interval has exceeded. 2021-01-20 17:16:43 +07:00
softsimon
ef364f65c0 Bitcoind: Lookup block transactions as long as in sync.
refs #288
2021-01-20 17:15:11 +07:00
softsimon
5754c0add6 Fix: Load mempool cache before checking DB connectivity. 2021-01-20 01:34:21 +07:00
softsimon
22d5c87404 Increased disk cache chunks amount to 10 to fix json string length error. 2021-01-15 23:26:32 +07:00
softsimon
61753cdd20 Optionally support second CoreRPC instance as source for the minimum fee. 2021-01-15 22:23:32 +07:00
softsimon
b356ffc452 Config updates. Renamed BITCOIND to CORE_RPC. 2021-01-11 14:53:18 +07:00
softsimon
01671910bf Moved method $validateAddress 2021-01-11 14:30:58 +07:00
softsimon
89d562a989 Bitcoind: Use mempool as address index when doing address prefix search. 2021-01-11 01:51:57 +07:00
softsimon
bbc917a2d9 Return not implemented error instead of empty array. 2021-01-11 00:26:36 +07:00
softsimon
b4d837cc8d 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
ee915b49ee Electrum: Sort address transactions correctly by confirmed and unconfirmed. 2021-01-10 17:40:05 +07:00
softsimon
78bd79656d Bitcoind: Push full transactions to address page and RBF mode. 2021-01-10 17:38:59 +07:00
softsimon
ccb36b1048 Loading progressbar for loading address, block transactions and blocks 2021-01-08 21:44:36 +07:00
softsimon
de51480ed2 Push new conversion rate updates to the clients. 2021-01-06 23:31:33 +07:00
softsimon
ce9ed01582 Config file updates. electrs -> esplora 2021-01-06 22:49:28 +07:00
softsimon
e2d045cda8 Never run statistics when mempool not in sync. 2021-01-06 03:09:31 +07:00
softsimon
cb467dc887 Adding bitcoinJS-lib and parse P2SH and P2WSH scripts. 2021-01-06 01:36:28 +07:00
softsimon
fe15175e0e Loading indicator service indicating mempool sync status. 2021-01-05 18:57:06 +07:00
softsimon
c289210dc9 Inform client when Electrum server limit exceeded 2021-01-05 17:30:53 +07:00
softsimon
86516c575b Electrum protocol and tx lookup setting. 2021-01-05 03:06:57 +07:00
softsimon
c6a6fc1cc4 Convert sighash to match esplora. 2021-01-03 22:02:10 +07:00
softsimon
3bf1d58a50 Hack to make it possible to load the Coinbase transaction from Bitcoin Core. 2021-01-02 04:40:10 +07:00
softsimon
6159597fb4 Fixed addressTransactions with pagination in electrum API. 2020-12-30 02:27:34 +07:00
softsimon
881444c3a2 Improved block fetching performance. 2020-12-30 01:47:07 +07:00
softsimon
8713d97c94 Adding getBlocks support. 2020-12-29 20:41:16 +07:00
softsimon
b8373b134e Use @mempool/electrum-client lib as Electrum Client lib. 2020-12-29 14:14:34 +07:00
softsimon
90370f1c1a Switching Electrum Client lib supporting auto reconnect. 2020-12-29 00:41:02 +07:00
softsimon
b472c4d216 Updates for general transaction and block fetching. 2020-12-28 20:17:32 +07:00