Commit Graph

1146 Commits

Author SHA1 Message Date
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
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