types

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2023 License: Apache-2.0 Imports: 3 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 Config

type Config = tmCfg.Config

type FinalizedBundle

type FinalizedBundle struct {
	StorageId         string `json:"storage_id,omitempty"`
	StorageProviderId string `json:"storage_provider_id,omitempty"`
	CompressionId     string `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 HeightResponse added in v0.5.0

type HeightResponse struct {
	Result struct {
		Response struct {
			LastBlockHeight string `json:"last_block_height"`
		} `json:"response"`
	} `json:"result"`
}

type Pagination

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

type PoolResponse

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

type SyncProcess added in v0.5.0

type SyncProcess struct {
	Name      string
	Goroutine chan struct{}
	QuitCh    chan<- int
	Running   bool
	// contains filtered or unexported fields
}

type TendermintBsyncBundle added in v0.3.0

type TendermintBsyncBundle = []TendermintBsyncDataItem

type TendermintBsyncDataItem added in v0.3.0

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

type TendermintBundle added in v0.3.0

type TendermintBundle = []TendermintDataItem

type TendermintDataItem added in v0.3.0

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

Jump to

Keyboard shortcuts

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