ticket

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2023 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (

	//TyLogNewTicket new ticket log type
	TyLogNewTicket = 111
	// TyLogCloseTicket close ticket log type
	TyLogCloseTicket = 112
	// TyLogMinerTicket miner ticket log type
	TyLogMinerTicket = 113
	// TyLogTicketBind bind ticket log type
	TyLogTicketBind = 114
)
View Source
const (
	TicketDBX        = "ticket"
	TicketTableX     = "ticket"
	TicketBindDBX    = "ticket_bind"
	TicketBindTableX = "ticket"
	TicketSeqDBX     = "ticket_seq"
	TicketSeqTableX  = "ticket"
	TicketLastSeqX   = "last_seq"
	DefaultType      = "_doc"
)

ticket db

View Source
const BindMapping = `` /* 417-byte string literal not displayed */

BindMapping BindMapping

View Source
const TicketMapping = `` /* 1139-byte string literal not displayed */

TicketMapping TicketMapping

Variables

This section is empty.

Functions

func NewConvert

func NewConvert(paraTitle, symbol string, supports []string) db.ExecConvert

NewConvert NewConvert

Types

type BlockInfo

type BlockInfo struct {
	Height int64 `json:"height"`
	Ts     int64 `json:"ts"`
}

BlockInfo ticket/ticket/Id

type Ticket

type Ticket struct {
	ID      string    `json:"id"`
	Owner   string    `json:"owner"`
	Miner   string    `json:"miner"`
	Status  string    `json:"status"`
	OpenAt  BlockInfo `json:"open_at"`
	MinerAt BlockInfo `json:"miner_at"`
	CloseAt BlockInfo `json:"close_at"`
}

Ticket Ticket

Jump to

Keyboard shortcuts

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