Documentation ¶
Index ¶
- Variables
- func GoNotify(ctx context.Context, s *setting.Setting, nreg, creg func(chan []tx.Hash))
- func Init(s *setting.Setting) error
- func IsSecretEmpty() bool
- func New(s *setting.Setting, pwdd []byte) error
- func Run(ctx context.Context, setting *setting.Setting) net.Listener
- func Send(ctx context.Context, conf *setting.Setting, tag []byte, ...) (string, error)
- type Dump
Constants ¶
This section is empty.
Variables ¶
View Source
var Debug = false
Debug should be true if in testing
Functions ¶
func GoNotify ¶
GoNotify runs gorouitine to get history of addresses in wallet. This func needs to run even if RPC is stopped for collecting history.
Types ¶
type Dump ¶
type Dump struct { Wallet *walletimpl.Wallet `json:"wallet"` Hist []*walletimpl.History `json:"history"` }
Dump is a struct for dumpwallet RPC.
Click to show internal directories.
Click to hide internal directories.