Correct ledger-header fee units and document its extension member
I maintainer di solito rispondono entro 1 giorno
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 62/100
- Tipo di issue
- Documentazione
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- markdown
- Ambito
- documentation
Direzione di ricerca
Inizia da docs/learn/fundamentals/stellar-data-structures/ledgers.mdx: la sezione sul fee pool (intorno alla riga 110) indica erroneamente lumen. Controlla le definizioni di feePool, totalCoins, baseReserve e ext in Stellar-ledger.x, a cui rimanda l'issue. È completato quando feePool, totalCoins e baseReserve grezzi sono indicati in stroop, la conversione in XLM è spiegata e l'unione ext è descritta nell'elenco dei campi.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
[!NOTE]
Automated notice: Stellar Raven filed this issue from its automated evaluation pipeline. The issue includes evidence and a public source record. Please verify the live surface before you act.
Finding
The Ledgers page says the ledger-header fee pool uses lumens rather than stroops.
The XDR field feePool holds an integer amount in stroops.
The page's ledger-header field list also omits the direct ext member.
Readers can apply the wrong conversion or construct an incomplete field list.
The adjacent totalCoins field also holds stroops, although the page describes a total number of lumens.
The page should distinguish stored units from amounts displayed in XLM.
Evidence
On 2026-10-09, the published fee-pool section explicitly specifies lumens.
The source page has the same claim.
Its field list ends at Skip list without describing ext.
The XDR definition defines feePool, totalCoins, and the direct ext union.
The union has discriminants 0 and 1.
The 1 arm holds LedgerHeaderExtensionV1.
The totalCoins comment explicitly specifies stroops and 10,000,000 stroops per XLM.
Core fee processing subtracts the integer fee from account balance.
It adds that same integer to header.current().feePool without a lumen conversion.
A public Horizon ledger read returned ledger 64853885.
Its XDR feePool was 108008397804790.
Its displayed fee_pool was 10800839.7804790 XLM.
Its XDR totalCoins was 1054439020873472865.
Its displayed total_coins was 105443902087.3472865 XLM.
Both pairs use the 10,000,000 conversion factor.
The decoded header also has ext with discriminant 0.
The source scan found this explicit denomination error only on the ledger page.
The separate lumen-supply page describes displayed Dashboard and Horizon values.
Those displayed values use XLM and do not contradict the raw XDR units.
The observed source commits do not identify when the error began.
Additional recorded evidence:
- 2026-10-09 live ledger page and source at 2efd1d55840eb780f4b311c313e35d34fedf2f63; https://raw.githubusercontent.com/stellar/stellar-docs/2efd1d55840eb780f4b311c313e35d34fedf2f63/docs/learn/fundamentals/stellar-data-structures/ledgers.mdx
- 2026-10-09 Stellar-ledger.x at 4f524bbac80c781c06e4fb5fc93a2d0d331d6705; https://raw.githubusercontent.com/stellar/stellar-xdr/4f524bbac80c781c06e4fb5fc93a2d0d331d6705/Stellar-ledger.x
- 2026-10-09 TransactionFrame.cpp at ba6a4e6e322a8069b85bdf48a35d971a2d72cc81; https://raw.githubusercontent.com/stellar/stellar-core/ba6a4e6e322a8069b85bdf48a35d971a2d72cc81/src/transactions/TransactionFrame.cpp
- 2026-10-09 public ledger 64853885 header_xdr and fee_pool; https://horizon.stellar.org/ledgers/64853885
Recommendation
State that raw feePool and totalCoins use stroops.
Explain the conversion to XLM for displayed supply values.
State the raw baseReserve units with the adjacent reserve description.
Add the direct ext union to the field list.
Describe its discriminant and the versioned extension payload.
Keep transaction-set hash, close time, and upgrades under the nested StellarValue scope.
The current SCP-value paragraph already explains that nesting.
Source Record
Raven recorded this finding as sd-056 (stellar-docs, discovered 2026-10-09).
Public source record: improvements/stellar-docs/sd-056-ledger-header-fee-units-and-extension.md
Immutable source snapshot: 6f2ddd72b3a2
Resolution Handoff
When you deploy a fix, link the resolving issue or pull request to the source record.
Then notify Raven through:
Include the finding ID and the resolving issue or pull request.
Include the deployed version or timestamp. Include the smallest live recheck.
Raven verifies the live surface before it sets the finding to fixed-upstream.
An issue closure or merged pull request does not prove the fix.
A separate reviewer repeats the live check before Raven retires the active finding.
Raven keeps a commit-pinned snapshot when one is available.
- Lingua principale
- MDX
- Stelle
- 144
- Fork
- 322
- Merge medio
- 2g 2h
- PR unite (30g)
- 28
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di stellar/stellar-docs
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 68/100
stellar/stellar-docs#2921 ·
I maintainer di solito rispondono entro 1 giorno
-
Update the fee-payer signing example to use SDK 17 XDR fieldsForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertaraven
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
stellar/stellar-docs#2909 ·
I maintainer di solito rispondono entro 1 giorno
-
Label the Circle USDC issuer example as Stellar Testnet in the Anchor admin guideForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertaraven
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
stellar/stellar-docs#2908 ·
I maintainer di solito rispondono entro 1 giorno
-
Update the ledger cadence on the Stellar Stack and Validators pages from 5-7 seconds to about 5 secondsForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertabot:take raven
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
stellar/stellar-docs#2889 ·
I maintainer di solito rispondono entro 1 giorno
-
Document how a dApp detects a wallet's in-app browser and connects directlyForse di nuovo libera @legend4tech l’ha presa 23 giorni fa e non c’è nessuna pull request aperta. Apertadocumentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
stellar/stellar-docs#2875 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di stellar/stellar-docs
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
theforeman/foreman-documentation#5529 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 88/100
fossasia/visdom-dev#69 ·
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 74/100
-
sync-en
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
sync-en
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 2 giorni