1375 Commits

Author SHA1 Message Date
Mononaut
cd0e6bae64 New projected block transaction selection algo 2022-10-27 10:25:15 -06:00
softsimon
3094d28c24 Adding migration to force rescan of closed channels 2022-10-21 23:42:37 +04:00
nymkappa
5f2aa32b88 Only show active nodes is isp page 2022-10-21 20:09:20 +02:00
softsimon
f1e7ea0837 Adding MEMPOOL.ENABLED config to Docker 2022-10-21 21:08:48 +04:00
softsimon
6c43c383fc Updating unit test 2022-10-21 21:08:48 +04:00
softsimon
03db2df7d7 Disable mempool config
fixes #2090
2022-10-21 21:08:48 +04:00
Mononaut
0550332d93 Fix ln close classification logic 2022-10-20 17:59:36 +00:00
wiz
da7022d935 Merge branch 'master' into nymkappa/bugfix/log-counter 2022-10-17 04:25:27 +09:00
Mononaut
2f78a166cd API method for node fee histogram data 2022-10-15 00:57:34 +00:00
nymkappa
e62986d3dc Fixes #2592 2022-09-30 19:10:11 +02:00
wiz
bb6fd3a8b0 Merge branch 'master' into nymkappa/bugfix/incorrect-log 2022-09-25 08:03:40 +09:00
nymkappa
ceb60370c0 Show tor+clearnet node series in chart 2022-09-22 15:23:50 +02:00
junderw
eca9daf5e2 Fix: Add hash and reverse search order 2022-09-19 16:44:53 +09:00
junderw
baaa53f0ce Backend: Add block height from timestamp endpoint 2022-09-18 22:30:09 +09:00
softsimon
20b4586595 Mempool node group page 2022-09-17 11:06:49 +02:00
junderw
71af86f98b Spelling fix 2022-09-10 16:09:43 +09:00
junderw
d137b2c604 Fix response codes for various error states 2022-09-10 16:03:31 +09:00
Felipe Knorr Kuhn
a3fe6fe3a1 Merge branch 'master' into junderw/psbt-complete-inputs 2022-09-09 21:23:14 -07:00
wiz
caa21d75ed Merge pull request #2367 from mempool/simon/eslint-triple-equals
Tooling: Eslint force triple equals
2022-09-09 19:20:03 +02:00
wiz
b778c7d132 Merge branch 'master' into nymkappa/feature/cltv 2022-09-09 18:06:44 +02:00
nymkappa
f0ded96c22 Log correct maxmind mysql updates - fix stats import processed files counter 2022-09-09 14:59:49 +02:00
nymkappa
e3b2005517 Show summary stats and world map in isp and country node list page 2022-09-09 14:56:18 +02:00
softsimon
d94131b1db Merge pull request #2518 from mempool/nymkappa/feature/only-scan-closed-chan-new-block
Only scan for closed channels when there is a new block
2022-09-08 17:44:10 +02:00
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
bd677e9ba8 Only scan for closed channels when there is a new block 2022-09-06 11:42:19 +02:00
junderw
8cf1a22e0f Feature: Add endpoint for PSBT nonWitnessUtxo inclusion 2022-09-05 23:13:45 +09: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
nymkappa
44f84770be When using clightning, use listchannels.delay as cltv_delta 2022-09-04 09:23:49 +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
Felipe Knorr Kuhn
a0b24913e0 Merge branch 'master' into simon/eslint-triple-equals 2022-09-01 22:51:07 -07: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