76 Commits

Author SHA1 Message Date
softsimon
08a6bb6267 Rapid mempool sync 2023-05-07 20:21:02 +04:00
Mononaut
b673fdbcd1 Fix new block mempool deletion race condition 2023-05-05 10:19:11 -07:00
Mononaut
3e703ec13e support trees of RBF replacements 2023-05-03 12:53:56 -06:00
Mononaut
1d5a029c81 Timeline of replacements for RBF-d transactions 2023-05-03 12:52:20 -06:00
Mononaut
27c7b4be5f use $ naming convention for async function names 2023-04-30 15:52:44 -06:00
Mononaut
e6a23567e0 await for mempool change handler after loading disk cache 2023-04-30 15:51:26 -06:00
softsimon
0552ff8c4b Add end quotes 2023-05-01 00:16:23 +04:00
Mononaut
e63ca81de9 detect and log stall in main loop 2023-04-28 19:17:58 -06:00
Mononaut
29184b0eed move lazy tx deletion into main loop 2023-03-24 09:48:08 +09:00
nymkappa
4f6962b6e6 Log a warn if there are lot of 404 from esplora tx api 2023-03-09 17:45:08 +09:00
Mononaut
107cdd22e5 keep cached RBF info for 24 hours after tx leaves the mempool 2023-01-17 19:24:57 -06:00
Mononaut
cc628aa443 cache, serve & display more comprehensive RBF info 2023-01-17 16:09:16 -06:00
Mononaut
d2285a0526 Refactor advanced gbt to minimize inter-thread comms 2022-12-07 14:52:01 -06:00
Mononaut
4adc9a13da refactor async mempool/block update callbacks 2022-11-22 14:43:58 +09:00
Mononaut
9a3be34450 guard new tx selection algo behind config setting 2022-11-22 14:43:58 +09:00
softsimon
5de2bf4e9d Updated mempool debug log 2022-08-28 15:56:57 +02:00
softsimon
c7639b4768 Replace by fee storage
fixes #1222
2022-03-08 18:39:53 +01:00
nymkappa
9ed500fe96 Don't wait for 100% mempool sync before starting block indexing 2022-02-14 17:57:55 +09:00
nymkappa
61f15a1c86 Revert "Merge pull request #1240 from nymkappa/feature/mempool-sync-threshold"
This reverts commit 2f921f4cc73994cc9ea9c317c8897de0d1881340, reversing
changes made to 877be47e5be03e31b25cc12fbe2ee45be881e5d8.
2022-02-14 17:57:03 +09:00
Antoni Spaanderman
8902107663 implement /api/mempool 2022-02-13 13:52:04 +01:00
nymkappa
991c964766 Consider we're synced with the mempool if we cached 99% of pending txs 2022-02-10 19:19:54 +09:00
softsimon
5219ffa439 Refactoring the MINFEE node configuration into new configs. 2021-09-19 02:40:16 +04:00
softsimon
ccee78bc57 Refactoring Bitcoin RPC client implementation 2021-09-18 13:18:47 +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
dbbe37b3e0 Change log priority for 'The mempool is now in sync!' message to NOTICE 2021-04-13 14:03:36 +09:00
softsimon
e0212a00f4 Updating getMempoolInfo defaults. 2021-04-06 11:07:38 +04:00
softsimon
c61f5d79cc Flag transactions for lazy deletion.
fixes #400
2021-03-21 06:06:03 +07:00
softsimon
6fa1fd6345 Send mempoolminfee in fee api.
fixes #357
2021-02-24 12:26:55 +07:00
softsimon
8d0df59a31 Make clear protection timeout configurable.
fixes #335
2021-02-14 20:32:00 +07:00
softsimon
cf4406a37c Use mempool clear protection feature also when in bitcoind mode.
fixes #335
2021-02-14 01:04:44 +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
207c156eb3 Set backend to out of sync after connection retry interval has exceeded. 2021-01-20 17:16:43 +07:00
softsimon
ce9ed01582 Config file updates. electrs -> esplora 2021-01-06 22:49:28 +07:00
softsimon
fe15175e0e Loading indicator service indicating mempool sync status. 2021-01-05 18:57:06 +07:00
softsimon
4cc8f8a3dc Big refactor of multiple backends handling. 2020-12-28 04:47:22 +07:00
softsimon
4593a76675 Refactored transaction handling. 2020-12-21 23:08:34 +07:00
softsimon
aabdaea47b Basic bitcoind/romanz-electrum support to sync the mempool and blocks. 2020-12-20 22:36:36 +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
7870c55185 Slow down retries on Electrs errors in the main mempool loop. 2020-10-18 21:47:47 +07:00
softsimon
2568cbb0c0 Readding "BISQ_ENABLED". Display 'bisq' in logs. 2020-10-15 11:54:21 +07:00
softsimon
ba441278c4 Allow bisq network to be "bisq". 2020-10-15 11:15:04 +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
06333bd415 Changing more loggings levels.
refs #135
2020-10-13 16:43:09 +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
68b0b238fa Adding latest blocks and transactions to dashboard. 2020-09-26 02:11:30 +07:00