Versions in this module Expand all Collapse all v2 v2.7.6 Nov 14, 2023 v2.7.5 Apr 14, 2023 Changes in this version + func AllVSPs() map[string]*vsp.Client + func LookupVSP(host string) (*vsp.Client, error) + func UseLogger(logger slog.Logger) + func VSP(cfg vsp.Config) (*vsp.Client, error) + type DialFunc func(ctx context.Context, network, addr string) (net.Conn, error) + type Loader struct + DialCSPPServer DialFunc + func NewLoader(chainParams *chaincfg.Params, dbDirPath string, stakeOptions *StakeOptions, ...) *Loader + func (l *Loader) CreateNewWallet(ctx context.Context, pubPassphrase, privPassphrase, seed []byte) (w *wallet.Wallet, err error) + func (l *Loader) CreateWatchingOnlyWallet(ctx context.Context, extendedPubKey string, pubPass []byte) (w *wallet.Wallet, err error) + func (l *Loader) DbDirPath() string + func (l *Loader) LoadedWallet() (*wallet.Wallet, bool) + func (l *Loader) NetworkBackend() (n wallet.NetworkBackend, ok bool) + func (l *Loader) OpenExistingWallet(ctx context.Context, pubPassphrase []byte) (w *wallet.Wallet, rerr error) + func (l *Loader) RunAfterLoad(fn func(*wallet.Wallet)) + func (l *Loader) UnloadWallet() error + func (l *Loader) WalletExists() (bool, error) + type StakeOptions struct + AddressReuse bool + PoolAddress stdaddr.StakeAddress + PoolFees float64 + StakePoolColdExtKey string + VotingAddress stdaddr.StakeAddress + VotingEnabled bool