Commit Graph

72 Commits

Author SHA1 Message Date
wiz
cb4dac3506
Merge remote-tracking branch 'origin/master' into knorrium/prettier 2022-07-07 14:13:06 +02:00
Felipe Knorr Kuhn
aae2dec16d
Add editorconfig and prettier integration with eslint 2022-07-07 03:02:02 -07:00
Felipe Knorr Kuhn
958d77ed6c
Merge branch 'master' into knorrium/clean_be_deps 2022-07-06 15:11:18 -07:00
Felipe Knorr Kuhn
70b2731b82
Remove TSLint from the backend 2022-07-06 14:36:50 -07:00
Felipe Knorr Kuhn
1805b74edf
Add types for cryptojs 2022-07-06 12:25:30 -07:00
softsimon
42188dcef5
Upgrade packages - backend 2022-07-06 20:47:10 +02:00
Felipe Knorr Kuhn
35db3ffbf0
Use absolute paths when running eslint 2022-07-05 04:31:10 -07:00
Felipe Knorr Kuhn
54334a1854
Add eslint to the backend 2022-07-05 04:29:11 -07:00
Felipe Knorr Kuhn
19ae01defb
Various typing and build fixes to enable CI 2022-06-27 21:28:21 -07:00
wiz
b9f0e63341
Bump version numbers to v2.4.1-dev 2022-06-10 22:43:57 +09:00
wiz
f901f06992
Release v2.4.0 2022-06-09 23:10:18 +09:00
softsimon
3935aef841
Upgrading packages 2022-05-31 02:21:05 +04:00
dependabot[bot]
072c192d9a
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
9dcf421216
Upgrading npm packages and 2022-05-02 20:04:04 +04:00
softsimon
b273f71d60
Breaking out strtotime from locutus lib 2022-04-12 17:52:30 +04:00
softsimon
e26beee44c
Merge node-bitcoin into the project 2022-03-15 14:44:31 +01:00
Felipe Knorr Kuhn
0400deacf2
Add socks-proxy-agent dependency 2022-02-03 23:14:56 -08:00
wiz
dbdc87eeae
Bump version number to v2.4.0-dev 2022-01-16 15:41:23 +09:00
wiz
b9067ed912
Release v2.3.0 2022-01-16 15:36:48 +09:00
softsimon
f7a9b691a8
Upgrading backend libraries 2021-12-09 13:24:29 +04:00
wiz
41c61ef506
Move npm deps in package.json to fix npm install --prod 2021-12-07 10:42:06 +00:00
wiz
1696623e2f
Bump version to v2.3.0-dev after shipping v2.2.2 2021-09-09 07:27:01 +09:00
wiz
251a1af442
Bump version number for v2.2.2 release 2021-09-09 07:23:36 +09:00
softsimon
ec12f21113
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
7e273ce63d
Bump version tags to v2.2.2-dev 2021-08-13 07:56:14 +09:00
wiz
af5e0d7cd6
Bump version to v2.2.1 2021-08-13 07:45:47 +09:00
softsimon
8749b8b0fa
Updating @mempool/node-bitcoin to support new methods 2021-07-13 18:43:10 +03:00
wiz
1d29fad986
Bump version to v2.2.1-dev 2021-07-03 14:49:59 -07:00
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