Documentation
¶
Index ¶
- Variables
- type Client
- type DKGID
- type DecryptReply
- type DecryptRequest
- type InitDKGReply
- type InitDKGRequest
- type InitUnitReply
- type InitUnitRequest
- type Service
- func (s *Service) Decrypt(req *DecryptRequest) (*DecryptReply, error)
- func (s *Service) InitDKG(req *InitDKGRequest) (*InitDKGReply, error)
- func (s *Service) InitUnit(req *InitUnitRequest) (*InitUnitReply, error)
- func (s *Service) NewProtocol(tn *onet.TreeNodeInstance, conf *onet.GenericConfig) (onet.ProtocolInstance, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ServiceName = "ThresholdService"
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { *onet.Client // contains filtered or unexported fields }
func (*Client) Decrypt ¶
func (c *Client) Decrypt(input *base.DecryptInput, execReq *core.ExecutionRequest) ( *DecryptReply, error)
func (*Client) InitDKG ¶
func (c *Client) InitDKG(execReq *core.ExecutionRequest) (*InitDKGReply, error)
type DecryptReply ¶
type DecryptReply struct { Output base.DecryptOutput InputReceipts map[string]*core.OpcodeReceipt OutputReceipts map[string]*core.OpcodeReceipt }
type DecryptRequest ¶
type DecryptRequest struct { Input base.DecryptInput ExecReq core.ExecutionRequest }
type InitDKGReply ¶
type InitDKGReply struct { Output base.DKGOutput Receipts map[string]*core.OpcodeReceipt }
type InitDKGRequest ¶
type InitDKGRequest struct {
ExecReq core.ExecutionRequest
}
type InitUnitReply ¶
type InitUnitReply struct{}
type InitUnitRequest ¶
type InitUnitRequest struct { Roster *onet.Roster Threshold int }
type Service ¶
type Service struct { *onet.ServiceProcessor // contains filtered or unexported fields }
func (*Service) Decrypt ¶
func (s *Service) Decrypt(req *DecryptRequest) (*DecryptReply, error)
func (*Service) InitDKG ¶
func (s *Service) InitDKG(req *InitDKGRequest) (*InitDKGReply, error)
func (*Service) InitUnit ¶
func (s *Service) InitUnit(req *InitUnitRequest) (*InitUnitReply, error)
func (*Service) NewProtocol ¶
Click to show internal directories.
Click to hide internal directories.