xlm

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 26, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TablePrefix = "xlm"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Ledger

type Ledger struct {
	ID                         int64  `xorm:"id bigint autoincr pk"`
	LedgerID                   string `xorm:"ledger_id char(64) notnull index(IDX_xlm_ledger_id)"`
	PagingToken                string `xorm:"paging_token char(64) notnull"`
	LedgerHash                 string `xorm:"ledger_hash char(64) notnull index(IDX_xlm_ledger_hash)"`
	PreviousLedgerHash         string `xorm:"previous_ledger_hash char(64) notnull"`
	Sequence                   int64  `xorm:"sequence int notnull unique(IDX_xlm_ledger_sequence)"`
	TransactionCount           int64  `xorm:"transaction_count int notnull"`
	SuccessfulTransactionCount int64  `xorm:"successful_transaction_count int notnull"`
	FailedTransactionCount     int64  `xorm:"failed_transaction_count int notnull"`
	OperationCount             int64  `xorm:"operation_count int notnull"`
	ClosedTime                 int64  `xorm:"closed_time int notnull"`
	TotalCoins                 string `xorm:"total_coins char(64) notnull"`
	FeePool                    string `xorm:"fee_pool char(64) notnull"`
	BaseFeeInStroops           int64  `xrom:"base_fee_in_stroops int notnull"`
	BaseReserveInStroops       int64  `xrom:"base_reserve_in_stroops int notnull"`
	MaxTxSetSize               int64  `xorm:"max_tx_set_size int notnull"`
	ProtocolVersion            int64  `xorm:"protocol_version int notnull"`
}

func (Ledger) TableName

func (t Ledger) TableName() string

type Meta

type Meta struct {
	ID          int64     `xorm:"id bigint autoincr pk"`
	Name        string    `xorm:"name varchar(255) notnull unique(IDX_ltc_meta_name)"`
	LastID      int64     `xorm:"last_id bigint notnull"`
	Count       int64     `xorm:"count bigint notnull"`
	CreatedTime time.Time `xorm:"created_time created notnull"`
	UpdatedTime time.Time `xorm:"updated_time updated notnull"`
}

func (Meta) TableName

func (t Meta) TableName() string

type Operation

type Operation struct {
	ID               int64  `xorm:"id bigint autoincr pk"`
	OperationID      string `xorm:"operation_id char(64) notnull index(IDX_xlm_operation_id)"`
	TransactionID    string `xorm:"transaction_id char(64) notnull index(IDX_xlm_transaction_id)"`
	ApplicationOrder int64  `xorm:"application_order int notnull"`
	Type             string `xorm:"type char(32) notnull"`
	Detail           string `xorm:"detail text notnull"`
	SourceAccount    string `xorm:"source_account char(64) notnull index(IDX_xlm_source_account_hash)"`
}

func (Operation) TableName

func (t Operation) TableName() string

type Transaction

type Transaction struct {
	ID                    int64  `xorm:"id bigint autoincr pk"`
	TransactionID         string `xorm:"transaction_id char(64) notnull index(IDX_xlm_transaction_id)"`
	PagingToken           string `xorm:"paging_token char(64) notnull"`
	TransactionHash       string `xorm:"transaction_hash char(64) notnull index(IDX_xlm_transaction_hash)"`
	LedgerSequence        int64  `xorm:"ledger_sequence int notnull index(IDX_xlm_transaction_ledger_sequence)"`
	SourceAccount         string `xorm:"source_account char(64) notnull index(IDX_xlm_source_account_hash)"`
	SourceAccountSequence string `xorm:"source_account_sequence char(64) notnull index(IDX_xlm_source_account_sequence_hash)"`
	FeePaid               int64  `xorm:"fee_paid int notnull"`
	OperationCount        int64  `xorm:"operation_count int notnull"`
	MemoType              string `xorm:"memo_type char(64) notnull"`
	Signatures            string `xorm:"signatures text notnull"`
}

func (Transaction) TableName

func (t Transaction) TableName() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL