devtool

package
v0.7.4 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateKey

func CreateKey(keystoreDir string) string

func RemoteConsole

func RemoteConsole(cfg DevtoolConfig) (string, error)

Types

type Devtool

type Devtool struct {
	EthController string
	Client        eth.LivepeerEthClient
	// contains filtered or unexported fields
}

func Init

func Init(cfg DevtoolConfig) (Devtool, error)

func (*Devtool) Close

func (d *Devtool) Close()

func (*Devtool) FundBroadcaster

func (d *Devtool) FundBroadcaster() error

func (*Devtool) InitializeOrchestrator

func (d *Devtool) InitializeOrchestrator(cfg DevtoolConfig) error

func (*Devtool) InitializeRound

func (d *Devtool) InitializeRound() error

func (*Devtool) RegisterOrchestrator

func (d *Devtool) RegisterOrchestrator(cfg DevtoolConfig) error

func (*Devtool) RequestTokens

func (d *Devtool) RequestTokens() error

type DevtoolConfig

type DevtoolConfig struct {
	Endpoint                  string
	GethMiningAccount         string
	GethMiningAccountOverride bool
	EthController             string
	EthControllerOverride     bool
	ServiceURI                string
	Account                   string
	KeystoreDir               string
	IsBroadcaster             bool
}

func NewDevtoolConfig

func NewDevtoolConfig() DevtoolConfig

Jump to

Keyboard shortcuts

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