Versions in this module Expand all Collapse all v0 v0.3.5 Feb 5, 2016 v0.3.2 Sep 29, 2015 v0.3.1 Sep 19, 2015 Changes in this version + const AccountBalanceNtfnMethod + const BlockConnectedNtfnMethod + const BlockDisconnectedNtfnMethod + const BtcdConnectedNtfnMethod + const RecvTxNtfnMethod + const RedeemingTxNtfnMethod + const RescanFinishedNtfnMethod + const RescanProgressNtfnMethod + const TxAcceptedNtfnMethod + const TxAcceptedVerboseNtfnMethod + const TxNtfnMethod + const WalletLockStateNtfnMethod + var ErrNotANtfn = errors.New("notifications may not have IDs") + type AccountBalanceNtfn struct + Account string + Balance float64 + Confirmed bool + func NewAccountBalanceNtfn(account string, balance float64, confirmed bool) *AccountBalanceNtfn + func (n *AccountBalanceNtfn) Id() interface{} + func (n *AccountBalanceNtfn) MarshalJSON() ([]byte, error) + func (n *AccountBalanceNtfn) Method() string + func (n *AccountBalanceNtfn) UnmarshalJSON(b []byte) error + type AuthenticateCmd struct + Passphrase string + Username string + func NewAuthenticateCmd(id interface{}, username, passphrase string) *AuthenticateCmd + func (cmd *AuthenticateCmd) Id() interface{} + func (cmd *AuthenticateCmd) MarshalJSON() ([]byte, error) + func (cmd *AuthenticateCmd) Method() string + func (cmd *AuthenticateCmd) UnmarshalJSON(b []byte) error + type BlockConnectedNtfn struct + Hash string + Height int32 + func NewBlockConnectedNtfn(hash string, height int32) *BlockConnectedNtfn + func (n *BlockConnectedNtfn) Id() interface{} + func (n *BlockConnectedNtfn) MarshalJSON() ([]byte, error) + func (n *BlockConnectedNtfn) Method() string + func (n *BlockConnectedNtfn) UnmarshalJSON(b []byte) error + type BlockDetails struct + Hash string + Height int32 + Index int + Time int64 + type BlockDisconnectedNtfn struct + Hash string + Height int32 + func NewBlockDisconnectedNtfn(hash string, height int32) *BlockDisconnectedNtfn + func (n *BlockDisconnectedNtfn) Id() interface{} + func (n *BlockDisconnectedNtfn) MarshalJSON() ([]byte, error) + func (n *BlockDisconnectedNtfn) Method() string + func (n *BlockDisconnectedNtfn) UnmarshalJSON(b []byte) error + type BtcdConnectedNtfn struct + Connected bool + func NewBtcdConnectedNtfn(connected bool) *BtcdConnectedNtfn + func (n *BtcdConnectedNtfn) Id() interface{} + func (n *BtcdConnectedNtfn) MarshalJSON() ([]byte, error) + func (n *BtcdConnectedNtfn) Method() string + func (n *BtcdConnectedNtfn) UnmarshalJSON(b []byte) error + type CreateEncryptedWalletCmd struct + Passphrase string + func NewCreateEncryptedWalletCmd(id interface{}, passphrase string) *CreateEncryptedWalletCmd + func (cmd *CreateEncryptedWalletCmd) Id() interface{} + func (cmd *CreateEncryptedWalletCmd) MarshalJSON() ([]byte, error) + func (cmd *CreateEncryptedWalletCmd) Method() string + func (cmd *CreateEncryptedWalletCmd) UnmarshalJSON(b []byte) error + type CreateNewAccountCmd struct + Account string + func NewCreateNewAccountCmd(id interface{}, account string) *CreateNewAccountCmd + func (cmd *CreateNewAccountCmd) Id() interface{} + func (cmd *CreateNewAccountCmd) MarshalJSON() ([]byte, error) + func (cmd *CreateNewAccountCmd) Method() string + func (cmd *CreateNewAccountCmd) UnmarshalJSON(b []byte) error + type ExportWatchingWalletCmd struct + Account string + Download bool + func NewExportWatchingWalletCmd(id interface{}, optArgs ...interface{}) (*ExportWatchingWalletCmd, error) + func (cmd *ExportWatchingWalletCmd) Id() interface{} + func (cmd *ExportWatchingWalletCmd) MarshalJSON() ([]byte, error) + func (cmd *ExportWatchingWalletCmd) Method() string + func (cmd *ExportWatchingWalletCmd) UnmarshalJSON(b []byte) error + type GetBestBlockCmd struct + func NewGetBestBlockCmd(id interface{}) *GetBestBlockCmd + func (cmd *GetBestBlockCmd) Id() interface{} + func (cmd *GetBestBlockCmd) MarshalJSON() ([]byte, error) + func (cmd *GetBestBlockCmd) Method() string + func (cmd *GetBestBlockCmd) UnmarshalJSON(b []byte) error + type GetBestBlockResult struct + Hash string + Height int32 + type GetCurrentNetCmd struct + func NewGetCurrentNetCmd(id interface{}) *GetCurrentNetCmd + func (cmd *GetCurrentNetCmd) Id() interface{} + func (cmd *GetCurrentNetCmd) MarshalJSON() ([]byte, error) + func (cmd *GetCurrentNetCmd) Method() string + func (cmd *GetCurrentNetCmd) UnmarshalJSON(b []byte) error + type GetUnconfirmedBalanceCmd struct + Account string + func NewGetUnconfirmedBalanceCmd(id interface{}, optArgs ...string) (*GetUnconfirmedBalanceCmd, error) + func (cmd *GetUnconfirmedBalanceCmd) Id() interface{} + func (cmd *GetUnconfirmedBalanceCmd) MarshalJSON() ([]byte, error) + func (cmd *GetUnconfirmedBalanceCmd) Method() string + func (cmd *GetUnconfirmedBalanceCmd) UnmarshalJSON(b []byte) error + type ListAddressTransactionsCmd struct + Account string + Addresses []string + func NewListAddressTransactionsCmd(id interface{}, addresses []string, optArgs ...string) (*ListAddressTransactionsCmd, error) + func (cmd *ListAddressTransactionsCmd) Id() interface{} + func (cmd *ListAddressTransactionsCmd) MarshalJSON() ([]byte, error) + func (cmd *ListAddressTransactionsCmd) Method() string + func (cmd *ListAddressTransactionsCmd) UnmarshalJSON(b []byte) error + type ListAllTransactionsCmd struct + Account *string + func NewListAllTransactionsCmd(id interface{}, optArgs ...string) (*ListAllTransactionsCmd, error) + func (cmd *ListAllTransactionsCmd) Id() interface{} + func (cmd *ListAllTransactionsCmd) MarshalJSON() ([]byte, error) + func (cmd *ListAllTransactionsCmd) Method() string + func (cmd *ListAllTransactionsCmd) UnmarshalJSON(b []byte) error + type NotifyBlocksCmd struct + func NewNotifyBlocksCmd(id interface{}) *NotifyBlocksCmd + func (cmd *NotifyBlocksCmd) Id() interface{} + func (cmd *NotifyBlocksCmd) MarshalJSON() ([]byte, error) + func (cmd *NotifyBlocksCmd) Method() string + func (cmd *NotifyBlocksCmd) UnmarshalJSON(b []byte) error + type NotifyNewTransactionsCmd struct + Verbose bool + func NewNotifyNewTransactionsCmd(id interface{}, optArgs ...bool) (*NotifyNewTransactionsCmd, error) + func (cmd *NotifyNewTransactionsCmd) Id() interface{} + func (cmd *NotifyNewTransactionsCmd) MarshalJSON() ([]byte, error) + func (cmd *NotifyNewTransactionsCmd) Method() string + func (cmd *NotifyNewTransactionsCmd) UnmarshalJSON(b []byte) error + type NotifyReceivedCmd struct + Addresses []string + func NewNotifyReceivedCmd(id interface{}, addresses []string) *NotifyReceivedCmd + func (cmd *NotifyReceivedCmd) Id() interface{} + func (cmd *NotifyReceivedCmd) MarshalJSON() ([]byte, error) + func (cmd *NotifyReceivedCmd) Method() string + func (cmd *NotifyReceivedCmd) UnmarshalJSON(b []byte) error + type NotifySpentCmd struct + OutPoints []OutPoint + func NewNotifySpentCmd(id interface{}, outpoints []OutPoint) *NotifySpentCmd + func (cmd *NotifySpentCmd) Id() interface{} + func (cmd *NotifySpentCmd) MarshalJSON() ([]byte, error) + func (cmd *NotifySpentCmd) Method() string + func (cmd *NotifySpentCmd) UnmarshalJSON(b []byte) error + type OutPoint struct + Hash string + Index uint32 + func NewOutPointFromWire(op *wire.OutPoint) *OutPoint + type RecoverAddressesCmd struct + Account string + N int + func NewRecoverAddressesCmd(id interface{}, account string, n int) *RecoverAddressesCmd + func (cmd *RecoverAddressesCmd) Id() interface{} + func (cmd *RecoverAddressesCmd) MarshalJSON() ([]byte, error) + func (cmd *RecoverAddressesCmd) Method() string + func (cmd *RecoverAddressesCmd) UnmarshalJSON(b []byte) error + type RecvTxNtfn struct + Block *BlockDetails + HexTx string + func NewRecvTxNtfn(hextx string, block *BlockDetails) *RecvTxNtfn + func (n *RecvTxNtfn) Id() interface{} + func (n *RecvTxNtfn) MarshalJSON() ([]byte, error) + func (n *RecvTxNtfn) Method() string + func (n *RecvTxNtfn) UnmarshalJSON(b []byte) error + type RedeemingTxNtfn struct + Block *BlockDetails + HexTx string + func NewRedeemingTxNtfn(hextx string, block *BlockDetails) *RedeemingTxNtfn + func (n *RedeemingTxNtfn) Id() interface{} + func (n *RedeemingTxNtfn) MarshalJSON() ([]byte, error) + func (n *RedeemingTxNtfn) Method() string + func (n *RedeemingTxNtfn) UnmarshalJSON(b []byte) error + type RenameAccountCmd struct + NewAccount string + OldAccount string + func NewRenameAccountCmd(id interface{}, oldaccount, newaccount string) *RenameAccountCmd + func (cmd *RenameAccountCmd) Id() interface{} + func (cmd *RenameAccountCmd) MarshalJSON() ([]byte, error) + func (cmd *RenameAccountCmd) Method() string + func (cmd *RenameAccountCmd) UnmarshalJSON(b []byte) error + type RescanCmd struct + Addresses []string + BeginBlock string + EndBlock string + OutPoints []OutPoint + func NewRescanCmd(id interface{}, begin string, addresses []string, outpoints []OutPoint, ...) (*RescanCmd, error) + func (cmd *RescanCmd) Id() interface{} + func (cmd *RescanCmd) MarshalJSON() ([]byte, error) + func (cmd *RescanCmd) Method() string + func (cmd *RescanCmd) UnmarshalJSON(b []byte) error + type RescanFinishedNtfn struct + Hash string + Height int32 + Time int64 + func NewRescanFinishedNtfn(hash string, height int32, time int64) *RescanFinishedNtfn + func (n *RescanFinishedNtfn) Id() interface{} + func (n *RescanFinishedNtfn) MarshalJSON() ([]byte, error) + func (n *RescanFinishedNtfn) Method() string + func (n *RescanFinishedNtfn) UnmarshalJSON(b []byte) error + type RescanProgressNtfn struct + Hash string + Height int32 + Time int64 + func NewRescanProgressNtfn(hash string, height int32, time int64) *RescanProgressNtfn + func (n *RescanProgressNtfn) Id() interface{} + func (n *RescanProgressNtfn) MarshalJSON() ([]byte, error) + func (n *RescanProgressNtfn) Method() string + func (n *RescanProgressNtfn) UnmarshalJSON(b []byte) error + type TxAcceptedNtfn struct + Amount int64 + TxID string + func NewTxAcceptedNtfn(txid string, amount int64) *TxAcceptedNtfn + func (n *TxAcceptedNtfn) Id() interface{} + func (n *TxAcceptedNtfn) MarshalJSON() ([]byte, error) + func (n *TxAcceptedNtfn) Method() string + func (n *TxAcceptedNtfn) UnmarshalJSON(b []byte) error + type TxAcceptedVerboseNtfn struct + RawTx *btcjson.TxRawResult + func NewTxAcceptedVerboseNtfn(rawTx *btcjson.TxRawResult) *TxAcceptedVerboseNtfn + func (n *TxAcceptedVerboseNtfn) Id() interface{} + func (n *TxAcceptedVerboseNtfn) MarshalJSON() ([]byte, error) + func (n *TxAcceptedVerboseNtfn) Method() string + func (n *TxAcceptedVerboseNtfn) UnmarshalJSON(b []byte) error + type TxNtfn struct + Account string + Details *btcjson.ListTransactionsResult + func NewTxNtfn(account string, details *btcjson.ListTransactionsResult) *TxNtfn + func (n *TxNtfn) Id() interface{} + func (n *TxNtfn) MarshalJSON() ([]byte, error) + func (n *TxNtfn) Method() string + func (n *TxNtfn) UnmarshalJSON(b []byte) error + type WalletIsLockedCmd struct + Account string + func NewWalletIsLockedCmd(id interface{}, optArgs ...string) (*WalletIsLockedCmd, error) + func (cmd *WalletIsLockedCmd) Id() interface{} + func (cmd *WalletIsLockedCmd) MarshalJSON() ([]byte, error) + func (cmd *WalletIsLockedCmd) Method() string + func (cmd *WalletIsLockedCmd) UnmarshalJSON(b []byte) error + type WalletLockStateNtfn struct + Account string + Locked bool + func NewWalletLockStateNtfn(account string, locked bool) *WalletLockStateNtfn + func (n *WalletLockStateNtfn) Id() interface{} + func (n *WalletLockStateNtfn) MarshalJSON() ([]byte, error) + func (n *WalletLockStateNtfn) Method() string + func (n *WalletLockStateNtfn) UnmarshalJSON(b []byte) error