Versions in this module Expand all Collapse all v0 v0.5.0 Jan 3, 2019 Changes in this version + type KeyBag struct + func NewKeyBag() *KeyBag + func (b *KeyBag) Add(wifKey string) error + func (b *KeyBag) ImportFromFile(path string) error + func (b *KeyBag) Remove(pub string) bool + func (b KeyBag) Privates() (out types.PrivateKeys) + func (b KeyBag) PrivatesByPublics(pubKeys types.PublicKeys) (out types.PrivateKeys) + func (b KeyBag) PublicPresent(pub *types.PublicKey) bool + func (b KeyBag) Publics() (out types.PublicKeys) + func (p *KeyBag) Unmarshal(dec *util.TypeDecoder) error + func (p KeyBag) Marshal(enc *util.TypeEncoder) error + type TransactionSigner struct + func NewTransactionSigner(tx *types.SignedTransaction) *TransactionSigner + func (tx *TransactionSigner) Sign(privKeys types.PrivateKeys, chain *config.ChainConfig) error + func (tx *TransactionSigner) Verify(keyBag *KeyBag, chain *config.ChainConfig) (bool, error)