Commit Graph

1428 Commits

Author SHA1 Message Date
Mononaut
205d832d31
return more complete cpfp data for mempool transactions 2022-11-29 11:42:08 +09:00
Mononaut
9b6a012476
calculate & index cpfp packages 2022-11-29 11:42:07 +09:00
nymkappa
3eb4ea9048
Disable ON UPDATE for blocks.blockTimestamp field 2022-11-28 17:33:07 +09:00
Mononaut
2290f98011
only query blocks_audits on bitcoin networks 2022-11-28 14:26:28 +09:00
Mononaut
e627122239
move block audit endpoint from mining to bitcoin routes 2022-11-25 19:32:50 +09:00
Mononaut
201b32bdcd
better fallbacks for missing block summaries data 2022-11-25 10:16:58 +09:00
Mononaut
de04914851
optimize block audit scores db query 2022-11-24 17:11:45 +09:00
Mononaut
5fc3b8b70c
merge block-audit and block pages 2022-11-24 17:10:53 +09:00
Mononaut
276470474d
save 'fresh' transactions in block audit repository 2022-11-24 17:10:53 +09:00
nymkappa
1461cb1b17
Don't select nodes which do not have country info 2022-11-24 16:56:13 +09:00
Mononaut
6ada839282
reduce forensics throttle delay from 100ms to 20ms 2022-11-23 19:32:14 +09:00
softsimon
7de068368c
Update backend/src/tasks/lightning/forensics.service.ts 2022-11-23 19:24:41 +09:00
wiz
0d797ff7fd
Merge branch 'master' into mononaut/ln-penalty-scan-optimization 2022-11-23 19:14:20 +09:00
softsimon
74dbd6cee1
Add support for application/base64 content type 2022-11-23 18:43:37 +09:00
Mononaut
7d3ec63335
move long-running forensics scans to separate service, throttle backend calls 2022-11-23 10:38:24 +09:00
softsimon
584f443f56
Adding new getTransactionHex api 2022-11-22 21:45:05 +09:00
softsimon
4f3296566a
Make api available on all backends 2022-11-22 19:08:09 +09:00
wiz
1309a63430
Merge branch 'master' into junderw/psbt-complete-inputs 2022-11-22 18:57:36 +09:00
wiz
802d38c363
Merge branch 'master' into nymkappa/bugfix/404-ftx-not-found 2022-11-22 18:18:14 +09:00
wiz
2b94849881
Merge branch 'master' into junderw/psbt-complete-inputs 2022-11-22 17:59:50 +09:00
wiz
28d5ec34b3
Merge branch 'master' into nymkappa/bugfix/node-count 2022-11-22 17:25:23 +09:00
softsimon
5e72ecfdc9
Support Maxmind Lite
fixes #2553
2022-11-22 16:13:27 +09:00
Mononaut
b9a761fb88
add ADVANCED_TRANSACTION_SELECTION default to config test 2022-11-22 15:10:24 +09:00
Mononaut
b1d490972b
refactor async mempool/block update callbacks 2022-11-22 14:43:58 +09:00
Mononaut
786d73625a
guard new tx selection algo behind config setting 2022-11-22 14:43:58 +09:00
Mononaut
08ad6a0da3
move new tx selection algorithm into thread worker 2022-11-22 14:43:55 +09:00
wiz
38cb45e026
Merge pull request #2664 from mononaut/block-audit-db-migration
db migration to clear obsolete block audit data
2022-11-22 14:40:33 +09:00
Mononaut
24dba5a2ef
Bump db migration query timeout to 900s 2022-11-22 14:25:57 +09:00
Mononaut
a32f960c4a
db migration to clear obsolete audit data 2022-11-22 14:07:29 +09:00
nymkappa
9d5717f30d
Make sure we handle all isp id in the queried list 2022-11-22 11:58:16 +09:00
wiz
5da8f2b6dc
Merge branch 'master' into nymkappa/feature/rename-mining-pool 2022-11-22 10:54:20 +09:00
wiz
adcc1ba4f0
Merge branch 'master' into fix-block-summary-vsize 2022-11-21 21:03:45 +09:00
Mononaut
373e02a5b0
Store & expose node extension TLV data in backend 2022-11-21 20:27:03 +09:00
wiz
eb03fc18ad
Merge branch 'master' into scan-for-penalty-txs 2022-11-21 19:19:22 +09:00
Mononaut
5b6f713ef3
Fetch missing block audit scores 2022-11-21 18:45:34 +09:00
Mononaut
29f7c89c53
Tweak block audit algo to reduce false positives 2022-11-21 18:43:52 +09:00
wiz
7232c4755d
Merge branch 'master' into nymkappa/bugfix/node-count 2022-11-21 18:19:53 +09:00
wiz
e051758ca7
Merge pull request #2564 from mempool/junderw/search-blocktime
[Feature] Search for block by timestamp
2022-11-21 17:45:02 +09:00
wiz
be3acf8694
Merge branch 'master' into junderw/psbt-complete-inputs 2022-11-21 17:34:26 +09:00
wiz
5957b71774
Merge branch 'master' into simon/disable-mempool-config 2022-11-21 17:23:34 +09:00
wiz
8cc252642b
Merge branch 'master' into simon/updated-mempool-debug-output 2022-11-21 17:12:07 +09:00
nymkappa
7c7273b696
Remove FTX from the price feeds 2022-11-20 19:23:51 +09:00
Mononaut
c1e741a025
Rescan unresolved LN channel force closes 2022-11-19 17:30:56 +09:00
nymkappa
d32d97fbaf
Add support for renaming a mining pool without changing regex or addresses 2022-11-09 06:43:46 +01:00
Felipe Knorr Kuhn
b069196c27
Merge branch 'master' into junderw/psbt-complete-inputs 2022-11-07 07:21:24 -08:00
Felipe Knorr Kuhn
48e2df3f7a
Merge branch 'master' into junderw/search-blocktime 2022-11-07 07:21:14 -08:00
Mononaut
9c6799e193
Fix rounded vsize in block summaries 2022-11-04 10:37:14 -06:00
Mononaut
f3eb403c17
Add match rate to block page 2022-10-28 18:49:29 -06:00
Mononaut
b6343ddc2d
Clean up block audit page & tweak color scheme 2022-10-28 18:49:28 -06:00
Mononaut
6d28259515
disable block audits unless indexing is enabled 2022-10-28 15:16:03 -06:00
Mononaut
968d7b827b
Optimize makeBlockTemplates 2022-10-27 10:25:16 -06:00
Mononaut
832ccdac46
improve audit analysis and scoring 2022-10-27 10:25:15 -06:00
Mononaut
39afa4cda1
Fix errors in block audit tx selection algorithm 2022-10-27 10:25:15 -06:00
Mononaut
702ff2796a
New projected block transaction selection algo 2022-10-27 10:25:15 -06:00
softsimon
a5c4f8e2f3
Adding migration to force rescan of closed channels 2022-10-21 23:42:37 +04:00
nymkappa
27c39ef557
Only show active nodes is isp page 2022-10-21 20:09:20 +02:00
softsimon
601a559784
Adding MEMPOOL.ENABLED config to Docker 2022-10-21 21:08:48 +04:00
softsimon
0e0ac363cf
Updating unit test 2022-10-21 21:08:48 +04:00
softsimon
b31642e554
Disable mempool config
fixes #2090
2022-10-21 21:08:48 +04:00
Mononaut
022785a555
Fix ln close classification logic 2022-10-20 17:59:36 +00:00
wiz
76764936f9
Merge branch 'master' into nymkappa/bugfix/log-counter 2022-10-17 04:25:27 +09:00
Mononaut
f4df51dd21
API method for node fee histogram data 2022-10-15 00:57:34 +00:00
nymkappa
0a4c1c24af
Fixes #2592 2022-09-30 19:10:11 +02:00
wiz
cc79b2b2a2
Merge branch 'master' into nymkappa/bugfix/incorrect-log 2022-09-25 08:03:40 +09:00
nymkappa
1ead34d42d
Show tor+clearnet node series in chart 2022-09-22 15:23:50 +02:00
junderw
5d1c5b51dd
Fix: Add hash and reverse search order 2022-09-19 16:44:53 +09:00
junderw
19467de809
Backend: Add block height from timestamp endpoint 2022-09-18 22:30:09 +09:00
softsimon
a43f0454f9
Mempool node group page 2022-09-17 11:06:49 +02:00
junderw
bd4cf980bd
Spelling fix 2022-09-10 16:09:43 +09:00
junderw
9b1fc1e000
Fix response codes for various error states 2022-09-10 16:03:31 +09:00
Felipe Knorr Kuhn
90db8c15f2
Merge branch 'master' into junderw/psbt-complete-inputs 2022-09-09 21:23:14 -07:00
wiz
0e090f940a
Merge pull request #2367 from mempool/simon/eslint-triple-equals
Tooling: Eslint force triple equals
2022-09-09 19:20:03 +02:00
wiz
b30483572d
Merge branch 'master' into nymkappa/feature/cltv 2022-09-09 18:06:44 +02:00
nymkappa
faec398cf0
Log correct maxmind mysql updates - fix stats import processed files counter 2022-09-09 14:59:49 +02:00
nymkappa
dcfcac2cc6
Show summary stats and world map in isp and country node list page 2022-09-09 14:56:18 +02:00
softsimon
249a65bb57
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
f015b165ee
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
d0b4d1da4a
Merge branch 'master' into nymkappa/feature/node-world-map 2022-09-07 15:03:46 +02:00
wiz
11d6b372ba
Merge pull request #2096 from erikarvstedt/backend-packaging
Simplify packaging for backend
2022-09-07 15:01:18 +02:00
wiz
01588305fc
Merge branch 'master' into nymkappa/bugfix/node-list-location-label 2022-09-06 22:58:59 +02:00
nymkappa
367c06dca6
Show clearnet nodes on world map 2022-09-06 19:33:07 +02:00
nymkappa
eb18625802
Only scan for closed channels when there is a new block 2022-09-06 11:42:19 +02:00
junderw
f062132636
Feature: Add endpoint for PSBT nonWitnessUtxo inclusion 2022-09-05 23:13:45 +09:00
nymkappa
5086f132f8
If a channel is closed, show closing date instead of last update 2022-09-04 19:12:01 +02:00
nymkappa
a75262d79e
Only show active channels on world map 2022-09-04 09:35:31 +02:00
nymkappa
dac3a43c1b
When using clightning, use listchannels.delay as cltv_delta 2022-09-04 09:23:49 +02:00
Erik Arvstedt
34c8ad614a
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
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
Erik Arvstedt
8f0fc3af57
backend: Add config file env var 2022-09-02 11:08:42 +02:00
nymkappa
ee23d1695d
Use shared component in node ranking list 2022-09-02 10:08:25 +02:00
Felipe Knorr Kuhn
1aad4f2926
Merge branch 'master' into simon/eslint-triple-equals 2022-09-01 22:51:07 -07:00
wiz
8a2925ab0c
Merge pull request #2474 from mempool/simon/search-results-greyed
Grey out inactive search results
2022-08-31 14:55:40 +02:00
wiz
38324575e8
Merge branch 'master' into simon/search-results-greyed 2022-08-31 14:45:04 +02:00
wiz
1a10acf8ce
Merge branch 'master' into nymkappa/bugfix/mysql-inject 2022-08-31 14:41:56 +02:00
wiz
78298d16d7
Merge branch 'master' into nymkappa/feature/closed-channels-sort 2022-08-31 14:22:25 +02:00
nymkappa
ff1aae853e
Save latest node channel update in node.updated_at field in db 2022-08-31 09:37:19 +02:00
nymkappa
08833b08a0
Fix possible mysql injectin in channels.api 2022-08-31 08:53:21 +02:00
nymkappa
434963e8a0
Sort closed channels by closing_date, updated_at 2022-08-31 07:44:18 +02:00
softsimon
c593ded864
Grey out inactive search results 2022-08-30 23:58:58 +02:00
nymkappa
c150129d74
CLN - Add brakets around ipv6 2022-08-30 20:31:04 +02:00
wiz
51d35ec7d2
Merge branch 'master' into nymkappa/bugfix/asn-mapping 2022-08-30 19:45:31 +02:00
wiz
d9320574d8
Merge branch 'master' into simon/da-api-handle-error 2022-08-30 19:35:57 +02:00
nymkappa
cd2ef20d5c
Harcode lunanode, FDCservers and cogent asn 2022-08-30 17:06:48 +02:00
wiz
af805f15c7
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
89f93d23b6
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
aec6d57fc3
When there is no stats for the past 7 days, don't show % changes 2022-08-30 09:08:34 +02:00
nymkappa
1d571c284c
Fix wrong ASN for Lunanode ip ranges 2022-08-29 23:36:18 +02:00
wiz
1a5ee32565
Merge branch 'master' into nymkappa/bugfix/historical-node-decoding 2022-08-29 23:05:30 +02:00
nymkappa
0847e15d07
Update node sockets during historical import so we don't have to truncate 2022-08-29 09:01:07 +02:00
nymkappa
f25ec08f5e
Format historical node sockets with update topology outputs 2022-08-29 08:43:26 +02:00
wiz
6d027dd7ce
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
01e745e389
Merge branch 'master' into nymkappa/feature/ln-logger-tag 2022-08-28 16:46:05 +02:00
softsimon
9c09c00fab
Updated mempool debug log 2022-08-28 15:56:57 +02:00
wiz
1cd0796428
Merge branch 'master' into nymkappa/bugfix/disable-ln-import-testsignet 2022-08-28 14:24:05 +02:00
nymkappa
a65d54c549
Update <lightning> log tag to show the network if non mainnet 2022-08-28 08:37:25 +02:00
nymkappa
35de1d4d9a
Disable LN historical import if not mainnet 2022-08-28 08:24:29 +02:00
nymkappa
6b049f2c33
Manually delete some lightning_stats rows once the topology import is completed 2022-08-28 07:59:23 +02:00
nymkappa
7ba8a3da84
Hardcode some condition to invalidate imported topology files 2022-08-28 07:59:23 +02:00
softsimon
40dc476460
Fixes multiple bugs with outspends and channels
fixes #412
2022-08-27 16:01:08 +02:00
softsimon
936921781e
Fix for difficulty adjustment throwing error before in sync 2022-08-27 10:25:24 +02:00
softsimon
d051538c6a
Fix for broken SQL to load Lightning nodes on ISP page 2022-08-27 09:54:16 +02:00
wiz
738d1f8007
Merge branch 'master' into fix/difficulty-api 2022-08-27 09:35:53 +02:00
softsimon
ba7b65a978
Fetch capacity and channels from nodes table 2022-08-26 16:35:24 +04:00
softsimon
85c428be25
Store capacity and channels in nodes table 2022-08-26 02:31:14 +04:00
wiz
686cfb6d2f
Merge branch 'master' into simon/node-alias-search-numbers 2022-08-26 00:12:15 +09:00
wiz
a9e1ce42df
Merge branch 'master' into nymkappa/bugfix/useless-mysql-query-channel-tree 2022-08-25 23:32:18 +09:00
softsimon
b6bea12bca
Numbers not included in node alias search 2022-08-25 15:14:54 +04:00
wiz
00bd61e1d3
Merge branch 'master' into fix/difficulty-api 2022-08-24 20:01:52 +09:00
nymkappa
a151a90d2f
Import historical nodes 2022-08-24 12:12:16 +02:00
nymkappa
43cc9499b1
Check query input before running the mysql query 2022-08-24 08:35:02 +02:00
nymkappa
35512bef8d
Do not fetch node stats for channel tree graph 2022-08-23 22:47:18 +02:00
wiz
23fab65216
Merge branch 'master' into nymkappa/bugfix/db-deadlock 2022-08-24 00:08:17 +09:00
wiz
a30bb4e6c0
Merge branch 'master' into nymkappa/bugfix/handle-esplora-error 2022-08-23 23:08:13 +09:00
nymkappa
7d5ed66db1
Wrap esplora call into try/catch when scanning channel forensics 2022-08-23 15:53:15 +02:00
wiz
8c885e87d4
Merge branch 'master' into nymkappa/feature/channel-tree-map 2022-08-23 22:42:32 +09:00
wiz
4f009e0320
Merge branch 'master' into nymkappa/bugfix/db-deadlock 2022-08-23 22:36:07 +09:00
softsimon
2104570889
Tooling: Eslint force triple equals 2022-08-23 17:05:23 +04:00
wiz
f24d4124fb
Merge branch 'master' into nymkappa/bugfix/cannot-update-channel-list 2022-08-23 21:32:14 +09:00
nymkappa
08b04c3264
Create active channel tree map component 2022-08-23 11:26:00 +02:00
nymkappa
b3735328b7
Await mysql queries in order to avoid deadlock 2022-08-22 22:31:21 +02:00
nymkappa
73d2930230
Fix "cannot update channel list" error 2022-08-22 22:15:15 +02:00
nymkappa
bd1d9573d6
Reduce api size for channel world map in ln dashboard - added spinner - update cache warmer 2022-08-22 21:36:02 +02:00
wiz
0b3e8c3fef
Merge branch 'master' into nymkappa/feature/update-ranking-naming 2022-08-23 04:13:35 +09:00
nymkappa
0f6aec31fd
Update node ranking naming convention
Matches ln dashboard layout with mining dashboard
2022-08-22 16:55:54 +02:00
softsimon
63404edeec
Fix for closing missing closing reason in channels list 2022-08-22 18:18:17 +04:00
wiz
4727b4bade
Merge branch 'master' into simon/node-alias-fulltext-search 2022-08-21 22:29:18 +09:00
wiz
14bf256ab8
Merge branch 'master' into nymkappa/bugfix/missing-variable-ln 2022-08-21 22:18:09 +09:00
wiz
7c25fd61da
Merge branch 'master' into nymkappa/feature/stop-updating-closed-channels 2022-08-21 22:05:52 +09:00
wiz
9fd4adecb3
Merge branch 'master' into nymkappa/bugfix/isp-chart-ids 2022-08-21 21:12:31 +09:00
wiz
8c9ac01123
Merge branch 'master' into nymkappa/feature/improve-location 2022-08-21 18:51:06 +09:00
softsimon
de3e89ac33
Node alias fulltext search
fixes #2238
2022-08-20 22:10:25 +04:00
wiz
ea931da38b
Merge branch 'master' into nymkappa/bugfix/channel-list-pagination 2022-08-20 20:19:55 +09:00
wiz
406a65cfb6
Merge pull request #2335 from mempool/nymkappa/bugfix/most-connected-node-undefined
Fix undefined public_key
2022-08-20 20:18:30 +09:00
junderw
3a4982c5e6
Refactor Difficulty API logic 2022-08-20 13:02:22 +09:00
junderw
87c9f881c0
Refactor difficulty API logic 2022-08-20 11:24:48 +09:00
junderw
d700b5f145
Fix test setup 2022-08-20 09:53:02 +09:00
junderw
1bc2c18167
Fix tests 2022-08-20 09:53:02 +09:00
junderw
a00eb2736b
Refactor Difficulty Adjustment calc + unit test it 2022-08-20 09:53:02 +09:00
junderw
772765959b
Fix Difficulty API (REST) 2022-08-20 09:53:02 +09:00
nymkappa
2435d12181
Add missing lightning configuration variables where needed 2022-08-19 22:08:36 +02:00
nymkappa
5b9b717a93
Fix LN stats importer with new data "cleanupTopology" structure 2022-08-19 18:07:26 +02:00
nymkappa
48dcf01199
If a channel is closed, stop updating it 2022-08-19 16:43:37 +02:00
nymkappa
64c07cf2d2
Fix undefined public_key 2022-08-19 16:38:16 +02:00
nymkappa
e7d99e9653
Insert channels from historical data 2022-08-19 12:34:38 +02:00
nymkappa
1ef4485a26
Use timestamp instead of date in stats table 2022-08-19 12:09:58 +02:00
wiz
c9a8b91c0b
Merge branch 'master' into nymkappa/feature/import-json-topology 2022-08-19 18:54:03 +09:00
nymkappa
298edb6430
Reverted wrong fix in 2300 2022-08-19 08:55:45 +02:00
wiz
9fca8de52f
Merge pull request #2300 from slaninas/master
Fix difficulty adjustment
2022-08-19 05:46:14 +09:00
wiz
daf3e269f4
Merge branch 'master' into nymkappa/feature/node-ranking-page 2022-08-19 03:51:55 +09:00
wiz
d2240532c1
Merge pull request #2315 from mempool/nykappa/feature/node-ranking
Refactor top nodes widgets, create related top 100 nodes pages
2022-08-19 03:51:31 +09:00
junderw
5d22023d19
Fix times
Co-authored-by: slaninas <slaninas@pm.me>
2022-08-19 01:14:54 +09:00
nymkappa
0e3e62fee8
Fix missing isp ids on isp pie chart 2022-08-18 17:15:05 +02:00
nymkappa
e437f2125d
Create geolocation component to format geolocation data 2022-08-18 17:14:09 +02:00
nymkappa
0243769a02
Improve error logging in ln import 2022-08-18 11:14:34 +02:00
nymkappa
57e0980134
Import json topology 2022-08-18 11:06:20 +02:00
nymkappa
c37b4cadb1
Wrap LN importer into try/catch 2022-08-18 07:48:58 +02:00
nymkappa
9c8fd6431e
Create node rankings page with 3 different rankings 2022-08-17 21:20:11 +02:00
wiz
b1e8d0aab6
Merge branch 'master' into nymkappa/bugfix/stats-import 2022-08-18 00:35:48 +09:00
nymkappa
6421bc82f2
Create top 100 node per channel count component 2022-08-17 16:19:01 +02:00
nymkappa
2359e44b16
Create top 100 node per capacity component 2022-08-17 16:00:30 +02:00
nymkappa
7520e3beba
Refactor top nodes widgets 2022-08-17 12:53:26 +02:00
nymkappa
44cf47b86d
Fix node channel list pagination 2022-08-17 10:23:14 +02:00
nymkappa
8dc41257ce
Remove xml parser - Read only .topology file and assume json format 2022-08-16 21:47:52 +02:00
nymkappa
a71262f538
Assume topology file are in .json - trim log 2022-08-16 19:29:00 +02:00
nymkappa
264ce1222a
Remove "invalid data skipping fix" from stats importer 2022-08-16 19:00:08 +02:00
nymkappa
82f8bf6bb4
Refactor ISP pie chart to make it more consitent 2022-08-16 18:47:45 +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
wiz
f855173b9b
Merge branch 'master' into knorrium/backend_unit_tests 2022-08-13 19:54:10 +09:00
nymkappa
ebb119aa90
Add 'websocket' type to nodes sockets 2022-08-13 11:01:46 +02:00
nymkappa
3e9543f0b6
Create and populate nodes_socket table 2022-08-13 11:01:46 +02:00
Felipe Knorr Kuhn
fad66c7266
Update tests to include the POOLS_JSON_TREE_URL and POOLS_JSON_URL fields 2022-08-12 22:53:37 -07:00
Felipe Knorr Kuhn
240394817f
Merge branch 'master' into knorrium/backend_unit_tests 2022-08-12 22:46:35 -07:00
Felipe Knorr Kuhn
d037ae2faf
Update config unit tests 2022-08-12 22:44:13 -07:00
Felipe Knorr Kuhn
53d1497ce8
Update backend config fixture to include automatic block reindexing 2022-08-12 22:44:05 -07:00
Felipe Knorr Kuhn
b7a8ac8343
Fix merge conflicts on package-lock 2022-08-12 22:37:15 -07:00
Felipe Knorr Kuhn
9a3929554b
Fix merge conflicts on gitignore 2022-08-12 22:35:50 -07:00
nymkappa
06453edc7c
Fix LN stats node per network count 2022-08-12 12:12:34 +02:00
nymkappa
7e356ef0a0
Fix recursive call in LN network updater 2022-08-11 16:51:09 +02:00
wiz
c85b6d53c5
Merge branch 'master' into nymkappa/bugfix/clightning-wrong-channel-id 2022-08-11 18:38:11 +09:00
nymkappa
1d71e26a12
Add ISP chart in the dashboard - Fix mobile layout - Start polishing 2022-08-11 10:19:13 +02:00
nymkappa
dc7231537f
Refactor channel id conversion utils 2022-08-10 16:58:29 +02:00
wiz
b0d4c9eac8
Merge branch 'master' into nymkappa/feature/channel-page-map 2022-08-10 23:10:44 +09:00
nymkappa
db41aed44b
Show channel on the map in channel page 2022-08-10 16:00:12 +02:00
wiz
8c21cc56d4
Merge branch 'master' into nymkappa/feature/config-pools-json 2022-08-10 22:40:04 +09:00
wiz
33cf69872b
Merge branch 'master' into nymkappa/bugfix/index-blocks-prices-often 2022-08-10 22:23:35 +09:00
nymkappa
48a0a6c7e3
Convert short_id to integer id with clightning backend before returning the graph 2022-08-10 15:09:34 +02:00
nymkappa
aed37afb3e
Add missing config in docker script and sample 2022-08-09 17:26:14 +02:00
nymkappa
a64cb4bbad
Make mining pools url configurable 2022-08-09 15:52:24 +02:00
nymkappa
9b974dfbd9
Add nodes.status db field to mark nodes as inactive if needed 2022-08-09 11:17:37 +02:00
nymkappa
61e512b8f7
Refactor the LN backend and add more logs 2022-08-09 11:12:05 +02:00
nymkappa
2a6f48d8c8
Handle core timeout during closed channel scan, using correct config variable 2022-08-09 11:07:13 +02:00
nymkappa
6a52725b63
Make sure we work with integer in the stats importer 2022-08-09 10:28:40 +02:00
nymkappa
abb078f7ee
Convert to short_id before fetching the funding tx 2022-08-09 09:21:31 +02:00
nymkappa
47363b477e
Refactor the LN backend and add more logs 2022-08-09 09:20:25 +02:00
wiz
c0e6b7af58
Merge pull request #2251 from mempool/nymkappa/bugfix/clightning-crash
Don't throw an exception when cln connection is down
2022-08-08 17:28:50 +09:00
wiz
771d21e410
Merge branch 'master' into nymkappa/bugfix/missing-last-data-charts 2022-08-08 15:59:34 +09:00
wiz
78d1ef9b1c
Merge branch 'master' into nymkappa/bugfix/unique-lightning-stats 2022-08-08 15:40:46 +09:00
nymkappa
1d106a9851
Fix CLN channel short_id conversion 2022-08-08 07:50:50 +02:00
nymkappa
c01c610bb3
Don't insert stats in the future 2022-08-05 12:43:26 +02:00
nymkappa
5a50a0d973
Make sure lightning stats are not duplicated in db 2022-08-05 12:32:20 +02:00
wiz
f7cbe30a16
Merge branch 'master' into nymkappa/bugfix/missing-data-node-page 2022-08-05 07:55:11 +00:00
nymkappa
54669281de
Run node stats every 10 minutes, only keep the latest entry per day 2022-08-04 18:27:36 +02:00
nymkappa
d647edcae3
Re-applied missing fix from https://github.com/mempool/mempool/pull/2233 2022-08-04 17:50:49 +02:00
nymkappa
f6d6ea5d31
Gracefully attempt to reconnect to cln upon error 2022-08-04 13:05:15 +02:00
nymkappa
3c2e27f778
Fix node page and display real time data 2022-08-04 11:30:32 +02:00
nymkappa
99379d53bf
When LN backend crashed, catch the error and restart after 1 minute 2022-08-03 12:43:41 +02:00
nymkappa
6be2985b40
Fix daily LN stats crash 2022-08-03 12:13:55 +02:00
wiz
76600af698
Merge branch 'master' into nymkappa/bugfix/top-nodes-queries 2022-08-02 23:53:03 +00:00
wiz
215df5efed
Merge branch 'master' into nymkappa/feature/clightning 2022-08-02 22:57:25 +00:00
wiz
33f3b0006b
Move fast-xml-parser from devDeps to deps 2022-08-02 21:49:53 +02:00
nymkappa
a25af16f7c
Fetch funding tx for clightning channels 2022-08-02 18:34:20 +02:00
nymkappa
00cd3ee9bf
Don't run the ln network update if the graph is emtpy 2022-08-02 18:34:19 +02:00
nymkappa
80f1ee45b5
Rebased using the update lightning interfaces 2022-08-02 18:34:19 +02:00
nymkappa
eb90434c28
Delete historical generation code 2022-08-02 18:34:19 +02:00
nymkappa
a94403b3a1
Wrote some utility functions to convert clightning output to our db schema 2022-08-02 18:34:19 +02:00
nymkappa
3f83e517f0
Create CLightningClient class 2022-08-02 18:34:18 +02:00
nymkappa
82cef095fc
Rewrite queries to get top nodes by channels and capacity 2022-08-02 18:26:07 +02:00
nymkappa
b6ba3c5781
Ignore channels fee rate > 5000ppm or base fee > 5000 in stats 2022-08-02 18:15:34 +02:00
nymkappa
5b521cfc7c
Don't insert gapped gossip data upon restart 2022-08-02 17:56:46 +02:00
nymkappa
d7f2f4136c
Small cleanup 2022-08-02 16:00:40 +02:00
nymkappa
5d7e42195f
Reduce massive gaps in the imported historical LN data 2022-08-02 16:00:40 +02:00
nymkappa
7fdf95ad34
Remove buggy tx vout value fetching and improve performances 2022-08-02 16:00:40 +02:00
nymkappa
5287490894
Make sure to not count channels twice 2022-08-02 16:00:40 +02:00
nymkappa
b246c6f4c3
We don't need a synced node to import historical data 2022-08-02 16:00:39 +02:00
nymkappa
2daf94f65a
Re-use LN stats importer code to log daily LN stats 2022-08-02 16:00:39 +02:00
nymkappa
91ada9ce75
Integrate LN stats importer into the main process 2022-08-02 16:00:39 +02:00
nymkappa
4ea1e98547
Import LN historical statistics (network wide + per node) 2022-08-02 16:00:38 +02:00
nymkappa
4335ee8157
Set default values when pubkey, capacity and channels are missing from top nodes 2022-08-01 18:41:31 +02:00