Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewChannelCommunicatorMap ¶
func NewChannelCommunicatorMap(partyIDs []party.ID) map[party.ID]Communicator
func NewUDPCommunicatorMap ¶
func NewUDPCommunicatorMap(IDs []party.ID) map[party.ID]Communicator
Types ¶
type Communicator ¶
type Handler ¶
type Handler struct { State *state.State Comm Communicator }
Handler holds the information for a certain Round by a participant. It makes it easier to work with the underlying Round interface.
func (*Handler) HandleMessage ¶
func (h *Handler) HandleMessage()
HandleMessage is a blocking function that exits
func (*Handler) ProcessAll ¶
func (h *Handler) ProcessAll()
type KeyGenHandler ¶
func NewKeyGenHandler ¶
func NewKeyGenHandler(comm Communicator, ID party.ID, IDs []party.ID, T party.Size) (*KeyGenHandler, error)
type SignHandler ¶
func NewSignHandler ¶
func NewSignHandler(comm Communicator, IDs []party.ID, secret *eddsa.SecretShare, public *eddsa.Public, message []byte) (*SignHandler, error)
Click to show internal directories.
Click to hide internal directories.