# Functions

CreateDirIfDoesNotExit creates a given directory if it does not already exist.
NewAddress formats a given byte array to an address.
NewHash converts a given hash, b, to a 32-byte mem-prefix-compliant hash.

# Constants

AddressLength is the standardized length of an address.
HashLength is the standardized length of a hash.

# Variables

ConfigDir is the global configuration directory definition.
DataDir is the global data directory definition.
DbDir is the global database directory definition.
PeerIdentityDir is the global p2p identity definition.

# Type aliases

Address represents a 20 byte, hex-encoded ECDSA public key.
Hash represents the 32 byte output of sha3().