milestone

package
v0.0.0-...-1f8a15b Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2023 License: GPL-3.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 Milestone

type Milestone struct {
	Proposer   libcommon.Address `json:"proposer"`
	StartBlock *big.Int          `json:"start_block"`
	EndBlock   *big.Int          `json:"end_block"`
	Hash       libcommon.Hash    `json:"hash"`
	BorChainID string            `json:"bor_chain_id"`
	Timestamp  uint64            `json:"timestamp"`
}

milestone defines a response object type of bor milestone

type MilestoneCount

type MilestoneCount struct {
	Count int64 `json:"count"`
}

type MilestoneCountResponse

type MilestoneCountResponse struct {
	Height string         `json:"height"`
	Result MilestoneCount `json:"result"`
}

type MilestoneID

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

type MilestoneIDResponse

type MilestoneIDResponse struct {
	Height string      `json:"height"`
	Result MilestoneID `json:"result"`
}

type MilestoneLastNoAck

type MilestoneLastNoAck struct {
	Result string `json:"result"`
}

type MilestoneLastNoAckResponse

type MilestoneLastNoAckResponse struct {
	Height string             `json:"height"`
	Result MilestoneLastNoAck `json:"result"`
}

type MilestoneNoAck

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

type MilestoneNoAckResponse

type MilestoneNoAckResponse struct {
	Height string         `json:"height"`
	Result MilestoneNoAck `json:"result"`
}

type MilestoneResponse

type MilestoneResponse struct {
	Height string    `json:"height"`
	Result Milestone `json:"result"`
}

Jump to

Keyboard shortcuts

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