From d1209ea1fe772493020ef8d9ad1add3e1d2d39c1 Mon Sep 17 00:00:00 2001 From: Felipe Knorr Kuhn Date: Sat, 3 Jan 2026 16:02:55 -0800 Subject: [PATCH 1/4] Fix the lightning node rankings dashboard --- .../nodes-rankings-dashboard.component.html | 4 ++-- .../nodes-rankings-dashboard.component.ts | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/frontend/src/app/lightning/nodes-rankings-dashboard/nodes-rankings-dashboard.component.html b/frontend/src/app/lightning/nodes-rankings-dashboard/nodes-rankings-dashboard.component.html index 11fb9227c..9f12b9c99 100644 --- a/frontend/src/app/lightning/nodes-rankings-dashboard/nodes-rankings-dashboard.component.html +++ b/frontend/src/app/lightning/nodes-rankings-dashboard/nodes-rankings-dashboard.component.html @@ -10,7 +10,7 @@ - + @@ -24,7 +24,7 @@ - + diff --git a/frontend/src/app/lightning/nodes-rankings-dashboard/nodes-rankings-dashboard.component.ts b/frontend/src/app/lightning/nodes-rankings-dashboard/nodes-rankings-dashboard.component.ts index 2e7ced4f7..0de18e9c7 100644 --- a/frontend/src/app/lightning/nodes-rankings-dashboard/nodes-rankings-dashboard.component.ts +++ b/frontend/src/app/lightning/nodes-rankings-dashboard/nodes-rankings-dashboard.component.ts @@ -1,6 +1,6 @@ import { ChangeDetectionStrategy, Component, OnInit } from '@angular/core'; import { Observable, share } from 'rxjs'; -import { INodesRanking } from '@interfaces/node-api.interface'; +import { INodesRanking, INodesStatistics } from '@interfaces/node-api.interface'; import { SeoService } from '@app/services/seo.service'; import { LightningApiService } from '@app/lightning/lightning-api.service'; @@ -13,6 +13,7 @@ import { LightningApiService } from '@app/lightning/lightning-api.service'; }) export class NodesRankingsDashboard implements OnInit { nodesRanking$: Observable; + statistics$: Observable; constructor( private lightningApiService: LightningApiService, @@ -23,5 +24,6 @@ export class NodesRankingsDashboard implements OnInit { this.seoService.setTitle($localize`Top lightning nodes`); this.seoService.setDescription($localize`:@@meta.description.lightning.rankings-dashboard:See the top Lightning network nodes ranked by liquidity, connectivity, and age.`); this.nodesRanking$ = this.lightningApiService.getNodesRanking$().pipe(share()); + this.statistics$ = this.lightningApiService.getLatestStatistics$().pipe(share()); } } From 4d10a476f10d515271f5aa688515b6b4f5696985 Mon Sep 17 00:00:00 2001 From: natsoni Date: Fri, 13 Feb 2026 11:08:15 +0100 Subject: [PATCH 2/4] Trigger hashrate weekly reindexing when mining pools are updated --- backend/src/api/mining/mining.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/src/api/mining/mining.ts b/backend/src/api/mining/mining.ts index 386f22c17..d3fadbcce 100644 --- a/backend/src/api/mining/mining.ts +++ b/backend/src/api/mining/mining.ts @@ -218,7 +218,7 @@ class Mining { const now = new Date(); // Run only if: - // * this.lastWeeklyHashrateIndexingDate is set to null (node backend restart, reorg) + // * this.lastWeeklyHashrateIndexingDate is set to null (node backend restart, reorg, or re-indexing was requested after mining pools update) // * we started a new week (around Monday midnight) const runIndexing = this.lastWeeklyHashrateIndexingDate === null || now.getUTCDay() === 1 && this.lastWeeklyHashrateIndexingDate !== now.getUTCDate(); @@ -334,6 +334,7 @@ class Mining { logger.notice(`hashrates will now be re-indexed`); await database.query(`TRUNCATE hashrates`); this.lastHashrateIndexingDate = 0; + this.lastWeeklyHashrateIndexingDate = null; this.reindexHashrateRequested = false; } From 134df3724bc775b4e365ea9d4df8d15f4c2052d6 Mon Sep 17 00:00:00 2001 From: Levi_PM241595 <151584999+most-improve123@users.noreply.github.com> Date: Sat, 14 Feb 2026 08:51:33 -0600 Subject: [PATCH 3/4] feat: improve UX by changing cursor to grab on blockchain wrapper --- .../components/blockchain/blockchain.component.scss | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/frontend/src/app/components/blockchain/blockchain.component.scss b/frontend/src/app/components/blockchain/blockchain.component.scss index 32225598a..701e44673 100644 --- a/frontend/src/app/components/blockchain/blockchain.component.scss +++ b/frontend/src/app/components/blockchain/blockchain.component.scss @@ -113,4 +113,12 @@ .blockchain-wrapper .blocks-wrapper { direction: rtl; } -} \ No newline at end of file +} +.blockchain-wrapper { + cursor: grab; +} + +.blockchain-wrapper:active { + cursor: grabbing; +} + From d9ae3d9c1bbd38f51d13c1001d8d035bcbbccb1f Mon Sep 17 00:00:00 2001 From: most-improve123 Date: Sun, 15 Feb 2026 20:41:14 -0600 Subject: [PATCH 4/4] Add CLA acceptance for most-improve123 --- contributors/most-improve123.txt | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 contributors/most-improve123.txt diff --git a/contributors/most-improve123.txt b/contributors/most-improve123.txt new file mode 100644 index 000000000..1fa329369 --- /dev/null +++ b/contributors/most-improve123.txt @@ -0,0 +1,3 @@ +I hereby accept the terms of the Contributor License Agreement in the CONTRIBUTING.md file of the mempool/mempool git repository as of January 25, 2022. + +Signed: most-improve123