zmq

package
v0.18.1 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ParseOpHash    = tezos.ParseOpHash
	ParseBlockHash = tezos.ParseBlockHash
)
View Source
var ZmqRawBlockColumns = []string{
	"row_id",
	"hash",
	"predecessor",
	"height",
	"cycle",
	"time",
	"solvetime",
	"version",
	"round",
	"nonce",
	"voting_period_kind",
	"baker",
	"proposer",
	"n_ops_applied",
	"n_ops_failed",
	"n_calls",
	"n_rollup_calls",
	"n_events",
	"volume",
	"fee",
	"reward",
	"deposit",
	"activated_supply",
	"burned_supply",
	"minted_supply",
	"n_accounts",
	"n_new_accounts",
	"n_new_contracts",
	"n_cleared_accounts",
	"n_funded_accounts",
	"gas_limit",
	"gas_used",
	"storage_paid",
	"lb_esc_vote",
	"lb_esc_ema",
	"protocol",
}
View Source
var ZmqRawOpColumns = []string{
	"id",
	"type",
	"hash",
	"block",
	"height",
	"cycle",
	"time",
	"op_n",
	"op_p",
	"op_c",
	"op_i",
	"status",
	"is_success",
	"is_contract",
	"is_internal",
	"is_event",
	"is_rollup",
	"counter",
	"gas_limit",
	"gas_used",
	"storage_limit",
	"storage_paid",
	"volume",
	"fee",
	"reward",
	"deposit",
	"burned",
	"sender_id",
	"sender",
	"receiver_id",
	"receiver",
	"creator_id",
	"creator",
	"baker_id",
	"baker",
	"data",
	"parameters",
	"storage",
	"big_map_diff",
	"errors",
	"entrypoint",
	"code_hash",
	"events",
	"ticket_updates",
}
View Source
var ZmqStatusColumns = []string{
	"status",
	"blocks",
	"finalized",
	"indexed",
	"progress",
}

Functions

func Fields added in v0.17.3

func Fields(topic string) []string

Types

type Block

type Block = index.Block

type BlockHash

type BlockHash = tezos.BlockHash

type Message

type Message struct {
	// contains filtered or unexported fields
}

func NewMessage

func NewMessage(topic, body []byte) *Message

func (*Message) DecodeBlock

func (m *Message) DecodeBlock() (*Block, error)

func (*Message) DecodeBlockHash

func (m *Message) DecodeBlockHash() (BlockHash, error)

func (*Message) DecodeOp

func (m *Message) DecodeOp() (*Op, error)

func (*Message) DecodeOpHash

func (m *Message) DecodeOpHash() (OpHash, error)

func (*Message) DecodeStatus

func (m *Message) DecodeStatus() (*Status, error)

type Op

type Op = index.Op

type OpHash

type OpHash = tezos.OpHash

type Status

type Status = index.Status

type ZmqAPI

type ZmqAPI interface {
}

func NewZmqAPI

func NewZmqAPI(c *client.Client) ZmqAPI

Jump to

Keyboard shortcuts

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