manager

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 31, 2024 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

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

func New

func New(logger logging.Logger, config *fconfig.Config) (*Manager, error)

func (*Manager) Config

func (m *Manager) Config() *fconfig.Config

Config returns the configuration of the manager

func (*Manager) GetChallenge

func (m *Manager) GetChallenge(_ context.Context) ([]byte, uint16, error)

func (*Manager) GetFaucetAddress

func (m *Manager) GetFaucetAddress(_ context.Context) (codec.Address, error)

func (*Manager) Run

func (m *Manager) Run(ctx context.Context) error

func (*Manager) SolveChallenge

func (m *Manager) SolveChallenge(ctx context.Context, solver codec.Address, salt []byte, solution []byte) (ids.ID, uint64, error)

func (*Manager) UpdateNuklaiRPC

func (m *Manager) UpdateNuklaiRPC(ctx context.Context, newNuklaiRPCUrl string) error

Jump to

Keyboard shortcuts

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