wiz
b89630953c
Merge pull request #358 from mempool/simon/fee-api-minfee
...
Send mempoolminfee in fee api.
2021-02-24 16:47:32 +09:00
softsimon
04c42b82f4
Renaming feeApi minimumFee and display as rounded satoshis.
2021-02-24 14:39:34 +07:00
softsimon
6ec07e5315
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
ea5dc8738c
Send mempoolminfee in fee api.
...
fixes #357
2021-02-24 12:26:55 +07:00
softsimon
563ae8540b
Signet support in the frontend.
2021-02-20 23:12:22 +07:00
wiz
033d1451d0
Merge pull request #343 from mempool/simon/clear-protection-config
...
Make clear protection timeout configurable.
2021-02-15 00:26:47 +09:00
wiz
befb192651
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
7489d3360a
Make clear protection timeout configurable.
...
fixes #335
2021-02-14 20:32:00 +07:00
softsimon
32290d1e0d
Apply suggestions from code review
...
Co-authored-by: wiz <j@wiz.biz>
2021-02-14 20:03:45 +07:00
softsimon
584ef87fc8
Optimized cache chunks. Default cache files to /cache directory.
...
fixes #341
2021-02-14 19:50:31 +07:00
softsimon
63b52b9d9b
Use mempool clear protection feature also when in bitcoind mode.
...
fixes #335
2021-02-14 01:04:44 +07:00
Bastien Guillaumat
20ff62779d
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
89efd410fb
Fix for hard coded sponsor url.
...
refs #319
2021-02-07 03:00:02 +07:00
softsimon
eb0c20dd92
Removing sponsors code.
...
Support new sponsor confirmation polling.
fixes #319
2021-02-07 02:20:07 +07:00
Bastien
35f5efaa2e
Fix missing mempool-config due to gitignore
2021-02-03 09:52:04 +01:00
softsimon
ed17203a5f
bitcoind: Parse witness scripts from P2SH transactions.
...
fixes #323
2021-02-03 13:11:14 +07:00
wiz
448cb8e264
Merge pull request #322 from bguillaumat/update-dockerization
...
Update dockerization
2021-02-03 13:03:44 +09:00
Bastien
6782229a3d
Move docker files in subdir
2021-02-03 02:12:15 +01:00
Bastien
543fe8c735
Set all dir to be dockerized
2021-02-02 23:45:54 +01:00
wiz
03179e34fb
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
2d872bda47
Update package.json && Fix start.sh script
2021-02-02 18:01:23 +01:00
Bastien
f7ff6336f2
Add CACHE_DIR var
2021-02-01 15:54:27 +01:00
softsimon
2a5a4ddac0
Hide address received/sent from address page when using electrum API.
...
fixes #294
2021-02-01 04:52:24 +07:00
softsimon
f3c18b152a
Moved sponsors cache creation until after diskcache is done.
...
refs #315
2021-01-30 22:12:22 +07:00
softsimon
35521f4871
Refactored when statistics cache from database is created.
...
refs #315
2021-01-30 21:40:04 +07:00
softsimon
9b9c605cbe
Upgrading mysql client lib.
2021-01-30 21:39:23 +07:00
softsimon
21d32dec41
Wait for database connection established before continuing startup.
...
refs #315
2021-01-30 21:09:30 +07:00
wiz
54a276439d
Increase Bisq block height divergence warning to 10 blocks for Tor issues
2021-01-30 23:02:20 +09:00
softsimon
c5c2222b8c
Increased database query timeouts
...
fixes #315
2021-01-30 19:20:52 +07:00
softsimon
9d317082e1
Replacing localhost with 127.0.0.1
2021-01-30 18:43:58 +07:00
softsimon
c94f004425
Adding missing default timeout on all axios requests.
...
fixes #314
2021-01-30 16:25:22 +07:00
softsimon
371433b2da
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
da533097d9
Replacing weight with vsize in transactions api to match esplora.
2021-01-28 18:24:02 +07:00
softsimon
5f1f06fecf
Don't save disk cache on exit. Handle corrupted mempool disk cache.
...
fixes #304
2021-01-27 01:49:11 +07:00
softsimon
b08225dab5
Readding deleted blocks api endpoint.
2021-01-27 00:33:16 +07:00
softsimon
e86b7c7258
Adding missing basic API endpoints when in bitcoind/electrum mode.
...
fixes #291
2021-01-25 01:09:42 +07:00
softsimon
c9e175a0cc
Always fetch at least the coinbase transaction of blocks, and throw error if failed.
2021-01-24 23:56:51 +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
fb41f58f7c
Corrected Bisq stats calculation.
...
fixes #280
2021-01-23 19:26:05 +07:00
softsimon
e82c89a985
Only save cache on new block when in sync.
2021-01-22 23:20:39 +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
a158794e2c
Bitcoind: Lookup block transactions as long as in sync.
...
refs #288
2021-01-20 17:15:11 +07:00
softsimon
1a04b088fb
Fix: Load mempool cache before checking DB connectivity.
2021-01-20 01:34:21 +07:00
softsimon
1e81355e7d
Increased disk cache chunks amount to 10 to fix json string length error.
2021-01-15 23:26:32 +07:00
softsimon
eff4d2c8cd
Optionally support second CoreRPC instance as source for the minimum fee.
2021-01-15 22:23:32 +07:00
wiz
ab8cb033e6
Update backend/package-lock.json for axios security vulnerability
2021-01-11 23:27:27 +09:00
softsimon
4f1049bace
npm audit fix
2021-01-11 16:04:16 +07:00
softsimon
0a0e7fad3a
Update backend/package.json
...
Co-authored-by: wiz <j@wiz.biz>
2021-01-11 15:23:59 +07:00