Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenRandomBytes ¶
GenRandomBytes returns generated random bytes array, with specified length.
func GetNextPortAvailable ¶
func GetNextPortAvailable() int
GetNextPortAvailable check if port is available and return it. If not available, it will check the next port.
func Keccak256 ¶
Keccak256 is function used in testing only, it has the dedicated implementation for purpose of double-check result
func RandomPositiveInt64 ¶
func RandomPositiveInt64() int64
RandomPositiveInt64 returns a random int64, value >= 0.
func StartTendermintNode ¶
func StartTendermintNode(app abci.Application, genesis *tmtypes.GenesisDoc, db cdb.DB, validatorPrivKey tmcrypto.PrivKey, logger log.Logger) (tendermintNode *nm.Node, rpcPort int, tempFiles []string)
StartTendermintNode starts a Tendermint node for the given ABCI Application, used for testing purposes.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.