tss

package
v0.31.0 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Connect

func Connect(host string, port string, timeout time.Duration, logger log.Logger) (*grpc.ClientConn, error)

Connect connects to tofnd gRPC Server

Types

type Mgr

type Mgr struct {
	Timeout time.Duration
	Logger  log.Logger
	// contains filtered or unexported fields
}

Mgr represents an object that manages all communication with the external tss process

func NewMgr

func NewMgr(multiSigClient rpc.MultiSigClient, cliCtx sdkClient.Context, timeout time.Duration, principalAddr string, broadcaster broadcast.Broadcaster, logger log.Logger, cdc *codec.LegacyAmino) *Mgr

NewMgr returns a new tss manager instance

func (*Mgr) ProcessHeartBeatEvent

func (mgr *Mgr) ProcessHeartBeatEvent(e tmEvents.Event) error

ProcessHeartBeatEvent broadcasts the heartbeat

Directories

Path Synopsis
rpc

Jump to

Keyboard shortcuts

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