checkpoint

package
v1.0.24 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2023 License: ISC Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Checkpoint

type Checkpoint struct {
	Proposer     common.Address `json:"proposer"`
	StartBlock   *big.Int       `json:"start_block"`
	EndBlock     *big.Int       `json:"end_block"`
	RootHash     common.Hash    `json:"root_hash"`
	ChildChainID string         `json:"child_chain_id"`
	Timestamp    uint64         `json:"timestamp"`
}

Checkpoint defines a response object type of checkpoint

type CheckpointCount

type CheckpointCount struct {
	Result int64 `json:"result"`
}

type CheckpointCountResponse

type CheckpointCountResponse struct {
	Height string          `json:"height"`
	Result CheckpointCount `json:"result"`
}

type CheckpointResponse

type CheckpointResponse struct {
	Height string     `json:"height"`
	Result Checkpoint `json:"result"`
}

Jump to

Keyboard shortcuts

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