utils

package
v0.0.0-...-f19e22f Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChainId

func ChainId(executor *knuu.Executor, app *knuu.Instance) (string, error)

func CreateAndStartConsensus

func CreateAndStartConsensus(executor *knuu.Executor) (*knuu.Instance, error)

func GenesisHash

func GenesisHash(executor *knuu.Executor, app *knuu.Instance) (string, error)

func GetHeight

func GetHeight(executor *knuu.Executor, app *knuu.Instance) (int64, error)

func GetPersistentPeers

func GetPersistentPeers(executor *knuu.Executor, apps []*knuu.Instance) (string, error)

func NodeIdFromNode

func NodeIdFromNode(executor *knuu.Executor, node *knuu.Instance) (string, error)

func WaitForHeight

func WaitForHeight(executor *knuu.Executor, app *knuu.Instance, height int64) error

func WaitForHeightWithContext

func WaitForHeightWithContext(ctx context.Context, executor *knuu.Executor, app *knuu.Instance, height int64) error

Types

type JSONRPCError

type JSONRPCError struct {
	Code    int
	Message string
	Data    string
}

func (*JSONRPCError) Error

func (e *JSONRPCError) Error() string

Jump to

Keyboard shortcuts

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