common

package
v0.0.0-...-d8aa001 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2018 License: MIT Imports: 0 Imported by: 2

Documentation

Index

Constants

View Source
const (
	HashLength    = 32
	AddressLength = 20
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Address

type Address [AddressLength]byte

func BytesToAddress

func BytesToAddress(b []byte) Address

func (Address) Bytes

func (a Address) Bytes() []byte

func (*Address) SetBytes

func (a *Address) SetBytes(b []byte)

type Hash

type Hash [HashLength]byte

Jump to

Keyboard shortcuts

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