Documentation ¶
Index ¶
- Variables
- func RegisterAPIServer(s *grpc.Server, srv APIServer)
- type APIClient
- type APIServer
- type API_DumpTablesClient
- type API_DumpTablesServer
- type API_WalletNotifyClient
- type API_WalletNotifyServer
- type Address
- func (*Address) Descriptor() ([]byte, []int)
- func (m *Address) GetAddr() string
- func (m *Address) GetCoin() CoinType
- func (*Address) ProtoMessage()
- func (m *Address) Reset()
- func (m *Address) String() string
- func (m *Address) XXX_DiscardUnknown()
- func (m *Address) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Address) XXX_Merge(src proto.Message)
- func (m *Address) XXX_Size() int
- func (m *Address) XXX_Unmarshal(b []byte) error
- type Addresses
- func (*Addresses) Descriptor() ([]byte, []int)
- func (m *Addresses) GetAddresses() []*Address
- func (*Addresses) ProtoMessage()
- func (m *Addresses) Reset()
- func (m *Addresses) String() string
- func (m *Addresses) XXX_DiscardUnknown()
- func (m *Addresses) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Addresses) XXX_Merge(src proto.Message)
- func (m *Addresses) XXX_Size() int
- func (m *Addresses) XXX_Unmarshal(b []byte) error
- type Balances
- func (*Balances) Descriptor() ([]byte, []int)
- func (m *Balances) GetConfirmed() uint64
- func (m *Balances) GetUnconfirmed() uint64
- func (*Balances) ProtoMessage()
- func (m *Balances) Reset()
- func (m *Balances) String() string
- func (m *Balances) XXX_DiscardUnknown()
- func (m *Balances) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Balances) XXX_Merge(src proto.Message)
- func (m *Balances) XXX_Size() int
- func (m *Balances) XXX_Unmarshal(b []byte) error
- type BoolResponse
- func (*BoolResponse) Descriptor() ([]byte, []int)
- func (m *BoolResponse) GetBool() bool
- func (*BoolResponse) ProtoMessage()
- func (m *BoolResponse) Reset()
- func (m *BoolResponse) String() string
- func (m *BoolResponse) XXX_DiscardUnknown()
- func (m *BoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BoolResponse) XXX_Merge(src proto.Message)
- func (m *BoolResponse) XXX_Size() int
- func (m *BoolResponse) XXX_Unmarshal(b []byte) error
- type CoinSelection
- func (*CoinSelection) Descriptor() ([]byte, []int)
- func (m *CoinSelection) GetCoin() CoinType
- func (*CoinSelection) ProtoMessage()
- func (m *CoinSelection) Reset()
- func (m *CoinSelection) String() string
- func (m *CoinSelection) XXX_DiscardUnknown()
- func (m *CoinSelection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CoinSelection) XXX_Merge(src proto.Message)
- func (m *CoinSelection) XXX_Size() int
- func (m *CoinSelection) XXX_Unmarshal(b []byte) error
- type CoinType
- type Confirmations
- func (*Confirmations) Descriptor() ([]byte, []int)
- func (m *Confirmations) GetConfirmations() uint32
- func (*Confirmations) ProtoMessage()
- func (m *Confirmations) Reset()
- func (m *Confirmations) String() string
- func (m *Confirmations) XXX_DiscardUnknown()
- func (m *Confirmations) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Confirmations) XXX_Merge(src proto.Message)
- func (m *Confirmations) XXX_Size() int
- func (m *Confirmations) XXX_Unmarshal(b []byte) error
- type CreateMultisigInfo
- func (*CreateMultisigInfo) Descriptor() ([]byte, []int)
- func (m *CreateMultisigInfo) GetCoin() CoinType
- 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 (*CreateMultisigInfo) ProtoMessage()
- func (m *CreateMultisigInfo) Reset()
- func (m *CreateMultisigInfo) String() string
- func (m *CreateMultisigInfo) XXX_DiscardUnknown()
- func (m *CreateMultisigInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CreateMultisigInfo) XXX_Merge(src proto.Message)
- func (m *CreateMultisigInfo) XXX_Size() int
- func (m *CreateMultisigInfo) XXX_Unmarshal(b []byte) error
- type Empty
- func (*Empty) Descriptor() ([]byte, []int)
- func (*Empty) ProtoMessage()
- func (m *Empty) Reset()
- func (m *Empty) String() string
- func (m *Empty) XXX_DiscardUnknown()
- func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Empty) XXX_Merge(src proto.Message)
- func (m *Empty) XXX_Size() int
- func (m *Empty) XXX_Unmarshal(b []byte) error
- type EstimateFeeData
- func (*EstimateFeeData) Descriptor() ([]byte, []int)
- func (m *EstimateFeeData) GetCoin() CoinType
- func (m *EstimateFeeData) GetFeePerByte() uint64
- func (m *EstimateFeeData) GetInputs() []*Input
- func (m *EstimateFeeData) GetOutputs() []*Output
- func (*EstimateFeeData) ProtoMessage()
- func (m *EstimateFeeData) Reset()
- func (m *EstimateFeeData) String() string
- func (m *EstimateFeeData) XXX_DiscardUnknown()
- func (m *EstimateFeeData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *EstimateFeeData) XXX_Merge(src proto.Message)
- func (m *EstimateFeeData) XXX_Size() int
- func (m *EstimateFeeData) XXX_Unmarshal(b []byte) error
- type Fee
- func (*Fee) Descriptor() ([]byte, []int)
- func (m *Fee) GetFee() uint64
- func (*Fee) ProtoMessage()
- func (m *Fee) Reset()
- func (m *Fee) String() string
- func (m *Fee) XXX_DiscardUnknown()
- func (m *Fee) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Fee) XXX_Merge(src proto.Message)
- func (m *Fee) XXX_Size() int
- func (m *Fee) XXX_Unmarshal(b []byte) error
- type FeeLevel
- type FeeLevelSelection
- func (*FeeLevelSelection) Descriptor() ([]byte, []int)
- func (m *FeeLevelSelection) GetCoin() CoinType
- func (m *FeeLevelSelection) GetFeeLevel() FeeLevel
- func (*FeeLevelSelection) ProtoMessage()
- func (m *FeeLevelSelection) Reset()
- func (m *FeeLevelSelection) String() string
- func (m *FeeLevelSelection) XXX_DiscardUnknown()
- func (m *FeeLevelSelection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *FeeLevelSelection) XXX_Merge(src proto.Message)
- func (m *FeeLevelSelection) XXX_Size() int
- func (m *FeeLevelSelection) XXX_Unmarshal(b []byte) error
- type FeePerByte
- func (*FeePerByte) Descriptor() ([]byte, []int)
- func (m *FeePerByte) GetFee() uint64
- func (*FeePerByte) ProtoMessage()
- func (m *FeePerByte) Reset()
- func (m *FeePerByte) String() string
- func (m *FeePerByte) XXX_DiscardUnknown()
- func (m *FeePerByte) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *FeePerByte) XXX_Merge(src proto.Message)
- func (m *FeePerByte) XXX_Size() int
- func (m *FeePerByte) XXX_Unmarshal(b []byte) error
- type Height
- func (*Height) Descriptor() ([]byte, []int)
- func (m *Height) GetHeight() uint32
- func (*Height) ProtoMessage()
- func (m *Height) Reset()
- func (m *Height) String() string
- func (m *Height) XXX_DiscardUnknown()
- func (m *Height) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Height) XXX_Merge(src proto.Message)
- func (m *Height) XXX_Size() int
- func (m *Height) XXX_Unmarshal(b []byte) error
- type Input
- func (*Input) Descriptor() ([]byte, []int)
- func (m *Input) GetIndex() uint32
- func (m *Input) GetTxid() string
- func (*Input) ProtoMessage()
- func (m *Input) Reset()
- func (m *Input) String() string
- func (m *Input) XXX_DiscardUnknown()
- func (m *Input) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Input) XXX_Merge(src proto.Message)
- func (m *Input) XXX_Size() int
- func (m *Input) XXX_Unmarshal(b []byte) error
- type Key
- func (*Key) Descriptor() ([]byte, []int)
- func (m *Key) GetKey() string
- func (*Key) ProtoMessage()
- func (m *Key) Reset()
- func (m *Key) String() string
- func (m *Key) XXX_DiscardUnknown()
- func (m *Key) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Key) XXX_Merge(src proto.Message)
- func (m *Key) XXX_Size() int
- func (m *Key) XXX_Unmarshal(b []byte) error
- type KeyPurpose
- type KeySelection
- func (*KeySelection) Descriptor() ([]byte, []int)
- func (m *KeySelection) GetCoin() CoinType
- func (m *KeySelection) GetPurpose() KeyPurpose
- func (*KeySelection) ProtoMessage()
- func (m *KeySelection) Reset()
- func (m *KeySelection) String() string
- func (m *KeySelection) XXX_DiscardUnknown()
- func (m *KeySelection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *KeySelection) XXX_Merge(src proto.Message)
- func (m *KeySelection) XXX_Size() int
- func (m *KeySelection) XXX_Unmarshal(b []byte) error
- type Keys
- func (*Keys) Descriptor() ([]byte, []int)
- func (m *Keys) GetKeys() []*Key
- func (*Keys) ProtoMessage()
- func (m *Keys) Reset()
- func (m *Keys) String() string
- func (m *Keys) XXX_DiscardUnknown()
- func (m *Keys) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Keys) XXX_Merge(src proto.Message)
- func (m *Keys) XXX_Size() int
- func (m *Keys) XXX_Unmarshal(b []byte) error
- type MultisignInfo
- func (*MultisignInfo) Descriptor() ([]byte, []int)
- func (m *MultisignInfo) GetBroadcast() bool
- func (m *MultisignInfo) GetCoin() CoinType
- 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 (*MultisignInfo) ProtoMessage()
- func (m *MultisignInfo) Reset()
- func (m *MultisignInfo) String() string
- func (m *MultisignInfo) XXX_DiscardUnknown()
- func (m *MultisignInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *MultisignInfo) XXX_Merge(src proto.Message)
- func (m *MultisignInfo) XXX_Size() int
- func (m *MultisignInfo) XXX_Unmarshal(b []byte) error
- type NetParams
- func (*NetParams) Descriptor() ([]byte, []int)
- func (m *NetParams) GetName() string
- func (*NetParams) ProtoMessage()
- func (m *NetParams) Reset()
- func (m *NetParams) String() string
- func (m *NetParams) XXX_DiscardUnknown()
- func (m *NetParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *NetParams) XXX_Merge(src proto.Message)
- func (m *NetParams) XXX_Size() int
- func (m *NetParams) XXX_Unmarshal(b []byte) error
- type Output
- func (*Output) Descriptor() ([]byte, []int)
- func (m *Output) GetScriptPubKey() []byte
- func (m *Output) GetValue() uint64
- func (*Output) ProtoMessage()
- func (m *Output) Reset()
- func (m *Output) String() string
- func (m *Output) XXX_DiscardUnknown()
- func (m *Output) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Output) XXX_Merge(src proto.Message)
- func (m *Output) XXX_Size() int
- func (m *Output) XXX_Unmarshal(b []byte) error
- type RawTx
- func (*RawTx) Descriptor() ([]byte, []int)
- func (m *RawTx) GetTx() []byte
- func (*RawTx) ProtoMessage()
- func (m *RawTx) Reset()
- func (m *RawTx) String() string
- func (m *RawTx) XXX_DiscardUnknown()
- func (m *RawTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RawTx) XXX_Merge(src proto.Message)
- func (m *RawTx) XXX_Size() int
- func (m *RawTx) XXX_Unmarshal(b []byte) error
- type Row
- func (*Row) Descriptor() ([]byte, []int)
- func (m *Row) GetData() string
- func (*Row) ProtoMessage()
- func (m *Row) Reset()
- func (m *Row) String() string
- func (m *Row) XXX_DiscardUnknown()
- func (m *Row) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Row) XXX_Merge(src proto.Message)
- func (m *Row) XXX_Size() int
- func (m *Row) XXX_Unmarshal(b []byte) error
- type Signature
- func (*Signature) Descriptor() ([]byte, []int)
- func (m *Signature) GetIndex() uint32
- func (m *Signature) GetSignature() []byte
- func (*Signature) ProtoMessage()
- func (m *Signature) Reset()
- func (m *Signature) String() string
- func (m *Signature) XXX_DiscardUnknown()
- func (m *Signature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Signature) XXX_Merge(src proto.Message)
- func (m *Signature) XXX_Size() int
- func (m *Signature) XXX_Unmarshal(b []byte) error
- type SignatureList
- func (*SignatureList) Descriptor() ([]byte, []int)
- func (m *SignatureList) GetSigs() []*Signature
- func (*SignatureList) ProtoMessage()
- func (m *SignatureList) Reset()
- func (m *SignatureList) String() string
- func (m *SignatureList) XXX_DiscardUnknown()
- func (m *SignatureList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SignatureList) XXX_Merge(src proto.Message)
- func (m *SignatureList) XXX_Size() int
- func (m *SignatureList) XXX_Unmarshal(b []byte) error
- type SpendInfo
- func (*SpendInfo) Descriptor() ([]byte, []int)
- func (m *SpendInfo) GetAddress() string
- func (m *SpendInfo) GetAmount() uint64
- func (m *SpendInfo) GetCoin() CoinType
- func (m *SpendInfo) GetFeeLevel() FeeLevel
- func (m *SpendInfo) GetMemo() string
- func (*SpendInfo) ProtoMessage()
- func (m *SpendInfo) Reset()
- func (m *SpendInfo) String() string
- func (m *SpendInfo) XXX_DiscardUnknown()
- func (m *SpendInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SpendInfo) XXX_Merge(src proto.Message)
- func (m *SpendInfo) XXX_Size() int
- func (m *SpendInfo) XXX_Unmarshal(b []byte) error
- type SweepInfo
- func (*SweepInfo) Descriptor() ([]byte, []int)
- func (m *SweepInfo) GetAddress() string
- func (m *SweepInfo) GetCoin() CoinType
- func (m *SweepInfo) GetFeeLevel() FeeLevel
- func (m *SweepInfo) GetKey() string
- func (m *SweepInfo) GetRedeemScript() []byte
- func (m *SweepInfo) GetUtxos() []*Utxo
- func (*SweepInfo) ProtoMessage()
- func (m *SweepInfo) Reset()
- func (m *SweepInfo) String() string
- func (m *SweepInfo) XXX_DiscardUnknown()
- func (m *SweepInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SweepInfo) XXX_Merge(src proto.Message)
- func (m *SweepInfo) XXX_Size() int
- func (m *SweepInfo) XXX_Unmarshal(b []byte) error
- type TransactionList
- func (*TransactionList) Descriptor() ([]byte, []int)
- func (m *TransactionList) GetTransactions() []*Tx
- func (*TransactionList) ProtoMessage()
- func (m *TransactionList) Reset()
- func (m *TransactionList) String() string
- func (m *TransactionList) XXX_DiscardUnknown()
- func (m *TransactionList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TransactionList) XXX_Merge(src proto.Message)
- func (m *TransactionList) XXX_Size() int
- func (m *TransactionList) XXX_Unmarshal(b []byte) error
- type Tx
- func (*Tx) Descriptor() ([]byte, []int)
- func (m *Tx) GetHeight() int32
- func (m *Tx) GetRaw() []byte
- func (m *Tx) GetTimestamp() *timestamp.Timestamp
- func (m *Tx) GetTxid() string
- func (m *Tx) GetValue() int64
- func (m *Tx) GetWatchOnly() bool
- func (*Tx) ProtoMessage()
- func (m *Tx) Reset()
- func (m *Tx) String() string
- func (m *Tx) XXX_DiscardUnknown()
- func (m *Tx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Tx) XXX_Merge(src proto.Message)
- func (m *Tx) XXX_Size() int
- func (m *Tx) XXX_Unmarshal(b []byte) error
- type Txid
- func (*Txid) Descriptor() ([]byte, []int)
- func (m *Txid) GetCoin() CoinType
- func (m *Txid) GetHash() string
- func (*Txid) ProtoMessage()
- func (m *Txid) Reset()
- func (m *Txid) String() string
- func (m *Txid) XXX_DiscardUnknown()
- func (m *Txid) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Txid) XXX_Merge(src proto.Message)
- func (m *Txid) XXX_Size() int
- func (m *Txid) XXX_Unmarshal(b []byte) error
- type Utxo
- func (*Utxo) Descriptor() ([]byte, []int)
- func (m *Utxo) GetIndex() uint32
- func (m *Utxo) GetTxid() string
- func (m *Utxo) GetValue() uint64
- func (*Utxo) ProtoMessage()
- func (m *Utxo) Reset()
- func (m *Utxo) String() string
- func (m *Utxo) XXX_DiscardUnknown()
- func (m *Utxo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Utxo) XXX_Merge(src proto.Message)
- func (m *Utxo) XXX_Size() int
- func (m *Utxo) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var CoinType_name = map[int32]string{
0: "BITCOIN",
1: "BITCOIN_CASH",
2: "ZCASH",
3: "LITECOIN",
4: "ETHEREUM",
}
View Source
var CoinType_value = map[string]int32{
"BITCOIN": 0,
"BITCOIN_CASH": 1,
"ZCASH": 2,
"LITECOIN": 3,
"ETHEREUM": 4,
}
View Source
var FeeLevel_name = map[int32]string{
0: "ECONOMIC",
1: "NORMAL",
2: "PRIORITY",
}
View Source
var FeeLevel_value = map[string]int32{
"ECONOMIC": 0,
"NORMAL": 1,
"PRIORITY": 2,
}
View Source
var KeyPurpose_name = map[int32]string{
0: "INTERNAL",
1: "EXTERNAL",
}
View Source
var KeyPurpose_value = map[string]int32{
"INTERNAL": 0,
"EXTERNAL": 1,
}
Functions ¶
func RegisterAPIServer ¶
Types ¶
type APIClient ¶
type APIClient interface { Stop(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error) CurrentAddress(ctx context.Context, in *KeySelection, opts ...grpc.CallOption) (*Address, error) NewAddress(ctx context.Context, in *KeySelection, opts ...grpc.CallOption) (*Address, error) ChainTip(ctx context.Context, in *CoinSelection, opts ...grpc.CallOption) (*Height, error) Balance(ctx context.Context, in *CoinSelection, opts ...grpc.CallOption) (*Balances, error) MasterPrivateKey(ctx context.Context, in *CoinSelection, opts ...grpc.CallOption) (*Key, error) MasterPublicKey(ctx context.Context, in *CoinSelection, opts ...grpc.CallOption) (*Key, error) HasKey(ctx context.Context, in *Address, opts ...grpc.CallOption) (*BoolResponse, error) Params(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*NetParams, error) Transactions(ctx context.Context, in *CoinSelection, opts ...grpc.CallOption) (*TransactionList, error) GetTransaction(ctx context.Context, in *Txid, opts ...grpc.CallOption) (*Tx, error) GetFeePerByte(ctx context.Context, in *FeeLevelSelection, opts ...grpc.CallOption) (*FeePerByte, error) Spend(ctx context.Context, in *SpendInfo, opts ...grpc.CallOption) (*Txid, error) BumpFee(ctx context.Context, in *Txid, opts ...grpc.CallOption) (*Txid, error) AddWatchedScript(ctx context.Context, in *Address, opts ...grpc.CallOption) (*Empty, error) GetConfirmations(ctx context.Context, in *Txid, opts ...grpc.CallOption) (*Confirmations, error) SweepAddress(ctx context.Context, in *SweepInfo, opts ...grpc.CallOption) (*Txid, error) CreateMultisigSignature(ctx context.Context, in *CreateMultisigInfo, opts ...grpc.CallOption) (*SignatureList, error) Multisign(ctx context.Context, in *MultisignInfo, opts ...grpc.CallOption) (*RawTx, error) EstimateFee(ctx context.Context, in *EstimateFeeData, opts ...grpc.CallOption) (*Fee, error) GetKey(ctx context.Context, in *Address, opts ...grpc.CallOption) (*Key, error) ListKeys(ctx context.Context, in *CoinSelection, opts ...grpc.CallOption) (*Keys, error) ListAddresses(ctx context.Context, in *CoinSelection, opts ...grpc.CallOption) (*Addresses, error) WalletNotify(ctx context.Context, in *CoinSelection, opts ...grpc.CallOption) (API_WalletNotifyClient, error) DumpTables(ctx context.Context, in *CoinSelection, opts ...grpc.CallOption) (API_DumpTablesClient, error) }
APIClient is the client API for API service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAPIClient ¶
func NewAPIClient(cc *grpc.ClientConn) APIClient
type APIServer ¶
type APIServer interface { Stop(context.Context, *Empty) (*Empty, error) CurrentAddress(context.Context, *KeySelection) (*Address, error) NewAddress(context.Context, *KeySelection) (*Address, error) ChainTip(context.Context, *CoinSelection) (*Height, error) Balance(context.Context, *CoinSelection) (*Balances, error) MasterPrivateKey(context.Context, *CoinSelection) (*Key, error) MasterPublicKey(context.Context, *CoinSelection) (*Key, error) HasKey(context.Context, *Address) (*BoolResponse, error) Params(context.Context, *Empty) (*NetParams, error) Transactions(context.Context, *CoinSelection) (*TransactionList, error) GetTransaction(context.Context, *Txid) (*Tx, error) GetFeePerByte(context.Context, *FeeLevelSelection) (*FeePerByte, error) Spend(context.Context, *SpendInfo) (*Txid, error) BumpFee(context.Context, *Txid) (*Txid, error) AddWatchedScript(context.Context, *Address) (*Empty, error) GetConfirmations(context.Context, *Txid) (*Confirmations, error) SweepAddress(context.Context, *SweepInfo) (*Txid, error) CreateMultisigSignature(context.Context, *CreateMultisigInfo) (*SignatureList, error) Multisign(context.Context, *MultisignInfo) (*RawTx, error) EstimateFee(context.Context, *EstimateFeeData) (*Fee, error) GetKey(context.Context, *Address) (*Key, error) ListKeys(context.Context, *CoinSelection) (*Keys, error) ListAddresses(context.Context, *CoinSelection) (*Addresses, error) WalletNotify(*CoinSelection, API_WalletNotifyServer) error DumpTables(*CoinSelection, API_DumpTablesServer) error }
APIServer is the server API for API service.
type API_DumpTablesClient ¶
type API_DumpTablesClient interface { Recv() (*Row, error) grpc.ClientStream }
type API_DumpTablesServer ¶
type API_DumpTablesServer interface { Send(*Row) error grpc.ServerStream }
type API_WalletNotifyClient ¶
type API_WalletNotifyClient interface { Recv() (*Tx, error) grpc.ClientStream }
type API_WalletNotifyServer ¶
type API_WalletNotifyServer interface { Send(*Tx) error grpc.ServerStream }
type Address ¶
type Address struct { Coin CoinType `protobuf:"varint,1,opt,name=coin,proto3,enum=pb.CoinType" json:"coin,omitempty"` Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Address) Descriptor ¶
func (*Address) ProtoMessage ¶
func (*Address) ProtoMessage()
func (*Address) XXX_DiscardUnknown ¶
func (m *Address) XXX_DiscardUnknown()
func (*Address) XXX_Marshal ¶
func (*Address) XXX_Unmarshal ¶
type Addresses ¶
type Addresses struct { Addresses []*Address `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Addresses) Descriptor ¶
func (*Addresses) GetAddresses ¶
func (*Addresses) ProtoMessage ¶
func (*Addresses) ProtoMessage()
func (*Addresses) XXX_DiscardUnknown ¶
func (m *Addresses) XXX_DiscardUnknown()
func (*Addresses) XXX_Marshal ¶
func (*Addresses) XXX_Unmarshal ¶
type Balances ¶
type Balances struct { Confirmed uint64 `protobuf:"varint,1,opt,name=confirmed,proto3" json:"confirmed,omitempty"` Unconfirmed uint64 `protobuf:"varint,2,opt,name=unconfirmed,proto3" json:"unconfirmed,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Balances) Descriptor ¶
func (*Balances) GetConfirmed ¶
func (*Balances) GetUnconfirmed ¶
func (*Balances) ProtoMessage ¶
func (*Balances) ProtoMessage()
func (*Balances) XXX_DiscardUnknown ¶
func (m *Balances) XXX_DiscardUnknown()
func (*Balances) XXX_Marshal ¶
func (*Balances) XXX_Unmarshal ¶
type BoolResponse ¶
type BoolResponse struct { Bool bool `protobuf:"varint,1,opt,name=bool,proto3" json:"bool,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BoolResponse) Descriptor ¶
func (*BoolResponse) Descriptor() ([]byte, []int)
func (*BoolResponse) GetBool ¶
func (m *BoolResponse) GetBool() bool
func (*BoolResponse) ProtoMessage ¶
func (*BoolResponse) ProtoMessage()
func (*BoolResponse) Reset ¶
func (m *BoolResponse) Reset()
func (*BoolResponse) String ¶
func (m *BoolResponse) String() string
func (*BoolResponse) XXX_DiscardUnknown ¶
func (m *BoolResponse) XXX_DiscardUnknown()
func (*BoolResponse) XXX_Marshal ¶
func (m *BoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BoolResponse) XXX_Merge ¶
func (dst *BoolResponse) XXX_Merge(src proto.Message)
func (*BoolResponse) XXX_Size ¶
func (m *BoolResponse) XXX_Size() int
func (*BoolResponse) XXX_Unmarshal ¶
func (m *BoolResponse) XXX_Unmarshal(b []byte) error
type CoinSelection ¶
type CoinSelection struct { Coin CoinType `protobuf:"varint,1,opt,name=coin,proto3,enum=pb.CoinType" json:"coin,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CoinSelection) Descriptor ¶
func (*CoinSelection) Descriptor() ([]byte, []int)
func (*CoinSelection) GetCoin ¶
func (m *CoinSelection) GetCoin() CoinType
func (*CoinSelection) ProtoMessage ¶
func (*CoinSelection) ProtoMessage()
func (*CoinSelection) Reset ¶
func (m *CoinSelection) Reset()
func (*CoinSelection) String ¶
func (m *CoinSelection) String() string
func (*CoinSelection) XXX_DiscardUnknown ¶
func (m *CoinSelection) XXX_DiscardUnknown()
func (*CoinSelection) XXX_Marshal ¶
func (m *CoinSelection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CoinSelection) XXX_Merge ¶
func (dst *CoinSelection) XXX_Merge(src proto.Message)
func (*CoinSelection) XXX_Size ¶
func (m *CoinSelection) XXX_Size() int
func (*CoinSelection) XXX_Unmarshal ¶
func (m *CoinSelection) XXX_Unmarshal(b []byte) error
type Confirmations ¶
type Confirmations struct { Confirmations uint32 `protobuf:"varint,1,opt,name=confirmations,proto3" json:"confirmations,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Confirmations) Descriptor ¶
func (*Confirmations) Descriptor() ([]byte, []int)
func (*Confirmations) GetConfirmations ¶
func (m *Confirmations) GetConfirmations() uint32
func (*Confirmations) ProtoMessage ¶
func (*Confirmations) ProtoMessage()
func (*Confirmations) Reset ¶
func (m *Confirmations) Reset()
func (*Confirmations) String ¶
func (m *Confirmations) String() string
func (*Confirmations) XXX_DiscardUnknown ¶
func (m *Confirmations) XXX_DiscardUnknown()
func (*Confirmations) XXX_Marshal ¶
func (m *Confirmations) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Confirmations) XXX_Merge ¶
func (dst *Confirmations) XXX_Merge(src proto.Message)
func (*Confirmations) XXX_Size ¶
func (m *Confirmations) XXX_Size() int
func (*Confirmations) XXX_Unmarshal ¶
func (m *Confirmations) XXX_Unmarshal(b []byte) error
type CreateMultisigInfo ¶
type CreateMultisigInfo struct { Coin CoinType `protobuf:"varint,1,opt,name=coin,proto3,enum=pb.CoinType" json:"coin,omitempty"` Inputs []*Input `protobuf:"bytes,2,rep,name=inputs,proto3" json:"inputs,omitempty"` Outputs []*Output `protobuf:"bytes,3,rep,name=outputs,proto3" json:"outputs,omitempty"` Key string `protobuf:"bytes,4,opt,name=key,proto3" json:"key,omitempty"` RedeemScript []byte `protobuf:"bytes,5,opt,name=redeemScript,proto3" json:"redeemScript,omitempty"` FeePerByte uint64 `protobuf:"varint,6,opt,name=feePerByte,proto3" json:"feePerByte,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateMultisigInfo) Descriptor ¶
func (*CreateMultisigInfo) Descriptor() ([]byte, []int)
func (*CreateMultisigInfo) GetCoin ¶
func (m *CreateMultisigInfo) GetCoin() CoinType
func (*CreateMultisigInfo) GetFeePerByte ¶
func (m *CreateMultisigInfo) GetFeePerByte() uint64
func (*CreateMultisigInfo) GetInputs ¶
func (m *CreateMultisigInfo) GetInputs() []*Input
func (*CreateMultisigInfo) GetKey ¶
func (m *CreateMultisigInfo) GetKey() string
func (*CreateMultisigInfo) GetOutputs ¶
func (m *CreateMultisigInfo) GetOutputs() []*Output
func (*CreateMultisigInfo) GetRedeemScript ¶
func (m *CreateMultisigInfo) GetRedeemScript() []byte
func (*CreateMultisigInfo) ProtoMessage ¶
func (*CreateMultisigInfo) ProtoMessage()
func (*CreateMultisigInfo) Reset ¶
func (m *CreateMultisigInfo) Reset()
func (*CreateMultisigInfo) String ¶
func (m *CreateMultisigInfo) String() string
func (*CreateMultisigInfo) XXX_DiscardUnknown ¶
func (m *CreateMultisigInfo) XXX_DiscardUnknown()
func (*CreateMultisigInfo) XXX_Marshal ¶
func (m *CreateMultisigInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateMultisigInfo) XXX_Merge ¶
func (dst *CreateMultisigInfo) XXX_Merge(src proto.Message)
func (*CreateMultisigInfo) XXX_Size ¶
func (m *CreateMultisigInfo) XXX_Size() int
func (*CreateMultisigInfo) XXX_Unmarshal ¶
func (m *CreateMultisigInfo) XXX_Unmarshal(b []byte) error
type Empty ¶
type Empty struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Empty) Descriptor ¶
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) XXX_DiscardUnknown ¶
func (m *Empty) XXX_DiscardUnknown()
func (*Empty) XXX_Marshal ¶
func (*Empty) XXX_Unmarshal ¶
type EstimateFeeData ¶
type EstimateFeeData struct { Coin CoinType `protobuf:"varint,1,opt,name=coin,proto3,enum=pb.CoinType" json:"coin,omitempty"` Inputs []*Input `protobuf:"bytes,2,rep,name=inputs,proto3" json:"inputs,omitempty"` Outputs []*Output `protobuf:"bytes,3,rep,name=outputs,proto3" json:"outputs,omitempty"` FeePerByte uint64 `protobuf:"varint,4,opt,name=feePerByte,proto3" json:"feePerByte,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*EstimateFeeData) Descriptor ¶
func (*EstimateFeeData) Descriptor() ([]byte, []int)
func (*EstimateFeeData) GetCoin ¶
func (m *EstimateFeeData) GetCoin() CoinType
func (*EstimateFeeData) GetFeePerByte ¶
func (m *EstimateFeeData) GetFeePerByte() uint64
func (*EstimateFeeData) GetInputs ¶
func (m *EstimateFeeData) GetInputs() []*Input
func (*EstimateFeeData) GetOutputs ¶
func (m *EstimateFeeData) GetOutputs() []*Output
func (*EstimateFeeData) ProtoMessage ¶
func (*EstimateFeeData) ProtoMessage()
func (*EstimateFeeData) Reset ¶
func (m *EstimateFeeData) Reset()
func (*EstimateFeeData) String ¶
func (m *EstimateFeeData) String() string
func (*EstimateFeeData) XXX_DiscardUnknown ¶
func (m *EstimateFeeData) XXX_DiscardUnknown()
func (*EstimateFeeData) XXX_Marshal ¶
func (m *EstimateFeeData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EstimateFeeData) XXX_Merge ¶
func (dst *EstimateFeeData) XXX_Merge(src proto.Message)
func (*EstimateFeeData) XXX_Size ¶
func (m *EstimateFeeData) XXX_Size() int
func (*EstimateFeeData) XXX_Unmarshal ¶
func (m *EstimateFeeData) XXX_Unmarshal(b []byte) error
type Fee ¶
type Fee struct { Fee uint64 `protobuf:"varint,1,opt,name=fee,proto3" json:"fee,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Fee) Descriptor ¶
func (*Fee) ProtoMessage ¶
func (*Fee) ProtoMessage()
func (*Fee) XXX_DiscardUnknown ¶
func (m *Fee) XXX_DiscardUnknown()
func (*Fee) XXX_Unmarshal ¶
type FeeLevelSelection ¶
type FeeLevelSelection struct { Coin CoinType `protobuf:"varint,1,opt,name=coin,proto3,enum=pb.CoinType" json:"coin,omitempty"` FeeLevel FeeLevel `protobuf:"varint,2,opt,name=feeLevel,proto3,enum=pb.FeeLevel" json:"feeLevel,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*FeeLevelSelection) Descriptor ¶
func (*FeeLevelSelection) Descriptor() ([]byte, []int)
func (*FeeLevelSelection) GetCoin ¶
func (m *FeeLevelSelection) GetCoin() CoinType
func (*FeeLevelSelection) GetFeeLevel ¶
func (m *FeeLevelSelection) GetFeeLevel() FeeLevel
func (*FeeLevelSelection) ProtoMessage ¶
func (*FeeLevelSelection) ProtoMessage()
func (*FeeLevelSelection) Reset ¶
func (m *FeeLevelSelection) Reset()
func (*FeeLevelSelection) String ¶
func (m *FeeLevelSelection) String() string
func (*FeeLevelSelection) XXX_DiscardUnknown ¶
func (m *FeeLevelSelection) XXX_DiscardUnknown()
func (*FeeLevelSelection) XXX_Marshal ¶
func (m *FeeLevelSelection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FeeLevelSelection) XXX_Merge ¶
func (dst *FeeLevelSelection) XXX_Merge(src proto.Message)
func (*FeeLevelSelection) XXX_Size ¶
func (m *FeeLevelSelection) XXX_Size() int
func (*FeeLevelSelection) XXX_Unmarshal ¶
func (m *FeeLevelSelection) XXX_Unmarshal(b []byte) error
type FeePerByte ¶
type FeePerByte struct { Fee uint64 `protobuf:"varint,1,opt,name=fee,proto3" json:"fee,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*FeePerByte) Descriptor ¶
func (*FeePerByte) Descriptor() ([]byte, []int)
func (*FeePerByte) GetFee ¶
func (m *FeePerByte) GetFee() uint64
func (*FeePerByte) ProtoMessage ¶
func (*FeePerByte) ProtoMessage()
func (*FeePerByte) Reset ¶
func (m *FeePerByte) Reset()
func (*FeePerByte) String ¶
func (m *FeePerByte) String() string
func (*FeePerByte) XXX_DiscardUnknown ¶
func (m *FeePerByte) XXX_DiscardUnknown()
func (*FeePerByte) XXX_Marshal ¶
func (m *FeePerByte) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FeePerByte) XXX_Merge ¶
func (dst *FeePerByte) XXX_Merge(src proto.Message)
func (*FeePerByte) XXX_Size ¶
func (m *FeePerByte) XXX_Size() int
func (*FeePerByte) XXX_Unmarshal ¶
func (m *FeePerByte) XXX_Unmarshal(b []byte) error
type Height ¶
type Height struct { Height uint32 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Height) Descriptor ¶
func (*Height) ProtoMessage ¶
func (*Height) ProtoMessage()
func (*Height) XXX_DiscardUnknown ¶
func (m *Height) XXX_DiscardUnknown()
func (*Height) XXX_Marshal ¶
func (*Height) XXX_Unmarshal ¶
type Input ¶
type Input struct { Txid string `protobuf:"bytes,1,opt,name=txid,proto3" json:"txid,omitempty"` Index uint32 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Input) Descriptor ¶
func (*Input) ProtoMessage ¶
func (*Input) ProtoMessage()
func (*Input) XXX_DiscardUnknown ¶
func (m *Input) XXX_DiscardUnknown()
func (*Input) XXX_Marshal ¶
func (*Input) XXX_Unmarshal ¶
type Key ¶
type Key struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Key) Descriptor ¶
func (*Key) ProtoMessage ¶
func (*Key) ProtoMessage()
func (*Key) XXX_DiscardUnknown ¶
func (m *Key) XXX_DiscardUnknown()
func (*Key) XXX_Unmarshal ¶
type KeyPurpose ¶
type KeyPurpose int32
const ( KeyPurpose_INTERNAL KeyPurpose = 0 KeyPurpose_EXTERNAL KeyPurpose = 1 )
func (KeyPurpose) EnumDescriptor ¶
func (KeyPurpose) EnumDescriptor() ([]byte, []int)
func (KeyPurpose) String ¶
func (x KeyPurpose) String() string
type KeySelection ¶
type KeySelection struct { Coin CoinType `protobuf:"varint,1,opt,name=coin,proto3,enum=pb.CoinType" json:"coin,omitempty"` Purpose KeyPurpose `protobuf:"varint,2,opt,name=purpose,proto3,enum=pb.KeyPurpose" json:"purpose,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*KeySelection) Descriptor ¶
func (*KeySelection) Descriptor() ([]byte, []int)
func (*KeySelection) GetCoin ¶
func (m *KeySelection) GetCoin() CoinType
func (*KeySelection) GetPurpose ¶
func (m *KeySelection) GetPurpose() KeyPurpose
func (*KeySelection) ProtoMessage ¶
func (*KeySelection) ProtoMessage()
func (*KeySelection) Reset ¶
func (m *KeySelection) Reset()
func (*KeySelection) String ¶
func (m *KeySelection) String() string
func (*KeySelection) XXX_DiscardUnknown ¶
func (m *KeySelection) XXX_DiscardUnknown()
func (*KeySelection) XXX_Marshal ¶
func (m *KeySelection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*KeySelection) XXX_Merge ¶
func (dst *KeySelection) XXX_Merge(src proto.Message)
func (*KeySelection) XXX_Size ¶
func (m *KeySelection) XXX_Size() int
func (*KeySelection) XXX_Unmarshal ¶
func (m *KeySelection) XXX_Unmarshal(b []byte) error
type Keys ¶
type Keys struct { Keys []*Key `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Keys) Descriptor ¶
func (*Keys) ProtoMessage ¶
func (*Keys) ProtoMessage()
func (*Keys) XXX_DiscardUnknown ¶
func (m *Keys) XXX_DiscardUnknown()
func (*Keys) XXX_Unmarshal ¶
type MultisignInfo ¶
type MultisignInfo struct { Coin CoinType `protobuf:"varint,1,opt,name=coin,proto3,enum=pb.CoinType" json:"coin,omitempty"` Inputs []*Input `protobuf:"bytes,2,rep,name=inputs,proto3" json:"inputs,omitempty"` Outputs []*Output `protobuf:"bytes,3,rep,name=outputs,proto3" json:"outputs,omitempty"` Sig1 []*Signature `protobuf:"bytes,4,rep,name=sig1,proto3" json:"sig1,omitempty"` Sig2 []*Signature `protobuf:"bytes,5,rep,name=sig2,proto3" json:"sig2,omitempty"` RedeemScript []byte `protobuf:"bytes,6,opt,name=redeemScript,proto3" json:"redeemScript,omitempty"` FeePerByte uint64 `protobuf:"varint,7,opt,name=feePerByte,proto3" json:"feePerByte,omitempty"` Broadcast bool `protobuf:"varint,8,opt,name=broadcast,proto3" json:"broadcast,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MultisignInfo) Descriptor ¶
func (*MultisignInfo) Descriptor() ([]byte, []int)
func (*MultisignInfo) GetBroadcast ¶
func (m *MultisignInfo) GetBroadcast() bool
func (*MultisignInfo) GetCoin ¶
func (m *MultisignInfo) GetCoin() CoinType
func (*MultisignInfo) GetFeePerByte ¶
func (m *MultisignInfo) GetFeePerByte() uint64
func (*MultisignInfo) GetInputs ¶
func (m *MultisignInfo) GetInputs() []*Input
func (*MultisignInfo) GetOutputs ¶
func (m *MultisignInfo) GetOutputs() []*Output
func (*MultisignInfo) GetRedeemScript ¶
func (m *MultisignInfo) GetRedeemScript() []byte
func (*MultisignInfo) GetSig1 ¶
func (m *MultisignInfo) GetSig1() []*Signature
func (*MultisignInfo) GetSig2 ¶
func (m *MultisignInfo) GetSig2() []*Signature
func (*MultisignInfo) ProtoMessage ¶
func (*MultisignInfo) ProtoMessage()
func (*MultisignInfo) Reset ¶
func (m *MultisignInfo) Reset()
func (*MultisignInfo) String ¶
func (m *MultisignInfo) String() string
func (*MultisignInfo) XXX_DiscardUnknown ¶
func (m *MultisignInfo) XXX_DiscardUnknown()
func (*MultisignInfo) XXX_Marshal ¶
func (m *MultisignInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MultisignInfo) XXX_Merge ¶
func (dst *MultisignInfo) XXX_Merge(src proto.Message)
func (*MultisignInfo) XXX_Size ¶
func (m *MultisignInfo) XXX_Size() int
func (*MultisignInfo) XXX_Unmarshal ¶
func (m *MultisignInfo) XXX_Unmarshal(b []byte) error
type NetParams ¶
type NetParams struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NetParams) Descriptor ¶
func (*NetParams) ProtoMessage ¶
func (*NetParams) ProtoMessage()
func (*NetParams) XXX_DiscardUnknown ¶
func (m *NetParams) XXX_DiscardUnknown()
func (*NetParams) XXX_Marshal ¶
func (*NetParams) XXX_Unmarshal ¶
type Output ¶
type Output struct { ScriptPubKey []byte `protobuf:"bytes,1,opt,name=scriptPubKey,proto3" json:"scriptPubKey,omitempty"` Value uint64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Output) Descriptor ¶
func (*Output) GetScriptPubKey ¶
func (*Output) ProtoMessage ¶
func (*Output) ProtoMessage()
func (*Output) XXX_DiscardUnknown ¶
func (m *Output) XXX_DiscardUnknown()
func (*Output) XXX_Marshal ¶
func (*Output) XXX_Unmarshal ¶
type RawTx ¶
type RawTx struct { Tx []byte `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RawTx) Descriptor ¶
func (*RawTx) ProtoMessage ¶
func (*RawTx) ProtoMessage()
func (*RawTx) XXX_DiscardUnknown ¶
func (m *RawTx) XXX_DiscardUnknown()
func (*RawTx) XXX_Marshal ¶
func (*RawTx) XXX_Unmarshal ¶
type Row ¶
type Row struct { Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Row) Descriptor ¶
func (*Row) ProtoMessage ¶
func (*Row) ProtoMessage()
func (*Row) XXX_DiscardUnknown ¶
func (m *Row) XXX_DiscardUnknown()
func (*Row) XXX_Unmarshal ¶
type Signature ¶
type Signature struct { Index uint32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Signature) Descriptor ¶
func (*Signature) GetSignature ¶
func (*Signature) ProtoMessage ¶
func (*Signature) ProtoMessage()
func (*Signature) XXX_DiscardUnknown ¶
func (m *Signature) XXX_DiscardUnknown()
func (*Signature) XXX_Marshal ¶
func (*Signature) XXX_Unmarshal ¶
type SignatureList ¶
type SignatureList struct { Sigs []*Signature `protobuf:"bytes,1,rep,name=sigs,proto3" json:"sigs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SignatureList) Descriptor ¶
func (*SignatureList) Descriptor() ([]byte, []int)
func (*SignatureList) GetSigs ¶
func (m *SignatureList) GetSigs() []*Signature
func (*SignatureList) ProtoMessage ¶
func (*SignatureList) ProtoMessage()
func (*SignatureList) Reset ¶
func (m *SignatureList) Reset()
func (*SignatureList) String ¶
func (m *SignatureList) String() string
func (*SignatureList) XXX_DiscardUnknown ¶
func (m *SignatureList) XXX_DiscardUnknown()
func (*SignatureList) XXX_Marshal ¶
func (m *SignatureList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignatureList) XXX_Merge ¶
func (dst *SignatureList) XXX_Merge(src proto.Message)
func (*SignatureList) XXX_Size ¶
func (m *SignatureList) XXX_Size() int
func (*SignatureList) XXX_Unmarshal ¶
func (m *SignatureList) XXX_Unmarshal(b []byte) error
type SpendInfo ¶
type SpendInfo struct { Coin CoinType `protobuf:"varint,1,opt,name=coin,proto3,enum=pb.CoinType" json:"coin,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` Amount uint64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"` FeeLevel FeeLevel `protobuf:"varint,4,opt,name=feeLevel,proto3,enum=pb.FeeLevel" json:"feeLevel,omitempty"` Memo string `protobuf:"bytes,5,opt,name=memo,proto3" json:"memo,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SpendInfo) Descriptor ¶
func (*SpendInfo) GetAddress ¶
func (*SpendInfo) GetFeeLevel ¶
func (*SpendInfo) ProtoMessage ¶
func (*SpendInfo) ProtoMessage()
func (*SpendInfo) XXX_DiscardUnknown ¶
func (m *SpendInfo) XXX_DiscardUnknown()
func (*SpendInfo) XXX_Marshal ¶
func (*SpendInfo) XXX_Unmarshal ¶
type SweepInfo ¶
type SweepInfo struct { Coin CoinType `protobuf:"varint,1,opt,name=coin,proto3,enum=pb.CoinType" json:"coin,omitempty"` Utxos []*Utxo `protobuf:"bytes,2,rep,name=utxos,proto3" json:"utxos,omitempty"` Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` Key string `protobuf:"bytes,4,opt,name=key,proto3" json:"key,omitempty"` RedeemScript []byte `protobuf:"bytes,5,opt,name=redeemScript,proto3" json:"redeemScript,omitempty"` FeeLevel FeeLevel `protobuf:"varint,6,opt,name=feeLevel,proto3,enum=pb.FeeLevel" json:"feeLevel,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SweepInfo) Descriptor ¶
func (*SweepInfo) GetAddress ¶
func (*SweepInfo) GetFeeLevel ¶
func (*SweepInfo) GetRedeemScript ¶
func (*SweepInfo) ProtoMessage ¶
func (*SweepInfo) ProtoMessage()
func (*SweepInfo) XXX_DiscardUnknown ¶
func (m *SweepInfo) XXX_DiscardUnknown()
func (*SweepInfo) XXX_Marshal ¶
func (*SweepInfo) XXX_Unmarshal ¶
type TransactionList ¶
type TransactionList struct { Transactions []*Tx `protobuf:"bytes,1,rep,name=transactions,proto3" json:"transactions,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TransactionList) Descriptor ¶
func (*TransactionList) Descriptor() ([]byte, []int)
func (*TransactionList) GetTransactions ¶
func (m *TransactionList) GetTransactions() []*Tx
func (*TransactionList) ProtoMessage ¶
func (*TransactionList) ProtoMessage()
func (*TransactionList) Reset ¶
func (m *TransactionList) Reset()
func (*TransactionList) String ¶
func (m *TransactionList) String() string
func (*TransactionList) XXX_DiscardUnknown ¶
func (m *TransactionList) XXX_DiscardUnknown()
func (*TransactionList) XXX_Marshal ¶
func (m *TransactionList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TransactionList) XXX_Merge ¶
func (dst *TransactionList) XXX_Merge(src proto.Message)
func (*TransactionList) XXX_Size ¶
func (m *TransactionList) XXX_Size() int
func (*TransactionList) XXX_Unmarshal ¶
func (m *TransactionList) XXX_Unmarshal(b []byte) error
type Tx ¶
type Tx struct { Txid string `protobuf:"bytes,1,opt,name=txid,proto3" json:"txid,omitempty"` Value int64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"` Height int32 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` Timestamp *timestamp.Timestamp `protobuf:"bytes,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"` WatchOnly bool `protobuf:"varint,5,opt,name=watchOnly,proto3" json:"watchOnly,omitempty"` Raw []byte `protobuf:"bytes,6,opt,name=raw,proto3" json:"raw,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Tx) Descriptor ¶
func (*Tx) GetTimestamp ¶
func (*Tx) GetWatchOnly ¶
func (*Tx) ProtoMessage ¶
func (*Tx) ProtoMessage()
func (*Tx) XXX_DiscardUnknown ¶
func (m *Tx) XXX_DiscardUnknown()
func (*Tx) XXX_Unmarshal ¶
type Txid ¶
type Txid struct { Coin CoinType `protobuf:"varint,1,opt,name=coin,proto3,enum=pb.CoinType" json:"coin,omitempty"` Hash string `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Txid) Descriptor ¶
func (*Txid) ProtoMessage ¶
func (*Txid) ProtoMessage()
func (*Txid) XXX_DiscardUnknown ¶
func (m *Txid) XXX_DiscardUnknown()
func (*Txid) XXX_Unmarshal ¶
type Utxo ¶
type Utxo struct { Txid string `protobuf:"bytes,1,opt,name=txid,proto3" json:"txid,omitempty"` Index uint32 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` Value uint64 `protobuf:"varint,3,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Utxo) Descriptor ¶
func (*Utxo) ProtoMessage ¶
func (*Utxo) ProtoMessage()
func (*Utxo) XXX_DiscardUnknown ¶
func (m *Utxo) XXX_DiscardUnknown()
func (*Utxo) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.