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
da61a72283
Signet support in the frontend.
2021-02-20 23:12:22 +07:00
wiz
40deafba44
Merge pull request #343 from mempool/simon/clear-protection-config
...
Make clear protection timeout configurable.
2021-02-15 00:26:47 +09:00
wiz
0a0edc0315
Reduce backend heap size setting to 2G since cache memory usage was optimized ( #345 )
...
On powerful servers, nodejs automatically sets the limit at 4GB
```
% node -e 'console.log(`node heap limit = ${require("v8").getHeapStatistics().heap_size_limit / (1024 * 1024)} Mb`)'
node heap limit = 4144 Mb
```
On a Raspberry Pi with 8GB RAM, nodejs automatically sets the limit at 1GB
```
% node -e 'console.log(`node heap limit = ${require("v8").getHeapStatistics().heap_size_limit / (1024 * 1024)} Mb`)'
node heap limit = 1048 Mb
```
On a Raspberry Pi with 4GB RAM, nodejs automatically sets the limit at 740MB
```
% node -e 'console.log(`node heap limit = ${require("v8").getHeapStatistics().heap_size_limit / (1024 * 1024)} Mb`)'
node heap limit = 739.4694900512695 Mb
```
After testing with manually setting the limit to 768MB, mempool starts
up fine, but crashes when saving the cache when the mempool is quite
large (over 400MB with custom bitcoin.conf setting).
So it's probably safe to reduce the 4GB limit setting to 2GB for
all devices and and just use the automatically set values, now that the
backend's disk cache memory usage was recently optimized.
However, a new npm script for `npm run start-production` will be added
so we can keep our production mempool.space servers running with a very
large bitcoin.conf mempool
2021-02-14 22:25:29 +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
Bastien Guillaumat
5fbc952fda
Re-implement Docker workflow using GitHub Actions ( #326 )
...
* Recreate a docker dir with all docker files inside and add init.sh
* Add docker/README.md with example docker-compose.xml
* Add mysql vars for mempool-config.json
* Port can be set from env var in docker-compose.xml
* Update docker-compose.xml example to use latest tag
* Remove armv7 architecture from build workflow
* Remove master git-hash file
* Remove useless ':' in sed
2021-02-10 22:51:01 +09:00
softsimon
8e02ff91f5
Fix for hard coded sponsor url.
...
refs #319
2021-02-07 03:00:02 +07:00
softsimon
9651fa7859
Removing sponsors code.
...
Support new sponsor confirmation polling.
fixes #319
2021-02-07 02:20:07 +07:00
Bastien
39b88e3147
Fix missing mempool-config due to gitignore
2021-02-03 09:52:04 +01:00
softsimon
9cd67d878f
bitcoind: Parse witness scripts from P2SH transactions.
...
fixes #323
2021-02-03 13:11:14 +07:00
wiz
fca3ea8a36
Merge pull request #322 from bguillaumat/update-dockerization
...
Update dockerization
2021-02-03 13:03:44 +09:00
Bastien
7d245bc201
Move docker files in subdir
2021-02-03 02:12:15 +01:00
Bastien
c6296bc06c
Set all dir to be dockerized
2021-02-02 23:45:54 +01: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
7109f74639
Update package.json && Fix start.sh script
2021-02-02 18:01:23 +01: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
softsimon
004c7b072d
Upgrading mysql client lib.
2021-01-30 21:39:23 +07:00
softsimon
2c94f3a8ef
Wait for database connection established before continuing startup.
...
refs #315
2021-01-30 21:09:30 +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
42fa7c67bb
Replacing localhost with 127.0.0.1
2021-01-30 18:43:58 +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
5b9c39bda8
Readding deleted blocks api endpoint.
2021-01-27 00:33:16 +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
5754c0add6
Fix: Load mempool cache before checking DB connectivity.
2021-01-20 01:34:21 +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
wiz
d8c7b4f860
Update backend/package-lock.json for axios security vulnerability
2021-01-11 23:27:27 +09:00
softsimon
28843c6737
npm audit fix
2021-01-11 16:04:16 +07:00
softsimon
648bffd171
Update backend/package.json
...
Co-authored-by: wiz <j@wiz.biz>
2021-01-11 15:23:59 +07:00