types

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Block

type Block = tmTypes.Block

type BlockPair

type BlockPair struct {
	First  *Block
	Second *Block
}

type Bundle

type Bundle = []DataItem

type Config

type Config = tmCfg.Config

type DataItem

type DataItem struct {
	Key   string `json:"key"`
	Value *Block `json:"value"`
}

type FinalizedBundle

type FinalizedBundle struct {
	StorageId         string `json:"storage_id,omitempty"`
	StorageProviderId uint32 `json:"storage_provider_id,omitempty"`
	CompressionId     uint32 `json:"compression_id,omitempty"`
	FromKey           string `json:"from_key,omitempty"`
	ToKey             string `json:"to_key,omitempty"`
	DataHash          string `json:"data_hash,omitempty"`
}

type FinalizedBundleResponse

type FinalizedBundleResponse = struct {
	FinalizedBundles []FinalizedBundle `json:"finalized_bundles"`
	Pagination       Pagination        `json:"pagination"`
}

type GenesisDoc

type GenesisDoc = tmTypes.GenesisDoc

type Pagination

type Pagination struct {
	NextKey []byte `json:"next_key"`
}

type PoolResponse

type PoolResponse = struct {
	Pool struct {
		Data struct {
			Runtime    string `json:"runtime"`
			StartKey   int64  `json:"start_key"`
			CurrentKey int64  `json:"current_key"`
		} `json:"data"`
	} `json:"pool"`
}

Jump to

Keyboard shortcuts

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