trustedrpc

package
v0.0.0-...-573d20e Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CosmosProvider

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

func NewProvider

func NewProvider(remote string) (*CosmosProvider, error)

NewProvider validates the CosmosProviderConfig, instantiates a ChainClient and then instantiates a CosmosProvider

func (*CosmosProvider) Status

Status queries the status of this node, can be used to check if it is catching up or a validator

func (*CosmosProvider) Validators

func (cc *CosmosProvider) Validators(ctx context.Context, height int64) (*coretypes.ResultValidators, error)

Jump to

Keyboard shortcuts

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