testutils

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TestToken = sha256.Sum256([]byte("token"))
View Source
var Yellow = []string{"yellow", "yellow", "yellow", "yellow", "yellow", "yellow", "yellow", "yellow", "yellow", "yellow", "yellow", "yellow"}

Functions

func NewKeyStore added in v0.6.0

func NewKeyStore() services.KeyStore

func NewWalletManager added in v0.6.0

func NewWalletManager(memory bool, keys services.KeyStore) services.WalletManager

Types

type SingleInMemoryWallet

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

func (*SingleInMemoryWallet) Each

func (m *SingleInMemoryWallet) Each(fn func(services.Wallet) error) error

func (*SingleInMemoryWallet) UseMemDB

func (m *SingleInMemoryWallet) UseMemDB() bool

func (*SingleInMemoryWallet) Wallet added in v0.6.0

Jump to

Keyboard shortcuts

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