Commit Graph

107 Commits

Author SHA1 Message Date
Mononaut
5138f9a254
Implement Redis cache for block and mempool data 2023-07-31 12:16:33 +09:00
softsimon
bde7fad1c4
Bumping backend deps 2023-07-18 15:36:30 +09:00
wiz
23151ec3db
Bump version to 3.0.0-dev
- Now requires mempool/electrs
- Mempool Accelerator integration
- Rust GBT integration
- And more!
2023-07-14 18:39:35 +09:00
junderw
925ebf08d4
Fix Docker build for using napi-rs 2023-07-06 18:05:21 -07:00
junderw
77c83a6a13
Fix CI for Rust test 2023-07-03 10:18:21 -04:00
Mononaut
52bb8b4a4d
Rust GBT proof of concept 2023-07-03 10:18:14 -04:00
wiz
27154da191
ops: Add npm run scripts for backend reindexing 2023-05-29 14:09:28 -03:00
softsimon
482a609d84
Update backend NPM libs 2023-04-01 12:15:32 +09:00
wiz
96f3218ec6
Bump version to v2.6.0-dev 2023-03-28 14:25:05 +09:00
wiz
57eddac7f0
Release v2.5.0 2023-03-28 12:14:31 +09:00
softsimon
c4d13fb5b7
Bumping electrum-client 2023-03-23 15:56:30 +09:00
softsimon
42228dc70f
Revert "Bump axios from 0.27.2 -> 1.3.4" 2023-03-09 17:46:09 +09:00
nymkappa
304089b3d0
Bump axios from 0.27.2 -> 1.3.4 2023-03-09 17:27:19 +09:00
Mononaut
77686821ba
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
9fa19e7b26
Updating patch releases 2023-01-13 13:16:50 +04:00
softsimon
2ca12a72f8
Updating dependencies to please dependabot 2022-12-30 16:28:48 +04:00
softsimon
1db11d1d67
Downgrading axios to latest 0.27.x release 2022-12-01 16:15:19 +09:00
softsimon
3d45054e38
Update backend npm modules 2022-12-01 14:24:41 +09:00
Erik Arvstedt
be72c5109a
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
d591f7c456
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
5683f639ed
backend: Read mtgox-weekly.json from dist 2022-09-02 11:10:47 +02:00
nymkappa
8dc41257ce
Remove xml parser - Read only .topology file and assume json format 2022-08-16 21:47:52 +02:00
dependabot[bot]
53bc616b1b
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
9a3929554b
Fix merge conflicts on gitignore 2022-08-12 22:35:50 -07:00
wiz
33f3b0006b
Move fast-xml-parser from devDeps to deps 2022-08-02 21:49:53 +02:00
nymkappa
4ea1e98547
Import LN historical statistics (network wide + per node) 2022-08-02 16:00:38 +02:00
Antoni Spaanderman
887fb13f34
use lnd rest api 2022-07-30 21:52:58 +02:00
softsimon
519494668b
Use maxmind to store node locations 2022-07-11 17:52:38 +02:00
wiz
a638369a57
Bump version to v2.5.0-dev 2022-07-10 14:53:57 +02:00
softsimon
73c4a934ce
Replacing ln-service library and wait for graph sync. 2022-07-08 18:55:35 +02:00
nymkappa
a238420d7f
Merge Lightning backend into Mempool backend 2022-07-08 18:55:26 +02:00
softsimon
b0b73e6c70
Adding channel id in addition to short id 2022-07-08 18:55:22 +02:00
Felipe Knorr Kuhn
7bc3ece5b5
Change @bable/core to the devDependencies 2022-07-07 12:54:47 -07:00
Felipe Knorr Kuhn
07610c7ed0
Fix backend dependencies again 2022-07-07 12:38:50 -07:00
Felipe Knorr Kuhn
352f0817d9
Add Jest to support backend unit tests 2022-07-07 12:21:30 -07:00
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