Versions in this module Expand all Collapse all v1 v1.0.0 Mar 15, 2017 Changes in this version + const BMPurposeCode + const BehaviorAck + func Encode(w io.Writer, pub Public) error + type PrivateAddress struct + func ImportWIF(addrStr, signingKeyWif, decryptionKeyWif string) (*PrivateAddress, error) + func NewPrivateAddress(key *PrivateKey, version, stream uint64) *PrivateAddress + func (id *PrivateAddress) Address() Address + func (id *PrivateAddress) ExportWIF() (address, signingKeyWif, decryptionKeyWif string) + func (id *PrivateAddress) PrivateKey() *PrivateKey + func (id *PrivateAddress) PublicKey() *PublicKey + type PrivateID struct + func NewPrivateID(id *PrivateAddress, behavior uint32, data *pow.Data) *PrivateID + func (id *PrivateID) Behavior() uint32 + func (id *PrivateID) Data() *obj.PubKeyData + func (id *PrivateID) Pow() *pow.Data + func (id *PrivateID) Public() Public + type PrivateKey struct + Decryption *btcec.PrivateKey + Signing *btcec.PrivateKey + func NewDeterministic(passphrase string, initialZeros uint64, n int) ([]*PrivateKey, error) + func NewHD(masterKey *hdkeychain.ExtendedKey, n uint32, stream uint64) (*PrivateKey, error) + func NewRandom(initialZeros int) (*PrivateKey, error) + func (pk *PrivateKey) ExportWIF() (SigningWif, DecryptionWif string) + func (pk *PrivateKey) Hash() *hash.Ripe + func (pk *PrivateKey) Public() *PublicKey + type PubKey btcec.PublicKey + func NewPubKey(pub *wire.PubKey) (*PubKey, error) + func (pubkey *PubKey) Btcec() *btcec.PublicKey + func (pubkey *PubKey) Bytes() []byte + func (pubkey *PubKey) IsEqual(target *PubKey) bool + func (pubkey *PubKey) String() string + func (pubkey *PubKey) Wire() *wire.PubKey + type Public interface + Address func() Address + Behavior func() uint32 + Data func() *obj.PubKeyData + Key func() *PublicKey + Pow func() *pow.Data + String func() string + func Decode(r io.Reader) (Public, error) + func NewPublic(public *PublicKey, version, stream uint64, behavior uint32, data *pow.Data) (Public, error) + func NewPublicFromWIF(address *PrivateAddress, behavior uint32, data *pow.Data) Public + type PublicKey struct + Encryption *PubKey + Verification *PubKey + func NewPublicKey(vk, ek *wire.PubKey) (*PublicKey, error) + func (k *PublicKey) Hash() *hash.Ripe + func (k *PublicKey) String() string