> [!NOTE]

Aperta
#5,437 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
12/100
Tipo di issue
Refactoring
Chiarezza
Da chiarire
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
backend

Direzione di ricerca

This is an auto-generated Copilot review pasted from mempool/mempool PR #6937, not a request in the facebook/relay Rust repo. The files it mentions are backend/src/repositories/TransactionRepository.ts, backend/src/api/common.ts and backend/src/api/mempool-blocks.ts in that project. Check whether the removed $setCluster, $batchSetCluster, Common.median, Common.percentile and Common.getFeesInRange still have callers. Done means the reviewer's concern about the public API removal is answered in the PR or the issue is closed.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

[!NOTE]
Copilot was unable to run its full agentic suite in this review.

Copilot review overview

2 open issues
What changed in this PR

Removes previously available DB write helpers for CPFP cluster persistence and deletes fee-statistics helper utilities, with a small cleanup in the mempool blocks response construction.

Changes:

  • Removed $setCluster and $batchSetCluster from TransactionRepository
  • Removed Common.median, Common.percentile, and Common.getFeesInRange
  • Cleaned up inline commented-out expressions for medianFee / feeRange assignment in mempool-blocks
File Description
backend/​src/​repositories/​TransactionRepository.ts Removes CPFP cluster persistence methods from the repository API.
backend/​src/​api/​mempool-blocks.ts Removes stale commented-out fee calculation references in the block summary object.
backend/​src/​api/​common.ts Removes exported fee-statistics helper functions from Common.

Review effort: Lite

Originally posted by @copilot-pull-request-reviewer in https://github.com/mempool/mempool/pull/6937#pullrequestreview-5821953539

Lingua principale
Rust
Stelle
19k
Fork
1.9k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di facebook/relay

Tutte le issue di facebook/relay

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.