Versions in this module Expand all Collapse all v0 v0.3.0 Sep 9, 2017 v0.2.0 Aug 5, 2017 Changes in this version + var FeeLevel_name = map[int32]string + var FeeLevel_value = map[string]int32 + var KeyPurpose_name = map[int32]string + var KeyPurpose_value = map[string]int32 + func RegisterAPIServer(s *grpc.Server, srv APIServer) + type APIClient interface + AddWatchedScript func(ctx context.Context, in *Address, opts ...grpc.CallOption) (*Empty, error) + Balance func(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Balances, error) + BumpFee func(ctx context.Context, in *Txid, opts ...grpc.CallOption) (*Txid, error) + ChainTip func(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Height, error) + CreateMultisigSignature func(ctx context.Context, in *CreateMultisigInfo, opts ...grpc.CallOption) (*SignatureList, error) + CurrentAddress func(ctx context.Context, in *KeySelection, opts ...grpc.CallOption) (*Address, error) + DumpHeaders func(ctx context.Context, in *Empty, opts ...grpc.CallOption) (API_DumpHeadersClient, error) + EstimateFee func(ctx context.Context, in *EstimateFeeData, opts ...grpc.CallOption) (*Fee, error) + GetConfirmations func(ctx context.Context, in *Txid, opts ...grpc.CallOption) (*Confirmations, error) + GetFeePerByte func(ctx context.Context, in *FeeLevelSelection, opts ...grpc.CallOption) (*FeePerByte, error) + GetKey func(ctx context.Context, in *Address, opts ...grpc.CallOption) (*Key, error) + GetTransaction func(ctx context.Context, in *Txid, opts ...grpc.CallOption) (*Tx, error) + HasKey func(ctx context.Context, in *Address, opts ...grpc.CallOption) (*BoolResponse, error) + ImportKey func(ctx context.Context, in *ImportedKey, opts ...grpc.CallOption) (*Empty, error) + ListAddresses func(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Addresses, error) + ListKeys func(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Keys, error) + MasterPrivateKey func(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Key, error) + MasterPublicKey func(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Key, error) + Multisign func(ctx context.Context, in *MultisignInfo, opts ...grpc.CallOption) (*RawTx, error) + NewAddress func(ctx context.Context, in *KeySelection, opts ...grpc.CallOption) (*Address, error) + Params func(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*NetParams, error) + Peers func(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*PeerList, error) + ReSyncBlockchain func(ctx context.Context, in *Height, opts ...grpc.CallOption) (*Empty, error) + Spend func(ctx context.Context, in *SpendInfo, opts ...grpc.CallOption) (*Txid, error) + Stop func(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error) + SweepAddress func(ctx context.Context, in *SweepInfo, opts ...grpc.CallOption) (*Txid, error) + Transactions func(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*TransactionList, error) + WalletNotify func(ctx context.Context, in *Empty, opts ...grpc.CallOption) (API_WalletNotifyClient, error) + func NewAPIClient(cc *grpc.ClientConn) APIClient + type APIServer interface + AddWatchedScript func(context.Context, *Address) (*Empty, error) + Balance func(context.Context, *Empty) (*Balances, error) + BumpFee func(context.Context, *Txid) (*Txid, error) + ChainTip func(context.Context, *Empty) (*Height, error) + CreateMultisigSignature func(context.Context, *CreateMultisigInfo) (*SignatureList, error) + CurrentAddress func(context.Context, *KeySelection) (*Address, error) + DumpHeaders func(*Empty, API_DumpHeadersServer) error + EstimateFee func(context.Context, *EstimateFeeData) (*Fee, error) + GetConfirmations func(context.Context, *Txid) (*Confirmations, error) + GetFeePerByte func(context.Context, *FeeLevelSelection) (*FeePerByte, error) + GetKey func(context.Context, *Address) (*Key, error) + GetTransaction func(context.Context, *Txid) (*Tx, error) + HasKey func(context.Context, *Address) (*BoolResponse, error) + ImportKey func(context.Context, *ImportedKey) (*Empty, error) + ListAddresses func(context.Context, *Empty) (*Addresses, error) + ListKeys func(context.Context, *Empty) (*Keys, error) + MasterPrivateKey func(context.Context, *Empty) (*Key, error) + MasterPublicKey func(context.Context, *Empty) (*Key, error) + Multisign func(context.Context, *MultisignInfo) (*RawTx, error) + NewAddress func(context.Context, *KeySelection) (*Address, error) + Params func(context.Context, *Empty) (*NetParams, error) + Peers func(context.Context, *Empty) (*PeerList, error) + ReSyncBlockchain func(context.Context, *Height) (*Empty, error) + Spend func(context.Context, *SpendInfo) (*Txid, error) + Stop func(context.Context, *Empty) (*Empty, error) + SweepAddress func(context.Context, *SweepInfo) (*Txid, error) + Transactions func(context.Context, *Empty) (*TransactionList, error) + WalletNotify func(*Empty, API_WalletNotifyServer) error + type API_DumpHeadersClient interface + Recv func() (*Header, error) + type API_DumpHeadersServer interface + Send func(*Header) error + type API_WalletNotifyClient interface + Recv func() (*Tx, error) + type API_WalletNotifyServer interface + Send func(*Tx) error + type Address struct + Addr string + func (*Address) Descriptor() ([]byte, []int) + func (*Address) ProtoMessage() + func (m *Address) GetAddr() string + func (m *Address) Reset() + func (m *Address) String() string + type Addresses struct + Addresses []*Address + func (*Addresses) Descriptor() ([]byte, []int) + func (*Addresses) ProtoMessage() + func (m *Addresses) GetAddresses() []*Address + func (m *Addresses) Reset() + func (m *Addresses) String() string + type Balances struct + Confirmed uint64 + Unconfirmed uint64 + func (*Balances) Descriptor() ([]byte, []int) + func (*Balances) ProtoMessage() + func (m *Balances) GetConfirmed() uint64 + func (m *Balances) GetUnconfirmed() uint64 + func (m *Balances) Reset() + func (m *Balances) String() string + type BoolResponse struct + Bool bool + func (*BoolResponse) Descriptor() ([]byte, []int) + func (*BoolResponse) ProtoMessage() + func (m *BoolResponse) GetBool() bool + func (m *BoolResponse) Reset() + func (m *BoolResponse) String() string + type Confirmations struct + Confirmations uint32 + func (*Confirmations) Descriptor() ([]byte, []int) + func (*Confirmations) ProtoMessage() + func (m *Confirmations) GetConfirmations() uint32 + func (m *Confirmations) Reset() + func (m *Confirmations) String() string + type CreateMultisigInfo struct + FeePerByte uint64 + Inputs []*Input + Key string + Outputs []*Output + RedeemScript []byte + func (*CreateMultisigInfo) Descriptor() ([]byte, []int) + func (*CreateMultisigInfo) ProtoMessage() + func (m *CreateMultisigInfo) GetFeePerByte() uint64 + func (m *CreateMultisigInfo) GetInputs() []*Input + func (m *CreateMultisigInfo) GetKey() string + func (m *CreateMultisigInfo) GetOutputs() []*Output + func (m *CreateMultisigInfo) GetRedeemScript() []byte + func (m *CreateMultisigInfo) Reset() + func (m *CreateMultisigInfo) String() string + type Empty struct + func (*Empty) Descriptor() ([]byte, []int) + func (*Empty) ProtoMessage() + func (m *Empty) Reset() + func (m *Empty) String() string + type EstimateFeeData struct + FeePerByte uint64 + Inputs []*Input + Outputs []*Output + func (*EstimateFeeData) Descriptor() ([]byte, []int) + func (*EstimateFeeData) ProtoMessage() + func (m *EstimateFeeData) GetFeePerByte() uint64 + func (m *EstimateFeeData) GetInputs() []*Input + func (m *EstimateFeeData) GetOutputs() []*Output + func (m *EstimateFeeData) Reset() + func (m *EstimateFeeData) String() string + type Fee struct + Fee uint64 + func (*Fee) Descriptor() ([]byte, []int) + func (*Fee) ProtoMessage() + func (m *Fee) GetFee() uint64 + func (m *Fee) Reset() + func (m *Fee) String() string + type FeeLevel int32 + const FeeLevel_ECONOMIC + const FeeLevel_NORMAL + const FeeLevel_PRIORITY + func (FeeLevel) EnumDescriptor() ([]byte, []int) + func (x FeeLevel) String() string + type FeeLevelSelection struct + FeeLevel FeeLevel + func (*FeeLevelSelection) Descriptor() ([]byte, []int) + func (*FeeLevelSelection) ProtoMessage() + func (m *FeeLevelSelection) GetFeeLevel() FeeLevel + func (m *FeeLevelSelection) Reset() + func (m *FeeLevelSelection) String() string + type FeePerByte struct + Fee uint64 + func (*FeePerByte) Descriptor() ([]byte, []int) + func (*FeePerByte) ProtoMessage() + func (m *FeePerByte) GetFee() uint64 + func (m *FeePerByte) Reset() + func (m *FeePerByte) String() string + type Header struct + Entry string + func (*Header) Descriptor() ([]byte, []int) + func (*Header) ProtoMessage() + func (m *Header) GetEntry() string + func (m *Header) Reset() + func (m *Header) String() string + type Height struct + Height uint32 + func (*Height) Descriptor() ([]byte, []int) + func (*Height) ProtoMessage() + func (m *Height) GetHeight() uint32 + func (m *Height) Reset() + func (m *Height) String() string + type ImportedKey struct + CreationDate *google_protobuf.Timestamp + Key string + func (*ImportedKey) Descriptor() ([]byte, []int) + func (*ImportedKey) ProtoMessage() + func (m *ImportedKey) GetCreationDate() *google_protobuf.Timestamp + func (m *ImportedKey) GetKey() string + func (m *ImportedKey) Reset() + func (m *ImportedKey) String() string + type Input struct + Index uint32 + Txid string + func (*Input) Descriptor() ([]byte, []int) + func (*Input) ProtoMessage() + func (m *Input) GetIndex() uint32 + func (m *Input) GetTxid() string + func (m *Input) Reset() + func (m *Input) String() string + type Key struct + Key string + func (*Key) Descriptor() ([]byte, []int) + func (*Key) ProtoMessage() + func (m *Key) GetKey() string + func (m *Key) Reset() + func (m *Key) String() string + type KeyPurpose int32 + const KeyPurpose_EXTERNAL + const KeyPurpose_INTERNAL + func (KeyPurpose) EnumDescriptor() ([]byte, []int) + func (x KeyPurpose) String() string + type KeySelection struct + Purpose KeyPurpose + func (*KeySelection) Descriptor() ([]byte, []int) + func (*KeySelection) ProtoMessage() + func (m *KeySelection) GetPurpose() KeyPurpose + func (m *KeySelection) Reset() + func (m *KeySelection) String() string + type Keys struct + Keys []*Key + func (*Keys) Descriptor() ([]byte, []int) + func (*Keys) ProtoMessage() + func (m *Keys) GetKeys() []*Key + func (m *Keys) Reset() + func (m *Keys) String() string + type MultisignInfo struct + Broadcast bool + FeePerByte uint64 + Inputs []*Input + Outputs []*Output + RedeemScript []byte + Sig1 []*Signature + Sig2 []*Signature + func (*MultisignInfo) Descriptor() ([]byte, []int) + func (*MultisignInfo) ProtoMessage() + func (m *MultisignInfo) GetBroadcast() bool + func (m *MultisignInfo) GetFeePerByte() uint64 + func (m *MultisignInfo) GetInputs() []*Input + func (m *MultisignInfo) GetOutputs() []*Output + func (m *MultisignInfo) GetRedeemScript() []byte + func (m *MultisignInfo) GetSig1() []*Signature + func (m *MultisignInfo) GetSig2() []*Signature + func (m *MultisignInfo) Reset() + func (m *MultisignInfo) String() string + type NetParams struct + Name string + func (*NetParams) Descriptor() ([]byte, []int) + func (*NetParams) ProtoMessage() + func (m *NetParams) GetName() string + func (m *NetParams) Reset() + func (m *NetParams) String() string + type Output struct + ScriptPubKey []byte + Value uint64 + func (*Output) Descriptor() ([]byte, []int) + func (*Output) ProtoMessage() + func (m *Output) GetScriptPubKey() []byte + func (m *Output) GetValue() uint64 + func (m *Output) Reset() + func (m *Output) String() string + type Peer struct + Address string + BytesReceived uint64 + BytesSent uint64 + Connected bool + ID int32 + LastBlock int32 + ProtocolVersion uint32 + Services string + TimeConnected *google_protobuf.Timestamp + UserAgent string + func (*Peer) Descriptor() ([]byte, []int) + func (*Peer) ProtoMessage() + func (m *Peer) GetAddress() string + func (m *Peer) GetBytesReceived() uint64 + func (m *Peer) GetBytesSent() uint64 + func (m *Peer) GetConnected() bool + func (m *Peer) GetID() int32 + func (m *Peer) GetLastBlock() int32 + func (m *Peer) GetProtocolVersion() uint32 + func (m *Peer) GetServices() string + func (m *Peer) GetTimeConnected() *google_protobuf.Timestamp + func (m *Peer) GetUserAgent() string + func (m *Peer) Reset() + func (m *Peer) String() string + type PeerList struct + Peers []*Peer + func (*PeerList) Descriptor() ([]byte, []int) + func (*PeerList) ProtoMessage() + func (m *PeerList) GetPeers() []*Peer + func (m *PeerList) Reset() + func (m *PeerList) String() string + type RawTx struct + Tx []byte + func (*RawTx) Descriptor() ([]byte, []int) + func (*RawTx) ProtoMessage() + func (m *RawTx) GetTx() []byte + func (m *RawTx) Reset() + func (m *RawTx) String() string + type Signature struct + Index uint32 + Signature []byte + func (*Signature) Descriptor() ([]byte, []int) + func (*Signature) ProtoMessage() + func (m *Signature) GetIndex() uint32 + func (m *Signature) GetSignature() []byte + func (m *Signature) Reset() + func (m *Signature) String() string + type SignatureList struct + Sigs []*Signature + func (*SignatureList) Descriptor() ([]byte, []int) + func (*SignatureList) ProtoMessage() + func (m *SignatureList) GetSigs() []*Signature + func (m *SignatureList) Reset() + func (m *SignatureList) String() string + type SpendInfo struct + Address string + Amount uint64 + FeeLevel FeeLevel + func (*SpendInfo) Descriptor() ([]byte, []int) + func (*SpendInfo) ProtoMessage() + func (m *SpendInfo) GetAddress() string + func (m *SpendInfo) GetAmount() uint64 + func (m *SpendInfo) GetFeeLevel() FeeLevel + func (m *SpendInfo) Reset() + func (m *SpendInfo) String() string + type SweepInfo struct + Address string + FeeLevel FeeLevel + Key string + RedeemScript []byte + Utxos []*Utxo + func (*SweepInfo) Descriptor() ([]byte, []int) + func (*SweepInfo) ProtoMessage() + func (m *SweepInfo) GetAddress() string + func (m *SweepInfo) GetFeeLevel() FeeLevel + func (m *SweepInfo) GetKey() string + func (m *SweepInfo) GetRedeemScript() []byte + func (m *SweepInfo) GetUtxos() []*Utxo + func (m *SweepInfo) Reset() + func (m *SweepInfo) String() string + type TransactionList struct + Transactions []*Tx + func (*TransactionList) Descriptor() ([]byte, []int) + func (*TransactionList) ProtoMessage() + func (m *TransactionList) GetTransactions() []*Tx + func (m *TransactionList) Reset() + func (m *TransactionList) String() string + type Tx struct + Height int32 + Raw []byte + Timestamp *google_protobuf.Timestamp + Txid string + Value int64 + WatchOnly bool + func (*Tx) Descriptor() ([]byte, []int) + func (*Tx) ProtoMessage() + func (m *Tx) GetHeight() int32 + func (m *Tx) GetRaw() []byte + func (m *Tx) GetTimestamp() *google_protobuf.Timestamp + func (m *Tx) GetTxid() string + func (m *Tx) GetValue() int64 + func (m *Tx) GetWatchOnly() bool + func (m *Tx) Reset() + func (m *Tx) String() string + type Txid struct + Hash string + func (*Txid) Descriptor() ([]byte, []int) + func (*Txid) ProtoMessage() + func (m *Txid) GetHash() string + func (m *Txid) Reset() + func (m *Txid) String() string + type Utxo struct + Index uint32 + Txid string + Value uint64 + func (*Utxo) Descriptor() ([]byte, []int) + func (*Utxo) ProtoMessage() + func (m *Utxo) GetIndex() uint32 + func (m *Utxo) GetTxid() string + func (m *Utxo) GetValue() uint64 + func (m *Utxo) Reset() + func (m *Utxo) String() string v0.1.0-alpha Aug 3, 2017