Commit Graph

44 Commits

Author SHA1 Message Date
wiz
eb6db6caf3
Bump version for v2.2.0 release 2021-07-03 14:36:10 -07:00
softsimon
abc6b1519e
Bumping "ws" dependency to fix vulnerability. 2021-05-31 18:49:19 -04:00
softsimon
3dbddedf91
Remove 'v' from version. 2021-04-13 18:12:32 +04:00
softsimon
e255bec7ad
Updating versions to v2.2.0-dev 2021-04-13 16:53:42 +04:00
softsimon
7a4ad0ee2f
Including gitCommit and version in frontend build. Backend now sending a backendInfo object containing commit, version and hostname. All printed on About page. 2021-04-12 22:17:13 +04:00
softsimon
4a907f9dc6
Upgrading all front and backend dependencies, including Angular 11.
fixes #429
2021-04-07 16:18:55 +04:00
wiz
8b5d3dabe7
Update package.json license tags 2021-03-18 16:30:10 +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
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
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
softsimon
9b9c605cbe
Upgrading mysql client lib. 2021-01-30 21:39:23 +07: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
softsimon
9e1ef1b747
Adding bitcoinJS-lib and parse P2SH and P2WSH scripts. 2021-01-06 01:36:28 +07:00
softsimon
a3644e23a7
Switching Electrum Client lib supporting auto reconnect. 2020-12-29 00:41:02 +07:00
softsimon
f84b9e6582
Address page mostly working. 2020-12-22 06:04:31 +07:00
softsimon
5dbf6789a7
Basic bitcoind/romanz-electrum support to sync the mempool and blocks. 2020-12-20 22:36:36 +07:00
softsimon
9e716aa913
Remove unnecessary @types/axios dependency. 2020-11-23 18:36:55 +07:00
wiz
824bc21035
Same npm fix for running tsc from ./node_modules for backend 2020-11-23 17:26:22 +09:00
softsimon
e7ddedaeb6
Replacing request.js with axios
fixes #153
2020-11-15 14:22:47 +07:00
softsimon
6494d6daf8
Removing hxpress http compression 2020-10-27 17:42:10 +07:00
wiz
9a94fccf40
Revert "Lock NPM versions."
This reverts commit b544af14e4.
2020-10-26 20:56:55 +09:00
softsimon
b544af14e4
Lock NPM versions. 2020-10-26 15:59:28 +07:00
wiz
c5c2d67fce
Don't rebuild backend on every restart 2020-10-25 22:22:34 +09:00
softsimon
7bf9810c48
Run Bisq block parse in separate Worker Thread. 2020-10-17 18:13:09 +07:00
wiz
344413568d
Increase NodeJS max heap to 4GB RAM for backend instance 2020-09-16 00:46:34 +09:00
softsimon
bafe2db094
HLOC markets api. 2020-09-13 17:51:53 +07:00
softsimon
fa88bd7057
Upgraded typescript and tslint version and fixed query type error. 2020-07-24 19:38:39 +07:00
softsimon
8695bb9bb1
Upgrade libs. 2020-07-19 19:34:09 +07:00
wiz
b9d9875e98
Remove duplicate npm install and build steps in production scripts 2020-05-26 21:52:50 +09:00
wiz
01ac06b096
Fix start/upgrade scripts to properly restart the backend processes 2020-05-26 13:23:55 +09:00
wiz
003361befb
Update misc files used for mempool.space production website 2020-05-25 18:42:00 +09:00
wiz
6af45c86f8
Add new package.json for top-level mempool project 2020-03-13 19:51:25 +09:00
wiz
c8da732771
Update package.json for mempool-frontend 2020-03-13 19:48:10 +09:00
wiz
0bf337b7a6
Update package.json for mempool-backend 2020-03-13 19:44:56 +09:00
softsimon
7fbc6f1461
Moved websocket handling to its own file and cleaned up index.ts 2020-02-26 17:49:53 +07:00
Simon Lindh
ac95c09ea6
New base code for mempool blockchain explorerer 2020-02-26 03:19:26 +09:00
Simon Lindh
aa8bccdb8f Use 'request' instead of 'axios' for electrs api requests. 2019-12-06 21:59:43 +01:00
Simon Lindh
d8407080ec
Merge pull request #13 from andrerfneves/refactor/docs-package
[chore] Documentation improvements and package json cleanups
2019-10-29 02:00:17 +08:00
Simon Lindh
afb3ecc57d Adding optional Blockstream esplora backend support. 2019-10-22 17:09:07 +08:00
Andre Neves
d3cd735411 chore(docs): Update README docs for more clarity
chore(packagejson): clean up and standardize data inside package json - author taken from MIT license details
chore(spacing): move tsconfig json to follow codebase standard indentation setup
2019-09-08 13:37:07 -04:00
Simon Lindh
fd2209e75a Initial code commit. 2019-07-21 17:59:47 +03:00