60 Commits

Author SHA1 Message Date
dependabot[bot]
514ade3f10 Bump ws from 8.3.0 to 8.6.0 in /backend
Bumps [ws](https://github.com/websockets/ws) from 8.3.0 to 8.6.0.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/8.3.0...8.6.0)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-09 02:42:41 +00:00
softsimon
c83e5b2542 Upgrading npm packages and 2022-05-02 20:04:04 +04:00
softsimon
74d7ca8c4c Breaking out strtotime from locutus lib 2022-04-12 17:52:30 +04:00
softsimon
21cbea9e0a Merge node-bitcoin into the project 2022-03-15 14:44:31 +01:00
Felipe Knorr Kuhn
90a43f5c27 Add socks-proxy-agent dependency 2022-02-03 23:14:56 -08:00
wiz
fb1822623b Bump version number to v2.4.0-dev 2022-01-16 15:41:23 +09:00
wiz
e5b2639d73 Release v2.3.0 2022-01-16 15:36:48 +09:00
softsimon
6a03539fc9 Upgrading backend libraries 2021-12-09 13:24:29 +04:00
wiz
e03d75e3ac Move npm deps in package.json to fix npm install --prod 2021-12-07 10:42:06 +00:00
wiz
e7fa2a5cb1 Bump version to v2.3.0-dev after shipping v2.2.2 2021-09-09 07:27:01 +09:00
wiz
c67840beb4 Bump version number for v2.2.2 release 2021-09-09 07:23:36 +09: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
f37b0de202 Bump version tags to v2.2.2-dev 2021-08-13 07:56:14 +09:00
wiz
e908a3f304 Bump version to v2.2.1 2021-08-13 07:45:47 +09:00
softsimon
61a500718b Updating @mempool/node-bitcoin to support new methods 2021-07-13 18:43:10 +03:00
wiz
b207b3d24c Bump version to v2.2.1-dev 2021-07-03 14:49:59 -07:00
wiz
12094ff222 Bump version for v2.2.0 release 2021-07-03 14:36:10 -07:00
softsimon
f7f8a6b720 Bumping "ws" dependency to fix vulnerability. 2021-05-31 18:49:19 -04:00
softsimon
bf8f28aa10 Remove 'v' from version. 2021-04-13 18:12:32 +04:00
softsimon
2f65156c78 Updating versions to v2.2.0-dev 2021-04-13 16:53:42 +04:00
softsimon
38cb10fbac 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
20178641da Upgrading all front and backend dependencies, including Angular 11.
fixes #429
2021-04-07 16:18:55 +04:00
wiz
fcebce1786 Update package.json license tags 2021-03-18 16:30:10 +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
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
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
softsimon
004c7b072d Upgrading mysql client lib. 2021-01-30 21:39:23 +07: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
softsimon
cb467dc887 Adding bitcoinJS-lib and parse P2SH and P2WSH scripts. 2021-01-06 01:36:28 +07:00
softsimon
90370f1c1a Switching Electrum Client lib supporting auto reconnect. 2020-12-29 00:41:02 +07:00
softsimon
86c4119e1c Address page mostly working. 2020-12-22 06:04:31 +07:00
softsimon
aabdaea47b Basic bitcoind/romanz-electrum support to sync the mempool and blocks. 2020-12-20 22:36:36 +07:00
softsimon
ced9f20f64 Remove unnecessary @types/axios dependency. 2020-11-23 18:36:55 +07:00
wiz
f4d07bcbc4 Same npm fix for running tsc from ./node_modules for backend 2020-11-23 17:26:22 +09:00
softsimon
1c1cfa0cbb Replacing request.js with axios
fixes #153
2020-11-15 14:22:47 +07:00
softsimon
d34d506edf Removing hxpress http compression 2020-10-27 17:42:10 +07:00
wiz
66ff3e09f4 Revert "Lock NPM versions."
This reverts commit b544af14e435c6a180d111473b27841ae15e1090.
2020-10-26 20:56:55 +09:00
softsimon
82dd3eaf75 Lock NPM versions. 2020-10-26 15:59:28 +07:00
wiz
14272d704e Don't rebuild backend on every restart 2020-10-25 22:22:34 +09:00
softsimon
04c4be5f4b Run Bisq block parse in separate Worker Thread. 2020-10-17 18:13:09 +07:00
wiz
ee94119b64 Increase NodeJS max heap to 4GB RAM for backend instance 2020-09-16 00:46:34 +09:00
softsimon
a3f8555087 HLOC markets api. 2020-09-13 17:51:53 +07:00
softsimon
073f75ec48 Upgraded typescript and tslint version and fixed query type error. 2020-07-24 19:38:39 +07:00
softsimon
15fa15daf3 Upgrade libs. 2020-07-19 19:34:09 +07:00
wiz
961e69e4db Remove duplicate npm install and build steps in production scripts 2020-05-26 21:52:50 +09:00
wiz
d0d578350a Fix start/upgrade scripts to properly restart the backend processes 2020-05-26 13:23:55 +09:00
wiz
2e3ff685f8 Update misc files used for mempool.space production website 2020-05-25 18:42:00 +09:00