sender

package
v3.0.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2025 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMsgDetail

func GetMsgDetail(msg sdk.Msg) (detail string)

GetMsgDetail represents the detail string of a message for logging.

func GetMsgDetails

func GetMsgDetails(msgs ...sdk.Msg) (details []string)

GetMsgDetails extracts the detail from SDK messages.

Types

type Sender

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

Sender is a worker responsible for sending transactions to the node.

func New

func New(ctx *context.Context) (*Sender, error)

New creates a new instance of the Sender worker.

func (*Sender) Start

func (s *Sender) Start()

Start starts the Sender worker.

func (*Sender) Stop

func (s *Sender) Stop() error

Stop stops the Sender worker.

Jump to

Keyboard shortcuts

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