utils

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2023 License: Apache-2.0 Imports: 8 Imported by: 2

Documentation

Index

Constants

View Source
const (
	ABCIEndpoint                = "http://127.0.0.1:26657/abci_info?"
	BundlesPageLimit            = 100
	DefaultMode                 = "auto"
	DefaultChainId              = "kyve-1"
	KSyncRuntimeTendermint      = "@kyvejs/tendermint"
	KSyncRuntimeTendermintBsync = "@kyvejs/tendermint-bsync"
	RestEndpointMainnet         = "https://api-eu-1.kyve.network"
	RestEndpointKaon            = "https://api-eu-1.kaon.kyve.network"
	RestEndpointKorellia        = "https://api.korellia.kyve.network"
)

Variables

This section is empty.

Functions

func CreateChecksum

func CreateChecksum(input []byte) (hash string)

func DecompressGzip

func DecompressGzip(input []byte) ([]byte, error)

func DownloadFromUrl

func DownloadFromUrl(url string) ([]byte, error)

func IsFileGreaterThanOrEqualTo100MB added in v0.5.0

func IsFileGreaterThanOrEqualTo100MB(filePath string) (bool, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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