Commit graph

84 commits

Author SHA1 Message Date
softsimon
a567a28c5c
Update backend/src/api/mempool.ts
Co-authored-by: mononaut <83316221+mononaut@users.noreply.github.com>
2023-07-02 18:10:14 +02:00
softsimon
59713e2132
Update backend/src/api/mempool.ts
Co-authored-by: mononaut <83316221+mononaut@users.noreply.github.com>
2023-07-02 18:10:08 +02:00
softsimon
1e83a99bae
Update backend/src/api/mempool.ts
Co-authored-by: mononaut <83316221+mononaut@users.noreply.github.com>
2023-07-02 18:10:02 +02:00
softsimon
31ae382f75
Lowering mempool loop break limit 2023-06-27 18:46:28 +02:00
softsimon
176f5e1377
Reinstate the mempool loop time limit 2023-06-16 20:42:31 +02:00
Mononaut
0e5dc21854
Fix mined rbf / calculate sigop merge conflicts 2023-05-31 11:37:13 -04:00
Mononaut
09e4e44e88
Count sigops & use adjusted vsizes in mempool projections 2023-05-31 11:29:56 -04:00
Mononaut
369db7a63c
Detect RBF by mined transactions 2023-05-18 09:51:41 -04:00
softsimon
ee05a6852e
Rapid mempool sync 2023-05-07 20:21:02 +04:00
Mononaut
d322c6b5b5
Fix new block mempool deletion race condition 2023-05-05 10:19:11 -07:00
Mononaut
086b41d958
support trees of RBF replacements 2023-05-03 12:53:56 -06:00
Mononaut
1b843da785
Timeline of replacements for RBF-d transactions 2023-05-03 12:52:20 -06:00
Mononaut
4597bfa5d7
use $ naming convention for async function names 2023-04-30 15:52:44 -06:00
Mononaut
f30cf70226
await for mempool change handler after loading disk cache 2023-04-30 15:51:26 -06:00
softsimon
58b08f2c33
Add end quotes 2023-05-01 00:16:23 +04:00
Mononaut
95df317f56
detect and log stall in main loop 2023-04-28 19:17:58 -06:00
Mononaut
28de93d0ff
move lazy tx deletion into main loop 2023-03-24 09:48:08 +09:00
nymkappa
63dd9fd09e
Log a warn if there are lot of 404 from esplora tx api 2023-03-09 17:45:08 +09:00
Mononaut
d778530620
keep cached RBF info for 24 hours after tx leaves the mempool 2023-01-17 19:24:57 -06:00
Mononaut
0481f57304
cache, serve & display more comprehensive RBF info 2023-01-17 16:09:16 -06:00
Mononaut
4d0637768d
Refactor advanced gbt to minimize inter-thread comms 2022-12-07 14:52:01 -06:00
Mononaut
b1d490972b
refactor async mempool/block update callbacks 2022-11-22 14:43:58 +09:00
Mononaut
786d73625a
guard new tx selection algo behind config setting 2022-11-22 14:43:58 +09:00
softsimon
9c09c00fab
Updated mempool debug log 2022-08-28 15:56:57 +02:00
softsimon
f85771e03f
Replace by fee storage
fixes #1222
2022-03-08 18:39:53 +01:00
nymkappa
a88d6d2fca
Don't wait for 100% mempool sync before starting block indexing 2022-02-14 17:57:55 +09:00
nymkappa
87170247bd
Revert "Merge pull request #1240 from nymkappa/feature/mempool-sync-threshold"
This reverts commit 2f921f4cc7, reversing
changes made to 877be47e5b.
2022-02-14 17:57:03 +09:00
Antoni Spaanderman
2e1348550e
implement /api/mempool 2022-02-13 13:52:04 +01:00
nymkappa
af02e9b533
Consider we're synced with the mempool if we cached 99% of pending txs 2022-02-10 19:19:54 +09:00
softsimon
0d67bc36ee
Refactoring the MINFEE node configuration into new configs. 2021-09-19 02:40:16 +04:00
softsimon
641d2ad028
Refactoring Bitcoin RPC client implementation 2021-09-18 13:18:47 +04:00
softsimon
ec12f21113
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
089bb38e6a
Change log priority for 'The mempool is now in sync!' message to NOTICE 2021-04-13 14:03:36 +09:00
softsimon
8dddfe38a9
Updating getMempoolInfo defaults. 2021-04-06 11:07:38 +04:00
softsimon
e05ca7d691
Flag transactions for lazy deletion.
fixes #400
2021-03-21 06:06:03 +07:00
softsimon
ea5dc8738c
Send mempoolminfee in fee api.
fixes #357
2021-02-24 12:26:55 +07:00
softsimon
7489d3360a
Make clear protection timeout configurable.
fixes #335
2021-02-14 20:32:00 +07:00
softsimon
63b52b9d9b
Use mempool clear protection feature also when in bitcoind mode.
fixes #335
2021-02-14 01:04:44 +07:00
softsimon
cca95bbd66
Increasing clear protection period to 10 minutes. 2021-01-24 19:33:05 +07:00
softsimon
47a449e1d9
Disable support for Electrum TX lookups (require -txindex). 2021-01-24 04:15:06 +07:00
softsimon
5b268794af
Correctly error handle getTransaction and set 404 status when not found. 2021-01-24 02:51:22 +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
dc63fd9428
Config file updates. electrs -> esplora 2021-01-06 22:49:28 +07:00
softsimon
632c243b34
Loading indicator service indicating mempool sync status. 2021-01-05 18:57:06 +07:00
softsimon
bb28a56622
Big refactor of multiple backends handling. 2020-12-28 04:47:22 +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
cbef2ae6d0
Limit mempool clear protection to >20K TX mempool
fixes #140
2020-10-19 17:30:47 +07:00
softsimon
45efb604c1
Revamping configuration file.
fixes #141
2020-10-19 11:57:02 +07:00
softsimon
49f70ca28a
Slow down retries on Electrs errors in the main mempool loop. 2020-10-18 21:47:47 +07:00