Directories
¶
| Path | Synopsis |
|---|---|
|
Package amendment implements the XRPL amendment system for managing protocol feature activation.
|
Package amendment implements the XRPL amendment system for managing protocol feature activation. |
|
cmd
|
|
|
xrpld
command
|
|
|
codec
|
|
|
addresscodec
Package addresscodec provides base58 encoding and decoding functionality for XRPL addresses and keys.
|
Package addresscodec provides base58 encoding and decoding functionality for XRPL addresses and keys. |
|
binarycodec
Package binarycodec implements binary serialization and deserialization of XRPL objects using the canonical field ordering defined by the XRPL protocol.
|
Package binarycodec implements binary serialization and deserialization of XRPL objects using the canonical field ordering defined by the XRPL protocol. |
|
binarycodec/definitions
Package definitions contains XRPL binary codec field and type definitions.
|
Package definitions contains XRPL binary codec field and type definitions. |
|
binarycodec/serdes
Package serdes provides utilities to parse and serialize XRPL binary data fields.
|
Package serdes provides utilities to parse and serialize XRPL binary data fields. |
|
binarycodec/serdes/interfaces
Package interfaces defines interfaces for binary serialization and deserialization of XRPL fields.
|
Package interfaces defines interfaces for binary serialization and deserialization of XRPL fields. |
|
binarycodec/serdes/testutil
Package testutil is a generated GoMock package.
|
Package testutil is a generated GoMock package. |
|
binarycodec/types
Package types contains data structures for binary codec operations.
|
Package types contains data structures for binary codec operations. |
|
binarycodec/types/interfaces
Package interfaces defines the BinaryParser interface for binary codec parsing operations.
|
Package interfaces defines the BinaryParser interface for binary codec parsing operations. |
|
binarycodec/types/testutil
Package testutil is a generated GoMock package.
|
Package testutil is a generated GoMock package. |
|
Package crypto provides cryptographic operations for the XRPL protocol.
|
Package crypto provides cryptographic operations for the XRPL protocol. |
|
rfc1751
Package rfc1751 implements RFC 1751 (S/KEY) encoding/decoding of binary data as human-readable English words.
|
Package rfc1751 implements RFC 1751 (S/KEY) encoding/decoding of binary data as human-readable English words. |
|
Package drops provides type-safe XRP amount arithmetic using uint64 drops.
|
Package drops provides type-safe XRP amount arithmetic using uint64 drops. |
|
internal
|
|
|
consensus
Package consensus defines the interface and types for XRPL consensus algorithms.
|
Package consensus defines the interface and types for XRPL consensus algorithms. |
|
consensus/adaptor
Package adaptor provides the concrete implementation of the consensus.Adaptor interface, bridging the consensus engine to the ledger service, P2P overlay, and transaction queue.
|
Package adaptor provides the concrete implementation of the consensus.Adaptor interface, bridging the consensus engine to the ledger service, P2P overlay, and transaction queue. |
|
consensus/amendmentvote
Package amendmentvote ports rippled's AmendmentTableImpl::doVoting (src/xrpld/app/misc/detail/AmendmentTable.cpp:847-941) — the producer side that decides whether to inject EnableAmendment pseudo-txs into the consensus tx set on a flag-ledger boundary.
|
Package amendmentvote ports rippled's AmendmentTableImpl::doVoting (src/xrpld/app/misc/detail/AmendmentTable.cpp:847-941) — the producer side that decides whether to inject EnableAmendment pseudo-txs into the consensus tx set on a flag-ledger boundary. |
|
consensus/archive
Package archive persists stale validations to the relational DB via a batched async writer hooked into ValidationTracker.SetOnStale.
|
Package archive persists stale validations to the relational DB via a batched async writer hooked into ValidationTracker.SetOnStale. |
|
consensus/csf
Package csf provides a Consensus Simulation Framework for testing consensus algorithms.
|
Package csf provides a Consensus Simulation Framework for testing consensus algorithms. |
|
consensus/feevote
Package feevote ports rippled's FeeVoteImpl (src/xrpld/app/misc/FeeVoteImpl.cpp) — the producer side that decides whether to inject a SetFee pseudo-tx into the consensus tx set on a flag-ledger boundary, based on trusted validators' fee votes from the prior voting ledger.
|
Package feevote ports rippled's FeeVoteImpl (src/xrpld/app/misc/FeeVoteImpl.cpp) — the producer side that decides whether to inject a SetFee pseudo-tx into the consensus tx set on a flag-ledger boundary, based on trusted validators' fee votes from the prior voting ledger. |
|
consensus/ledgertrie
Package ledgertrie ports rippled's LedgerTrie<Ledger> (src/xrpld/consensus/LedgerTrie.h): branchSupport-based preferred- ledger selection over a compressed ancestry trie.
|
Package ledgertrie ports rippled's LedgerTrie<Ledger> (src/xrpld/consensus/LedgerTrie.h): branchSupport-based preferred- ledger selection over a compressed ancestry trie. |
|
consensus/negativeunlvote
Package negativeunlvote ports rippled's NegativeUNLVote (src/xrpld/app/misc/NegativeUNLVote.{h,cpp}) — the producer side that decides whether to inject a UNLModify pseudo-tx into the consensus tx set on a flag-ledger boundary, based on per-validator participation in the last FlagLedgerInterval ledgers.
|
Package negativeunlvote ports rippled's NegativeUNLVote (src/xrpld/app/misc/NegativeUNLVote.{h,cpp}) — the producer side that decides whether to inject a UNLModify pseudo-tx into the consensus tx set on a flag-ledger boundary, based on per-validator participation in the last FlagLedgerInterval ledgers. |
|
consensus/rcl
Package rcl implements the Ripple Consensus Ledger algorithm.
|
Package rcl implements the Ripple Consensus Ledger algorithm. |
|
ledger/inbound
Package inbound provides lightweight ledger acquisition from peers.
|
Package inbound provides lightweight ledger acquisition from peers. |
|
ledger/inbound/inboundtest
Package inboundtest provides shared test utilities for the internal/ledger/inbound package and its sibling-package consumers.
|
Package inboundtest provides shared test utilities for the internal/ledger/inbound package and its sibling-package consumers. |
|
ledger/localtxs
Package localtxs is goxrpl's port of rippled's app/ledger/LocalTxs.
|
Package localtxs is goxrpl's port of rippled's app/ledger/LocalTxs. |
|
ledger/openledger
Package openledger implements rippled's OpenLedger semantics for goXRPL.
|
Package openledger implements rippled's OpenLedger semantics for goXRPL. |
|
ledger/service/svcerr
Package svcerr defines the typed sentinel errors returned by the ledger service.
|
Package svcerr defines the typed sentinel errors returned by the ledger service. |
|
manifest
Package manifest implements validator manifest parsing, verification, and caching — the equivalent of rippled's ValidatorManifests service.
|
Package manifest implements validator manifest parsing, verification, and caching — the equivalent of rippled's ValidatorManifests service. |
|
observability
Package observability hosts process-level metrics surfaced to RPC.
|
Package observability hosts process-level metrics surfaced to RPC. |
|
peermanagement
Package peermanagement implements XRPL peer-to-peer networking.
|
Package peermanagement implements XRPL peer-to-peer networking. |
|
peermanagement/cluster
Package cluster maintains the registry of cluster-trusted node identities — operators run a small set of nodes that they configure to know about each other via [cluster_nodes].
|
Package cluster maintains the registry of cluster-trusted node identities — operators run a small set of nodes that they configure to know about each other via [cluster_nodes]. |
|
peermanagement/message
Package message implements XRPL peer protocol message types and serialization.
|
Package message implements XRPL peer protocol message types and serialization. |
|
peermanagement/peertls
Package peertls is the TLS 1.2 transport for XRPL peer connections.
|
Package peertls is the TLS 1.2 transport for XRPL peer connections. |
|
peermanagement/peertls/shim
Package shim is the cgo binding for the OpenSSL TLS shim used by peertls.
|
Package shim is the cgo binding for the OpenSSL TLS shim used by peertls. |
|
rpc/handlers/v1
Package v1 provides API v1 response formatters for RPC handlers.
|
Package v1 provides API v1 response formatters for RPC handlers. |
|
rpc/loadtrack
Package loadtrack implements a per-client-IP load tracker that mirrors rippled's Resource::Manager / LoadFeeTrack approach: each inbound RPC method is assigned a Charge (a numeric cost), the cost accumulates against a per-IP balance, balances decay exponentially over time, and a balance crossing a warning / drop threshold causes the next request to be slowed or rejected.
|
Package loadtrack implements a per-client-IP load tracker that mirrors rippled's Resource::Manager / LoadFeeTrack approach: each inbound RPC method is assigned a Charge (a numeric cost), the cost accumulates against a per-IP balance, balances decay exponentially over time, and a balance crossing a warning / drop threshold causes the next request to be slowed or rejected. |
|
statecompare
Package statecompare provides a client for reading from the xrpl-state-compare PostgreSQL database.
|
Package statecompare provides a client for reading from the xrpl-state-compare PostgreSQL database. |
|
testing
Package testing provides test infrastructure for XRPL transaction testing.
|
Package testing provides test infrastructure for XRPL transaction testing. |
|
testing/amm
Package amm provides test builders for AMM transactions.
|
Package amm provides test builders for AMM transactions. |
|
testing/batch
Package batch provides test builder helpers for Batch transactions.
|
Package batch provides test builder helpers for Batch transactions. |
|
testing/conformance
Package conformance provides a test runner for xrpl-fixtures test vectors.
|
Package conformance provides a test runner for xrpl-fixtures test vectors. |
|
testing/consensus
Package consensus provides integration test utilities for multi-node consensus testing.
|
Package consensus provides integration test utilities for multi-node consensus testing. |
|
testing/depositpreauth
Package depositpreauth provides fluent transaction builder helpers for DepositPreauth testing, plus integration tests matching rippled's DepositAuth_test.cpp and DepositPreauth_test sections.
|
Package depositpreauth provides fluent transaction builder helpers for DepositPreauth testing, plus integration tests matching rippled's DepositAuth_test.cpp and DepositPreauth_test sections. |
|
testing/metadata
Package metadata provides test helpers for validating transaction metadata.
|
Package metadata provides test helpers for validating transaction metadata. |
|
testing/mpt
Package mpt provides test helpers for MPT (Multi-Purpose Token) transaction testing.
|
Package mpt provides test helpers for MPT (Multi-Purpose Token) transaction testing. |
|
testing/payment
Package builders provides fluent transaction builder helpers for testing.
|
Package builders provides fluent transaction builder helpers for testing. |
|
testing/permissioneddex
Package permissioneddex provides test helpers for PermissionedDEX tests.
|
Package permissioneddex provides test helpers for PermissionedDEX tests. |
|
testing/ticket
Package ticket provides test helpers for Ticket transaction testing.
|
Package ticket provides test helpers for Ticket transaction testing. |
|
tx/all
Package all aggregates all transaction sub-packages and exposes a single RegisterAll() entry point that registers every transaction type with the tx registry.
|
Package all aggregates all transaction sub-packages and exposes a single RegisterAll() entry point that registers every transaction type with the tx registry. |
|
tx/escrow
Package escrow implements EscrowCreate, EscrowFinish, and EscrowCancel transactions.
|
Package escrow implements EscrowCreate, EscrowFinish, and EscrowCancel transactions. |
|
tx/offer
Reference: rippled CreateOffer.cpp, CancelOffer.cpp
|
Reference: rippled CreateOffer.cpp, CancelOffer.cpp |
|
Package keylet provides functions to compute the 256-bit SHA-512Half keys that uniquely identify ledger entries in the XRPL state tree.
|
Package keylet provides functions to compute the 256-bit SHA-512Half keys that uniquely identify ledger entries in the XRPL state tree. |
|
ledger
|
|
|
entry
Package entry defines the Serializable Ledger Entry (SLE) types for all XRPL ledger objects.
|
Package entry defines the Serializable Ledger Entry (SLE) types for all XRPL ledger objects. |
|
Package log provides structured logging for goXRPL.
|
Package log provides structured logging for goXRPL. |
|
Package protocol defines XRPL protocol constants used throughout the codebase.
|
Package protocol defines XRPL protocol constants used throughout the codebase. |
|
Package shamap implements the SHAMap, a Merkle-like radix tree used by the XRPL for ledger state and transaction storage.
|
Package shamap implements the SHAMap, a Merkle-like radix tree used by the XRPL for ledger state and transaction storage. |
|
storage
|
|
|
kvstore
Package kvstore defines a generic key-value storage interface for persistent data backends.
|
Package kvstore defines a generic key-value storage interface for persistent data backends. |
|
kvstore/memorydb
Package memorydb implements the kvstore.KeyValueStore interface using an in-memory map.
|
Package memorydb implements the kvstore.KeyValueStore interface using an in-memory map. |
|
kvstore/pebble
Package pebble implements the kvstore.KeyValueStore interface using CockroachDB/Pebble.
|
Package pebble implements the kvstore.KeyValueStore interface using CockroachDB/Pebble. |
|
nodestore
Package nodestore provides blockchain state storage for XRPL node data.
|
Package nodestore provides blockchain state storage for XRPL node data. |
Click to show internal directories.
Click to hide internal directories.