package
0.0.3
Repository: https://github.com/bittap-protocol/lnd.git
Documentation: pkg.go.dev

# Functions

MakeHash returns a new Hash from a byte slice.
MakeHashFromStr creates a Hash from a hex hash string.
MakePreimage returns a new Preimage from a bytes slice.
MakePreimageFromStr creates a Preimage from a hex preimage string.
Max returns the greater of the two inputs.
Min returns the lesser of the two inputs.

# Constants

HashSize of array used to store hashes.
PreimageSize of array used to store preimagees.

# Variables

ZeroHash is a predefined hash containing all zeroes.

# Interfaces

Number defines a type constraint for numbers.

# Type aliases

Hash is used in several of the lightning messages and common structures.
Preimage is used in several of the lightning messages and common structures.