Versions in this module Expand all Collapse all v0 v0.1.1 Feb 25, 2019 Changes in this version + var ErrIntOverflowWalletimpl = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthWalletimpl = fmt.Errorf("proto: negative length found during unmarshaling") + func ExistsInHistory(hists []*History, h *tx.InoutHash) bool + func GetAllPrivateKeys(s *aklib.DBConfig) ([]string, error) + type History struct + Address string + Confirmed bool + IsUtxo bool + No uint64 + OTAReceived bool + OTAddress string + Out *tx.InoutHash + Received time.Time + Rejected bool + Value uint64 + func NewPopulatedHistory(r randyWalletimpl, easy bool) *History + func (*History) Descriptor() ([]byte, []int) + func (*History) ProtoMessage() + func (dst *History) XXX_Merge(src proto.Message) + func (m *History) Marshal() (dAtA []byte, err error) + func (m *History) MarshalTo(dAtA []byte) (int, error) + func (m *History) Reset() + func (m *History) Size() (n int) + func (m *History) String() string + func (m *History) Unmarshal(dAtA []byte) error + func (m *History) XXX_DiscardUnknown() + func (m *History) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *History) XXX_Size() int + func (m *History) XXX_Unmarshal(b []byte) error + func (this *History) Equal(that interface{}) bool + type Pool struct + Address []string + Index uint32 + func NewPopulatedPool(r randyWalletimpl, easy bool) *Pool + func (*Pool) Descriptor() ([]byte, []int) + func (*Pool) ProtoMessage() + func (dst *Pool) XXX_Merge(src proto.Message) + func (m *Pool) Marshal() (dAtA []byte, err error) + func (m *Pool) MarshalTo(dAtA []byte) (int, error) + func (m *Pool) Reset() + func (m *Pool) Size() (n int) + func (m *Pool) String() string + func (m *Pool) Unmarshal(dAtA []byte) error + func (m *Pool) XXX_DiscardUnknown() + func (m *Pool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Pool) XXX_Size() int + func (m *Pool) XXX_Unmarshal(b []byte) error + func (this *Pool) Equal(that interface{}) bool + type TxType byte + const All + const Multisig + const Normal + const OTA + const Ticket + func GetTxType(t tx.InOutHashType) TxType + type Wallet struct + AccountName string + AddressChange map[string]uint32 + AddressOT map[string]uint32 + AddressPublic map[string]uint32 + EncSeed []byte + Pool *Pool + func Load(s *aklib.DBConfig, pwd []byte, priv string) (*Wallet, error) + func NewFromPriv(s *aklib.DBConfig, pwd []byte, priv string) (*Wallet, error) + func NewPopulatedWallet(r randyWalletimpl, easy bool) *Wallet + func (*Wallet) Descriptor() ([]byte, []int) + func (*Wallet) ProtoMessage() + func (dst *Wallet) XXX_Merge(src proto.Message) + func (m *Wallet) Marshal() (dAtA []byte, err error) + func (m *Wallet) MarshalTo(dAtA []byte) (int, error) + func (m *Wallet) Reset() + func (m *Wallet) Size() (n int) + func (m *Wallet) String() string + func (m *Wallet) Unmarshal(dAtA []byte) error + func (m *Wallet) XXX_DiscardUnknown() + func (m *Wallet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Wallet) XXX_Size() int + func (m *Wallet) XXX_Unmarshal(b []byte) error + func (this *Wallet) Equal(that interface{}) bool + func (w *Wallet) AddHistory(s *aklib.DBConfig, hist ...*History) error + func (w *Wallet) AllAddress() []string + func (w *Wallet) DecryptSeed(pwd []byte) ([]byte, error) + func (w *Wallet) FillPool(s *aklib.DBConfig, pwdd []byte) error + func (w *Wallet) FindAddress(adrstr ...string) bool + func (w *Wallet) FindAddressByte(cfg *aklib.DBConfig, adrstr ...address.Bytes) (bool, error) + func (w *Wallet) GetAddress(s *aklib.DBConfig, isPublic bool, idx uint32, pwd []byte) (*address.Address, error) + func (w *Wallet) GetAddressHistory(s *aklib.DBConfig, adr string) ([]*tx.InoutHash, error) + func (w *Wallet) GetAddressHistory2(s *aklib.DBConfig, adr string) ([]*History, error) + func (w *Wallet) GetAllUTXO(s *aklib.DBConfig, pwd []byte) ([]*tx.UTXO, uint64, error) + func (w *Wallet) GetHistory(s *aklib.DBConfig, t TxType) ([]*History, error) + func (w *Wallet) GetOTAddress(s *aklib.DBConfig, idx uint32, pwd []byte) (*sidh.PrivateKey, error) + func (w *Wallet) GetUTXO(s *aklib.DBConfig, pwd []byte, pendingUtxos map[[34]byte]tx.Hash, ...) ([]*tx.UTXO, uint64, error) + func (w *Wallet) GetUTXOFromHistory(s *aklib.DBConfig, pwd []byte, pendingUtxos map[[34]byte]tx.Hash, ...) ([]*tx.UTXO, uint64, error) + func (w *Wallet) HasAddress(s *aklib.DBConfig, out *tx.MultiSigOut) (bool, error) + func (w *Wallet) InitSeed(s *aklib.DBConfig, pwd []byte) error + func (w *Wallet) NewAddress(s *aklib.DBConfig, pwd []byte, isPublic bool) (*address.Address, error) + func (w *Wallet) NewOTAddress(s *aklib.DBConfig, pwd []byte) (*sidh.PrivateKey, error) + func (w *Wallet) NewPublicAddressFromPool(s *aklib.DBConfig) (string, error) + func (w *Wallet) UpdateHistory(s *aklib.DBConfig, hist ...*History) error + func (w *Wallet) UpdateHistoryTxn(b *bolt.Bucket, hist ...*History) error