Documentation ¶
Index ¶
- Variables
- type Manager
- func (m *Manager) Accounts() []*core.Address
- func (m *Manager) Export(addr *core.Address, passphrase []byte) ([]byte, error)
- func (m *Manager) Import(keyjson, passphrase []byte) (*core.Address, error)
- func (m *Manager) Lock(addr *core.Address) error
- func (m *Manager) NewAccount(passphrase []byte) (*core.Address, error)
- func (m *Manager) SignTransaction(addr *core.Address, tx *core.Transaction) error
- func (m *Manager) Unlock(addr *core.Address, passphrase []byte) error
- type Neblet
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrTxAddressLocked from address locked. ErrTxAddressLocked = errors.New("transaction from address locked") // ErrTxSignFrom sign addr not from ErrTxSignFrom = errors.New("transaction sign not use from addr") )
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager accounts manager ,handle account generate and storage
func (*Manager) NewAccount ¶
NewAccount returns a new address and keep it in keystore
func (*Manager) SignTransaction ¶
SignTransaction sign transaction with the specified algorithm
Click to show internal directories.
Click to hide internal directories.