Documentation
¶
Index ¶
- Variables
- type AccountsAccountIndexIndexStruct
- type AccountsParentIndexIndexStruct
- type AccountsStruct
- type BalanceChangesAccountIndexIndexStruct
- type BalanceChangesStruct
- type BalanceChangesTxHashIndexIndexStruct
- type DailyLedgersStruct
- type LedgersLedgerHashIndexIndexStruct
- type LedgersStruct
- type MvAccountTransactionsStruct
- type MvLedgerTransactionTypeStruct
- type MvPaymentDestinationCurrencyStruct
- type PaymentsDestinationIndexIndexStruct
- type PaymentsSourceIndexIndexStruct
- type PaymentsStruct
- type PaymentsTxHashIndexIndexStruct
- type TransactionsCtidIndexIndexStruct
- type TransactionsHashIndexIndexStruct
- type TransactionsStruct
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Accounts = table.New(table.Metadata{ Name: "accounts", Columns: []string{ "account", "client", "initial_balance", "ledger_index", "parent", "timestamp", "tx_hash", "tx_index", }, PartKey: []string{ "ledger_index", }, SortKey: []string{ "tx_index", }, }) AccountsAccountIndexIndex = table.New(table.Metadata{ Name: "accounts_account_index_index", Columns: []string{ "account", "idx_token", "ledger_index", "tx_index", }, PartKey: []string{ "account", }, SortKey: []string{ "idx_token", "ledger_index", "tx_index", }, }) AccountsParentIndexIndex = table.New(table.Metadata{ Name: "accounts_parent_index_index", Columns: []string{ "idx_token", "ledger_index", "parent", "tx_index", }, PartKey: []string{ "parent", }, SortKey: []string{ "idx_token", "ledger_index", "tx_index", }, }) BalanceChanges = table.New(table.Metadata{ Name: "balance_changes", Columns: []string{ "account", "change", "change_type", "counterparty", "currency", "final_balance", "ledger_index", "node_index", "timestamp", "tx_hash", "tx_index", }, PartKey: []string{ "ledger_index", }, SortKey: []string{ "tx_index", "node_index", }, }) BalanceChangesAccountIndexIndex = table.New(table.Metadata{ Name: "balance_changes_account_index_index", Columns: []string{ "account", "idx_token", "ledger_index", "node_index", "tx_index", }, PartKey: []string{ "account", }, SortKey: []string{ "idx_token", "ledger_index", "tx_index", "node_index", }, }) BalanceChangesTxHashIndexIndex = table.New(table.Metadata{ Name: "balance_changes_tx_hash_index_index", Columns: []string{ "idx_token", "ledger_index", "node_index", "tx_hash", "tx_index", }, PartKey: []string{ "tx_hash", }, SortKey: []string{ "idx_token", "ledger_index", "tx_index", "node_index", }, }) DailyLedgers = table.New(table.Metadata{ Name: "daily_ledgers", Columns: []string{ "close_time", "ledger_close_day", "ledger_index", }, PartKey: []string{ "ledger_close_day", }, SortKey: []string{ "ledger_index", "close_time", }, }) Ledgers = table.New(table.Metadata{ Name: "ledgers", Columns: []string{ "account_hash", "close_flags", "close_time", "ledger_hash", "ledger_index", "ledger_processed", "parent_close_time", "parent_hash", "total_coins", "transaction_hash", "tx_count", }, PartKey: []string{ "ledger_index", }, SortKey: []string{}, }) LedgersLedgerHashIndexIndex = table.New(table.Metadata{ Name: "ledgers_ledger_hash_index_index", Columns: []string{ "idx_token", "ledger_hash", "ledger_index", }, PartKey: []string{ "ledger_hash", }, SortKey: []string{ "idx_token", "ledger_index", }, }) MvAccountTransactions = table.New(table.Metadata{ Name: "mv_account_transactions", Columns: []string{ "account", "ctid", "fee", "flags", "hash", "ledger_index", "meta", "result", "sequence", "timestamp", "tx", "tx_index", "tx_type", }, PartKey: []string{ "account", }, SortKey: []string{ "sequence", "ledger_index", "tx_index", "tx_type", }, }) MvLedgerTransactionType = table.New(table.Metadata{ Name: "mv_ledger_transaction_type", Columns: []string{ "account", "ctid", "fee", "flags", "hash", "ledger_index", "meta", "result", "sequence", "timestamp", "tx", "tx_index", "tx_type", }, PartKey: []string{ "ledger_index", }, SortKey: []string{ "tx_type", "tx_index", "sequence", }, }) MvPaymentDestinationCurrency = table.New(table.Metadata{ Name: "mv_payment_destination_currency", Columns: []string{ "amount", "delivered_amount", "destination", "destination_currency", "destination_currency_issuer", "destination_tag", "ledger_index", "source", "source_currency", "source_currency_issuer", "source_tag", "timestamp", "transaction_cost", "tx_hash", "tx_index", }, PartKey: []string{ "destination_currency_issuer", }, SortKey: []string{ "destination_currency", "source_currency_issuer", "ledger_index", "tx_index", }, }) Payments = table.New(table.Metadata{ Name: "payments", Columns: []string{ "amount", "delivered_amount", "destination", "destination_currency", "destination_currency_issuer", "destination_tag", "ledger_index", "source", "source_currency", "source_currency_issuer", "source_tag", "timestamp", "transaction_cost", "tx_hash", "tx_index", }, PartKey: []string{ "ledger_index", }, SortKey: []string{ "tx_index", "destination_currency_issuer", "source_currency_issuer", }, }) PaymentsDestinationIndexIndex = table.New(table.Metadata{ Name: "payments_destination_index_index", Columns: []string{ "destination", "destination_currency_issuer", "idx_token", "ledger_index", "source_currency_issuer", "tx_index", }, PartKey: []string{ "destination", }, SortKey: []string{ "idx_token", "ledger_index", "tx_index", "destination_currency_issuer", "source_currency_issuer", }, }) PaymentsSourceIndexIndex = table.New(table.Metadata{ Name: "payments_source_index_index", Columns: []string{ "destination_currency_issuer", "idx_token", "ledger_index", "source", "source_currency_issuer", "tx_index", }, PartKey: []string{ "source", }, SortKey: []string{ "idx_token", "ledger_index", "tx_index", "destination_currency_issuer", "source_currency_issuer", }, }) PaymentsTxHashIndexIndex = table.New(table.Metadata{ Name: "payments_tx_hash_index_index", Columns: []string{ "destination_currency_issuer", "idx_token", "ledger_index", "source_currency_issuer", "tx_hash", "tx_index", }, PartKey: []string{ "tx_hash", }, SortKey: []string{ "idx_token", "ledger_index", "tx_index", "destination_currency_issuer", "source_currency_issuer", }, }) Transactions = table.New(table.Metadata{ Name: "transactions", Columns: []string{ "account", "ctid", "fee", "flags", "hash", "ledger_index", "meta", "result", "sequence", "timestamp", "tx", "tx_index", "tx_type", }, PartKey: []string{ "ledger_index", }, SortKey: []string{ "tx_index", "tx_type", "sequence", }, }) TransactionsCtidIndexIndex = table.New(table.Metadata{ Name: "transactions_ctid_index_index", Columns: []string{ "ctid", "idx_token", "ledger_index", "sequence", "tx_index", "tx_type", }, PartKey: []string{ "ctid", }, SortKey: []string{ "idx_token", "ledger_index", "tx_index", "tx_type", "sequence", }, }) TransactionsHashIndexIndex = table.New(table.Metadata{ Name: "transactions_hash_index_index", Columns: []string{ "hash", "idx_token", "ledger_index", "sequence", "tx_index", "tx_type", }, PartKey: []string{ "hash", }, SortKey: []string{ "idx_token", "ledger_index", "tx_index", "tx_type", "sequence", }, }) )
Table models.
Functions ¶
This section is empty.
Types ¶
type AccountsStruct ¶
type BalanceChangesStruct ¶
type DailyLedgersStruct ¶
type LedgersStruct ¶
type MvPaymentDestinationCurrencyStruct ¶
type MvPaymentDestinationCurrencyStruct struct { Amount string DeliveredAmount string Destination string DestinationCurrency string DestinationCurrencyIssuer string DestinationTag int64 LedgerIndex int64 Source string SourceCurrency string SourceCurrencyIssuer string SourceTag int64 Timestamp time.Time TransactionCost int64 TxHash string TxIndex int64 }
type PaymentsStruct ¶
type PaymentsStruct struct { Amount string DeliveredAmount string Destination string DestinationCurrency string DestinationCurrencyIssuer string DestinationTag int64 LedgerIndex int64 Source string SourceCurrency string SourceCurrencyIssuer string SourceTag int64 Timestamp time.Time TransactionCost int64 TxHash string TxIndex int64 }
Click to show internal directories.
Click to hide internal directories.