proposer

package
v0.0.0-...-25dd0f4 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2024 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProposerClient

type ProposerClient struct {
	clients.Client
	Logger  utils.Logging
	Config  ProposerClientConfig
	Builder interface{}
	// contains filtered or unexported fields
}

func (*ProposerClient) Init

func (pn *ProposerClient) Init(ctx context.Context) error

func (*ProposerClient) Logf

func (pn *ProposerClient) Logf(format string, values ...interface{})

func (*ProposerClient) Shutdown

func (pn *ProposerClient) Shutdown() error

func (*ProposerClient) Start

func (pn *ProposerClient) Start() error

type ProposerClientConfig

type ProposerClientConfig struct {
	ClientIndex int
	Subnet      string
}

type ProposerClients

type ProposerClients []*ProposerClient

func (ProposerClients) Running

func (all ProposerClients) Running() ProposerClients

Return subset of clients that are currently running

func (ProposerClients) Subnet

func (all ProposerClients) Subnet(subnet string) ProposerClients

Return subset of clients that are part of an specific subnet

Jump to

Keyboard shortcuts

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