Documentation
¶
Index ¶
Constants ¶
This section is empty.
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(mapID int64, tmap trillian.TrillianMapClient, logID int64, tlog trillian.TrillianLogClient, mutator mutator.Mutator, mutations mutator.Mutation, factory transaction.Factory) *Sequencer
New creates a new instance of the signer.
func (*Sequencer) CreateEpoch ¶
CreateEpoch signs the current map head.
func (*Sequencer) Initialize ¶
Initialize inserts the object hash of an empty struct into the log if it is empty. This keeps the log leaves in-sync with the map which starts off with an empty log root at map revision 0.
Click to show internal directories.
Click to hide internal directories.