Commit Graph

62 Commits

Author SHA1 Message Date
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
softsimon
e7a7b45ad0 Readding "BISQ_ENABLED". Display 'bisq' in logs. 2020-10-15 11:54:21 +07:00
softsimon
b767a0a33e Allow bisq network to be "bisq". 2020-10-15 11:15:04 +07:00
softsimon
86c654f22f New backend config "NETWORK".
Only activate mempool protection.
Log network to
fixes #140
2020-10-15 11:07:53 +07:00
softsimon
372c116283 Input sanitation. Minimum amount fix. Debug log updated. 2020-10-13 19:54:47 +07:00
softsimon
3d374fd9d9 Changing more loggings levels.
refs #135
2020-10-13 16:43:09 +07:00
softsimon
04ac820ed7 Changing common output messages to Debug.
refs #135
2020-10-13 16:00:58 +07:00
softsimon
4dacf292c2 Adding logger wrapper.
Log backend messages to syslog.
fixes #135
2020-10-13 15:27:52 +07:00
softsimon
d4f768e3b6 Adding latest blocks and transactions to dashboard. 2020-09-26 02:11:30 +07:00
softsimon
9980414969 Handle coinbase transactions no longer has undefined fee. 2020-07-24 00:20:59 +07:00
softsimon
c21dad88bf WIP: Bisq DAO support. Transactions list and details. 2020-07-03 23:45:19 +07:00
softsimon
c20ba429b1 Increased frontend auto reload timeout.
Increased time limit on new transaction processing.
2020-06-23 14:49:06 +07:00
softsimon
279b79b9b1 Reducing mempool detection sensitivity to 25%
refs #76
2020-06-18 17:10:07 +07:00
softsimon
b92eef8198 Set in sync to false when mempool clear protection is active.
refs #76
2020-06-18 14:34:56 +07:00
softsimon
6688421e39 Prevent mempool from being flushed when restarting bitcoind.
fixes #76
2020-06-18 13:54:54 +07:00
softsimon
36e46249b5 Transition new blocks from the mempool onto the blockchain.
Chime on new blocks.
fixes #47
fixes #84
2020-06-10 23:52:14 +07:00
softsimon
ea708de9fb Speed up mempool loop. 2020-06-09 02:32:24 +07:00
softsimon
0177224eba Adding types to callback functions. 2020-06-09 02:08:46 +07:00
softsimon
912d45165b Don't call mempoolChanged after disk cache dump. 2020-06-08 19:19:31 +07:00
softsimon
8b6a681614 Detect RBF-transactions and offer to track them.
fixes #78
2020-06-08 18:55:53 +07:00
softsimon
7ade4c114b Code cleanup. 2020-06-07 17:30:32 +07:00
softsimon
b082763438 Send empty mempoolInfo responsive instead of undefined on server restart. 2020-04-04 01:11:46 +07:00
softsimon
c6df78815b Added mempool inSync property to backend. Display on frontend when not in sync and on't create statistics when not in sync.
fixes #29
2020-04-01 20:06:44 +07:00