Versions in this module Expand all Collapse all v0 v0.15.10001 Jan 16, 2023 v0.15.101 Jan 16, 2023 Changes in this version + type Child struct + Hash lntypes.Hash + Preimage lntypes.Preimage + func DeriveChild(root Share, desc ChildDesc) *Child + func ReconstructChildren(descs ...ChildDesc) []*Child + func (c *Child) String() string + type ChildDesc struct + Index uint32 + Share Share + type SeedSharer struct + func NewSeedSharer() (*SeedSharer, error) + func SeedSharerFromRoot(root *Share) *SeedSharer + func (s *SeedSharer) Child(index uint32) *Child + func (s *SeedSharer) Merge(child *Child) Sharer + func (s *SeedSharer) Root() Share + func (s *SeedSharer) Split() (Sharer, Sharer, error) + func (s *SeedSharer) Zero() Sharer + type Shard struct + func (s *Shard) AMP() *record.AMP + func (s *Shard) Hash() lntypes.Hash + func (s *Shard) MPP() *record.MPP + type ShardTracker struct + func NewShardTracker(root, setID, payAddr [32]byte, totalAmt lnwire.MilliSatoshi) *ShardTracker + func (s *ShardTracker) CancelShard(pid uint64) error + func (s *ShardTracker) GetHash(pid uint64) (lntypes.Hash, error) + func (s *ShardTracker) NewShard(pid uint64, last bool) (shards.PaymentShard, error) + type Share [32]byte + func (z *Share) Xor(x, y *Share) + type Sharer interface + Child func(index uint32) *Child + Merge func(*Child) Sharer + Root func() Share + Split func() (Sharer, Sharer, error) + Zero func() Sharer