Documentation
¶
Overview ¶
Package sequencer reads mutations and applies them to the Trillian Map.
Index ¶
Constants ¶
View Source
const MaxBatchSize = int32(1000)
MaxBatchSize limits the number of mutations that will be processed per epoch.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Sequencer ¶
type Sequencer struct {
// contains filtered or unexported fields
}
Sequencer processes mutations and sends them to the trillian map.
func New ¶
func New(tlog trillian.TrillianLogClient, tmap trillian.TrillianMapClient, mutatorFunc mutator.Func, domains domain.Storage, mutations mutator.MutationStorage, queue mutator.MutationQueue) *Sequencer
New creates a new instance of the signer.
func (*Sequencer) Close ¶
func (s *Sequencer) Close()
Close stops all receivers and releases resources.
func (*Sequencer) ListenForNewDomains ¶
ListenForNewDomains starts receivers for all domains and periodically checks for new domains.
Click to show internal directories.
Click to hide internal directories.