tss

package
v1.0.18 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OutChannelSize = 1000
	EndChannelSize = 1
	WaitingCap     = 100
)

Variables

This section is empty.

Functions

This section is empty.

Types

type KeygenParty

type KeygenParty struct {
	// contains filtered or unexported fields
}

func NewKeygenParty

func NewKeygenParty(id uint64, sessionType types.SessionType, parties []*rarimo.Party, secret *secret.TssSecret, coreCon *connectors.CoreConnector, log *logan.Entry) *KeygenParty

func (*KeygenParty) Receive

func (k *KeygenParty) Receive(sender *rarimo.Party, isBroadcast bool, details []byte) error

func (*KeygenParty) Result

func (k *KeygenParty) Result() *keygen.LocalPartySaveData

func (*KeygenParty) Run

func (k *KeygenParty) Run(ctx context.Context)

func (*KeygenParty) WaitFor

func (k *KeygenParty) WaitFor()

type SignParty

type SignParty struct {
	// contains filtered or unexported fields
}

func NewSignParty

func NewSignParty(data string, id uint64, sessionType types.SessionType, parties []*rarimo.Party, secret *secret.TssSecret, coreCon *connectors.CoreConnector, log *logan.Entry) *SignParty

func (*SignParty) Data

func (p *SignParty) Data() string

func (*SignParty) Receive

func (p *SignParty) Receive(sender *rarimo.Party, isBroadcast bool, details []byte) error

func (*SignParty) Result

func (p *SignParty) Result() *common.SignatureData

func (*SignParty) Run

func (p *SignParty) Run(ctx context.Context)

func (*SignParty) WaitFor

func (p *SignParty) WaitFor()

Jump to

Keyboard shortcuts

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