Documentation ¶
Overview ¶
Package payments provides an abstraction above the implementation for handling Lightning Network payments and storing pending payments awaiting session keys.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PayChan ¶ added in v0.1.16
type PayChan chan *Payment
type PendingPayments ¶
type PendingPayments []*Payment
func (PendingPayments) Add ¶
func (p PendingPayments) Add(np *Payment) (pp PendingPayments)
func (PendingPayments) Delete ¶
func (p PendingPayments) Delete(preimage sha256.Hash) (pp PendingPayments)
func (PendingPayments) FindPreimage ¶
func (p PendingPayments) FindPreimage(pi sha256.Hash) (pp *Payment)
Click to show internal directories.
Click to hide internal directories.