77 Commits

Author SHA1 Message Date
softsimon
f305f4f96f Use maxmind to store node locations 2022-07-11 17:52:38 +02:00
wiz
c35df8ed12 Bump version to v2.5.0-dev 2022-07-10 14:53:57 +02:00
softsimon
6091272690 Replacing ln-service library and wait for graph sync. 2022-07-08 18:55:35 +02:00
nymkappa
d1cfdd5931 Merge Lightning backend into Mempool backend 2022-07-08 18:55:26 +02:00
softsimon
7d6f0b5ebe Adding channel id in addition to short id 2022-07-08 18:55:22 +02:00
wiz
dcee319dd5 Merge remote-tracking branch 'origin/master' into knorrium/prettier 2022-07-07 14:13:06 +02:00
Felipe Knorr Kuhn
b201cdfb44 Add editorconfig and prettier integration with eslint 2022-07-07 03:02:02 -07:00
Felipe Knorr Kuhn
8cdfab50a0 Merge branch 'master' into knorrium/clean_be_deps 2022-07-06 15:11:18 -07:00
Felipe Knorr Kuhn
4faf747692 Remove TSLint from the backend 2022-07-06 14:36:50 -07:00
Felipe Knorr Kuhn
a73643fd16 Add types for cryptojs 2022-07-06 12:25:30 -07:00
softsimon
b6315ce76c Upgrade packages - backend 2022-07-06 20:47:10 +02:00
Felipe Knorr Kuhn
96414fe866 Use absolute paths when running eslint 2022-07-05 04:31:10 -07:00
Felipe Knorr Kuhn
5c15991139 Add eslint to the backend 2022-07-05 04:29:11 -07:00
Felipe Knorr Kuhn
76dbda0a3e Various typing and build fixes to enable CI 2022-06-27 21:28:21 -07:00
wiz
95ec83fd5a Bump version numbers to v2.4.1-dev 2022-06-10 22:43:57 +09:00
wiz
32c2585e4b Release v2.4.0 2022-06-09 23:10:18 +09:00
softsimon
1cf063a1b0 Upgrading packages 2022-05-31 02:21:05 +04:00
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