types

package
v0.16.2 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2017 License: Apache-2.0 Imports: 2 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountList

type AccountList struct {
	Accounts []*account.Account `json:"accounts"`
}

Accounts

type BlockchainInfo

type BlockchainInfo struct {
	ChainId           string           `json:"chain_id"`
	GenesisHash       []byte           `json:"genesis_hash"`
	LatestBlockHeight int              `json:"latest_block_height"`
	LatestBlock       *types.BlockMeta `json:"latest_block"`
}

BlockchainInfo

type Blocks

type Blocks struct {
	MinHeight  int                `json:"min_height"`
	MaxHeight  int                `json:"max_height"`
	BlockMetas []*types.BlockMeta `json:"block_metas"`
}

GetBlocks

type Call

type Call struct {
	Return  string `json:"return"`
	GasUsed int64  `json:"gas_used"`
}

Call or CallCode

type ChainId

type ChainId struct {
	ChainId string `json:"chain_id"`
}

type ClientVersion

type ClientVersion struct {
	ClientVersion string `json:"client_version"`
}

type EventSub

type EventSub struct {
	SubId string `json:"sub_id"`
}

EventSubscribe

type EventUnsub

type EventUnsub struct {
	Result bool `json:"result"`
}

EventUnsubscribe

type GenesisHash

type GenesisHash struct {
	Hash []byte `json:"hash"`
}

Genesis hash

type LatestBlockHeight

type LatestBlockHeight struct {
	Height int `json:"height"`
}

Get the latest

type Listeners

type Listeners struct {
	Listeners []string `json:"listeners"`
}

type Listening

type Listening struct {
	Listening bool `json:"listening"`
}

type Moniker

type Moniker struct {
	Moniker string `json:"moniker"`
}

type NameRegEntry

type NameRegEntry struct {
	Name    string `json:"name"`    // registered name for the entry
	Owner   []byte `json:"owner"`   // address that created the entry
	Data    string `json:"data"`    // data to store under this name
	Expires int    `json:"expires"` // block at which this entry expires
}

type PollResponse

type PollResponse struct {
	Events []interface{} `json:"events"`
}

EventPoll

type ResultListNames

type ResultListNames struct {
	BlockHeight int             `json:"block_height"`
	Names       []*NameRegEntry `json:"names"`
}

type Storage

type Storage struct {
	StorageRoot  []byte        `json:"storage_root"`
	StorageItems []StorageItem `json:"storage_items"`
}

Account storage

type StorageItem

type StorageItem struct {
	Key   []byte `json:"key"`
	Value []byte `json:"value"`
}

A contract account storage item.

type ValidatorList

type ValidatorList struct {
	BlockHeight         int                `json:"block_height"`
	BondedValidators    []*types.Validator `json:"bonded_validators"`
	UnbondingValidators []*types.Validator `json:"unbonding_validators"`
}

Validators

Jump to

Keyboard shortcuts

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