package
0.2.1-alpha
Repository: https://github.com/bitlum/lnd.git
Documentation: pkg.go.dev

# Functions

NewRevocationProducer creates new instance of shachain producer.
NewRevocationProducerFromBytes deserializes an instance of a RevocationProducer encoded in the passed byte slice, returning a fully initialized instance of a RevocationProducer.
NewRevocationStore creates the new shachain store.
NewRevocationStoreFromBytes recreates the initial store state from the given binary shachain store representation.

# Structs

RevocationProducer is an implementation of Producer interface using the shachain PRF construct.
RevocationStore is a concrete implementation of the Store interface.

# Interfaces

Producer is an interface which serves as an abstraction over the data structure responsible for efficiently generating the secrets for a particular index based on a root seed.
Store is an interface which serves as an abstraction over data structure responsible for efficiently storing and restoring of hash secrets by given indexes.