Skip to content
This repository was archived by the owner on Feb 23, 2023. It is now read-only.

Commit 4428657

Browse files
authored
Fix links to XDR Spec in Core (#679)
1 parent 3f3f19f commit 4428657

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

content/docs/glossary/ledger.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Every ledger header has the following fields:
6060

6161
## Ledger Entries
6262

63-
The ledger is a collection of **entries**. Currently there are 4 types of ledger entries. They're specified in [`src/xdr/Stellar-ledger-entries.x`](https://github.com/stellar/stellar-core/blob/master/src/xdr/Stellar-ledger-entries.x).
63+
The ledger is a collection of **entries**. Currently there are 4 types of ledger entries. They're specified in [`src/protocol-curr/xdr/Stellar-ledger-entries.x`](https://github.com/stellar/stellar-core/blob/master/src/protocol-curr/xdr/Stellar-ledger-entries.x).
6464

6565
### Account entry
6666

content/docs/glossary/miscellaneous-core-objects.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ order:
55

66
## LedgerKey
77

8-
LedgerKey holds information to identify a specific ledgerEntry. It is a union that can be any one of the LedgerEntryTypes (ACCOUNT, TRUSTLINE, OFFER, DATA, or CLAIMABLE_BALANCE). Search for LedgerKey in [stellar-ledger-entries.x](https://github.com/stellar/stellar-core/blob/master/src/xdr/Stellar-ledger-entries.x) for more information.
8+
LedgerKey holds information to identify a specific ledgerEntry. It is a union that can be any one of the LedgerEntryTypes (ACCOUNT, TRUSTLINE, OFFER, DATA, or CLAIMABLE_BALANCE). Search for LedgerKey in [stellar-ledger-entries.x](https://github.com/stellar/stellar-core/blob/master/src/protocol-curr/xdr/Stellar-ledger-entries.x) for more information.
99

1010
## OperationID
1111

12-
OperationID is a union with one possible type (ENVELOPE_TYPE_OP_ID). It contains the transaction source account, sequence number, and the operation index of the CreateClaimableBalance operation in the transaction. Search for OperationID in [stellar-transactions.x](https://github.com/stellar/stellar-core/blob/master/src/xdr/Stellar-transaction.x) for more information.
12+
OperationID is a union with one possible type (ENVELOPE_TYPE_OP_ID). It contains the transaction source account, sequence number, and the operation index of the CreateClaimableBalance operation in the transaction. Search for OperationID in [stellar-transactions.x](https://github.com/stellar/stellar-core/blob/master/src/protocol-curr/xdr/Stellar-transaction.x) for more information.
1313

1414
## ClaimableBalanceID
1515

content/docs/glossary/xdr.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ Since XDR is a binary format and not as widely known as simpler formats like JSO
1717

1818
In addition, the Horizon API server generally exposes the most important parts of the XDR data in JSON, so they are easier to parse if you are not using an SDK. The XDR data is still included (encoded as a base64 string) inside the JSON in case you need direct access to it. .X files
1919

20-
Data structures in XDR are specified in an _interface definition file_ (IDL). The IDL files used for the Stellar Network are available [on GitHub](https://github.com/stellar/stellar-core/tree/master/src/xdr).
20+
Data structures in XDR are specified in an _interface definition file_ (IDL). The IDL files used for the Stellar Network are available [on GitHub](https://github.com/stellar/stellar-core/tree/master/src/protocol-curr/xdr).

content/docs/start/list-of-operations.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This is the canonical list of Stellar operations, which lists every Stellar oper
1010

1111
For a description of how operations work in Stellar, see [Operations](../glossary/operations.mdx).
1212

13-
For the protocol specification, see [stellar-transaction.x](https://github.com/stellar/stellar-core/blob/master/src/xdr/Stellar-transaction.x).
13+
For the protocol specification, see [stellar-transaction.x](https://github.com/stellar/stellar-core/blob/master/src/protocol-curr/xdr/Stellar-transaction.x).
1414

1515
- [Create Account](#create-account)
1616
- [Payment](#payment)

0 commit comments

Comments
 (0)