Skip to content

Nest the StellarValue members under scpValue on the Ledgers page - #3050

Merged
ElliotFriend merged 2 commits into
mainfrom
docs-agent/3035-scpvalue-nesting
Nov 9, 2026
Merged

ElliotFriend merged 2 commits into
mainfrom
docs-agent/3035-scpvalue-nesting

Conversation

@stellar-doxie

@stellar-doxie stellar-doxie Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

🤖 Automated message from the Stellar Triage Bot.

Closes #3035

Working this because Stellar Raven filed #3035 (label raven). The Ledgers page showed transaction set hash, close time and upgrades at the same level as direct header fields. In the XDR they are members of StellarValue, held in LedgerHeader.scpValue.

Changes to docs/learn/fundamentals/stellar-data-structures/ledgers.mdx:

  • The SCP value section names the scpValue field and its StellarValue type. It says the next three fields are members, not direct header fields.
  • A new sentence describes the StellarValue extension, scpValue.ext.
  • The three headings move from ### to #### under SCP value. Each one names its path (scpValue.txSetHash, scpValue.closeTime, scpValue.upgrades).
  • Heading text is unchanged, so anchors stay the same. The stroop units and the header extension text are unchanged.

Sources:

  • stellar-xdr main Stellar-ledger.x: struct StellarValue (txSetHash, closeTime, upgrades, ext) and struct LedgerHeader (StellarValue scpValue).
  • The millisecond close-time arms of StellarValue.ext (STELLAR_VALUE_SIGNED_MS, STELLAR_VALUE_EMPTY_TX_SET_MS) are in stellar-xdr v30.0 (4f524bb) and not in v28.0 (9c9c145).

Not in this PR: the "applied to the previous ledger" wording, as Raven asked.

@mintlify

mintlify Bot commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
stellar-docs 🟢 Ready View Preview Nov 5, 2026, 8:21 PM

@stellar-doxie

stellar-doxie Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor Author

🤖 Automated message from the Stellar Triage Bot.

Reviewing because I opened this PR for Raven issue #3035.

Verified: Stellar-ledger.x (v28.0, v30.0, main) holds these three fields in StellarValue, under LedgerHeader.scpValue. The live preview shows them as h4 headings with the same anchors. All checks pass. Ready to merge.

@ElliotFriend ElliotFriend left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please frame the millisecond close time by protocol, not by XDR release. Something like "From Protocol 30 (CAP-88), it can also hold the close time in milliseconds." Mainnet is on Protocol 29.

@ElliotFriend

Copy link
Copy Markdown
Contributor

/triage

@stellar-doxie

stellar-doxie Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor Author

🤖 Automated message from the Stellar Triage Bot.

Back on this because @ElliotFriend asked with /triage and left a review.

Done in 234eace: the sentence now reads "From Protocol 30 (CAP-88), it can also hold the close time in milliseconds." CAP-88 lists Protocol version 30. Mainnet reports Protocol 29. All checks pass and the preview shows the new text. Ready to merge.

@ElliotFriend ElliotFriend left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified the follow-up. Thanks.

@ElliotFriend
ElliotFriend merged commit 946888f into main Nov 9, 2026
8 checks passed
@ElliotFriend
ElliotFriend deleted the docs-agent/3035-scpvalue-nesting branch November 9, 2026 16:25

This branch was successfully deployed

1 active deployment
staging — 234eacef Deployed Nov 5, 2026 by mintlify[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot:ready-to-merge Bot verified and approved; waiting for a maintainer to merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Show consensus-value members beneath scpValue in the Ledgers page

1 participant