manager

package
v0.9.7 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: BSD-3-Clause Imports: 20 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 *config.Config) (*Manager, error)

func (*Manager) GetChallenge

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

func (*Manager) GetFaucetAddress

func (m *Manager) GetFaucetAddress(_ context.Context) (ed25519.PublicKey, error)

func (*Manager) Run

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

func (*Manager) SolveChallenge

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

Jump to

Keyboard shortcuts

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