package
0.0.0-20190201023620-bd35244a609e
Repository: https://github.com/lomocoin/stellar-go.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
Package sequence providers helpers to manage sequence numbers on behalf of horizon clients.

# Functions

NewDefaultSubmissionList returns a list that manages open submissions purely in memory.
NewDefaultSubmitter returns a new, simple Submitter implementation that submits directly to the stellar-core at `url` using the http client `h`.

# Variables

ErrBadSequence is a canned error response for transactions whose sequence number is wrong.
No description provided by the author
ErrNoAccount is returned when the source account for the transaction cannot be found in the database.
No description provided by the author
No description provided by the author

# Structs

FailedTransactionError represent an error that occurred because stellar-core rejected the transaction.
MalformedTransactionError represent an error that occurred because a TransactionEnvelope could not be decoded from the provided data.
MockResultProvider is a test helper that simplements the ResultProvider interface.
MockSequenceProvider is a test helper that simplements the SequenceProvider interface.
MockSubmitter is a test helper that simplements the Submitter interface.
Result represents the response from a ResultProvider.
SubmissionResult gets returned in response to a call to Submitter.Submit.
System represents a completely configured transaction submission system.

# Interfaces

OpenSubmissionList represents the structure that tracks pending transactions and forwards Result structs on to listeners as they become available.
ResultProvider represents an abstract store that can lookup Result objects by transaction hash or by [address,sequence] pairs.
SequenceProvider represents an abstract store that can lookup the current sequence number of an account.
Submitter represents the low-level "submit a transaction to stellar-core" provider.