Documentation ¶
Index ¶
- type StakingKeys
- func (dk *StakingKeys) Add(dilithiumAccount *dilithium.Dilithium)
- func (dk *StakingKeys) GetDilithiumByIndex(index uint) (*protos.DilithiumInfo, error)
- func (dk *StakingKeys) GetDilithiumInfo() []*protos.DilithiumInfo
- func (dk *StakingKeys) List()
- func (dk *StakingKeys) Load()
- func (dk *StakingKeys) Remove(dilithiumAccount *dilithium.Dilithium)
- func (dk *StakingKeys) Save()
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()
Click to show internal directories.
Click to hide internal directories.