63 Commits

Author SHA1 Message Date
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
softsimon
92044128c9 Handle coinbase transactions no longer has undefined fee. 2020-07-24 00:20:59 +07:00
softsimon
d39b4a5c92 WIP: Bisq DAO support. Transactions list and details. 2020-07-03 23:45:19 +07:00
softsimon
6d8521b748 Increased frontend auto reload timeout.
Increased time limit on new transaction processing.
2020-06-23 14:49:06 +07:00
softsimon
0ba604609a Reducing mempool detection sensitivity to 25%
refs #76
2020-06-18 17:10:07 +07:00
softsimon
2f0d29e315 Set in sync to false when mempool clear protection is active.
refs #76
2020-06-18 14:34:56 +07:00
softsimon
f972149a54 Prevent mempool from being flushed when restarting bitcoind.
fixes #76
2020-06-18 13:54:54 +07:00
softsimon
e0a451eb05 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
7801fa7a24 Speed up mempool loop. 2020-06-09 02:32:24 +07:00
softsimon
5feaa1fa8e Adding types to callback functions. 2020-06-09 02:08:46 +07:00
softsimon
1db06f8009 Don't call mempoolChanged after disk cache dump. 2020-06-08 19:19:31 +07:00
softsimon
87e9d631fc Detect RBF-transactions and offer to track them.
fixes #78
2020-06-08 18:55:53 +07:00
softsimon
33cd77eba6 Code cleanup. 2020-06-07 17:30:32 +07:00
softsimon
1d7baeb9f8 Send empty mempoolInfo responsive instead of undefined on server restart. 2020-04-04 01:11:46 +07:00