package
0.0.0-20210414020239-6daa909df9a7
Repository: https://github.com/kingaj12/go.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

GenesisChange returns the Change occurring at the genesis ledger (ledgerseq = 1)..
GetChangesFromLedgerEntryChanges transforms LedgerEntryChanges to []Change.
NewChangeCompactor returns a new ChangeCompactor.
NewCheckpointChangeReader constructs a new CheckpointChangeReader instance.
NewLedgerChangeReader constructs a new LedgerChangeReader instance bound to the given ledger.
NewLedgerTransactionReader creates a new TransactionReader instance.
NewStateError creates a new StateError.

# Variables

ErrNotFound is returned when the requested ledger is not found.

# Structs

Change is a developer friendly representation of LedgerEntryChanges.
ChangeCompactor is a cache of ledger entry changes that squashes all changes within a single ledger.
CheckpointChangeReader is a ChangeReader which returns Changes from a history archive snapshot.
LedgerChangeReader is a ChangeReader which returns Changes from Stellar Core for a single ledger.
LedgerTransaction represents the data for a single transaction within a ledger.
LedgerTransactionReader reads transactions for a given ledger sequence from a backend.
No description provided by the author
StateError is a fatal error indicating that the Change stream produced a result which violates fundamental invariants (e.g.
StatsChangeProcessor is a state processors that counts number of changes types and entry types.
StatsChangeProcessorResults contains results after running StatsChangeProcessor.

# Interfaces

ChangeReader provides convenient, streaming access to a sequence of Changes.