common

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

package common is related to common variables and utils funcs

Index

Constants

View Source
const (
	// TxVersion tx version number
	TxVersion = 1
)

Variables

This section is empty.

Functions

func GetNonce

func GetNonce() string

GetNonce get nonce value

func IsValidAmount

func IsValidAmount(amount string) (string, bool)

IsValidAmount judge whether the number is legal

func PathExistsAndMkdir

func PathExistsAndMkdir(path string) error

PathExistsAndMkdir judge whether path is existant or not

func SetSeed

func SetSeed() error

SetSeed set seed

Types

This section is empty.

Jump to

Keyboard shortcuts

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