228 Commits

Author SHA1 Message Date
softsimon
010cedee24 Only allow one disk cache saving simultaneously, and allow for partially written cache files.
fixes #444
2021-04-12 13:21:49 +04:00
softsimon
f50d0fa22a When filtering out lower fee parents, compare with effective fee instead of base fee to include a CPFP chain of transactions. 2021-04-10 21:26:05 +04:00
wiz
e66fa02cd1 Merge pull request #422 from mempool/simon/corerpcminfee-catcher
Catch getMempoolInfo errors gracefully to not break general main loop
2021-04-06 16:08:20 +09:00
softsimon
e0212a00f4 Updating getMempoolInfo defaults. 2021-04-06 11:07:38 +04:00
wiz
a534e15d67 Merge pull request #419 from mempool/simon/cpfp-duplicate-fix
Fix for duplicate cpfp ancestors.
2021-04-06 15:58:58 +09:00
softsimon
f9256704ab Bugfix: Ancestors are not able to increase fee of descendants
fixes #426
2021-04-05 23:45:47 +04:00
softsimon
e2845bf97b Fix for duplicate cpfp ancestors.
fixes #414
2021-04-02 00:30:51 +04:00
softsimon
c61f5d79cc Flag transactions for lazy deletion.
fixes #400
2021-03-21 06:06:03 +07:00
softsimon
02fffa57d9 Bugfix: Don't extend already extended transactions to not override the firstSeen property.
fixes #390
2021-03-19 19:10:11 +07:00
softsimon
aa43511e0a Shuffle mempool transactions before saving disk cache. (#398)
fixes #397
2021-03-19 13:47:37 +07:00
softsimon
58402c008f CPFP support (#395)
* CPFP support.

fixes #5
fixes #353
fixes #360

* Use effectiveFeePerVsize for mempool statistics.

* Renaming endpoint cpfp-info to just cpfp.

* Renaming decended to BestDescendant.

* Updating language file with new strings.
2021-03-18 23:47:40 +07:00
andrewtoth
cdb992fcf3 Add recommended fee percentile config (#394) 2021-03-18 12:52:46 +07:00
wiz
8c8ea11cb7 Merge pull request #358 from mempool/simon/fee-api-minfee
Send mempoolminfee in fee api.
2021-02-24 16:47:32 +09:00
softsimon
572bc8cb14 Renaming feeApi minimumFee and display as rounded satoshis. 2021-02-24 14:39:34 +07:00
softsimon
74880b1567 Re-fixing bug where high priority fee could display as lower than the medium and low fee.
fixes #278
2021-02-24 12:30:40 +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
eace751090 Apply suggestions from code review
Co-authored-by: wiz <j@wiz.biz>
2021-02-14 20:03:45 +07:00
softsimon
b11c2a7879 Optimized cache chunks. Default cache files to /cache directory.
fixes #341
2021-02-14 19:50:31 +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
9651fa7859 Removing sponsors code.
Support new sponsor confirmation polling.
fixes #319
2021-02-07 02:20:07 +07:00
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
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
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
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
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
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