tss

package
v0.35.6 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 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) (*grpc.ClientConn, error)

Connect connects to tofnd gRPC Server

Types

type Mgr

type Mgr struct {
	Timeout time.Duration
	// 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, 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