utils

package
v0.0.0-...-b9e5fcc Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func QueryTxs

func QueryTxs(node node.Node, query string) ([]*coretypes.ResultTx, error)

QueryTxs queries all the transactions from the given node corresponding to the given query

func ReadGenesis

func ReadGenesis(config config.Config, node node.Node) (*tmtypes.GenesisDoc, error)

ReadGenesis reads the genesis data based on the given config

func RemoveDuplicateValues

func RemoveDuplicateValues(slice []string) []string

RemoveDuplicateValues removes the duplicated values from the given slice

Types

This section is empty.

Jump to

Keyboard shortcuts

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