Skip to content

fix: correct CTID Network ID character range in quickstart - #667

Open
praveenpretto-cloud wants to merge 1 commit into
XRPLF:masterfrom
praveenpretto-cloud:fix-ctid-quickstart-network-id-range
Open

praveenpretto-cloud wants to merge 1 commit into
XRPLF:masterfrom
praveenpretto-cloud:fix-ctid-quickstart-network-id-range

Conversation

@praveenpretto-cloud

Copy link
Copy Markdown

High Level Overview of Change

Correct the Network ID character offset from 12-16 to 12-15 in
XLS-0037-concise-transaction-identifier-ctid/QUICKSTART.md.

Context of Change

CTIDs contain 16 hexadecimal characters with zero-based indices 0 through
15. The four-character Network ID field occupies indices 12-15, so the
quickstart's 12-16 range is incorrect.

This correction matches the format table in the CTID README.
This is a documentation-only change; no code or protocol behavior changes.

Type of Change

  • Documentation (README updates, typo fixes)

Verification

  • Confirmed the format CXXXXXXXYYYYZZZZ contains 16 characters.

  • Compared the Network ID range with the CTID README, which says 12-15.

  • Ran node ctid.js locally and received:

    Running test cases...
    Done.
    

Co-authored-by: Cursor <cursoragent@cursor.com>

Copilot AI 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.

🟢 Approval recommended

The corrected range accurately identifies the four-character field, with no unresolved issues.

No open issues 🎉

What changed in this PR

Corrects the CTID quickstart’s Network ID character range to match the 16-character identifier format.

Changes:

  • Changes the range from 12-16 to 12-15; no code or protocol behavior changes.
File Description
XLS-0037-concise-transaction-identifier-ctid/​QUICKSTART.md Corrects the Network ID’s final character index.

Review effort: Balanced

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants