Versions in this module Expand all Collapse all v0 v0.12.2 Mar 18, 2021 Changes in this version + var ErrCorruptedFwdPkg = errors.New("fwding package db has been corrupted") + func DeserializeCloseChannelSummary(r io.Reader) (*common.ChannelCloseSummary, error) + func DeserializeCommitDiff(r io.Reader) (*common.CommitDiff, error) + func DeserializeLogUpdates(r io.Reader) ([]common.LogUpdate, error) + func DeserializeNetworkResult(r io.Reader) (*common.NetworkResult, error) + func ReadElement(r io.Reader, element interface{}) error + func ReadElements(r io.Reader, elements ...interface{}) error + func SerializeChannelCloseSummary(w io.Writer, cs *common.ChannelCloseSummary) error + func SerializeCommitDiff(w io.Writer, diff *common.CommitDiff) error + func SerializeLogUpdates(w io.Writer, logUpdates []common.LogUpdate) error + func SerializeNetworkResult(w io.Writer, n *common.NetworkResult) error + func WriteElement(w io.Writer, element interface{}) error + func WriteElements(w io.Writer, elements ...interface{}) error + type ChannelPackager struct + func NewChannelPackager(source lnwire.ShortChannelID) *ChannelPackager + func (*ChannelPackager) AddFwdPkg(tx kvdb.RwTx, fwdPkg *common.FwdPkg) error + func (p *ChannelPackager) LoadFwdPkgs(tx kvdb.RTx) ([]*common.FwdPkg, error) + type UnknownElementType struct + func NewUnknownElementType(method string, el interface{}) UnknownElementType + func (e UnknownElementType) Error() string