Documentation ¶
Overview ¶
Package server implements the Katzenpost voting authority server.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( MixPublishDeadline = epochtime.Period / 8 AuthorityVoteDeadline = MixPublishDeadline + epochtime.Period/8 AuthorityRevealDeadline = AuthorityVoteDeadline + epochtime.Period/8 AuthorityCertDeadline = AuthorityRevealDeadline + epochtime.Period/8 PublishConsensusDeadline = AuthorityCertDeadline + epochtime.Period/8 )
View Source
var ErrGenerateOnly = errors.New("server: GenerateOnly set")
ErrGenerateOnly is the error returned when the server initialization terminates due to the `GenerateOnly` debug config option.
Functions ¶
This section is empty.
Types ¶
type Server ¶
Server is a voting authority server instance.
func (*Server) IdentityKey ¶
IdentityKey returns the running Server's identity public key.
func (*Server) RotateLog ¶
func (s *Server) RotateLog()
RotateLog rotates the log file if logging to a file is enabled.
Click to show internal directories.
Click to hide internal directories.