Documentation ¶
Index ¶
- type Config
- type Manager
- func (m *Manager) AddEntropyStore(entropyStore string) error
- func (m Manager) AddLockEventListener(lis func(event entropystore.UnlockEvent)) int
- func (m Manager) ExtractMnemonic(entropyStore string, passphrase string) (string, error)
- func (m Manager) GetDataDir() string
- func (m *Manager) GetEntropyStoreManager(entropyStore string) (*entropystore.Manager, error)
- func (m Manager) GlobalCheckAddrUnlock(targetAdr types.Address) bool
- func (m Manager) GlobalFindAddr(targetAdr types.Address) (path string, key *derivation.Key, index uint32, err error)
- func (m Manager) GlobalFindAddrWithPassphrase(targetAdr types.Address, pass string) (path string, key *derivation.Key, index uint32, err error)
- func (m *Manager) IsUnlocked(entropyStore string) bool
- func (m Manager) ListAllEntropyFiles() []string
- func (m Manager) ListEntropyFilesInStandardDir() ([]string, error)
- func (m *Manager) Lock(entropyStore string) error
- func (m *Manager) MatchAddress(EntryPath string, coinbase types.Address, index uint32) error
- func (m *Manager) NewMnemonicAndEntropyStore(passphrase string) (mnemonic string, em *entropystore.Manager, err error)
- func (m *Manager) RecoverEntropyStoreFromMnemonic(mnemonic string, passphrase string) (em *entropystore.Manager, err error)
- func (m *Manager) RefreshCache()
- func (m *Manager) RemoveEntropyStore(entropyStore string)
- func (m Manager) RemoveUnlockChangeChannel(id int)
- func (m *Manager) Start() error
- func (m *Manager) Stop()
- func (m *Manager) Unlock(entropyStore, passphrase string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func (*Manager) AddEntropyStore ¶
if your entropyStore file is not in the standard dir you can add it so we can index it
func (Manager) AddLockEventListener ¶
func (m Manager) AddLockEventListener(lis func(event entropystore.UnlockEvent)) int
func (Manager) ExtractMnemonic ¶
func (Manager) GetDataDir ¶
func (*Manager) GetEntropyStoreManager ¶
func (m *Manager) GetEntropyStoreManager(entropyStore string) (*entropystore.Manager, error)
func (Manager) GlobalCheckAddrUnlock ¶
func (Manager) GlobalFindAddr ¶
func (Manager) GlobalFindAddrWithPassphrase ¶
func (*Manager) IsUnlocked ¶
func (Manager) ListAllEntropyFiles ¶
func (Manager) ListEntropyFilesInStandardDir ¶
func (*Manager) MatchAddress ¶
func (*Manager) NewMnemonicAndEntropyStore ¶
func (*Manager) RecoverEntropyStoreFromMnemonic ¶
func (*Manager) RefreshCache ¶
func (m *Manager) RefreshCache()
func (*Manager) RemoveEntropyStore ¶
func (Manager) RemoveUnlockChangeChannel ¶
Click to show internal directories.
Click to hide internal directories.