Skip to content

Proposed page for "Build your own indexer": what stellar-core validates, and what an indexer has to check itself #3165

Open

Description

@mohamedbasuony

The "Build your own" indexer section explains how to read ledger data, but not which properties of that data stellar-core guarantees. Several indexer bugs this year came from assuming a guarantee that is not there: a signed-payload signer where an account was expected (stellar/wallet-backend#729), muxed and signed-payload addresses cut to the wrong length (stellar/wallet-backend#716).

I have a draft page for that section:

  1. Field by field, what stellar-core validates in a transaction and what it passes through untouched (signatures, sequence numbers, fees, time bounds, memos, muxed accounts, asset codes, contract values).
  2. Depth and size limits for recursive values.
  3. Taking a transaction's participants from the ledger meta, not from the envelope.
  4. Muxed and signed-payload addresses, with SEP-23.
  5. A 26-item checklist.

Every statement in the first table that a transaction can test was submitted to a local stellar-core 30.0.0 and the answer recorded (50 probes, rerun in CI). Eleven statements rest on a citation of stellar-core's source only; they are listed separately so a reviewer can start with them.

I have not run mint validate or the link check on it yet.

Two questions before I open a pull request:

  1. Is a page like this wanted under docs/data/indexers/build-your-own/, or somewhere else, or not at all?
  2. It should not be published before someone who knows stellar-core's transaction validation has read it, and it opens with a "Draft, not reviewed" warning until then. Who is the right person to ask?

For context, the page was written for the SCF RFP "XDR/CAP-Coverage Audit Tool and Indexer-Hardening Guide", which asks for a guide ready for developers.stellar.org and gates its publication on that review.

Activity

  1. stellar-doxie commented on Nov 17, 2026

    @stellar-doxie
    Contributor

    🤖 Automated message from the Stellar Triage Bot.

    I saw this issue. Nobody with permission has called me in, so I take no action on it. A maintainer can call me in.

    How to reach me:

    • Anyone with write permission can call me in. Comment /triage, add the bot:take label, or assign @kaankacar, @ElliotFriend or @wmendes.
    • The issue author can send me away with /triage stop.
    • People with write permission can also add the bot:hands-off label.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    • Status
      No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions