query

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: May 30, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BlockInfo

func BlockInfo(nodesList []string, blockID int64) (map[string]*blockInfoResult, error)

func MaxBlockIDs

func MaxBlockIDs(nodesList []string) ([]int64, error)

Types

type ConcurrentMap

type ConcurrentMap struct {
	// contains filtered or unexported fields
}

func (*ConcurrentMap) Get

func (c *ConcurrentMap) Get(key string) (bool, any)

func (*ConcurrentMap) Set

func (c *ConcurrentMap) Set(key string, value any)

type MaxBlockID

type MaxBlockID struct {
	MaxBlockID int64 `json:"max_block_id"`
}

Jump to

Keyboard shortcuts

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