104 Commits

Author SHA1 Message Date
junderw
b916a3ee66 Fix Docker build for using napi-rs 2023-07-06 18:05:21 -07:00
junderw
6a2422ab9b Fix CI for Rust test 2023-07-03 10:18:21 -04:00
Mononaut
63713ca4ed Rust GBT proof of concept 2023-07-03 10:18:14 -04:00
wiz
5e9561c05d ops: Add npm run scripts for backend reindexing 2023-05-29 14:09:28 -03:00
softsimon
3358822446 Update backend NPM libs 2023-04-01 12:15:32 +09:00
wiz
e2a3121fce Bump version to v2.6.0-dev 2023-03-28 14:25:05 +09:00
wiz
74b51d2e44 Release v2.5.0 2023-03-28 12:14:31 +09:00
softsimon
e4d246b1c1 Bumping electrum-client 2023-03-23 15:56:30 +09:00
softsimon
d3ed9ebf4e Revert "Bump axios from 0.27.2 -> 1.3.4" 2023-03-09 17:46:09 +09:00
nymkappa
94d6dcaf15 Bump axios from 0.27.2 -> 1.3.4 2023-03-09 17:27:19 +09:00
Mononaut
41c7ee598d Raise production memory limits
Increases maxmempool production bitcoin.conf setting to 2GB,
and raises `npm run start-production` nodejs memory limit to 8GB
2023-02-17 10:12:33 -06:00
softsimon
b440d28d6a Updating patch releases 2023-01-13 13:16:50 +04:00
softsimon
774bef5755 Updating dependencies to please dependabot 2022-12-30 16:28:48 +04:00
softsimon
ce4a25eaf0 Downgrading axios to latest 0.27.x release 2022-12-01 16:15:19 +09:00
softsimon
15164f8356 Update backend npm modules 2022-12-01 14:24:41 +09:00
Erik Arvstedt
8f94788248 backend: Create npm script package
This script creates a directory `backend/package` which only contains the
files required by the backend at runtime:
- The contents of `dist`
- `node_modules` minus `typescript` and `@typescript-eslint`.
  These packages are build-only and are larger than the remaining whole package.

By using only `backend/package` in the Docker image,
the backend content size in the image is decreased by 70% to 31M.
This, along with the improved copying in the Dockerfile, reduces the
backend image size by 44% to 200M.
(Step `RUN chown -R 1000:1000 /backend ...` created a layer that effectively
duplicated the backend.)
2022-09-02 12:50:43 +02:00
Erik Arvstedt
4678407473 backend: Fetch package version at build time
Extract `fetch-version.ts` which is called at build time to create
file `dist/api/version.json`.
This file is read by `backend-info.ts` at runtime.

This also fixes handing over the Git commit hash to the backend app
in the Docker backend image, which was broken as of 2022-07-12.
(Reason: The commit hash was previously required at runtime, but was
only provided at build time.)
2022-09-02 12:50:43 +02:00
Erik Arvstedt
a4d54dec47 backend: Read mtgox-weekly.json from dist 2022-09-02 11:10:47 +02:00
nymkappa
51c3d8a5a3 Remove xml parser - Read only .topology file and assume json format 2022-08-16 21:47:52 +02:00
dependabot[bot]
9747f076a0 Bump bitcoinjs-lib from 6.0.1 to 6.0.2 in /backend
Bumps [bitcoinjs-lib](https://github.com/bitcoinjs/bitcoinjs-lib) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/bitcoinjs/bitcoinjs-lib/releases)
- [Changelog](https://github.com/bitcoinjs/bitcoinjs-lib/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bitcoinjs/bitcoinjs-lib/compare/v6.0.1...v6.0.2)

---
updated-dependencies:
- dependency-name: bitcoinjs-lib
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-13 11:05:43 +00:00
Felipe Knorr Kuhn
ed26c2f162 Fix merge conflicts on gitignore 2022-08-12 22:35:50 -07:00
wiz
9bdd574559 Move fast-xml-parser from devDeps to deps 2022-08-02 21:49:53 +02:00
nymkappa
068f7392dd Import LN historical statistics (network wide + per node) 2022-08-02 16:00:38 +02:00
Antoni Spaanderman
5264738e5f use lnd rest api 2022-07-30 21:52:58 +02:00
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
Felipe Knorr Kuhn
0efa595c34 Change @bable/core to the devDependencies 2022-07-07 12:54:47 -07:00
Felipe Knorr Kuhn
515a70c9df Fix backend dependencies again 2022-07-07 12:38:50 -07:00
Felipe Knorr Kuhn
5cb5426543 Add Jest to support backend unit tests 2022-07-07 12:21:30 -07: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