Versions in this module Expand all Collapse all v0 v0.1.5 Oct 24, 2022 v0.1.4 Oct 24, 2022 v0.1.3 Oct 24, 2022 v0.1.2 Oct 24, 2022 v0.1.1 Oct 22, 2022 v0.1.0 Oct 22, 2022 Changes in this version + const ACCOUNT_ROOT + const ACCOUNT_SET + const AMENDMENT + const AMENDMENTS + const CHECK + const CHECK_CANCEL + const CHECK_CASH + const CHECK_CREATE + const DIRECTORY + const ESCROW + const ESCROW_CANCEL + const ESCROW_CREATE + const ESCROW_FINISH + const FEE_SETTINGS + const HP_INNER_NODE + const HP_LEAF_NODE + const HP_LEDGER_MASTER + const HP_PROPOSAL + const HP_TRANSACTION_ID + const HP_TRANSACTION_NODE + const HP_TRANSACTION_SIGN + const HP_VALIDATION + const LEDGER_HASHES + const NF_HASH + const NF_PREFIX + const NF_WIRE + const NS_ACCOUNT + const NS_AMENDMENT + const NS_BOOK_DIRECTORY + const NS_DIRECTORY_NODE + const NS_FEE + const NS_OFFER + const NS_OWNER_DIRECTORY + const NS_RIPPLE_STATE + const NS_SIGNER_LIST + const NS_SKIP_LIST + const NS_SUSPAY + const NS_TICKET + const NS_XRPU_CHANNEL + const NT_ACCOUNT_NODE + const NT_LEDGER + const NT_TRANSACTION + const NT_TRANSACTION_NODE + const NT_UNKNOWN + const OFFER + const OFFER_CANCEL + const OFFER_CREATE + const PATH_ACCOUNT + const PATH_BOUNDARY + const PATH_CURRENCY + const PATH_END + const PATH_ISSUER + const PATH_REDEEM + const PAYCHAN_CLAIM + const PAYCHAN_CREATE + const PAYCHAN_FUND + const PAYMENT + const PAY_CHANNEL + const RIPPLE_STATE + const SET_FEE + const SET_REGULAR_KEY + const SIGNER_LIST + const SIGNER_LIST_SET + const ST_ACCOUNT + const ST_AMOUNT + const ST_ARRAY + const ST_HASH128 + const ST_HASH160 + const ST_HASH256 + const ST_OBJECT + const ST_PATHSET + const ST_UINT16 + const ST_UINT32 + const ST_UINT64 + const ST_UINT8 + const ST_VECTOR256 + const ST_VL + const TICKET + const TICKET_CANCEL + const TICKET_CREATE + const TRUST_SET + var HashableTypes []string + var LedgerEntryFactory = [...]func() LedgerEntry + var LedgerFactory = [...]func() Hashable + var TxFactory = [...]func() Transaction + func CheckSignature(s Signer) (bool, error) + func GetLedgerEntryFactoryByType(leType string) func() LedgerEntry + func GetTxFactoryByType(txType string) func() Transaction + func Sign(s Signer, key crypto.Key, sequence *uint32) error + type Account [20]byte + func NewAccountFromAddress(s string) (*Account, error) + func (a *Account) Bytes() []byte + func (a *Account) Marshal(w io.Writer) error + func (a *Account) Unmarshal(r Reader) error + func (a *Account) UnmarshalText(b []byte) error + func (a Account) Compare(b Account) int + func (a Account) Equals(b Account) bool + func (a Account) Hash() (crypto.Hash, error) + func (a Account) Hash256() Hash256 + func (a Account) IsZero() bool + func (a Account) Less(b Account) bool + func (a Account) MarshalText() ([]byte, error) + func (a Account) String() string + type AccountLine struct + Account Account + Balance NonNativeValue + Currency Currency + Limit NonNativeValue + LimitPeer NonNativeValue + NoRipple bool + NoRipplePeer bool + QualityIn uint32 + QualityOut uint32 + func (l *AccountLine) Asset() *Asset + func (l *AccountLine) CompareByCurrencyAccount(other *AccountLine) int + func (l *AccountLine) CompareByCurrencyAmount(other *AccountLine) int + type AccountLineSlice []AccountLine + func (s *AccountLineSlice) Add(account Account, rs *RippleState) bool + func (s *AccountLineSlice) Delete(account Account, rs *RippleState) bool + func (s AccountLineSlice) Find(account Account, currency Currency) int + func (s AccountLineSlice) Get(account Account, currency Currency) *AccountLine + func (s AccountLineSlice) Len() int + func (s AccountLineSlice) SortByCurrencyAmount() + func (s AccountLineSlice) SortbyCurrencyAccount() + func (s AccountLineSlice) Swap(i, j int) + func (s AccountLineSlice) Update(account Account, rs *RippleState) bool + type AccountOffer struct + Expiration *uint32 + Flags LedgerEntryFlag + Quality NonNativeValue + Sequence uint32 + TakerGets Amount + TakerPays Amount + type AccountOfferSlice []AccountOffer + func (s *AccountOfferSlice) Add(offer *Offer) bool + func (s *AccountOfferSlice) Delete(offer *Offer) bool + func (s AccountOfferSlice) Find(sequence uint32) int + func (s AccountOfferSlice) Get(sequence uint32) *AccountOffer + func (s AccountOfferSlice) GetSequences(pays, gets *Asset) []uint32 + func (s AccountOfferSlice) Len() int + func (s AccountOfferSlice) Less(i, j int) bool + func (s AccountOfferSlice) Swap(i, j int) + func (s AccountOfferSlice) Update(offer *Offer) bool + type AccountRoot struct + Account *Account + AccountTxnID *Hash256 + Balance *Value + Domain *VariableLength + EmailHash *Hash128 + Flags *LedgerEntryFlag + MessageKey *VariableLength + OwnerCount *uint32 + RegularKey *RegularKey + Sequence *uint32 + Signers *VariableLength + TickSize *uint8 + TransferRate *uint32 + WalletLocator *Hash256 + WalletSize *uint32 + func (a *AccountRoot) Affects(account Account) bool + func (le *AccountRoot) GetHash() *Hash256 + func (le *AccountRoot) GetLedgerEntryType() LedgerEntryType + func (le *AccountRoot) GetLedgerIndex() *Hash256 + func (le *AccountRoot) GetPreviousTxnId() *Hash256 + func (le *AccountRoot) GetType() string + func (le *AccountRoot) Ledger() uint32 + func (le *AccountRoot) NodeId() *Hash256 + func (le *AccountRoot) NodeType() NodeType + func (le *AccountRoot) Prefix() HashPrefix + type AccountSet struct + ClearFlag *uint32 + Domain *VariableLength + EmailHash *Hash128 + MessageKey *VariableLength + SetFlag *uint32 + TickSize *uint8 + TransferRate *uint32 + WalletLocator *Hash256 + WalletSize *uint32 + type AffectedNode struct + FinalFields LedgerEntry + LedgerEntryType LedgerEntryType + LedgerIndex *Hash256 + NewFields LedgerEntry + PreviousFields LedgerEntry + PreviousTxnID *Hash256 + PreviousTxnLgrSeq *uint32 + func (a *AffectedNode) MarshalJSON() ([]byte, error) + func (a *AffectedNode) UnmarshalJSON(b []byte) error + type Amendment struct + Amendment Hash256 + type Amendments struct + Amendments *Vector256 + Flags *LedgerEntryFlag + Majorities []Majority + func (a *Amendments) Affects(account Account) bool + func (le *Amendments) GetHash() *Hash256 + func (le *Amendments) GetLedgerEntryType() LedgerEntryType + func (le *Amendments) GetLedgerIndex() *Hash256 + func (le *Amendments) GetPreviousTxnId() *Hash256 + func (le *Amendments) GetType() string + func (le *Amendments) Ledger() uint32 + func (le *Amendments) NodeId() *Hash256 + func (le *Amendments) NodeType() NodeType + func (le *Amendments) Prefix() HashPrefix + type Amount struct + Currency Currency + Issuer Account + func NewAmount(v interface{}) (*Amount, error) + func (a *Amount) Marshal(w io.Writer) error + func (a *Amount) Unmarshal(r Reader) error + func (a *Amount) UnmarshalBinary(b []byte) error + func (a *Amount) UnmarshalJSON(b []byte) (err error) + func (a Amount) Abs() *Amount + func (a Amount) Add(b *Amount) (*Amount, error) + func (a Amount) ApplyInterest() (*Amount, error) + func (a Amount) Asset() *Asset + func (a Amount) Bytes() []byte + func (a Amount) Clone() *Amount + func (a Amount) Divide(b *Amount) (*Amount, error) + func (a Amount) Equals(b Amount) bool + func (a Amount) IsPositive() bool + func (a Amount) Machine() string + func (a Amount) MarshalBinary() ([]byte, error) + func (a Amount) MarshalJSON() ([]byte, error) + func (a Amount) Multiply(b *Amount) (*Amount, error) + func (a Amount) Negate() *Amount + func (a Amount) Ratio(b Amount) *Value + func (a Amount) SameValue(b *Amount) bool + func (a Amount) String() string + func (a Amount) Subtract(b *Amount) (*Amount, error) + func (a Amount) ZeroClone() *Amount + type Asset struct + Currency string + Issuer string + func NewAsset(s string) (*Asset, error) + func (a *Asset) IsNative() bool + func (a *Asset) Matches(amount *Amount) bool + func (a Asset) String() string + type Balance struct + Balance Value + Change Value + CounterParty Account + Currency Currency + func (b Balance) String() string + type BalanceMap map[Account]*BalanceSlice + func (m *BalanceMap) Add(account *Account, counterparty *Account, balance, change *Value, ...) + type BalanceSlice []Balance + func (s *BalanceSlice) Add(counterparty *Account, balance, change *Value, currency *Currency) + func (s BalanceSlice) Len() int + func (s BalanceSlice) Less(i, j int) bool + func (s BalanceSlice) Swap(i, j int) + type Check struct + Account *Account + Destination *Account + Expiration *uint32 + SendMax *Amount + Sequence *uint32 + func (le *Check) GetHash() *Hash256 + func (le *Check) GetLedgerEntryType() LedgerEntryType + func (le *Check) GetLedgerIndex() *Hash256 + func (le *Check) GetPreviousTxnId() *Hash256 + func (le *Check) GetType() string + func (le *Check) Ledger() uint32 + func (le *Check) NodeId() *Hash256 + func (le *Check) NodeType() NodeType + func (le *Check) Prefix() HashPrefix + func (p *Check) Affects(account Account) bool + type CheckCancel struct + CheckID Hash256 + type CheckCash struct + Amount *Amount + CheckID Hash256 + DeliverMin *Amount + type CheckCreate struct + Destination Account + DestinationTag *uint32 + Expiration *uint32 + InvoiceID *Hash256 + SendMax Amount + type CompressedNodeEntry struct + Hash Hash256 + Pos uint8 + type Currency [20]byte + func NewCurrency(s string) (Currency, error) + func (a Currency) Compare(b Currency) int + func (a Currency) Less(b Currency) bool + func (c *Currency) Bytes() []byte + func (c *Currency) Marshal(w io.Writer) error + func (c *Currency) Unmarshal(r Reader) error + func (c *Currency) UnmarshalText(text []byte) error + func (c Currency) Clone() Currency + func (c Currency) Equals(other Currency) bool + func (c Currency) IsNative() bool + func (c Currency) Machine() string + func (c Currency) MarshalText() ([]byte, error) + func (c Currency) Rate(seconds uint32) float64 + func (c Currency) String() string + func (c Currency) Type() CurrencyType + type CurrencyType uint8 + const CT_DEMURRAGE + const CT_HEX + const CT_STANDARD + const CT_UNKNOWN + const CT_XRP + type Directory struct + ExchangeRate *ExchangeRate + Flags *LedgerEntryFlag + IndexNext *NodeIndex + IndexPrevious *NodeIndex + Indexes *Vector256 + Owner *Account + RootIndex *Hash256 + TakerGetsCurrency *Hash160 + TakerGetsIssuer *Hash160 + TakerPaysCurrency *Hash160 + TakerPaysIssuer *Hash160 + func (d *Directory) Affects(account Account) bool + func (le *Directory) GetHash() *Hash256 + func (le *Directory) GetLedgerEntryType() LedgerEntryType + func (le *Directory) GetLedgerIndex() *Hash256 + func (le *Directory) GetPreviousTxnId() *Hash256 + func (le *Directory) GetType() string + func (le *Directory) Ledger() uint32 + func (le *Directory) NodeId() *Hash256 + func (le *Directory) NodeType() NodeType + func (le *Directory) Prefix() HashPrefix + type Escrow struct + Account Account + Amount Amount + CancelAfter *uint32 + Condition *VariableLength + Destination Account + DestinationTag *uint32 + FinishAfter *uint32 + Flags *LedgerEntryFlag + OwnerNode *NodeIndex + SourceTag *uint32 + func (le *Escrow) GetHash() *Hash256 + func (le *Escrow) GetLedgerEntryType() LedgerEntryType + func (le *Escrow) GetLedgerIndex() *Hash256 + func (le *Escrow) GetPreviousTxnId() *Hash256 + func (le *Escrow) GetType() string + func (le *Escrow) Ledger() uint32 + func (le *Escrow) NodeId() *Hash256 + func (le *Escrow) NodeType() NodeType + func (le *Escrow) Prefix() HashPrefix + func (s *Escrow) Affects(account Account) bool + type EscrowCancel struct + OfferSequence uint32 + Owner Account + type EscrowCreate struct + Amount Amount + CancelAfter *uint32 + Destination Account + DestinationTag *uint32 + Digest *Hash256 + FinishAfter *uint32 + type EscrowFinish struct + Digest *Hash256 + Method *uint8 + OfferSequence uint32 + Owner Account + Proof *Hash256 + type ExchangeRate uint64 + func NewExchangeRate(a, b *Amount) (ExchangeRate, error) + func (e *ExchangeRate) Bytes() []byte + func (e *ExchangeRate) UnmarshalText(b []byte) error + func (e ExchangeRate) MarshalText() ([]byte, error) + type FeeSettings struct + BaseFee *Uint64Hex + Flags *LedgerEntryFlag + ReferenceFeeUnits *uint32 + ReserveBase *uint32 + ReserveIncrement *uint32 + func (f *FeeSettings) Affects(account Account) bool + func (le *FeeSettings) GetHash() *Hash256 + func (le *FeeSettings) GetLedgerEntryType() LedgerEntryType + func (le *FeeSettings) GetLedgerIndex() *Hash256 + func (le *FeeSettings) GetPreviousTxnId() *Hash256 + func (le *FeeSettings) GetType() string + func (le *FeeSettings) Ledger() uint32 + func (le *FeeSettings) NodeId() *Hash256 + func (le *FeeSettings) NodeType() NodeType + func (le *FeeSettings) Prefix() HashPrefix + type Hash128 [16]byte + func (h *Hash128) Bytes() []byte + func (h *Hash128) Marshal(w io.Writer) error + func (h *Hash128) Unmarshal(r Reader) error + func (h *Hash128) UnmarshalText(b []byte) error + func (h Hash128) MarshalText() ([]byte, error) + func (h Hash128) String() string + type Hash160 [20]byte + func (h *Hash160) Account() *Account + func (h *Hash160) Bytes() []byte + func (h *Hash160) Currency() *Currency + func (h *Hash160) Marshal(w io.Writer) error + func (h *Hash160) Unmarshal(r Reader) error + func (h *Hash160) UnmarshalText(b []byte) error + func (h Hash160) MarshalText() ([]byte, error) + func (h Hash160) String() string + type Hash256 [32]byte + func GetAccountRootIndex(account Account) (*Hash256, error) + func GetAmendmentsIndex() (*Hash256, error) + func GetBookIndex(paysCurrency, getsCurrency Hash160, paysIssuer, getsIssuer Hash160) (*Hash256, error) + func GetDirectoryNodeIndex(root Hash256, index *NodeIndex) (*Hash256, error) + func GetFeeIndex() (*Hash256, error) + func GetLedgerHashIndex() (*Hash256, error) + func GetOfferIndex(account Account, sequence uint32) (*Hash256, error) + func GetOwnerDirectoryIndex(account Account) (*Hash256, error) + func GetPreviousLedgerHashIndex(sequence uint32) (*Hash256, error) + func GetRippleStateIndex(a, b Account, c Currency) (*Hash256, error) + func LedgerIndex(le LedgerEntry) (*Hash256, error) + func NewHash256(value interface{}) (*Hash256, error) + func Node(h Storer) (Hash256, []byte, error) + func NodeId(h Hashable) (Hash256, error) + func Raw(h Hashable) (Hash256, []byte, error) + func SigningHash(s Signer) (Hash256, []byte, error) + func (h *Hash256) Bytes() []byte + func (h *Hash256) Marshal(w io.Writer) error + func (h *Hash256) Unmarshal(r Reader) error + func (h *Hash256) UnmarshalText(b []byte) error + func (h Hash256) Compare(x Hash256) int + func (h Hash256) IsZero() bool + func (h Hash256) MarshalText() ([]byte, error) + func (h Hash256) String() string + func (h Hash256) TruncatedString(length int) string + func (h Hash256) Xor(x Hash256) Hash256 + type HashPrefix uint32 + func (h HashPrefix) Bytes() []byte + func (h HashPrefix) String() string + type Hashable interface + GetHash func() *Hash256 + GetType func() string + Prefix func() HashPrefix + func ReadWire(r Reader, typ NodeType, ledgerSequence uint32, nodeId Hash256) (Hashable, error) + type InnerNode struct + Children [16]Hash256 + Id Hash256 + Type NodeType + func (n InnerNode) Count() int + func (n InnerNode) Each(f InnerNodeFunc) error + func (n InnerNode) GetHash() *Hash256 + func (n InnerNode) GetType() string + func (n InnerNode) Ledger() uint32 + func (n InnerNode) NodeId() *Hash256 + func (n InnerNode) NodeType() NodeType + func (n InnerNode) Prefix() HashPrefix + func (n InnerNode) String() string + type InnerNodeFunc func(pos int, child Hash256) error + type KeyType int + const ECDSA + const Ed25519 + func (keyType KeyType) MarshalText() ([]byte, error) + func (keyType KeyType) String() string + type Ledger struct + Accepted bool + AccountState LedgerEntrySlice + Closed bool + Hash Hash256 + Transactions TransactionSlice + func NewEmptyLedger(sequence uint32) *Ledger + func ReadLedger(r Reader, nodeId Hash256) (*Ledger, error) + func (l *Ledger) UnmarshalJSON(b []byte) error + func (l Ledger) GetHash() *Hash256 + func (l Ledger) GetType() string + func (l Ledger) Ledger() uint32 + func (l Ledger) MarshalJSON() ([]byte, error) + func (l Ledger) NodeId() *Hash256 + func (l Ledger) NodeType() NodeType + func (l Ledger) Prefix() HashPrefix + type LedgerEntry interface + Affects func(Account) bool + GetLedgerEntryType func() LedgerEntryType + GetLedgerIndex func() *Hash256 + GetPreviousTxnId func() *Hash256 + func ReadLedgerEntry(r Reader, nodeId Hash256) (LedgerEntry, error) + type LedgerEntryFlag uint32 + const LsDefaultRipple + const LsDisableMaster + const LsDisallowXRP + const LsGlobalFreeze + const LsHighAuth + const LsHighFreeze + const LsHighNoRipple + const LsHighReserve + const LsLowAuth + const LsLowFreeze + const LsLowNoRipple + const LsLowReserve + const LsNoFreeze + const LsPassive + const LsPasswordSpent + const LsRequireAuth + const LsRequireDestTag + const LsSell + func (f LedgerEntryFlag) Explain(le LedgerEntry) []string + func (f LedgerEntryFlag) String() string + type LedgerEntrySlice []LedgerEntry + func (l *LedgerEntrySlice) UnmarshalJSON(b []byte) error + type LedgerEntryState uint8 + const Created + const Deleted + const Modified + type LedgerEntryType uint16 + func (l *LedgerEntryType) UnmarshalText(b []byte) error + func (l LedgerEntryType) MarshalText() ([]byte, error) + func (le LedgerEntryType) String() string + type LedgerHashes struct + FirstLedgerSequence *uint32 + Flags *LedgerEntryFlag + Hashes *Vector256 + LastLedgerSequence *uint32 + func (l *LedgerHashes) Affects(account Account) bool + func (le *LedgerHashes) GetHash() *Hash256 + func (le *LedgerHashes) GetLedgerEntryType() LedgerEntryType + func (le *LedgerHashes) GetLedgerIndex() *Hash256 + func (le *LedgerHashes) GetPreviousTxnId() *Hash256 + func (le *LedgerHashes) GetType() string + func (le *LedgerHashes) Ledger() uint32 + func (le *LedgerHashes) NodeId() *Hash256 + func (le *LedgerHashes) NodeType() NodeType + func (le *LedgerHashes) Prefix() HashPrefix + type LedgerHeader struct + CloseFlags uint8 + CloseResolution uint8 + CloseTime RippleTime + LedgerSequence uint32 + ParentCloseTime RippleTime + PreviousLedger Hash256 + StateHash Hash256 + TotalXRP uint64 + TransactionHash Hash256 + type LedgerNamespace uint16 + type LedgerRange struct + End uint32 + Max uint32 + Start uint32 + type LedgerSet struct + func NewLedgerSet(start, capacity uint32) *LedgerSet + func (l *LedgerSet) Count() uint32 + func (l *LedgerSet) Extend(i uint32) + func (l *LedgerSet) Max() uint32 + func (l *LedgerSet) Set(i uint32) time.Duration + func (l *LedgerSet) String() string + func (l *LedgerSet) TakeBottom(n uint32) LedgerSlice + func (l *LedgerSet) TakeMiddle(r *LedgerRange) LedgerSlice + func (l *LedgerSet) TakeTop(n uint32) LedgerSlice + func (l *LedgerSet) Taken() uint32 + type LedgerSlice []uint32 + func (s LedgerSlice) Len() int + func (s LedgerSlice) Less(i, j int) bool + func (s LedgerSlice) Sorted() LedgerSlice + func (s LedgerSlice) Swap(i, j int) + type LimitByteReader struct + N int64 + R Reader + func LimitedByteReader(r Reader, n int64) *LimitByteReader + func (l *LimitByteReader) Len() int + func (l *LimitByteReader) Read(p []byte) (n int, err error) + func (l *LimitByteReader) ReadByte() (c byte, err error) + func (l *LimitByteReader) UnreadByte() error + type Majority struct + Amendment *Hash256 + CloseTime *uint32 + type Memo struct + Memo struct{ ... } + type Memos []Memo + type MetaData struct + AffectedNodes NodeEffects + DeliveredAmount *Amount + TransactionIndex uint32 + TransactionResult TransactionResult + type NodeEffect struct + CreatedNode *AffectedNode + DeletedNode *AffectedNode + ModifiedNode *AffectedNode + func (effect *NodeEffect) AffectedNode() (*AffectedNode, LedgerEntry, LedgerEntry, LedgerEntryState) + type NodeEffects []NodeEffect + type NodeFormat uint8 + type NodeHeader struct + LedgerSequence uint32 + NodeType NodeType + type NodeIndex uint64 + func (i *NodeIndex) Next() *NodeIndex + func (i *NodeIndex) Previous() *NodeIndex + func (i *NodeIndex) UnmarshalText(b []byte) error + func (i NodeIndex) MarshalText() ([]byte, error) + type NodeType uint8 + func (n NodeType) String() string + type NonNativeValue struct + func (v *NonNativeValue) UnmarshalText(b []byte) error + type Offer struct + Account *Account + BookDirectory *Hash256 + BookNode *NodeIndex + Expiration *uint32 + Flags *LedgerEntryFlag + OwnerNode *NodeIndex + Sequence *uint32 + TakerGets *Amount + TakerPays *Amount + func (le *Offer) GetHash() *Hash256 + func (le *Offer) GetLedgerEntryType() LedgerEntryType + func (le *Offer) GetLedgerIndex() *Hash256 + func (le *Offer) GetPreviousTxnId() *Hash256 + func (le *Offer) GetType() string + func (le *Offer) Ledger() uint32 + func (le *Offer) NodeId() *Hash256 + func (le *Offer) NodeType() NodeType + func (le *Offer) Prefix() HashPrefix + func (o *Offer) Affects(account Account) bool + func (o *Offer) Ratio() *Value + type OfferCancel struct + OfferSequence uint32 + type OfferCreate struct + Expiration *uint32 + OfferSequence *uint32 + TakerGets Amount + TakerPays Amount + func (o *OfferCreate) Ratio() *Value + type OrderBookOffer struct + OwnerFunds Value + Quality NonNativeValue + TakerGetsFunded *Amount + TakerPaysFunded *Amount + func (le *OrderBookOffer) GetHash() *Hash256 + func (le *OrderBookOffer) GetLedgerEntryType() LedgerEntryType + func (le *OrderBookOffer) GetLedgerIndex() *Hash256 + func (le *OrderBookOffer) GetPreviousTxnId() *Hash256 + func (le *OrderBookOffer) GetType() string + func (le *OrderBookOffer) Ledger() uint32 + func (le *OrderBookOffer) NodeId() *Hash256 + func (le *OrderBookOffer) NodeType() NodeType + func (le *OrderBookOffer) Prefix() HashPrefix + type Path []PathElem + func NewPath(s string) (Path, error) + func (p Path) Signature() (uint32, error) + func (p Path) String() string + type PathElem struct + Account *Account + Currency *Currency + Issuer *Account + func (p PathElem) MarshalJSON() ([]byte, error) + func (p PathElem) String() string + type PathSet []Path + func (p *PathSet) Marshal(w io.Writer) error + func (p *PathSet) Unmarshal(r Reader) error + type PayChannel struct + Account *Account + Amount *Amount + Balance *Amount + CancelAfter *uint32 + Destination *Account + DestinationTag *uint32 + Expiration *uint32 + Flags *LedgerEntryFlag + OwnerNode *NodeIndex + PublicKey *PublicKey + SettleDelay *uint32 + SourceTag *uint32 + func (le *PayChannel) GetHash() *Hash256 + func (le *PayChannel) GetLedgerEntryType() LedgerEntryType + func (le *PayChannel) GetLedgerIndex() *Hash256 + func (le *PayChannel) GetPreviousTxnId() *Hash256 + func (le *PayChannel) GetType() string + func (le *PayChannel) Ledger() uint32 + func (le *PayChannel) NodeId() *Hash256 + func (le *PayChannel) NodeType() NodeType + func (le *PayChannel) Prefix() HashPrefix + func (p *PayChannel) Affects(account Account) bool + type Payment struct + Amount Amount + DeliverMin *Amount + Destination Account + DestinationTag *uint32 + InvoiceID *Hash256 + Paths *PathSet + SendMax *Amount + func (p *Payment) PathSet() PathSet + type PaymentChannelClaim struct + Amount *Amount + Balance *Amount + Channel Hash256 + PublicKey *PublicKey + Signature *VariableLength + type PaymentChannelCreate struct + Amount Amount + CancelAfter *uint32 + Destination Account + DestinationTag *uint32 + PublicKey PublicKey + SettleDelay uint32 + SourceTag *uint32 + type PaymentChannelFund struct + Amount Amount + Channel Hash256 + Expiration *uint32 + type Proposal struct + CloseTime RippleTime + Hash Hash256 + LedgerHash Hash256 + PreviousLedger Hash256 + PublicKey PublicKey + Sequence uint32 + Signature VariableLength + func (p *Proposal) GetHash() *Hash256 + func (p *Proposal) GetPublicKey() *PublicKey + func (p *Proposal) GetSignature() *VariableLength + func (p *Proposal) InitialiseForSigning() + func (p *Proposal) Prefix() HashPrefix + func (p *Proposal) SigningPrefix() HashPrefix + func (p Proposal) GetType() string + func (p Proposal) SigningValues() []interface{} + func (p Proposal) SuppressionId() (Hash256, error) + type PublicKey [33]byte + func (k *PublicKey) Marshal(w io.Writer) error + func (k *PublicKey) Unmarshal(r Reader) error + func (p *PublicKey) Bytes() []byte + func (p *PublicKey) UnmarshalText(b []byte) error + func (p PublicKey) IsZero() bool + func (p PublicKey) MarshalText() ([]byte, error) + func (p PublicKey) NodePublicKey() string + func (p PublicKey) String() string + type Reader interface + Len func() int + func NewVariableByteReader(r Reader) (Reader, error) + type RegularKey [20]byte + func NewRegularKeyFromAddress(s string) (*RegularKey, error) + func (k *RegularKey) Marshal(w io.Writer) error + func (k *RegularKey) Unmarshal(r Reader) error + func (r *RegularKey) Bytes() []byte + func (r *RegularKey) UnmarshalText(b []byte) error + func (r RegularKey) Hash() (crypto.Hash, error) + func (r RegularKey) MarshalText() ([]byte, error) + func (r RegularKey) String() string + type RippleState struct + Balance *Amount + Flags *LedgerEntryFlag + HighLimit *Amount + HighNode *NodeIndex + HighQualityIn *uint32 + HighQualityOut *uint32 + LowLimit *Amount + LowNode *NodeIndex + LowQualityIn *uint32 + LowQualityOut *uint32 + func (le *RippleState) GetHash() *Hash256 + func (le *RippleState) GetLedgerEntryType() LedgerEntryType + func (le *RippleState) GetLedgerIndex() *Hash256 + func (le *RippleState) GetPreviousTxnId() *Hash256 + func (le *RippleState) GetType() string + func (le *RippleState) Ledger() uint32 + func (le *RippleState) NodeId() *Hash256 + func (le *RippleState) NodeType() NodeType + func (le *RippleState) Prefix() HashPrefix + func (r *RippleState) Affects(account Account) bool + type RippleTime struct + T uint32 + func NewRippleTime(t uint32) *RippleTime + func Now() *RippleTime + func (t *RippleTime) SetString(s string) error + func (t *RippleTime) SetUint32(n uint32) + func (t *RippleTime) UnmarshalJSON(b []byte) error + func (t RippleTime) MarshalJSON() ([]byte, error) + func (t RippleTime) Short() string + func (t RippleTime) String() string + func (t RippleTime) Time() time.Time + func (t RippleTime) Uint32() uint32 + type Router interface + SuppressionId func() Hash256 + type Seed [16]byte + func NewSeedFromAddress(s string) (*Seed, error) + func (s *Seed) AccountId(keyType KeyType, sequence *uint32) Account + func (s *Seed) Bytes() []byte + func (s *Seed) Key(keyType KeyType) crypto.Key + func (s *Seed) UnmarshalText(b []byte) error + func (s Seed) Hash() (crypto.Hash, error) + func (s Seed) MarshalText() ([]byte, error) + func (s Seed) String() string + type SetFee struct + BaseFee Uint64Hex + ReferenceFeeUnits uint32 + ReserveBase uint32 + ReserveIncrement uint32 + type SetRegularKey struct + RegularKey *RegularKey + type Signer interface + GetPublicKey func() *PublicKey + GetSignature func() *VariableLength + InitialiseForSigning func() + SigningPrefix func() HashPrefix + type SignerEntry struct + Account *Account + SignerWeight *uint16 + type SignerList struct + Flags *LedgerEntryFlag + OwnerNode *NodeIndex + SignerEntries []SignerEntry + SignerListID *uint32 + SignerQuorum *uint32 + func (le *SignerList) GetHash() *Hash256 + func (le *SignerList) GetLedgerEntryType() LedgerEntryType + func (le *SignerList) GetLedgerIndex() *Hash256 + func (le *SignerList) GetPreviousTxnId() *Hash256 + func (le *SignerList) GetType() string + func (le *SignerList) Ledger() uint32 + func (le *SignerList) NodeId() *Hash256 + func (le *SignerList) NodeType() NodeType + func (le *SignerList) Prefix() HashPrefix + func (s *SignerList) Affects(account Account) bool + type SignerListSet struct + SignerEntries []SignerEntry + SignerQuorum uint32 + type Storer interface + Ledger func() uint32 + NodeId func() *Hash256 + NodeType func() NodeType + func ReadPrefix(r Reader, nodeId Hash256) (Storer, error) + type Ticket struct + Account *Account + Expiration *uint32 + Flags *LedgerEntryFlag + OwnerNode *NodeIndex + Sequence *uint32 + Target *Account + func (le *Ticket) GetHash() *Hash256 + func (le *Ticket) GetLedgerEntryType() LedgerEntryType + func (le *Ticket) GetLedgerIndex() *Hash256 + func (le *Ticket) GetPreviousTxnId() *Hash256 + func (le *Ticket) GetType() string + func (le *Ticket) Ledger() uint32 + func (le *Ticket) NodeId() *Hash256 + func (le *Ticket) NodeType() NodeType + func (le *Ticket) Prefix() HashPrefix + func (t *Ticket) Affects(account Account) bool + type TicketCancel struct + TicketID Hash256 + type TicketCreate struct + Expiration *uint32 + Target *Account + type Trade struct + Giver Account + Got *Amount + LedgerSequence uint32 + Op string + Paid *Amount + Taker Account + TransactionIndex uint32 + TransactionType string + func (t *Trade) Rate() float64 + func (t Trade) String() string + type TradeSlice []Trade + func NewTradeSlice(txm *TransactionWithMetaData) (TradeSlice, error) + func (s TradeSlice) Filter(account Account) TradeSlice + func (s TradeSlice) Len() int + func (s TradeSlice) Less(i, j int) bool + func (s TradeSlice) Sort() + func (s TradeSlice) Swap(i, j int) + type Transaction interface + GetBase func() *TxBase + GetTransactionType func() TransactionType + PathSet func() PathSet + func ReadTransaction(r Reader) (Transaction, error) + type TransactionFlag uint32 + const TxAllowXRP + const TxCanonicalSignature + const TxCircle + const TxClearFreeze + const TxClearNoRipple + const TxClose + const TxDefaultRipple + const TxDisallowXRP + const TxFillOrKill + const TxGlobalFreeze + const TxGotMajority + const TxImmediateOrCancel + const TxLimitQuality + const TxLostMajority + const TxNoDirectRipple + const TxNoFreeze + const TxOptionalAuth + const TxOptionalDestTag + const TxPartialPayment + const TxPassive + const TxRenew + const TxRequireAuth + const TxRequireDestTag + const TxSell + const TxSetAccountTxnID + const TxSetAuth + const TxSetDisableMaster + const TxSetDisallowXRP + const TxSetFreeze + const TxSetNoRipple + const TxSetRequireAuth + const TxSetRequireDest + func (f TransactionFlag) Explain(tx Transaction) []string + func (f TransactionFlag) String() string + type TransactionResult int16 + func (r *TransactionResult) UnmarshalText(b []byte) error + func (r TransactionResult) Human() string + func (r TransactionResult) MarshalText() ([]byte, error) + func (r TransactionResult) Queued() bool + func (r TransactionResult) String() string + func (r TransactionResult) Success() bool + func (r TransactionResult) Symbol() string + func (res *TransactionResult) Marshal(w io.Writer) error + func (res *TransactionResult) Unmarshal(r Reader) error + type TransactionSlice []*TransactionWithMetaData + func (s TransactionSlice) Len() int + func (s TransactionSlice) Less(i, j int) bool + func (s TransactionSlice) MarshalJSON() ([]byte, error) + func (s TransactionSlice) Sort() + func (s TransactionSlice) Swap(i, j int) + type TransactionType uint16 + func (t *TransactionType) UnmarshalText(b []byte) error + func (t TransactionType) MarshalText() ([]byte, error) + func (t TransactionType) String() string + type TransactionWithMetaData struct + Date RippleTime + Id Hash256 + LedgerSequence uint32 + MetaData MetaData + func NewTransactionWithMetadata(typ TransactionType) *TransactionWithMetaData + func ReadTransactionAndMetadata(tx, meta Reader, hash Hash256, ledger uint32) (*TransactionWithMetaData, error) + func (t *TransactionWithMetaData) Affects(account Account) bool + func (t *TransactionWithMetaData) GetType() string + func (t *TransactionWithMetaData) Ledger() uint32 + func (t *TransactionWithMetaData) NodeId() *Hash256 + func (t *TransactionWithMetaData) NodeType() NodeType + func (t *TransactionWithMetaData) Prefix() HashPrefix + func (txm *TransactionWithMetaData) Balances() (BalanceMap, error) + func (txm *TransactionWithMetaData) UnmarshalJSON(b []byte) error + func (txm TransactionWithMetaData) MarshalJSON() ([]byte, error) + type Transfer struct + Change Value + Destination Account + DestinationBalance Amount + QualityIn *Value + QualityOut *Value + Source Account + SourceBalance Amount + TransitFee *Value + type TrustSet struct + LimitAmount Amount + QualityIn *uint32 + QualityOut *uint32 + type TxBase struct + Account Account + AccountTxnID *Hash256 + Fee Value + Flags *TransactionFlag + Hash Hash256 + LastLedgerSequence *uint32 + Memos Memos + PreviousTxnID *Hash256 + Sequence uint32 + SigningPubKey *PublicKey + SourceTag *uint32 + TransactionType TransactionType + TxnSignature *VariableLength + func (t *TxBase) Compare(other *TxBase) int + func (t *TxBase) GetBase() *TxBase + func (t *TxBase) GetHash() *Hash256 + func (t *TxBase) GetPublicKey() *PublicKey + func (t *TxBase) GetSignature() *VariableLength + func (t *TxBase) GetTransactionType() TransactionType + func (t *TxBase) GetType() string + func (t *TxBase) InitialiseForSigning() + func (t *TxBase) PathSet() PathSet + func (t *TxBase) Prefix() HashPrefix + func (t *TxBase) SigningPrefix() HashPrefix + type Uint64Hex uint64 + func (h *Uint64Hex) UnmarshalText(b []byte) error + func (h Uint64Hex) MarshalText() ([]byte, error) + type Validation struct + Amendments Vector256 + BaseFee *uint64 + CloseTime *uint32 + Flags uint32 + Hash Hash256 + LedgerHash Hash256 + LedgerSequence uint32 + LoadFee *uint32 + ReserveBase *uint32 + ReserveIncrement *uint32 + Signature VariableLength + SigningPubKey PublicKey + SigningTime RippleTime + func ReadValidation(r Reader) (*Validation, error) + func (v Validation) GetHash() *Hash256 + func (v Validation) GetPublicKey() *PublicKey + func (v Validation) GetSignature() *VariableLength + func (v Validation) GetType() string + func (v Validation) InitialiseForSigning() + func (v Validation) Prefix() HashPrefix + func (v Validation) SigningPrefix() HashPrefix + func (v Validation) SuppressionId() (Hash256, error) + type Value struct + func NewNativeValue(n int64) (*Value, error) + func NewNonNativeValue(n int64, offset int64) (*Value, error) + func NewValue(s string, native bool) (*Value, error) + func (a Value) Add(b Value) (*Value, error) + func (a Value) Compare(b Value) int + func (a Value) Equals(b Value) bool + func (a Value) Less(b Value) bool + func (a Value) Multiply(b Value) (*Value, error) + func (a Value) Ratio(b Value) (*Value, error) + func (a Value) Subtract(b Value) (*Value, error) + func (num Value) Divide(den Value) (*Value, error) + func (v *Value) Bytes() []byte + func (v *Value) Marshal(w io.Writer) error + func (v *Value) MarshalText() ([]byte, error) + func (v *Value) Unmarshal(r Reader) error + func (v *Value) UnmarshalBinary(b []byte) error + func (v *Value) UnmarshalText(b []byte) error + func (v Value) Abs() *Value + func (v Value) Clone() *Value + func (v Value) Float() float64 + func (v Value) IsNative() bool + func (v Value) IsNegative() bool + func (v Value) IsZero() bool + func (v Value) MarshalBinary() ([]byte, error) + func (v Value) Native() (*Value, error) + func (v Value) Negate() *Value + func (v Value) NonNative() (*Value, error) + func (v Value) Rat() *big.Rat + func (v Value) String() string + func (v Value) ZeroClone() *Value + type VariableLength []byte + func (v *VariableLength) Bytes() []byte + func (v *VariableLength) Marshal(w io.Writer) error + func (v *VariableLength) String() string + func (v *VariableLength) Unmarshal(r Reader) error + func (v *VariableLength) UnmarshalText(b []byte) error + func (v VariableLength) MarshalText() ([]byte, error) + type Vector256 []Hash256 + func (v *Vector256) Marshal(w io.Writer) error + func (v *Vector256) Unmarshal(r Reader) error + func (v Vector256) String() string + type Wire interface + Marshal func(io.Writer) error + Unmarshal func(Reader) error + type Work struct + MissingLedgers LedgerSlice + MissingNodes []Hash256