Documentation ¶
Index ¶
- type Keystore
- func (keystore *Keystore) CanVerifyAddress(*signing.Configuration, coin.Coin) (bool, error)
- func (keystore *Keystore) CanVerifyExtendedPublicKey() bool
- func (keystore *Keystore) Configuration() *signing.Configuration
- func (keystore *Keystore) CosignerIndex() int
- func (keystore *Keystore) ExtendedPublicKey(coin coin.Coin, absoluteKeypath signing.AbsoluteKeypath) (*hdkeychain.ExtendedKey, error)
- func (keystore *Keystore) Identifier() (string, error)
- func (keystore *Keystore) SignTransaction(proposedTransaction interface{}) error
- func (keystore *Keystore) VerifyAddress(*signing.Configuration, coin.Coin) error
- func (keystore *Keystore) VerifyExtendedPublicKey(coin coin.Coin, keyPath signing.AbsoluteKeypath, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Keystore ¶
type Keystore struct {
// contains filtered or unexported fields
}
Keystore implements a keystore in software.
func NewKeystore ¶
func NewKeystore( cosignerIndex int, master *hdkeychain.ExtendedKey, ) *Keystore
NewKeystore creates a new keystore with the given configuration, index and key.
func NewKeystoreFromPIN ¶
NewKeystoreFromPIN creates a new unique keystore derived from the PIN.
func (*Keystore) CanVerifyAddress ¶
CanVerifyAddress implements keystore.Keystore.
func (*Keystore) CanVerifyExtendedPublicKey ¶
CanVerifyExtendedPublicKey implements keystore.Keystore.
func (*Keystore) Configuration ¶
func (keystore *Keystore) Configuration() *signing.Configuration
Configuration implements keystore.Keystore.
func (*Keystore) CosignerIndex ¶
CosignerIndex implements keystore.Keystore.
func (*Keystore) ExtendedPublicKey ¶
func (keystore *Keystore) ExtendedPublicKey( coin coin.Coin, absoluteKeypath signing.AbsoluteKeypath, ) (*hdkeychain.ExtendedKey, error)
ExtendedPublicKey implements keystore.Keystore.
func (*Keystore) Identifier ¶
Identifier implements keystore.Keystore.
func (*Keystore) SignTransaction ¶
SignTransaction implements keystore.Keystore.
func (*Keystore) VerifyAddress ¶
VerifyAddress implements keystore.Keystore.
func (*Keystore) VerifyExtendedPublicKey ¶
func (keystore *Keystore) VerifyExtendedPublicKey(coin coin.Coin, keyPath signing.AbsoluteKeypath, configuration *signing.Configuration) error
VerifyExtendedPublicKey implements keystore.Keystore.
Click to show internal directories.
Click to hide internal directories.