libexec

package
v0.0.0-...-ab61f1e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 6, 2024 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const ServiceName = "libexec_svc"

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	*onet.Client
	// contains filtered or unexported fields
}

func NewClient

func NewClient(r *onet.Roster) *Client

func (*Client) Execute

func (c *Client) Execute(input base.ExecuteInput, execReq *core.ExecutionRequest) (*ExecuteReply,
	error)

func (*Client) InitTransaction

func (c *Client) InitTransaction(rdata *base.ByzData, cdata *base.ByzData,
	wf string, txn string) (*InitTransactionReply, error)

func (*Client) InitUnit

func (c *Client) InitUnit(threshold int) (*InitUnitReply, error)

type Execute

type Execute struct {
	Input   base.ExecuteInput
	ExecReq core.ExecutionRequest
}

type ExecuteReply

type ExecuteReply struct {
	Output         base.ExecuteOutput
	InputReceipts  map[string]*core.OpcodeReceipt
	OutputReceipts map[string]*core.OpcodeReceipt
}

type InitTransaction

type InitTransaction struct {
	Input base.InitTxnInput
}

type InitTransactionReply

type InitTransactionReply struct {
	Plan core.ExecutionPlan
}

type InitUnit

type InitUnit struct {
	Roster    *onet.Roster
	Threshold int
}

type InitUnitReply

type InitUnitReply struct{}

type Service

type Service struct {
	*onet.ServiceProcessor
	// contains filtered or unexported fields
}

func (*Service) Execute

func (s *Service) Execute(req *Execute) (*ExecuteReply, error)

func (*Service) InitTransaction

func (s *Service) InitTransaction(req *InitTransaction) (*InitTransactionReply, error)

func (*Service) InitUnit

func (s *Service) InitUnit(req *InitUnit) (*InitUnitReply, error)

func (*Service) NewProtocol

func (s *Service) NewProtocol(tn *onet.TreeNodeInstance, conf *onet.GenericConfig) (onet.ProtocolInstance, error)

Directories

Path Synopsis
apps
protocol

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL