sim

package
v0.0.25 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2020 License: GPL-3.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Hex2Uint64

func Hex2Uint64(hexString string) (ret uint64)

func OpenChannel

func OpenChannel(channelID, merkleRoot string,
	declaredMerkleHeight int, state StateMap) (err error)

func RegisterNodeID added in v0.0.18

func RegisterNodeID(nodeID string, state StateMap) (er error)

func TwoExp added in v0.0.22

func TwoExp(exp int) (r int)

func UnregisterNodeID added in v0.0.18

func UnregisterNodeID(nodeID string, state StateMap) (er error)

func UpdateNodeID added in v0.0.18

func UpdateNodeID(nodeID string, state StateMap) (er error)

Types

type StateMap

type StateMap map[string]string

Jump to

Keyboard shortcuts

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