wallet

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: MIT, Apache-2.0, MIT Imports: 19 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type GetPwdFunc added in v1.2.0

type GetPwdFunc func() string

type ISignMsgFilter added in v1.9.0

type ISignMsgFilter interface {
	CheckSignMsg(ctx context.Context, signMsg SignMsg) error
}

type SignFilter added in v1.9.0

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

func NewSignFilter added in v1.9.0

func NewSignFilter(cfg *config.SignFilter) *SignFilter

func (*SignFilter) CheckSignMsg added in v1.9.0

func (filter *SignFilter) CheckSignMsg(ctx context.Context, signMsg SignMsg) error

type SignMsg added in v1.9.0

type SignMsg struct {
	SignType types.MsgType
	Data     interface{}
}

Jump to

Keyboard shortcuts

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