keys

package
v0.0.0-...-5d05a64 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StakingKeys

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

func NewDilithiumKeys

func NewDilithiumKeys(outFileName string) *StakingKeys

func (*StakingKeys) Add

func (dk *StakingKeys) Add(dilithiumAccount *dilithium.Dilithium)

func (*StakingKeys) GetDilithiumByIndex

func (dk *StakingKeys) GetDilithiumByIndex(index uint) (*protos.DilithiumInfo, error)

func (*StakingKeys) GetDilithiumInfo

func (dk *StakingKeys) GetDilithiumInfo() []*protos.DilithiumInfo

func (*StakingKeys) List

func (dk *StakingKeys) List()

func (*StakingKeys) Load

func (dk *StakingKeys) Load()

func (*StakingKeys) Remove

func (dk *StakingKeys) Remove(dilithiumAccount *dilithium.Dilithium)

func (*StakingKeys) Save

func (dk *StakingKeys) Save()

Jump to

Keyboard shortcuts

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