Skip to content

Commit

Permalink
Update DEVELOPER_GUIDE.md
Browse files Browse the repository at this point in the history
  • Loading branch information
urvisavla committed Jun 27, 2024
1 parent b99ec05 commit bf2c976
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion exp/services/ledgerexporter/DEVELOPER_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ To achieve its goals, the ledger exporter uses the following architecture, which
- Export manager to bundles and organizes the ledgers to get them ready for export
- The cloud storage plugin writes to the cloud storage. This is specific to the type of cloud storage, GCS in this case.

[Insert Architecture diagram here]

![ledgerexporter-architecture](https://github.com/urvisavla/go/assets/30014929/8fcc4733-6e35-4de7-ad06-0a27515364cd)


## Data Format
- Ledger exporter uses a compact and efficient data format called XDR (External Data Representation), which is a compact binary format. The captive-core emits data in this format and the data structure is referred to as `LedgerCloseMeta`. The exporter bundle multiple LedgerCloseMeta's into a single object using a custom XDR struct called LedgerCloseMetaBatch which is defined in [Stellar-exporter.x](https://github.com/stellar/go/blob/master/xdr/Stellar-exporter.x).
Expand Down

0 comments on commit bf2c976

Please sign in to comment.