softsimon
336c9954ac
Merge pull request #2512 from mempool/nymkappa/feature/closed-channel-info
...
If a channel is closed, show closing date instead of last update
2022-09-08 15:49:39 +02:00
wiz
814b1fdb7f
Merge branch 'master' into nymkappa/feature/node-world-map
2022-09-07 15:03:46 +02:00
wiz
8bd367f2e8
Merge pull request #2096 from erikarvstedt/backend-packaging
...
Simplify packaging for backend
2022-09-07 15:01:18 +02:00
wiz
ffbee04283
Merge branch 'master' into nymkappa/bugfix/node-list-location-label
2022-09-06 22:58:59 +02:00
nymkappa
54b6976ef6
Show clearnet nodes on world map
2022-09-06 19:33:07 +02:00
nymkappa
a33b31a8ab
If a channel is closed, show closing date instead of last update
2022-09-04 19:12:01 +02:00
nymkappa
1cb2181d78
Only show active channels on world map
2022-09-04 09:35:31 +02:00
Erik Arvstedt
4d138bcc97
backend: Rename build variable DOCKER_COMMIT_HASH
-> MEMPOOL_COMMIT_HASH
...
This var is useful for all build methods, not only Docker.
This is an internal renaming that doesn't change the public Docker
backend image API.
2022-09-02 12:50:44 +02: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
Erik Arvstedt
6d6e7ce108
backend: Add config file env var
2022-09-02 11:08:42 +02:00
nymkappa
fe0638db1b
Use shared component in node ranking list
2022-09-02 10:08:25 +02:00
wiz
d4342be9eb
Merge pull request #2474 from mempool/simon/search-results-greyed
...
Grey out inactive search results
2022-08-31 14:55:40 +02:00
wiz
a89de640ec
Merge branch 'master' into simon/search-results-greyed
2022-08-31 14:45:04 +02:00
wiz
44ac51ff52
Merge branch 'master' into nymkappa/bugfix/mysql-inject
2022-08-31 14:41:56 +02:00
wiz
ca7ce8407c
Merge branch 'master' into nymkappa/feature/closed-channels-sort
2022-08-31 14:22:25 +02:00
nymkappa
207a2eb9b6
Save latest node channel update in node.updated_at field in db
2022-08-31 09:37:19 +02:00
nymkappa
b83197838e
Fix possible mysql injectin in channels.api
2022-08-31 08:53:21 +02:00
nymkappa
24277ad3ec
Sort closed channels by closing_date, updated_at
2022-08-31 07:44:18 +02:00
softsimon
27ce42cc73
Grey out inactive search results
2022-08-30 23:58:58 +02:00
nymkappa
9210bd6446
CLN - Add brakets around ipv6
2022-08-30 20:31:04 +02:00
wiz
6402a98438
Merge branch 'master' into nymkappa/bugfix/asn-mapping
2022-08-30 19:45:31 +02:00
wiz
50519da381
Merge branch 'master' into simon/da-api-handle-error
2022-08-30 19:35:57 +02:00
nymkappa
24251843dc
Harcode lunanode, FDCservers and cogent asn
2022-08-30 17:06:48 +02:00
wiz
dfbab0a6a6
Merge pull request #2441 from mempool/nymkappa/feature/ip-check
...
Fix wrong ASN for Lunanode ip ranges
2022-08-30 15:53:19 +02:00
softsimon
8aca379d7a
Merge pull request #2445 from mempool/nymkappa/bugfix/dashboard-percentages
...
When there is no stats for the past 7 days, don't show % changes
2022-08-30 13:39:43 +02:00
nymkappa
e475a4b5e9
When there is no stats for the past 7 days, don't show % changes
2022-08-30 09:08:34 +02:00
nymkappa
6fba330263
Fix wrong ASN for Lunanode ip ranges
2022-08-29 23:36:18 +02:00
wiz
cacc9d72f1
Merge branch 'master' into nymkappa/bugfix/historical-node-decoding
2022-08-29 23:05:30 +02:00
nymkappa
094ee66bc0
Update node sockets during historical import so we don't have to truncate
2022-08-29 09:01:07 +02:00
nymkappa
ed6e79d86e
Format historical node sockets with update topology outputs
2022-08-29 08:43:26 +02:00
wiz
fc243b2806
Merge pull request #2416 from mempool/nymkappa/feature/ln-logger-tag
...
Update <lightning> log tag to show the network if non mainnet
2022-08-28 17:06:46 +02:00
wiz
194b6451e7
Merge branch 'master' into nymkappa/feature/ln-logger-tag
2022-08-28 16:46:05 +02:00
wiz
ac125464c7
Merge branch 'master' into nymkappa/bugfix/disable-ln-import-testsignet
2022-08-28 14:24:05 +02:00
nymkappa
d11d28dc20
Update <lightning> log tag to show the network if non mainnet
2022-08-28 08:37:25 +02:00
nymkappa
5d35f7519f
Disable LN historical import if not mainnet
2022-08-28 08:24:29 +02:00
nymkappa
c5159105d5
Manually delete some lightning_stats rows once the topology import is completed
2022-08-28 07:59:23 +02:00
nymkappa
b66a87e50c
Hardcode some condition to invalidate imported topology files
2022-08-28 07:59:23 +02:00
softsimon
9d83302fd9
Fixes multiple bugs with outspends and channels
...
fixes #412
2022-08-27 16:01:08 +02:00
softsimon
e4514e8a01
Fix for difficulty adjustment throwing error before in sync
2022-08-27 10:25:24 +02:00
softsimon
5f4077148e
Fix for broken SQL to load Lightning nodes on ISP page
2022-08-27 09:54:16 +02:00
wiz
c61049f273
Merge branch 'master' into fix/difficulty-api
2022-08-27 09:35:53 +02:00
softsimon
79942c564e
Fetch capacity and channels from nodes table
2022-08-26 16:35:24 +04:00
softsimon
cf662ca070
Store capacity and channels in nodes table
2022-08-26 02:31:14 +04:00
wiz
3022fb533e
Merge branch 'master' into simon/node-alias-search-numbers
2022-08-26 00:12:15 +09:00
wiz
603765dbf8
Merge branch 'master' into nymkappa/bugfix/useless-mysql-query-channel-tree
2022-08-25 23:32:18 +09:00
softsimon
cb04504388
Numbers not included in node alias search
2022-08-25 15:14:54 +04:00
wiz
d54cbf1a94
Merge branch 'master' into fix/difficulty-api
2022-08-24 20:01:52 +09:00
nymkappa
0f258f25d7
Import historical nodes
2022-08-24 12:12:16 +02:00