Documentation ¶
Overview ¶
Package pb is a generated protocol buffer package.
It is generated from these files:
api.proto
It has these top-level messages:
Empty KeySelection Address Height Balances Key BoolResponse NetParams TransactionList Tx Txid FeeLevelSelection FeePerByte Fee SpendInfo PeerList Peer Confirmations Utxo SweepInfo Input Output Signature CreateMultisigInfo SignatureList MultisignInfo RawTx EstimateFeeData
Index ¶
- Variables
- func RegisterAPIServer(s *grpc.Server, srv APIServer)
- type APIClient
- type APIServer
- type API_WalletNotifyClient
- type API_WalletNotifyServer
- type Address
- type Balances
- type BoolResponse
- type Confirmations
- type CreateMultisigInfo
- func (*CreateMultisigInfo) Descriptor() ([]byte, []int)
- 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
- type Empty
- type EstimateFeeData
- func (*EstimateFeeData) Descriptor() ([]byte, []int)
- 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
- type Fee
- type FeeLevel
- type FeeLevelSelection
- type FeePerByte
- type Height
- type Input
- type Key
- type KeyPurpose
- type KeySelection
- type MultisignInfo
- func (*MultisignInfo) Descriptor() ([]byte, []int)
- 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 (*MultisignInfo) ProtoMessage()
- func (m *MultisignInfo) Reset()
- func (m *MultisignInfo) String() string
- type NetParams
- type Output
- type Peer
- func (*Peer) Descriptor() ([]byte, []int)
- 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 (*Peer) ProtoMessage()
- func (m *Peer) Reset()
- func (m *Peer) String() string
- type PeerList
- type RawTx
- type Signature
- type SignatureList
- type SpendInfo
- type SweepInfo
- func (*SweepInfo) Descriptor() ([]byte, []int)
- 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 (*SweepInfo) ProtoMessage()
- func (m *SweepInfo) Reset()
- func (m *SweepInfo) String() string
- type TransactionList
- type Tx
- func (*Tx) Descriptor() ([]byte, []int)
- 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 (*Tx) ProtoMessage()
- func (m *Tx) Reset()
- func (m *Tx) String() string
- type Txid
- type Utxo
Constants ¶
This section is empty.
Variables ¶
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 *Empty, opts ...grpc.CallOption) (*Height, error) Balance(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Balances, error) MasterPrivateKey(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Key, error) MasterPublicKey(ctx context.Context, in *Empty, 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 *Empty, 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) Peers(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*PeerList, 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) ReSyncBlockchain(ctx context.Context, in *Height, opts ...grpc.CallOption) (*Empty, 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) WalletNotify(ctx context.Context, in *Empty, opts ...grpc.CallOption) (API_WalletNotifyClient, error) }
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, *Empty) (*Height, error) Balance(context.Context, *Empty) (*Balances, error) MasterPrivateKey(context.Context, *Empty) (*Key, error) MasterPublicKey(context.Context, *Empty) (*Key, error) HasKey(context.Context, *Address) (*BoolResponse, error) Params(context.Context, *Empty) (*NetParams, error) Transactions(context.Context, *Empty) (*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) Peers(context.Context, *Empty) (*PeerList, error) AddWatchedScript(context.Context, *Address) (*Empty, error) GetConfirmations(context.Context, *Txid) (*Confirmations, error) SweepAddress(context.Context, *SweepInfo) (*Txid, error) ReSyncBlockchain(context.Context, *Height) (*Empty, error) CreateMultisigSignature(context.Context, *CreateMultisigInfo) (*SignatureList, error) Multisign(context.Context, *MultisignInfo) (*RawTx, error) EstimateFee(context.Context, *EstimateFeeData) (*Fee, error) WalletNotify(*Empty, API_WalletNotifyServer) error }
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 {
Addr string `protobuf:"bytes,1,opt,name=addr" json:"addr,omitempty"`
}
func (*Address) Descriptor ¶
func (*Address) ProtoMessage ¶
func (*Address) ProtoMessage()
type Balances ¶
type Balances struct { Confirmed uint64 `protobuf:"varint,1,opt,name=confirmed" json:"confirmed,omitempty"` Unconfirmed uint64 `protobuf:"varint,2,opt,name=unconfirmed" json:"unconfirmed,omitempty"` }
func (*Balances) Descriptor ¶
func (*Balances) GetConfirmed ¶
func (*Balances) GetUnconfirmed ¶
func (*Balances) ProtoMessage ¶
func (*Balances) ProtoMessage()
type BoolResponse ¶
type BoolResponse struct {
Bool bool `protobuf:"varint,1,opt,name=bool" json:"bool,omitempty"`
}
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
type Confirmations ¶
type Confirmations struct {
Confirmations uint32 `protobuf:"varint,1,opt,name=confirmations" json:"confirmations,omitempty"`
}
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
type CreateMultisigInfo ¶
type CreateMultisigInfo struct { Inputs []*Input `protobuf:"bytes,1,rep,name=inputs" json:"inputs,omitempty"` Outputs []*Output `protobuf:"bytes,2,rep,name=outputs" json:"outputs,omitempty"` Key string `protobuf:"bytes,3,opt,name=key" json:"key,omitempty"` RedeemScript []byte `protobuf:"bytes,4,opt,name=redeemScript,proto3" json:"redeemScript,omitempty"` FeePerByte uint64 `protobuf:"varint,5,opt,name=feePerByte" json:"feePerByte,omitempty"` }
func (*CreateMultisigInfo) Descriptor ¶
func (*CreateMultisigInfo) Descriptor() ([]byte, []int)
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
type Empty ¶
type Empty struct { }
func (*Empty) Descriptor ¶
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
type EstimateFeeData ¶
type EstimateFeeData struct { Inputs []*Input `protobuf:"bytes,1,rep,name=inputs" json:"inputs,omitempty"` Outputs []*Output `protobuf:"bytes,2,rep,name=outputs" json:"outputs,omitempty"` FeePerByte uint64 `protobuf:"varint,3,opt,name=feePerByte" json:"feePerByte,omitempty"` }
func (*EstimateFeeData) Descriptor ¶
func (*EstimateFeeData) Descriptor() ([]byte, []int)
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
type Fee ¶
type Fee struct {
Fee uint64 `protobuf:"varint,1,opt,name=fee" json:"fee,omitempty"`
}
func (*Fee) Descriptor ¶
func (*Fee) ProtoMessage ¶
func (*Fee) ProtoMessage()
type FeeLevelSelection ¶
type FeeLevelSelection struct {
FeeLevel FeeLevel `protobuf:"varint,1,opt,name=feeLevel,enum=pb.FeeLevel" json:"feeLevel,omitempty"`
}
func (*FeeLevelSelection) Descriptor ¶
func (*FeeLevelSelection) Descriptor() ([]byte, []int)
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
type FeePerByte ¶
type FeePerByte struct {
Fee uint64 `protobuf:"varint,1,opt,name=fee" json:"fee,omitempty"`
}
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
type Height ¶
type Height struct {
Height uint32 `protobuf:"varint,1,opt,name=height" json:"height,omitempty"`
}
func (*Height) Descriptor ¶
func (*Height) ProtoMessage ¶
func (*Height) ProtoMessage()
type Input ¶
type Input struct { Txid string `protobuf:"bytes,1,opt,name=txid" json:"txid,omitempty"` Index uint32 `protobuf:"varint,2,opt,name=index" json:"index,omitempty"` }
func (*Input) Descriptor ¶
func (*Input) ProtoMessage ¶
func (*Input) ProtoMessage()
type Key ¶
type Key struct {
Key string `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"`
}
func (*Key) Descriptor ¶
func (*Key) ProtoMessage ¶
func (*Key) ProtoMessage()
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 {
Purpose KeyPurpose `protobuf:"varint,1,opt,name=purpose,enum=pb.KeyPurpose" json:"purpose,omitempty"`
}
func (*KeySelection) Descriptor ¶
func (*KeySelection) Descriptor() ([]byte, []int)
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
type MultisignInfo ¶
type MultisignInfo struct { Inputs []*Input `protobuf:"bytes,1,rep,name=inputs" json:"inputs,omitempty"` Outputs []*Output `protobuf:"bytes,2,rep,name=outputs" json:"outputs,omitempty"` Sig1 []*Signature `protobuf:"bytes,3,rep,name=sig1" json:"sig1,omitempty"` Sig2 []*Signature `protobuf:"bytes,4,rep,name=sig2" json:"sig2,omitempty"` RedeemScript []byte `protobuf:"bytes,5,opt,name=redeemScript,proto3" json:"redeemScript,omitempty"` FeePerByte uint64 `protobuf:"varint,6,opt,name=feePerByte" json:"feePerByte,omitempty"` Broadcast bool `protobuf:"varint,7,opt,name=broadcast" json:"broadcast,omitempty"` }
func (*MultisignInfo) Descriptor ¶
func (*MultisignInfo) Descriptor() ([]byte, []int)
func (*MultisignInfo) GetBroadcast ¶
func (m *MultisignInfo) GetBroadcast() bool
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
type NetParams ¶
type NetParams struct {
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
}
func (*NetParams) Descriptor ¶
func (*NetParams) ProtoMessage ¶
func (*NetParams) ProtoMessage()
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" json:"value,omitempty"` }
func (*Output) Descriptor ¶
func (*Output) GetScriptPubKey ¶
func (*Output) ProtoMessage ¶
func (*Output) ProtoMessage()
type Peer ¶
type Peer struct { Address string `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"` BytesSent uint64 `protobuf:"varint,2,opt,name=bytesSent" json:"bytesSent,omitempty"` BytesReceived uint64 `protobuf:"varint,3,opt,name=bytesReceived" json:"bytesReceived,omitempty"` Connected bool `protobuf:"varint,4,opt,name=connected" json:"connected,omitempty"` ID int32 `protobuf:"varint,5,opt,name=ID" json:"ID,omitempty"` LastBlock int32 `protobuf:"varint,6,opt,name=lastBlock" json:"lastBlock,omitempty"` ProtocolVersion uint32 `protobuf:"varint,7,opt,name=protocolVersion" json:"protocolVersion,omitempty"` Services string `protobuf:"bytes,8,opt,name=services" json:"services,omitempty"` UserAgent string `protobuf:"bytes,9,opt,name=userAgent" json:"userAgent,omitempty"` TimeConnected *google_protobuf.Timestamp `protobuf:"bytes,10,opt,name=timeConnected" json:"timeConnected,omitempty"` }
func (*Peer) Descriptor ¶
func (*Peer) GetAddress ¶
func (*Peer) GetBytesReceived ¶
func (*Peer) GetBytesSent ¶
func (*Peer) GetConnected ¶
func (*Peer) GetLastBlock ¶
func (*Peer) GetProtocolVersion ¶
func (*Peer) GetServices ¶
func (*Peer) GetTimeConnected ¶
func (m *Peer) GetTimeConnected() *google_protobuf.Timestamp
func (*Peer) GetUserAgent ¶
func (*Peer) ProtoMessage ¶
func (*Peer) ProtoMessage()
type PeerList ¶
type PeerList struct {
Peers []*Peer `protobuf:"bytes,1,rep,name=peers" json:"peers,omitempty"`
}
func (*PeerList) Descriptor ¶
func (*PeerList) ProtoMessage ¶
func (*PeerList) ProtoMessage()
type RawTx ¶
type RawTx struct {
Tx []byte `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"`
}
func (*RawTx) Descriptor ¶
func (*RawTx) ProtoMessage ¶
func (*RawTx) ProtoMessage()
type Signature ¶
type Signature struct { Index uint32 `protobuf:"varint,1,opt,name=index" json:"index,omitempty"` Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` }
func (*Signature) Descriptor ¶
func (*Signature) GetSignature ¶
func (*Signature) ProtoMessage ¶
func (*Signature) ProtoMessage()
type SignatureList ¶
type SignatureList struct {
Sigs []*Signature `protobuf:"bytes,1,rep,name=sigs" json:"sigs,omitempty"`
}
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
type SpendInfo ¶
type SpendInfo struct { Address string `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"` Amount uint64 `protobuf:"varint,2,opt,name=amount" json:"amount,omitempty"` FeeLevel FeeLevel `protobuf:"varint,3,opt,name=feeLevel,enum=pb.FeeLevel" json:"feeLevel,omitempty"` }
func (*SpendInfo) Descriptor ¶
func (*SpendInfo) GetAddress ¶
func (*SpendInfo) GetFeeLevel ¶
func (*SpendInfo) ProtoMessage ¶
func (*SpendInfo) ProtoMessage()
type SweepInfo ¶
type SweepInfo struct { Utxos []*Utxo `protobuf:"bytes,1,rep,name=utxos" json:"utxos,omitempty"` Address string `protobuf:"bytes,2,opt,name=address" json:"address,omitempty"` Key string `protobuf:"bytes,3,opt,name=key" json:"key,omitempty"` RedeemScript []byte `protobuf:"bytes,4,opt,name=redeemScript,proto3" json:"redeemScript,omitempty"` FeeLevel FeeLevel `protobuf:"varint,5,opt,name=feeLevel,enum=pb.FeeLevel" json:"feeLevel,omitempty"` }
func (*SweepInfo) Descriptor ¶
func (*SweepInfo) GetAddress ¶
func (*SweepInfo) GetFeeLevel ¶
func (*SweepInfo) GetRedeemScript ¶
func (*SweepInfo) ProtoMessage ¶
func (*SweepInfo) ProtoMessage()
type TransactionList ¶
type TransactionList struct {
Transactions []*Tx `protobuf:"bytes,1,rep,name=transactions" json:"transactions,omitempty"`
}
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
type Tx ¶
type Tx struct { Txid string `protobuf:"bytes,1,opt,name=txid" json:"txid,omitempty"` Value int64 `protobuf:"varint,2,opt,name=value" json:"value,omitempty"` Height int32 `protobuf:"varint,3,opt,name=height" json:"height,omitempty"` Timestamp *google_protobuf.Timestamp `protobuf:"bytes,4,opt,name=timestamp" json:"timestamp,omitempty"` WatchOnly bool `protobuf:"varint,5,opt,name=watchOnly" json:"watchOnly,omitempty"` Raw []byte `protobuf:"bytes,6,opt,name=raw,proto3" json:"raw,omitempty"` }
func (*Tx) Descriptor ¶
func (*Tx) GetTimestamp ¶
func (m *Tx) GetTimestamp() *google_protobuf.Timestamp
func (*Tx) GetWatchOnly ¶
func (*Tx) ProtoMessage ¶
func (*Tx) ProtoMessage()
type Txid ¶
type Txid struct {
Hash string `protobuf:"bytes,1,opt,name=hash" json:"hash,omitempty"`
}
func (*Txid) Descriptor ¶
func (*Txid) ProtoMessage ¶
func (*Txid) ProtoMessage()
type Utxo ¶
type Utxo struct { Txid string `protobuf:"bytes,1,opt,name=txid" json:"txid,omitempty"` Index uint32 `protobuf:"varint,2,opt,name=index" json:"index,omitempty"` Value uint64 `protobuf:"varint,3,opt,name=value" json:"value,omitempty"` }
func (*Utxo) Descriptor ¶
func (*Utxo) ProtoMessage ¶
func (*Utxo) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.