Public all-wallet balance export (unblocks rustchain-bounties#1113 distribution analysis)

Aperta
#8,359 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 10 giorni

@tariqtharwat-OPS ci sta già lavorando.

Dal 20/9/2026.

  • #24 di @satoshinakamoto666666 — aperta
  • #8487 di @tariqtharwat-OPS — aperta
  • #8684 di @satoshinakamoto666666 — chiusa senza merge

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python
Ambito
api

Direzione di ricerca

An open linked pull request (#8487) already targets this issue, so check its scope before considering any work. The issue names the proposed GET /api/balances/export endpoint and the required fields, pagination, rate limiting, caching, and explorer documentation, but not the node files or tests to start from. Follow the existing balance and /api/miners implementation and its tests; done means a tested, documented export of all wallet balances with the specified fields.

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

Descrizione

Gap, confirmed 2026-09-05. rustchain-bounties#1113 asks contributors to compute Gini, top non-founder holders, and a distribution chart from "all wallet balances via the explorer API". No such public endpoint exists. /api/miners returns active miners only, so any distribution statistic built from it is wrong by construction. A contributor (@prins1bap-ui) noticed this and asked before building; others may already have submitted numbers derived from the wrong population.

Proposal. Add a read-only, paginated GET /api/balances/export (or a nightly static JSON at /exports/balances-YYYY-MM-DD.json) on the primary node:

  • fields: wallet, balance_rtc, is_founder (the four founder_* wallets), kind (native/hosted_handle/bcn), last_activity
  • excludes nothing (transparency), rate-limited, cached per epoch
  • documented in the explorer

Until this exists: #1113 should carry a note telling contributors not to build against /api/miners. I will add that note on the bounty.

Reward suggestion for the implementer: 25 RTC (touches the node, needs a test, no consensus impact).

Lingua principale
Python
Stelle
850
Fork
589
Merge medio
11g 7h
PR unite (30g)
29

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 Scottcjn/Rustchain

Tutte le issue di Scottcjn/Rustchain

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.