Versions in this module Expand all Collapse all v0 v0.2.97 Oct 15, 2022 Changes in this version + const HashSize + const PreimageSize + type Hash [HashSize]byte + var ZeroHash Hash + func (hash Hash) String() string + type Invoice struct + Amount uint64 + Description string + PHash string + type Preimage [PreimageSize]byte + func GetPreimage() (Preimage, error) + func MakePreimage(newPreimage []byte) (Preimage, error) + func MakePreimageFromStr(newPreimage string) (Preimage, error) + func (p *Preimage) Hash() Hash + func (p *Preimage) Matches(h Hash) bool + func (p Preimage) String() string