multisig

package
v0.35.4 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	tofnd.MultisigClient
}

Client defines the interface of a grpc client to communicate with tofnd Multisig service

type Mgr

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

Mgr represents an object that manages all communication with the multisig process

func NewMgr

func NewMgr(client Client, ctx sdkclient.Context, participant sdk.ValAddress, broadcaster broadcast.Broadcaster, timeout time.Duration) *Mgr

NewMgr is the constructor of mgr

func (*Mgr) ProcessKeygenStarted

func (mgr *Mgr) ProcessKeygenStarted(event *types.KeygenStarted) error

ProcessKeygenStarted handles event keygen started

func (*Mgr) ProcessSigningStarted

func (mgr *Mgr) ProcessSigningStarted(event *types.SigningStarted) error

ProcessSigningStarted handles event signing started

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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