flowhelper

package
v1.3.6-rc-8 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2021 License: GPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlowAPI1       = "access-001.mainnet1.nodes.onflow.org:9000"
	FlowAPI2       = "access-001.mainnet2.nodes.onflow.org:9000"
	FlowAPI3       = "access-001.mainnet3.nodes.onflow.org:9000"
	FlowAPI4       = "access-001.mainnet4.nodes.onflow.org:9000"
	FlowAPI5       = "access-001.mainnet5.nodes.onflow.org:9000"
	FlowAPI6       = "access-001.mainnet6.nodes.onflow.org:9000"
	FlowAPI7       = "access-001.mainnet7.nodes.onflow.org:9000"
	FlowAPI8       = "access-001.mainnet8.nodes.onflow.org:9000"
	FlowAPI9       = "access-001.mainnet9.nodes.onflow.org:9000"
	FlowAPI10      = "access-001.mainnet10.nodes.onflow.org:9000"
	FlowAPI11      = "access-001.mainnet11.nodes.onflow.org:9000"
	FlowAPICurrent = "access.mainnet.nodes.onflow.org:9000"
	RequestLimit   = uint64(249)
)

Variables

View Source
var (
	RootHeight1       = uint64(7601063)
	RootHeight2       = uint64(8742959)
	RootHeight3       = uint64(9737133)
	RootHeight4       = uint64(9992020)
	RootHeight5       = uint64(12020337)
	RootHeight6       = uint64(12609237)
	RootHeight7       = uint64(13404174)
	RootHeight8       = uint64(13950742)
	RootHeight9       = uint64(14892104)
	RootHeight10      = uint64(15791891)
	RootHeight11      = uint64(16755602)
	RootHeightCurrent = uint64(17544523)
	RootHeights       = []uint64{
		RootHeight1,
		RootHeight2,
		RootHeight3,
		RootHeight4,
		RootHeight5,
		RootHeight6,
		RootHeight7,
		RootHeight8,
		RootHeight9,
		RootHeight10,
		RootHeight11,
		RootHeightCurrent,
	}
)

Functions

func GetFlowClient

func GetFlowClient(startheight uint64) (*client.Client, error)

GetFlowClient returns a feasible client corresponding to the block's startheight. https://docs.onflow.org/node-operation/past-sporks/

Types

This section is empty.

Jump to

Keyboard shortcuts

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