Versions in this module Expand all Collapse all v0 v0.12.2 Mar 18, 2021 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) Root() Share + func (s *SeedSharer) Split() (Sharer, Sharer, error) + type Share [32]byte + func (z *Share) Xor(x, y *Share) + type Sharer interface + Child func(index uint32) *Child + Root func() Share + Split func() (Sharer, Sharer, error)