keygen

package
v0.0.0-...-f9c6c1d Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Keygen

type Keygen struct {
	common.BaseTss
	// contains filtered or unexported fields
}

func NewKeygen

func NewKeygen(host host.Host, comm p2p.Communication, storer SaveDataStorer, threshold int) *Keygen

func (*Keygen) Initiate

func (k *Keygen) Initiate() error

Initiate initiates a key generation TSS process.

func (*Keygen) Start

func (k *Keygen) Start() error

Start starts a key generation TSS process.

func (*Keygen) WaitForStart

func (s *Keygen) WaitForStart()

WaitForStart waits for key generation start message and starts TSS process.

type SaveDataStorer

type SaveDataStorer interface {
	SetSaveData(saveData storage.Keyshare) error
	LockKeyshare()
	UnlockKeyshare()
}

Jump to

Keyboard shortcuts

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