Documentation ¶
Index ¶
- Variables
- func RegisterBchrpcServer(s *grpc.Server, srv BchrpcServer)
- type BchrpcClient
- type BchrpcServer
- type Bchrpc_SubscribeBlocksClient
- type Bchrpc_SubscribeBlocksServer
- type Bchrpc_SubscribeTransactionStreamClient
- type Bchrpc_SubscribeTransactionStreamServer
- type Bchrpc_SubscribeTransactionsClient
- type Bchrpc_SubscribeTransactionsServer
- type Block
- func (*Block) Descriptor() ([]byte, []int)
- func (m *Block) GetInfo() *BlockInfo
- func (m *Block) GetTransactionData() []*Block_TransactionData
- func (*Block) ProtoMessage()
- func (m *Block) Reset()
- func (m *Block) String() string
- func (m *Block) XXX_DiscardUnknown()
- func (m *Block) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Block) XXX_Merge(src proto.Message)
- func (m *Block) XXX_Size() int
- func (m *Block) XXX_Unmarshal(b []byte) error
- type BlockInfo
- func (*BlockInfo) Descriptor() ([]byte, []int)
- func (m *BlockInfo) GetBits() uint32
- func (m *BlockInfo) GetConfirmations() int32
- func (m *BlockInfo) GetDifficulty() float64
- func (m *BlockInfo) GetHash() []byte
- func (m *BlockInfo) GetHeight() int32
- func (m *BlockInfo) GetMerkleRoot() []byte
- func (m *BlockInfo) GetNextBlockHash() []byte
- func (m *BlockInfo) GetNonce() uint32
- func (m *BlockInfo) GetPreviousBlock() []byte
- func (m *BlockInfo) GetTimestamp() int64
- func (m *BlockInfo) GetVersion() int32
- func (*BlockInfo) ProtoMessage()
- func (m *BlockInfo) Reset()
- func (m *BlockInfo) String() string
- func (m *BlockInfo) XXX_DiscardUnknown()
- func (m *BlockInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockInfo) XXX_Merge(src proto.Message)
- func (m *BlockInfo) XXX_Size() int
- func (m *BlockInfo) XXX_Unmarshal(b []byte) error
- type BlockNotification
- func (*BlockNotification) Descriptor() ([]byte, []int)
- func (m *BlockNotification) GetBlock() *BlockInfo
- func (m *BlockNotification) GetType() BlockNotification_Type
- func (*BlockNotification) ProtoMessage()
- func (m *BlockNotification) Reset()
- func (m *BlockNotification) String() string
- func (m *BlockNotification) XXX_DiscardUnknown()
- func (m *BlockNotification) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockNotification) XXX_Merge(src proto.Message)
- func (m *BlockNotification) XXX_Size() int
- func (m *BlockNotification) XXX_Unmarshal(b []byte) error
- type BlockNotification_Type
- type Block_TransactionData
- func (*Block_TransactionData) Descriptor() ([]byte, []int)
- func (m *Block_TransactionData) GetTransaction() *Transaction
- func (m *Block_TransactionData) GetTransactionHash() []byte
- func (m *Block_TransactionData) GetTxidsOrTxs() isBlock_TransactionData_TxidsOrTxs
- func (*Block_TransactionData) ProtoMessage()
- func (m *Block_TransactionData) Reset()
- func (m *Block_TransactionData) String() string
- func (m *Block_TransactionData) XXX_DiscardUnknown()
- func (m *Block_TransactionData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Block_TransactionData) XXX_Merge(src proto.Message)
- func (*Block_TransactionData) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *Block_TransactionData) XXX_Size() int
- func (m *Block_TransactionData) XXX_Unmarshal(b []byte) error
- type Block_TransactionData_Transaction
- type Block_TransactionData_TransactionHash
- type GetAddressTransactionsRequest
- func (*GetAddressTransactionsRequest) Descriptor() ([]byte, []int)
- func (m *GetAddressTransactionsRequest) GetAddress() string
- func (m *GetAddressTransactionsRequest) GetHash() []byte
- func (m *GetAddressTransactionsRequest) GetHeight() int32
- func (m *GetAddressTransactionsRequest) GetNbFetch() uint32
- func (m *GetAddressTransactionsRequest) GetNbSkip() uint32
- func (m *GetAddressTransactionsRequest) GetStartBlock() isGetAddressTransactionsRequest_StartBlock
- func (*GetAddressTransactionsRequest) ProtoMessage()
- func (m *GetAddressTransactionsRequest) Reset()
- func (m *GetAddressTransactionsRequest) String() string
- func (m *GetAddressTransactionsRequest) XXX_DiscardUnknown()
- func (m *GetAddressTransactionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetAddressTransactionsRequest) XXX_Merge(src proto.Message)
- func (*GetAddressTransactionsRequest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *GetAddressTransactionsRequest) XXX_Size() int
- func (m *GetAddressTransactionsRequest) XXX_Unmarshal(b []byte) error
- type GetAddressTransactionsRequest_Hash
- type GetAddressTransactionsRequest_Height
- type GetAddressTransactionsResponse
- func (*GetAddressTransactionsResponse) Descriptor() ([]byte, []int)
- func (m *GetAddressTransactionsResponse) GetConfirmedTransactions() []*Transaction
- func (m *GetAddressTransactionsResponse) GetUnconfirmedTransactions() []*MempoolTransaction
- func (*GetAddressTransactionsResponse) ProtoMessage()
- func (m *GetAddressTransactionsResponse) Reset()
- func (m *GetAddressTransactionsResponse) String() string
- func (m *GetAddressTransactionsResponse) XXX_DiscardUnknown()
- func (m *GetAddressTransactionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetAddressTransactionsResponse) XXX_Merge(src proto.Message)
- func (m *GetAddressTransactionsResponse) XXX_Size() int
- func (m *GetAddressTransactionsResponse) XXX_Unmarshal(b []byte) error
- type GetAddressUnspentOutputsRequest
- func (*GetAddressUnspentOutputsRequest) Descriptor() ([]byte, []int)
- func (m *GetAddressUnspentOutputsRequest) GetAddress() string
- func (*GetAddressUnspentOutputsRequest) ProtoMessage()
- func (m *GetAddressUnspentOutputsRequest) Reset()
- func (m *GetAddressUnspentOutputsRequest) String() string
- func (m *GetAddressUnspentOutputsRequest) XXX_DiscardUnknown()
- func (m *GetAddressUnspentOutputsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetAddressUnspentOutputsRequest) XXX_Merge(src proto.Message)
- func (m *GetAddressUnspentOutputsRequest) XXX_Size() int
- func (m *GetAddressUnspentOutputsRequest) XXX_Unmarshal(b []byte) error
- type GetAddressUnspentOutputsResponse
- func (*GetAddressUnspentOutputsResponse) Descriptor() ([]byte, []int)
- func (m *GetAddressUnspentOutputsResponse) GetOutputs() []*UnspentOutput
- func (*GetAddressUnspentOutputsResponse) ProtoMessage()
- func (m *GetAddressUnspentOutputsResponse) Reset()
- func (m *GetAddressUnspentOutputsResponse) String() string
- func (m *GetAddressUnspentOutputsResponse) XXX_DiscardUnknown()
- func (m *GetAddressUnspentOutputsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetAddressUnspentOutputsResponse) XXX_Merge(src proto.Message)
- func (m *GetAddressUnspentOutputsResponse) XXX_Size() int
- func (m *GetAddressUnspentOutputsResponse) XXX_Unmarshal(b []byte) error
- type GetBlockFilterRequest
- func (*GetBlockFilterRequest) Descriptor() ([]byte, []int)
- func (m *GetBlockFilterRequest) GetHash() []byte
- func (m *GetBlockFilterRequest) GetHashOrHeight() isGetBlockFilterRequest_HashOrHeight
- func (m *GetBlockFilterRequest) GetHeight() int32
- func (*GetBlockFilterRequest) ProtoMessage()
- func (m *GetBlockFilterRequest) Reset()
- func (m *GetBlockFilterRequest) String() string
- func (m *GetBlockFilterRequest) XXX_DiscardUnknown()
- func (m *GetBlockFilterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetBlockFilterRequest) XXX_Merge(src proto.Message)
- func (*GetBlockFilterRequest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *GetBlockFilterRequest) XXX_Size() int
- func (m *GetBlockFilterRequest) XXX_Unmarshal(b []byte) error
- type GetBlockFilterRequest_Hash
- type GetBlockFilterRequest_Height
- type GetBlockFilterResponse
- func (*GetBlockFilterResponse) Descriptor() ([]byte, []int)
- func (m *GetBlockFilterResponse) GetFilter() []byte
- func (*GetBlockFilterResponse) ProtoMessage()
- func (m *GetBlockFilterResponse) Reset()
- func (m *GetBlockFilterResponse) String() string
- func (m *GetBlockFilterResponse) XXX_DiscardUnknown()
- func (m *GetBlockFilterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetBlockFilterResponse) XXX_Merge(src proto.Message)
- func (m *GetBlockFilterResponse) XXX_Size() int
- func (m *GetBlockFilterResponse) XXX_Unmarshal(b []byte) error
- type GetBlockInfoRequest
- func (*GetBlockInfoRequest) Descriptor() ([]byte, []int)
- func (m *GetBlockInfoRequest) GetHash() []byte
- func (m *GetBlockInfoRequest) GetHashOrHeight() isGetBlockInfoRequest_HashOrHeight
- func (m *GetBlockInfoRequest) GetHeight() int32
- func (*GetBlockInfoRequest) ProtoMessage()
- func (m *GetBlockInfoRequest) Reset()
- func (m *GetBlockInfoRequest) String() string
- func (m *GetBlockInfoRequest) XXX_DiscardUnknown()
- func (m *GetBlockInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetBlockInfoRequest) XXX_Merge(src proto.Message)
- func (*GetBlockInfoRequest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *GetBlockInfoRequest) XXX_Size() int
- func (m *GetBlockInfoRequest) XXX_Unmarshal(b []byte) error
- type GetBlockInfoRequest_Hash
- type GetBlockInfoRequest_Height
- type GetBlockInfoResponse
- func (*GetBlockInfoResponse) Descriptor() ([]byte, []int)
- func (m *GetBlockInfoResponse) GetInfo() *BlockInfo
- func (*GetBlockInfoResponse) ProtoMessage()
- func (m *GetBlockInfoResponse) Reset()
- func (m *GetBlockInfoResponse) String() string
- func (m *GetBlockInfoResponse) XXX_DiscardUnknown()
- func (m *GetBlockInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetBlockInfoResponse) XXX_Merge(src proto.Message)
- func (m *GetBlockInfoResponse) XXX_Size() int
- func (m *GetBlockInfoResponse) XXX_Unmarshal(b []byte) error
- type GetBlockRequest
- func (*GetBlockRequest) Descriptor() ([]byte, []int)
- func (m *GetBlockRequest) GetFullTransactions() bool
- func (m *GetBlockRequest) GetHash() []byte
- func (m *GetBlockRequest) GetHashOrHeight() isGetBlockRequest_HashOrHeight
- func (m *GetBlockRequest) GetHeight() int32
- func (*GetBlockRequest) ProtoMessage()
- func (m *GetBlockRequest) Reset()
- func (m *GetBlockRequest) String() string
- func (m *GetBlockRequest) XXX_DiscardUnknown()
- func (m *GetBlockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetBlockRequest) XXX_Merge(src proto.Message)
- func (*GetBlockRequest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *GetBlockRequest) XXX_Size() int
- func (m *GetBlockRequest) XXX_Unmarshal(b []byte) error
- type GetBlockRequest_Hash
- type GetBlockRequest_Height
- type GetBlockResponse
- func (*GetBlockResponse) Descriptor() ([]byte, []int)
- func (m *GetBlockResponse) GetBlock() *Block
- func (*GetBlockResponse) ProtoMessage()
- func (m *GetBlockResponse) Reset()
- func (m *GetBlockResponse) String() string
- func (m *GetBlockResponse) XXX_DiscardUnknown()
- func (m *GetBlockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetBlockResponse) XXX_Merge(src proto.Message)
- func (m *GetBlockResponse) XXX_Size() int
- func (m *GetBlockResponse) XXX_Unmarshal(b []byte) error
- type GetBlockchainInfoRequest
- func (*GetBlockchainInfoRequest) Descriptor() ([]byte, []int)
- func (*GetBlockchainInfoRequest) ProtoMessage()
- func (m *GetBlockchainInfoRequest) Reset()
- func (m *GetBlockchainInfoRequest) String() string
- func (m *GetBlockchainInfoRequest) XXX_DiscardUnknown()
- func (m *GetBlockchainInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetBlockchainInfoRequest) XXX_Merge(src proto.Message)
- func (m *GetBlockchainInfoRequest) XXX_Size() int
- func (m *GetBlockchainInfoRequest) XXX_Unmarshal(b []byte) error
- type GetBlockchainInfoResponse
- func (*GetBlockchainInfoResponse) Descriptor() ([]byte, []int)
- func (m *GetBlockchainInfoResponse) GetAddrIndex() bool
- func (m *GetBlockchainInfoResponse) GetBestBlockHash() []byte
- func (m *GetBlockchainInfoResponse) GetBestHeight() int32
- func (m *GetBlockchainInfoResponse) GetBitcoinNet() GetBlockchainInfoResponse_BitcoinNet
- func (m *GetBlockchainInfoResponse) GetDifficulty() float64
- func (m *GetBlockchainInfoResponse) GetMedianTime() int64
- func (m *GetBlockchainInfoResponse) GetTxIndex() bool
- func (*GetBlockchainInfoResponse) ProtoMessage()
- func (m *GetBlockchainInfoResponse) Reset()
- func (m *GetBlockchainInfoResponse) String() string
- func (m *GetBlockchainInfoResponse) XXX_DiscardUnknown()
- func (m *GetBlockchainInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetBlockchainInfoResponse) XXX_Merge(src proto.Message)
- func (m *GetBlockchainInfoResponse) XXX_Size() int
- func (m *GetBlockchainInfoResponse) XXX_Unmarshal(b []byte) error
- type GetBlockchainInfoResponse_BitcoinNet
- type GetHeadersRequest
- func (*GetHeadersRequest) Descriptor() ([]byte, []int)
- func (m *GetHeadersRequest) GetBlockLocatorHashes() [][]byte
- func (m *GetHeadersRequest) GetStopHash() []byte
- func (*GetHeadersRequest) ProtoMessage()
- func (m *GetHeadersRequest) Reset()
- func (m *GetHeadersRequest) String() string
- func (m *GetHeadersRequest) XXX_DiscardUnknown()
- func (m *GetHeadersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetHeadersRequest) XXX_Merge(src proto.Message)
- func (m *GetHeadersRequest) XXX_Size() int
- func (m *GetHeadersRequest) XXX_Unmarshal(b []byte) error
- type GetHeadersResponse
- func (*GetHeadersResponse) Descriptor() ([]byte, []int)
- func (m *GetHeadersResponse) GetHeaders() []*BlockInfo
- func (*GetHeadersResponse) ProtoMessage()
- func (m *GetHeadersResponse) Reset()
- func (m *GetHeadersResponse) String() string
- func (m *GetHeadersResponse) XXX_DiscardUnknown()
- func (m *GetHeadersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetHeadersResponse) XXX_Merge(src proto.Message)
- func (m *GetHeadersResponse) XXX_Size() int
- func (m *GetHeadersResponse) XXX_Unmarshal(b []byte) error
- type GetMempoolInfoRequest
- func (*GetMempoolInfoRequest) Descriptor() ([]byte, []int)
- func (*GetMempoolInfoRequest) ProtoMessage()
- func (m *GetMempoolInfoRequest) Reset()
- func (m *GetMempoolInfoRequest) String() string
- func (m *GetMempoolInfoRequest) XXX_DiscardUnknown()
- func (m *GetMempoolInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetMempoolInfoRequest) XXX_Merge(src proto.Message)
- func (m *GetMempoolInfoRequest) XXX_Size() int
- func (m *GetMempoolInfoRequest) XXX_Unmarshal(b []byte) error
- type GetMempoolInfoResponse
- func (*GetMempoolInfoResponse) Descriptor() ([]byte, []int)
- func (m *GetMempoolInfoResponse) GetBytes() uint32
- func (m *GetMempoolInfoResponse) GetSize() uint32
- func (*GetMempoolInfoResponse) ProtoMessage()
- func (m *GetMempoolInfoResponse) Reset()
- func (m *GetMempoolInfoResponse) String() string
- func (m *GetMempoolInfoResponse) XXX_DiscardUnknown()
- func (m *GetMempoolInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetMempoolInfoResponse) XXX_Merge(src proto.Message)
- func (m *GetMempoolInfoResponse) XXX_Size() int
- func (m *GetMempoolInfoResponse) XXX_Unmarshal(b []byte) error
- type GetMerkleProofRequest
- func (*GetMerkleProofRequest) Descriptor() ([]byte, []int)
- func (m *GetMerkleProofRequest) GetTransactionHash() []byte
- func (*GetMerkleProofRequest) ProtoMessage()
- func (m *GetMerkleProofRequest) Reset()
- func (m *GetMerkleProofRequest) String() string
- func (m *GetMerkleProofRequest) XXX_DiscardUnknown()
- func (m *GetMerkleProofRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetMerkleProofRequest) XXX_Merge(src proto.Message)
- func (m *GetMerkleProofRequest) XXX_Size() int
- func (m *GetMerkleProofRequest) XXX_Unmarshal(b []byte) error
- type GetMerkleProofResponse
- func (*GetMerkleProofResponse) Descriptor() ([]byte, []int)
- func (m *GetMerkleProofResponse) GetBlock() *BlockInfo
- func (m *GetMerkleProofResponse) GetFlags() []byte
- func (m *GetMerkleProofResponse) GetHashes() [][]byte
- func (*GetMerkleProofResponse) ProtoMessage()
- func (m *GetMerkleProofResponse) Reset()
- func (m *GetMerkleProofResponse) String() string
- func (m *GetMerkleProofResponse) XXX_DiscardUnknown()
- func (m *GetMerkleProofResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetMerkleProofResponse) XXX_Merge(src proto.Message)
- func (m *GetMerkleProofResponse) XXX_Size() int
- func (m *GetMerkleProofResponse) XXX_Unmarshal(b []byte) error
- type GetRawAddressTransactionsRequest
- func (*GetRawAddressTransactionsRequest) Descriptor() ([]byte, []int)
- func (m *GetRawAddressTransactionsRequest) GetAddress() string
- func (m *GetRawAddressTransactionsRequest) GetHash() []byte
- func (m *GetRawAddressTransactionsRequest) GetHeight() int32
- func (m *GetRawAddressTransactionsRequest) GetNbFetch() uint32
- func (m *GetRawAddressTransactionsRequest) GetNbSkip() uint32
- func (m *GetRawAddressTransactionsRequest) GetStartBlock() isGetRawAddressTransactionsRequest_StartBlock
- func (*GetRawAddressTransactionsRequest) ProtoMessage()
- func (m *GetRawAddressTransactionsRequest) Reset()
- func (m *GetRawAddressTransactionsRequest) String() string
- func (m *GetRawAddressTransactionsRequest) XXX_DiscardUnknown()
- func (m *GetRawAddressTransactionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetRawAddressTransactionsRequest) XXX_Merge(src proto.Message)
- func (*GetRawAddressTransactionsRequest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *GetRawAddressTransactionsRequest) XXX_Size() int
- func (m *GetRawAddressTransactionsRequest) XXX_Unmarshal(b []byte) error
- type GetRawAddressTransactionsRequest_Hash
- type GetRawAddressTransactionsRequest_Height
- type GetRawAddressTransactionsResponse
- func (*GetRawAddressTransactionsResponse) Descriptor() ([]byte, []int)
- func (m *GetRawAddressTransactionsResponse) GetConfirmedTransactions() [][]byte
- func (m *GetRawAddressTransactionsResponse) GetUnconfirmedTransactions() [][]byte
- func (*GetRawAddressTransactionsResponse) ProtoMessage()
- func (m *GetRawAddressTransactionsResponse) Reset()
- func (m *GetRawAddressTransactionsResponse) String() string
- func (m *GetRawAddressTransactionsResponse) XXX_DiscardUnknown()
- func (m *GetRawAddressTransactionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetRawAddressTransactionsResponse) XXX_Merge(src proto.Message)
- func (m *GetRawAddressTransactionsResponse) XXX_Size() int
- func (m *GetRawAddressTransactionsResponse) XXX_Unmarshal(b []byte) error
- type GetRawBlockRequest
- func (*GetRawBlockRequest) Descriptor() ([]byte, []int)
- func (m *GetRawBlockRequest) GetHash() []byte
- func (m *GetRawBlockRequest) GetHashOrHeight() isGetRawBlockRequest_HashOrHeight
- func (m *GetRawBlockRequest) GetHeight() int32
- func (*GetRawBlockRequest) ProtoMessage()
- func (m *GetRawBlockRequest) Reset()
- func (m *GetRawBlockRequest) String() string
- func (m *GetRawBlockRequest) XXX_DiscardUnknown()
- func (m *GetRawBlockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetRawBlockRequest) XXX_Merge(src proto.Message)
- func (*GetRawBlockRequest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *GetRawBlockRequest) XXX_Size() int
- func (m *GetRawBlockRequest) XXX_Unmarshal(b []byte) error
- type GetRawBlockRequest_Hash
- type GetRawBlockRequest_Height
- type GetRawBlockResponse
- func (*GetRawBlockResponse) Descriptor() ([]byte, []int)
- func (m *GetRawBlockResponse) GetBlock() []byte
- func (*GetRawBlockResponse) ProtoMessage()
- func (m *GetRawBlockResponse) Reset()
- func (m *GetRawBlockResponse) String() string
- func (m *GetRawBlockResponse) XXX_DiscardUnknown()
- func (m *GetRawBlockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetRawBlockResponse) XXX_Merge(src proto.Message)
- func (m *GetRawBlockResponse) XXX_Size() int
- func (m *GetRawBlockResponse) XXX_Unmarshal(b []byte) error
- type GetRawTransactionRequest
- func (*GetRawTransactionRequest) Descriptor() ([]byte, []int)
- func (m *GetRawTransactionRequest) GetHash() []byte
- func (*GetRawTransactionRequest) ProtoMessage()
- func (m *GetRawTransactionRequest) Reset()
- func (m *GetRawTransactionRequest) String() string
- func (m *GetRawTransactionRequest) XXX_DiscardUnknown()
- func (m *GetRawTransactionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetRawTransactionRequest) XXX_Merge(src proto.Message)
- func (m *GetRawTransactionRequest) XXX_Size() int
- func (m *GetRawTransactionRequest) XXX_Unmarshal(b []byte) error
- type GetRawTransactionResponse
- func (*GetRawTransactionResponse) Descriptor() ([]byte, []int)
- func (m *GetRawTransactionResponse) GetTransaction() []byte
- func (*GetRawTransactionResponse) ProtoMessage()
- func (m *GetRawTransactionResponse) Reset()
- func (m *GetRawTransactionResponse) String() string
- func (m *GetRawTransactionResponse) XXX_DiscardUnknown()
- func (m *GetRawTransactionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetRawTransactionResponse) XXX_Merge(src proto.Message)
- func (m *GetRawTransactionResponse) XXX_Size() int
- func (m *GetRawTransactionResponse) XXX_Unmarshal(b []byte) error
- type GetTransactionRequest
- func (*GetTransactionRequest) Descriptor() ([]byte, []int)
- func (m *GetTransactionRequest) GetHash() []byte
- func (*GetTransactionRequest) ProtoMessage()
- func (m *GetTransactionRequest) Reset()
- func (m *GetTransactionRequest) String() string
- func (m *GetTransactionRequest) XXX_DiscardUnknown()
- func (m *GetTransactionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetTransactionRequest) XXX_Merge(src proto.Message)
- func (m *GetTransactionRequest) XXX_Size() int
- func (m *GetTransactionRequest) XXX_Unmarshal(b []byte) error
- type GetTransactionResponse
- func (*GetTransactionResponse) Descriptor() ([]byte, []int)
- func (m *GetTransactionResponse) GetTransaction() *Transaction
- func (*GetTransactionResponse) ProtoMessage()
- func (m *GetTransactionResponse) Reset()
- func (m *GetTransactionResponse) String() string
- func (m *GetTransactionResponse) XXX_DiscardUnknown()
- func (m *GetTransactionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetTransactionResponse) XXX_Merge(src proto.Message)
- func (m *GetTransactionResponse) XXX_Size() int
- func (m *GetTransactionResponse) XXX_Unmarshal(b []byte) error
- type MempoolTransaction
- func (*MempoolTransaction) Descriptor() ([]byte, []int)
- func (m *MempoolTransaction) GetAddedHeight() int32
- func (m *MempoolTransaction) GetAddedTime() int64
- func (m *MempoolTransaction) GetFee() int64
- func (m *MempoolTransaction) GetFeePerKb() int64
- func (m *MempoolTransaction) GetStartingPriority() float64
- func (m *MempoolTransaction) GetTransaction() *Transaction
- func (*MempoolTransaction) ProtoMessage()
- func (m *MempoolTransaction) Reset()
- func (m *MempoolTransaction) String() string
- func (m *MempoolTransaction) XXX_DiscardUnknown()
- func (m *MempoolTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MempoolTransaction) XXX_Merge(src proto.Message)
- func (m *MempoolTransaction) XXX_Size() int
- func (m *MempoolTransaction) XXX_Unmarshal(b []byte) error
- type SubmitTransactionRequest
- func (*SubmitTransactionRequest) Descriptor() ([]byte, []int)
- func (m *SubmitTransactionRequest) GetTransaction() []byte
- func (*SubmitTransactionRequest) ProtoMessage()
- func (m *SubmitTransactionRequest) Reset()
- func (m *SubmitTransactionRequest) String() string
- func (m *SubmitTransactionRequest) XXX_DiscardUnknown()
- func (m *SubmitTransactionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SubmitTransactionRequest) XXX_Merge(src proto.Message)
- func (m *SubmitTransactionRequest) XXX_Size() int
- func (m *SubmitTransactionRequest) XXX_Unmarshal(b []byte) error
- type SubmitTransactionResponse
- func (*SubmitTransactionResponse) Descriptor() ([]byte, []int)
- func (m *SubmitTransactionResponse) GetHash() []byte
- func (*SubmitTransactionResponse) ProtoMessage()
- func (m *SubmitTransactionResponse) Reset()
- func (m *SubmitTransactionResponse) String() string
- func (m *SubmitTransactionResponse) XXX_DiscardUnknown()
- func (m *SubmitTransactionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SubmitTransactionResponse) XXX_Merge(src proto.Message)
- func (m *SubmitTransactionResponse) XXX_Size() int
- func (m *SubmitTransactionResponse) XXX_Unmarshal(b []byte) error
- type SubscribeBlocksRequest
- func (*SubscribeBlocksRequest) Descriptor() ([]byte, []int)
- func (*SubscribeBlocksRequest) ProtoMessage()
- func (m *SubscribeBlocksRequest) Reset()
- func (m *SubscribeBlocksRequest) String() string
- func (m *SubscribeBlocksRequest) XXX_DiscardUnknown()
- func (m *SubscribeBlocksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SubscribeBlocksRequest) XXX_Merge(src proto.Message)
- func (m *SubscribeBlocksRequest) XXX_Size() int
- func (m *SubscribeBlocksRequest) XXX_Unmarshal(b []byte) error
- type SubscribeTransactionsRequest
- func (*SubscribeTransactionsRequest) Descriptor() ([]byte, []int)
- func (m *SubscribeTransactionsRequest) GetIncludeInBlock() bool
- func (m *SubscribeTransactionsRequest) GetIncludeMempool() bool
- func (m *SubscribeTransactionsRequest) GetSubscribe() *TransactionFilter
- func (m *SubscribeTransactionsRequest) GetUnsubscribe() *TransactionFilter
- func (*SubscribeTransactionsRequest) ProtoMessage()
- func (m *SubscribeTransactionsRequest) Reset()
- func (m *SubscribeTransactionsRequest) String() string
- func (m *SubscribeTransactionsRequest) XXX_DiscardUnknown()
- func (m *SubscribeTransactionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SubscribeTransactionsRequest) XXX_Merge(src proto.Message)
- func (m *SubscribeTransactionsRequest) XXX_Size() int
- func (m *SubscribeTransactionsRequest) XXX_Unmarshal(b []byte) error
- type Transaction
- func (*Transaction) Descriptor() ([]byte, []int)
- func (m *Transaction) GetBlockHash() []byte
- func (m *Transaction) GetBlockHeight() int32
- func (m *Transaction) GetConfirmations() int32
- func (m *Transaction) GetHash() []byte
- func (m *Transaction) GetInputs() []*Transaction_Input
- func (m *Transaction) GetLockTime() uint32
- func (m *Transaction) GetOutputs() []*Transaction_Output
- func (m *Transaction) GetSize() int32
- func (m *Transaction) GetTimestamp() int64
- func (m *Transaction) GetVersion() int32
- func (*Transaction) ProtoMessage()
- func (m *Transaction) Reset()
- func (m *Transaction) String() string
- func (m *Transaction) XXX_DiscardUnknown()
- func (m *Transaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Transaction) XXX_Merge(src proto.Message)
- func (m *Transaction) XXX_Size() int
- func (m *Transaction) XXX_Unmarshal(b []byte) error
- type TransactionFilter
- func (*TransactionFilter) Descriptor() ([]byte, []int)
- func (m *TransactionFilter) GetAddresses() []string
- func (m *TransactionFilter) GetAllTransactions() bool
- func (m *TransactionFilter) GetOutpoints() []*Transaction_Input_Outpoint
- func (*TransactionFilter) ProtoMessage()
- func (m *TransactionFilter) Reset()
- func (m *TransactionFilter) String() string
- func (m *TransactionFilter) XXX_DiscardUnknown()
- func (m *TransactionFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TransactionFilter) XXX_Merge(src proto.Message)
- func (m *TransactionFilter) XXX_Size() int
- func (m *TransactionFilter) XXX_Unmarshal(b []byte) error
- type TransactionNotification
- func (*TransactionNotification) Descriptor() ([]byte, []int)
- func (m *TransactionNotification) GetConfirmedTransaction() *Transaction
- func (m *TransactionNotification) GetTransaction() isTransactionNotification_Transaction
- func (m *TransactionNotification) GetType() TransactionNotification_Type
- func (m *TransactionNotification) GetUnconfirmedTransaction() *MempoolTransaction
- func (*TransactionNotification) ProtoMessage()
- func (m *TransactionNotification) Reset()
- func (m *TransactionNotification) String() string
- func (m *TransactionNotification) XXX_DiscardUnknown()
- func (m *TransactionNotification) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TransactionNotification) XXX_Merge(src proto.Message)
- func (*TransactionNotification) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *TransactionNotification) XXX_Size() int
- func (m *TransactionNotification) XXX_Unmarshal(b []byte) error
- type TransactionNotification_ConfirmedTransaction
- type TransactionNotification_Type
- type TransactionNotification_UnconfirmedTransaction
- type Transaction_Input
- func (*Transaction_Input) Descriptor() ([]byte, []int)
- func (m *Transaction_Input) GetCoinbase() bool
- func (m *Transaction_Input) GetIndex() uint32
- func (m *Transaction_Input) GetOutpoint() *Transaction_Input_Outpoint
- func (m *Transaction_Input) GetSequence() uint32
- func (m *Transaction_Input) GetSignatureScript() []byte
- func (m *Transaction_Input) GetValue() int64
- func (*Transaction_Input) ProtoMessage()
- func (m *Transaction_Input) Reset()
- func (m *Transaction_Input) String() string
- func (m *Transaction_Input) XXX_DiscardUnknown()
- func (m *Transaction_Input) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Transaction_Input) XXX_Merge(src proto.Message)
- func (m *Transaction_Input) XXX_Size() int
- func (m *Transaction_Input) XXX_Unmarshal(b []byte) error
- type Transaction_Input_Outpoint
- func (*Transaction_Input_Outpoint) Descriptor() ([]byte, []int)
- func (m *Transaction_Input_Outpoint) GetHash() []byte
- func (m *Transaction_Input_Outpoint) GetIndex() uint32
- func (*Transaction_Input_Outpoint) ProtoMessage()
- func (m *Transaction_Input_Outpoint) Reset()
- func (m *Transaction_Input_Outpoint) String() string
- func (m *Transaction_Input_Outpoint) XXX_DiscardUnknown()
- func (m *Transaction_Input_Outpoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Transaction_Input_Outpoint) XXX_Merge(src proto.Message)
- func (m *Transaction_Input_Outpoint) XXX_Size() int
- func (m *Transaction_Input_Outpoint) XXX_Unmarshal(b []byte) error
- type Transaction_Output
- func (*Transaction_Output) Descriptor() ([]byte, []int)
- func (m *Transaction_Output) GetAddress() string
- func (m *Transaction_Output) GetDisassembledScript() string
- func (m *Transaction_Output) GetIndex() uint32
- func (m *Transaction_Output) GetPubkeyScript() []byte
- func (m *Transaction_Output) GetScriptClass() string
- func (m *Transaction_Output) GetValue() int64
- func (*Transaction_Output) ProtoMessage()
- func (m *Transaction_Output) Reset()
- func (m *Transaction_Output) String() string
- func (m *Transaction_Output) XXX_DiscardUnknown()
- func (m *Transaction_Output) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Transaction_Output) XXX_Merge(src proto.Message)
- func (m *Transaction_Output) XXX_Size() int
- func (m *Transaction_Output) XXX_Unmarshal(b []byte) error
- type UnspentOutput
- func (*UnspentOutput) Descriptor() ([]byte, []int)
- func (m *UnspentOutput) GetBlockHeight() int32
- func (m *UnspentOutput) GetIsCoinbase() bool
- func (m *UnspentOutput) GetOutpoint() *Transaction_Input_Outpoint
- func (m *UnspentOutput) GetPubkeyScript() []byte
- func (m *UnspentOutput) GetValue() int64
- func (*UnspentOutput) ProtoMessage()
- func (m *UnspentOutput) Reset()
- func (m *UnspentOutput) String() string
- func (m *UnspentOutput) XXX_DiscardUnknown()
- func (m *UnspentOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UnspentOutput) XXX_Merge(src proto.Message)
- func (m *UnspentOutput) XXX_Size() int
- func (m *UnspentOutput) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
var BlockNotification_Type_name = map[int32]string{
0: "CONNECTED",
1: "DISCONNECTED",
}
var BlockNotification_Type_value = map[string]int32{
"CONNECTED": 0,
"DISCONNECTED": 1,
}
var GetBlockchainInfoResponse_BitcoinNet_name = map[int32]string{
0: "MAINNET",
1: "REGTEST",
2: "TESTNET3",
3: "SIMNET",
}
var GetBlockchainInfoResponse_BitcoinNet_value = map[string]int32{
"MAINNET": 0,
"REGTEST": 1,
"TESTNET3": 2,
"SIMNET": 3,
}
var TransactionNotification_Type_name = map[int32]string{
0: "UNCONFIRMED",
1: "CONFIRMED",
}
var TransactionNotification_Type_value = map[string]int32{
"UNCONFIRMED": 0,
"CONFIRMED": 1,
}
Functions ¶
func RegisterBchrpcServer ¶
func RegisterBchrpcServer(s *grpc.Server, srv BchrpcServer)
Types ¶
type BchrpcClient ¶
type BchrpcClient interface { // Get info about the mempool. GetMempoolInfo(ctx context.Context, in *GetMempoolInfoRequest, opts ...grpc.CallOption) (*GetMempoolInfoResponse, error) // GetBlockchainInfo info about the blockchain including the most recent // block hash and height. GetBlockchainInfo(ctx context.Context, in *GetBlockchainInfoRequest, opts ...grpc.CallOption) (*GetBlockchainInfoResponse, error) // Get info about the given block. GetBlockInfo(ctx context.Context, in *GetBlockInfoRequest, opts ...grpc.CallOption) (*GetBlockInfoResponse, error) // Get a block. GetBlock(ctx context.Context, in *GetBlockRequest, opts ...grpc.CallOption) (*GetBlockResponse, error) // Get a serialized block. GetRawBlock(ctx context.Context, in *GetRawBlockRequest, opts ...grpc.CallOption) (*GetRawBlockResponse, error) // **Requires CfIndex** // Get a block filter. GetBlockFilter(ctx context.Context, in *GetBlockFilterRequest, opts ...grpc.CallOption) (*GetBlockFilterResponse, error) // This RPC sends a block locator object to the server and the server responds with // a batch of no more than 2000 headers. Upon parsing the block locator, if the server // concludes there has been a fork, it will send headers starting at the fork point, // or genesis if no blocks in the locator are in the best chain. If the locator is // already at the tip no headers will be returned. GetHeaders(ctx context.Context, in *GetHeadersRequest, opts ...grpc.CallOption) (*GetHeadersResponse, error) // **Requires TxIndex** // Get a transaction given its hash. GetTransaction(ctx context.Context, in *GetTransactionRequest, opts ...grpc.CallOption) (*GetTransactionResponse, error) // **Requires TxIndex** // Get a serialized transaction given its hash. GetRawTransaction(ctx context.Context, in *GetRawTransactionRequest, opts ...grpc.CallOption) (*GetRawTransactionResponse, error) // **Requires AddressIndex** // Returns the transactions for the given address. Offers offset, // limit, and from block options. GetAddressTransactions(ctx context.Context, in *GetAddressTransactionsRequest, opts ...grpc.CallOption) (*GetAddressTransactionsResponse, error) // **Requires AddressIndex** // Returns the raw transactions for the given address. Offers offset, // limit, and from block options. GetRawAddressTransactions(ctx context.Context, in *GetRawAddressTransactionsRequest, opts ...grpc.CallOption) (*GetRawAddressTransactionsResponse, error) // **Requires AddressIndex** // Returns all the unspent transaction outpoints for the given address. // Offers offset, limit, and from block options. GetAddressUnspentOutputs(ctx context.Context, in *GetAddressUnspentOutputsRequest, opts ...grpc.CallOption) (*GetAddressUnspentOutputsResponse, error) // **Requires TxIndex*** // Returns a merkle (SPV) proof that the given transaction is in the provided block. GetMerkleProof(ctx context.Context, in *GetMerkleProofRequest, opts ...grpc.CallOption) (*GetMerkleProofResponse, error) // Submit a transaction to all connected peers. SubmitTransaction(ctx context.Context, in *SubmitTransactionRequest, opts ...grpc.CallOption) (*SubmitTransactionResponse, error) // Subscribe to relevant transactions based on the subscription requests. // The parameters to filter transactions on can be updated by sending new // SubscribeTransactionsRequest objects on the stream. // // This RPC does not use bi-directional streams and therefore can be used // with grpc-web. You will need to close and re-open the stream whenever // you want to update the addresses. If you are not using grpc-web // then SubscribeTransactionStream is more appropriate. SubscribeTransactions(ctx context.Context, in *SubscribeTransactionsRequest, opts ...grpc.CallOption) (Bchrpc_SubscribeTransactionsClient, error) // Subscribe to relevant transactions based on the subscription requests. // The parameters to filter transactions on can be updated by sending new // SubscribeTransactionsRequest objects on the stream. // // Because this RPC using bi-directional streaming it cannot be used with // grpc-web. SubscribeTransactionStream(ctx context.Context, opts ...grpc.CallOption) (Bchrpc_SubscribeTransactionStreamClient, error) // Subscribe to notifications of new blocks being connected to the blockchain // or blocks being disconnected. SubscribeBlocks(ctx context.Context, in *SubscribeBlocksRequest, opts ...grpc.CallOption) (Bchrpc_SubscribeBlocksClient, error) }
BchrpcClient is the client API for Bchrpc service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewBchrpcClient ¶
func NewBchrpcClient(cc *grpc.ClientConn) BchrpcClient
type BchrpcServer ¶
type BchrpcServer interface { // Get info about the mempool. GetMempoolInfo(context.Context, *GetMempoolInfoRequest) (*GetMempoolInfoResponse, error) // GetBlockchainInfo info about the blockchain including the most recent // block hash and height. GetBlockchainInfo(context.Context, *GetBlockchainInfoRequest) (*GetBlockchainInfoResponse, error) // Get info about the given block. GetBlockInfo(context.Context, *GetBlockInfoRequest) (*GetBlockInfoResponse, error) // Get a block. GetBlock(context.Context, *GetBlockRequest) (*GetBlockResponse, error) // Get a serialized block. GetRawBlock(context.Context, *GetRawBlockRequest) (*GetRawBlockResponse, error) // **Requires CfIndex** // Get a block filter. GetBlockFilter(context.Context, *GetBlockFilterRequest) (*GetBlockFilterResponse, error) // This RPC sends a block locator object to the server and the server responds with // a batch of no more than 2000 headers. Upon parsing the block locator, if the server // concludes there has been a fork, it will send headers starting at the fork point, // or genesis if no blocks in the locator are in the best chain. If the locator is // already at the tip no headers will be returned. GetHeaders(context.Context, *GetHeadersRequest) (*GetHeadersResponse, error) // **Requires TxIndex** // Get a transaction given its hash. GetTransaction(context.Context, *GetTransactionRequest) (*GetTransactionResponse, error) // **Requires TxIndex** // Get a serialized transaction given its hash. GetRawTransaction(context.Context, *GetRawTransactionRequest) (*GetRawTransactionResponse, error) // **Requires AddressIndex** // Returns the transactions for the given address. Offers offset, // limit, and from block options. GetAddressTransactions(context.Context, *GetAddressTransactionsRequest) (*GetAddressTransactionsResponse, error) // **Requires AddressIndex** // Returns the raw transactions for the given address. Offers offset, // limit, and from block options. GetRawAddressTransactions(context.Context, *GetRawAddressTransactionsRequest) (*GetRawAddressTransactionsResponse, error) // **Requires AddressIndex** // Returns all the unspent transaction outpoints for the given address. // Offers offset, limit, and from block options. GetAddressUnspentOutputs(context.Context, *GetAddressUnspentOutputsRequest) (*GetAddressUnspentOutputsResponse, error) // **Requires TxIndex*** // Returns a merkle (SPV) proof that the given transaction is in the provided block. GetMerkleProof(context.Context, *GetMerkleProofRequest) (*GetMerkleProofResponse, error) // Submit a transaction to all connected peers. SubmitTransaction(context.Context, *SubmitTransactionRequest) (*SubmitTransactionResponse, error) // Subscribe to relevant transactions based on the subscription requests. // The parameters to filter transactions on can be updated by sending new // SubscribeTransactionsRequest objects on the stream. // // This RPC does not use bi-directional streams and therefore can be used // with grpc-web. You will need to close and re-open the stream whenever // you want to update the addresses. If you are not using grpc-web // then SubscribeTransactionStream is more appropriate. SubscribeTransactions(*SubscribeTransactionsRequest, Bchrpc_SubscribeTransactionsServer) error // Subscribe to relevant transactions based on the subscription requests. // The parameters to filter transactions on can be updated by sending new // SubscribeTransactionsRequest objects on the stream. // // Because this RPC using bi-directional streaming it cannot be used with // grpc-web. SubscribeTransactionStream(Bchrpc_SubscribeTransactionStreamServer) error // Subscribe to notifications of new blocks being connected to the blockchain // or blocks being disconnected. SubscribeBlocks(*SubscribeBlocksRequest, Bchrpc_SubscribeBlocksServer) error }
BchrpcServer is the server API for Bchrpc service.
type Bchrpc_SubscribeBlocksClient ¶
type Bchrpc_SubscribeBlocksClient interface { Recv() (*BlockNotification, error) grpc.ClientStream }
type Bchrpc_SubscribeBlocksServer ¶
type Bchrpc_SubscribeBlocksServer interface { Send(*BlockNotification) error grpc.ServerStream }
type Bchrpc_SubscribeTransactionStreamClient ¶
type Bchrpc_SubscribeTransactionStreamClient interface { Send(*SubscribeTransactionsRequest) error Recv() (*TransactionNotification, error) grpc.ClientStream }
type Bchrpc_SubscribeTransactionStreamServer ¶
type Bchrpc_SubscribeTransactionStreamServer interface { Send(*TransactionNotification) error Recv() (*SubscribeTransactionsRequest, error) grpc.ServerStream }
type Bchrpc_SubscribeTransactionsClient ¶
type Bchrpc_SubscribeTransactionsClient interface { Recv() (*TransactionNotification, error) grpc.ClientStream }
type Bchrpc_SubscribeTransactionsServer ¶
type Bchrpc_SubscribeTransactionsServer interface { Send(*TransactionNotification) error grpc.ServerStream }
type Block ¶
type Block struct { Info *BlockInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` TransactionData []*Block_TransactionData `protobuf:"bytes,2,rep,name=transaction_data,json=transactionData,proto3" json:"transaction_data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Block) Descriptor ¶
func (*Block) GetTransactionData ¶
func (m *Block) GetTransactionData() []*Block_TransactionData
func (*Block) ProtoMessage ¶
func (*Block) ProtoMessage()
func (*Block) XXX_DiscardUnknown ¶
func (m *Block) XXX_DiscardUnknown()
func (*Block) XXX_Marshal ¶
func (*Block) XXX_Unmarshal ¶
type BlockInfo ¶
type BlockInfo struct { // Identification. Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` Height int32 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` // Block header data. Version int32 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"` PreviousBlock []byte `protobuf:"bytes,4,opt,name=previous_block,json=previousBlock,proto3" json:"previous_block,omitempty"` MerkleRoot []byte `protobuf:"bytes,5,opt,name=merkle_root,json=merkleRoot,proto3" json:"merkle_root,omitempty"` Timestamp int64 `protobuf:"varint,6,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Bits uint32 `protobuf:"varint,7,opt,name=bits,proto3" json:"bits,omitempty"` Nonce uint32 `protobuf:"varint,8,opt,name=nonce,proto3" json:"nonce,omitempty"` // Metadata. Confirmations int32 `protobuf:"varint,9,opt,name=confirmations,proto3" json:"confirmations,omitempty"` Difficulty float64 `protobuf:"fixed64,10,opt,name=difficulty,proto3" json:"difficulty,omitempty"` NextBlockHash []byte `protobuf:"bytes,11,opt,name=next_block_hash,json=nextBlockHash,proto3" json:"next_block_hash,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BlockInfo) Descriptor ¶
func (*BlockInfo) GetConfirmations ¶
func (*BlockInfo) GetDifficulty ¶
func (*BlockInfo) GetMerkleRoot ¶
func (*BlockInfo) GetNextBlockHash ¶
func (*BlockInfo) GetPreviousBlock ¶
func (*BlockInfo) GetTimestamp ¶
func (*BlockInfo) GetVersion ¶
func (*BlockInfo) ProtoMessage ¶
func (*BlockInfo) ProtoMessage()
func (*BlockInfo) XXX_DiscardUnknown ¶
func (m *BlockInfo) XXX_DiscardUnknown()
func (*BlockInfo) XXX_Marshal ¶
func (*BlockInfo) XXX_Unmarshal ¶
type BlockNotification ¶
type BlockNotification struct { Type BlockNotification_Type `protobuf:"varint,1,opt,name=type,proto3,enum=pb.BlockNotification_Type" json:"type,omitempty"` Block *BlockInfo `protobuf:"bytes,2,opt,name=block,proto3" json:"block,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BlockNotification) Descriptor ¶
func (*BlockNotification) Descriptor() ([]byte, []int)
func (*BlockNotification) GetBlock ¶
func (m *BlockNotification) GetBlock() *BlockInfo
func (*BlockNotification) GetType ¶
func (m *BlockNotification) GetType() BlockNotification_Type
func (*BlockNotification) ProtoMessage ¶
func (*BlockNotification) ProtoMessage()
func (*BlockNotification) Reset ¶
func (m *BlockNotification) Reset()
func (*BlockNotification) String ¶
func (m *BlockNotification) String() string
func (*BlockNotification) XXX_DiscardUnknown ¶
func (m *BlockNotification) XXX_DiscardUnknown()
func (*BlockNotification) XXX_Marshal ¶
func (m *BlockNotification) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockNotification) XXX_Merge ¶
func (m *BlockNotification) XXX_Merge(src proto.Message)
func (*BlockNotification) XXX_Size ¶
func (m *BlockNotification) XXX_Size() int
func (*BlockNotification) XXX_Unmarshal ¶
func (m *BlockNotification) XXX_Unmarshal(b []byte) error
type BlockNotification_Type ¶
type BlockNotification_Type int32
const ( BlockNotification_CONNECTED BlockNotification_Type = 0 BlockNotification_DISCONNECTED BlockNotification_Type = 1 )
func (BlockNotification_Type) EnumDescriptor ¶
func (BlockNotification_Type) EnumDescriptor() ([]byte, []int)
func (BlockNotification_Type) String ¶
func (x BlockNotification_Type) String() string
type Block_TransactionData ¶
type Block_TransactionData struct { // Either one of the two following is provided, depending on the request. // // Types that are valid to be assigned to TxidsOrTxs: // *Block_TransactionData_TransactionHash // *Block_TransactionData_Transaction TxidsOrTxs isBlock_TransactionData_TxidsOrTxs `protobuf_oneof:"txids_or_txs"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Block_TransactionData) Descriptor ¶
func (*Block_TransactionData) Descriptor() ([]byte, []int)
func (*Block_TransactionData) GetTransaction ¶
func (m *Block_TransactionData) GetTransaction() *Transaction
func (*Block_TransactionData) GetTransactionHash ¶
func (m *Block_TransactionData) GetTransactionHash() []byte
func (*Block_TransactionData) GetTxidsOrTxs ¶
func (m *Block_TransactionData) GetTxidsOrTxs() isBlock_TransactionData_TxidsOrTxs
func (*Block_TransactionData) ProtoMessage ¶
func (*Block_TransactionData) ProtoMessage()
func (*Block_TransactionData) Reset ¶
func (m *Block_TransactionData) Reset()
func (*Block_TransactionData) String ¶
func (m *Block_TransactionData) String() string
func (*Block_TransactionData) XXX_DiscardUnknown ¶
func (m *Block_TransactionData) XXX_DiscardUnknown()
func (*Block_TransactionData) XXX_Marshal ¶
func (m *Block_TransactionData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Block_TransactionData) XXX_Merge ¶
func (m *Block_TransactionData) XXX_Merge(src proto.Message)
func (*Block_TransactionData) XXX_OneofFuncs ¶
func (*Block_TransactionData) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*Block_TransactionData) XXX_Size ¶
func (m *Block_TransactionData) XXX_Size() int
func (*Block_TransactionData) XXX_Unmarshal ¶
func (m *Block_TransactionData) XXX_Unmarshal(b []byte) error
type Block_TransactionData_Transaction ¶
type Block_TransactionData_Transaction struct {
Transaction *Transaction `protobuf:"bytes,2,opt,name=transaction,proto3,oneof"`
}
type Block_TransactionData_TransactionHash ¶
type Block_TransactionData_TransactionHash struct {
TransactionHash []byte `protobuf:"bytes,1,opt,name=transaction_hash,json=transactionHash,proto3,oneof"`
}
type GetAddressTransactionsRequest ¶
type GetAddressTransactionsRequest struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // Control the number of transactions to be fetched from the blockchain. // These controls only apply to the confirmed transactions. All unconfirmed // ones will be returned always. NbSkip uint32 `protobuf:"varint,2,opt,name=nb_skip,json=nbSkip,proto3" json:"nb_skip,omitempty"` NbFetch uint32 `protobuf:"varint,3,opt,name=nb_fetch,json=nbFetch,proto3" json:"nb_fetch,omitempty"` // If the start block is provided it will only return transactions after this // block. This should be used if possible to save bandwidth. // // Types that are valid to be assigned to StartBlock: // *GetAddressTransactionsRequest_Hash // *GetAddressTransactionsRequest_Height StartBlock isGetAddressTransactionsRequest_StartBlock `protobuf_oneof:"start_block"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetAddressTransactionsRequest) Descriptor ¶
func (*GetAddressTransactionsRequest) Descriptor() ([]byte, []int)
func (*GetAddressTransactionsRequest) GetAddress ¶
func (m *GetAddressTransactionsRequest) GetAddress() string
func (*GetAddressTransactionsRequest) GetHash ¶
func (m *GetAddressTransactionsRequest) GetHash() []byte
func (*GetAddressTransactionsRequest) GetHeight ¶
func (m *GetAddressTransactionsRequest) GetHeight() int32
func (*GetAddressTransactionsRequest) GetNbFetch ¶
func (m *GetAddressTransactionsRequest) GetNbFetch() uint32
func (*GetAddressTransactionsRequest) GetNbSkip ¶
func (m *GetAddressTransactionsRequest) GetNbSkip() uint32
func (*GetAddressTransactionsRequest) GetStartBlock ¶
func (m *GetAddressTransactionsRequest) GetStartBlock() isGetAddressTransactionsRequest_StartBlock
func (*GetAddressTransactionsRequest) ProtoMessage ¶
func (*GetAddressTransactionsRequest) ProtoMessage()
func (*GetAddressTransactionsRequest) Reset ¶
func (m *GetAddressTransactionsRequest) Reset()
func (*GetAddressTransactionsRequest) String ¶
func (m *GetAddressTransactionsRequest) String() string
func (*GetAddressTransactionsRequest) XXX_DiscardUnknown ¶
func (m *GetAddressTransactionsRequest) XXX_DiscardUnknown()
func (*GetAddressTransactionsRequest) XXX_Marshal ¶
func (m *GetAddressTransactionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetAddressTransactionsRequest) XXX_Merge ¶
func (m *GetAddressTransactionsRequest) XXX_Merge(src proto.Message)
func (*GetAddressTransactionsRequest) XXX_OneofFuncs ¶
func (*GetAddressTransactionsRequest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*GetAddressTransactionsRequest) XXX_Size ¶
func (m *GetAddressTransactionsRequest) XXX_Size() int
func (*GetAddressTransactionsRequest) XXX_Unmarshal ¶
func (m *GetAddressTransactionsRequest) XXX_Unmarshal(b []byte) error
type GetAddressTransactionsRequest_Hash ¶
type GetAddressTransactionsRequest_Hash struct {
Hash []byte `protobuf:"bytes,4,opt,name=hash,proto3,oneof"`
}
type GetAddressTransactionsRequest_Height ¶
type GetAddressTransactionsRequest_Height struct {
Height int32 `protobuf:"varint,5,opt,name=height,proto3,oneof"`
}
type GetAddressTransactionsResponse ¶
type GetAddressTransactionsResponse struct { ConfirmedTransactions []*Transaction `protobuf:"bytes,1,rep,name=confirmed_transactions,json=confirmedTransactions,proto3" json:"confirmed_transactions,omitempty"` UnconfirmedTransactions []*MempoolTransaction `` /* 130-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetAddressTransactionsResponse) Descriptor ¶
func (*GetAddressTransactionsResponse) Descriptor() ([]byte, []int)
func (*GetAddressTransactionsResponse) GetConfirmedTransactions ¶
func (m *GetAddressTransactionsResponse) GetConfirmedTransactions() []*Transaction
func (*GetAddressTransactionsResponse) GetUnconfirmedTransactions ¶
func (m *GetAddressTransactionsResponse) GetUnconfirmedTransactions() []*MempoolTransaction
func (*GetAddressTransactionsResponse) ProtoMessage ¶
func (*GetAddressTransactionsResponse) ProtoMessage()
func (*GetAddressTransactionsResponse) Reset ¶
func (m *GetAddressTransactionsResponse) Reset()
func (*GetAddressTransactionsResponse) String ¶
func (m *GetAddressTransactionsResponse) String() string
func (*GetAddressTransactionsResponse) XXX_DiscardUnknown ¶
func (m *GetAddressTransactionsResponse) XXX_DiscardUnknown()
func (*GetAddressTransactionsResponse) XXX_Marshal ¶
func (m *GetAddressTransactionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetAddressTransactionsResponse) XXX_Merge ¶
func (m *GetAddressTransactionsResponse) XXX_Merge(src proto.Message)
func (*GetAddressTransactionsResponse) XXX_Size ¶
func (m *GetAddressTransactionsResponse) XXX_Size() int
func (*GetAddressTransactionsResponse) XXX_Unmarshal ¶
func (m *GetAddressTransactionsResponse) XXX_Unmarshal(b []byte) error
type GetAddressUnspentOutputsRequest ¶
type GetAddressUnspentOutputsRequest struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetAddressUnspentOutputsRequest) Descriptor ¶
func (*GetAddressUnspentOutputsRequest) Descriptor() ([]byte, []int)
func (*GetAddressUnspentOutputsRequest) GetAddress ¶
func (m *GetAddressUnspentOutputsRequest) GetAddress() string
func (*GetAddressUnspentOutputsRequest) ProtoMessage ¶
func (*GetAddressUnspentOutputsRequest) ProtoMessage()
func (*GetAddressUnspentOutputsRequest) Reset ¶
func (m *GetAddressUnspentOutputsRequest) Reset()
func (*GetAddressUnspentOutputsRequest) String ¶
func (m *GetAddressUnspentOutputsRequest) String() string
func (*GetAddressUnspentOutputsRequest) XXX_DiscardUnknown ¶
func (m *GetAddressUnspentOutputsRequest) XXX_DiscardUnknown()
func (*GetAddressUnspentOutputsRequest) XXX_Marshal ¶
func (m *GetAddressUnspentOutputsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetAddressUnspentOutputsRequest) XXX_Merge ¶
func (m *GetAddressUnspentOutputsRequest) XXX_Merge(src proto.Message)
func (*GetAddressUnspentOutputsRequest) XXX_Size ¶
func (m *GetAddressUnspentOutputsRequest) XXX_Size() int
func (*GetAddressUnspentOutputsRequest) XXX_Unmarshal ¶
func (m *GetAddressUnspentOutputsRequest) XXX_Unmarshal(b []byte) error
type GetAddressUnspentOutputsResponse ¶
type GetAddressUnspentOutputsResponse struct { Outputs []*UnspentOutput `protobuf:"bytes,1,rep,name=outputs,proto3" json:"outputs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetAddressUnspentOutputsResponse) Descriptor ¶
func (*GetAddressUnspentOutputsResponse) Descriptor() ([]byte, []int)
func (*GetAddressUnspentOutputsResponse) GetOutputs ¶
func (m *GetAddressUnspentOutputsResponse) GetOutputs() []*UnspentOutput
func (*GetAddressUnspentOutputsResponse) ProtoMessage ¶
func (*GetAddressUnspentOutputsResponse) ProtoMessage()
func (*GetAddressUnspentOutputsResponse) Reset ¶
func (m *GetAddressUnspentOutputsResponse) Reset()
func (*GetAddressUnspentOutputsResponse) String ¶
func (m *GetAddressUnspentOutputsResponse) String() string
func (*GetAddressUnspentOutputsResponse) XXX_DiscardUnknown ¶
func (m *GetAddressUnspentOutputsResponse) XXX_DiscardUnknown()
func (*GetAddressUnspentOutputsResponse) XXX_Marshal ¶
func (m *GetAddressUnspentOutputsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetAddressUnspentOutputsResponse) XXX_Merge ¶
func (m *GetAddressUnspentOutputsResponse) XXX_Merge(src proto.Message)
func (*GetAddressUnspentOutputsResponse) XXX_Size ¶
func (m *GetAddressUnspentOutputsResponse) XXX_Size() int
func (*GetAddressUnspentOutputsResponse) XXX_Unmarshal ¶
func (m *GetAddressUnspentOutputsResponse) XXX_Unmarshal(b []byte) error
type GetBlockFilterRequest ¶
type GetBlockFilterRequest struct { // Types that are valid to be assigned to HashOrHeight: // *GetBlockFilterRequest_Hash // *GetBlockFilterRequest_Height HashOrHeight isGetBlockFilterRequest_HashOrHeight `protobuf_oneof:"hash_or_height"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetBlockFilterRequest) Descriptor ¶
func (*GetBlockFilterRequest) Descriptor() ([]byte, []int)
func (*GetBlockFilterRequest) GetHash ¶
func (m *GetBlockFilterRequest) GetHash() []byte
func (*GetBlockFilterRequest) GetHashOrHeight ¶
func (m *GetBlockFilterRequest) GetHashOrHeight() isGetBlockFilterRequest_HashOrHeight
func (*GetBlockFilterRequest) GetHeight ¶
func (m *GetBlockFilterRequest) GetHeight() int32
func (*GetBlockFilterRequest) ProtoMessage ¶
func (*GetBlockFilterRequest) ProtoMessage()
func (*GetBlockFilterRequest) Reset ¶
func (m *GetBlockFilterRequest) Reset()
func (*GetBlockFilterRequest) String ¶
func (m *GetBlockFilterRequest) String() string
func (*GetBlockFilterRequest) XXX_DiscardUnknown ¶
func (m *GetBlockFilterRequest) XXX_DiscardUnknown()
func (*GetBlockFilterRequest) XXX_Marshal ¶
func (m *GetBlockFilterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBlockFilterRequest) XXX_Merge ¶
func (m *GetBlockFilterRequest) XXX_Merge(src proto.Message)
func (*GetBlockFilterRequest) XXX_OneofFuncs ¶
func (*GetBlockFilterRequest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*GetBlockFilterRequest) XXX_Size ¶
func (m *GetBlockFilterRequest) XXX_Size() int
func (*GetBlockFilterRequest) XXX_Unmarshal ¶
func (m *GetBlockFilterRequest) XXX_Unmarshal(b []byte) error
type GetBlockFilterRequest_Hash ¶
type GetBlockFilterRequest_Hash struct {
Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3,oneof"`
}
type GetBlockFilterRequest_Height ¶
type GetBlockFilterRequest_Height struct {
Height int32 `protobuf:"varint,2,opt,name=height,proto3,oneof"`
}
type GetBlockFilterResponse ¶
type GetBlockFilterResponse struct { Filter []byte `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetBlockFilterResponse) Descriptor ¶
func (*GetBlockFilterResponse) Descriptor() ([]byte, []int)
func (*GetBlockFilterResponse) GetFilter ¶
func (m *GetBlockFilterResponse) GetFilter() []byte
func (*GetBlockFilterResponse) ProtoMessage ¶
func (*GetBlockFilterResponse) ProtoMessage()
func (*GetBlockFilterResponse) Reset ¶
func (m *GetBlockFilterResponse) Reset()
func (*GetBlockFilterResponse) String ¶
func (m *GetBlockFilterResponse) String() string
func (*GetBlockFilterResponse) XXX_DiscardUnknown ¶
func (m *GetBlockFilterResponse) XXX_DiscardUnknown()
func (*GetBlockFilterResponse) XXX_Marshal ¶
func (m *GetBlockFilterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBlockFilterResponse) XXX_Merge ¶
func (m *GetBlockFilterResponse) XXX_Merge(src proto.Message)
func (*GetBlockFilterResponse) XXX_Size ¶
func (m *GetBlockFilterResponse) XXX_Size() int
func (*GetBlockFilterResponse) XXX_Unmarshal ¶
func (m *GetBlockFilterResponse) XXX_Unmarshal(b []byte) error
type GetBlockInfoRequest ¶
type GetBlockInfoRequest struct { // Types that are valid to be assigned to HashOrHeight: // *GetBlockInfoRequest_Hash // *GetBlockInfoRequest_Height HashOrHeight isGetBlockInfoRequest_HashOrHeight `protobuf_oneof:"hash_or_height"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetBlockInfoRequest) Descriptor ¶
func (*GetBlockInfoRequest) Descriptor() ([]byte, []int)
func (*GetBlockInfoRequest) GetHash ¶
func (m *GetBlockInfoRequest) GetHash() []byte
func (*GetBlockInfoRequest) GetHashOrHeight ¶
func (m *GetBlockInfoRequest) GetHashOrHeight() isGetBlockInfoRequest_HashOrHeight
func (*GetBlockInfoRequest) GetHeight ¶
func (m *GetBlockInfoRequest) GetHeight() int32
func (*GetBlockInfoRequest) ProtoMessage ¶
func (*GetBlockInfoRequest) ProtoMessage()
func (*GetBlockInfoRequest) Reset ¶
func (m *GetBlockInfoRequest) Reset()
func (*GetBlockInfoRequest) String ¶
func (m *GetBlockInfoRequest) String() string
func (*GetBlockInfoRequest) XXX_DiscardUnknown ¶
func (m *GetBlockInfoRequest) XXX_DiscardUnknown()
func (*GetBlockInfoRequest) XXX_Marshal ¶
func (m *GetBlockInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBlockInfoRequest) XXX_Merge ¶
func (m *GetBlockInfoRequest) XXX_Merge(src proto.Message)
func (*GetBlockInfoRequest) XXX_OneofFuncs ¶
func (*GetBlockInfoRequest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*GetBlockInfoRequest) XXX_Size ¶
func (m *GetBlockInfoRequest) XXX_Size() int
func (*GetBlockInfoRequest) XXX_Unmarshal ¶
func (m *GetBlockInfoRequest) XXX_Unmarshal(b []byte) error
type GetBlockInfoRequest_Hash ¶
type GetBlockInfoRequest_Hash struct {
Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3,oneof"`
}
type GetBlockInfoRequest_Height ¶
type GetBlockInfoRequest_Height struct {
Height int32 `protobuf:"varint,2,opt,name=height,proto3,oneof"`
}
type GetBlockInfoResponse ¶
type GetBlockInfoResponse struct { Info *BlockInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetBlockInfoResponse) Descriptor ¶
func (*GetBlockInfoResponse) Descriptor() ([]byte, []int)
func (*GetBlockInfoResponse) GetInfo ¶
func (m *GetBlockInfoResponse) GetInfo() *BlockInfo
func (*GetBlockInfoResponse) ProtoMessage ¶
func (*GetBlockInfoResponse) ProtoMessage()
func (*GetBlockInfoResponse) Reset ¶
func (m *GetBlockInfoResponse) Reset()
func (*GetBlockInfoResponse) String ¶
func (m *GetBlockInfoResponse) String() string
func (*GetBlockInfoResponse) XXX_DiscardUnknown ¶
func (m *GetBlockInfoResponse) XXX_DiscardUnknown()
func (*GetBlockInfoResponse) XXX_Marshal ¶
func (m *GetBlockInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBlockInfoResponse) XXX_Merge ¶
func (m *GetBlockInfoResponse) XXX_Merge(src proto.Message)
func (*GetBlockInfoResponse) XXX_Size ¶
func (m *GetBlockInfoResponse) XXX_Size() int
func (*GetBlockInfoResponse) XXX_Unmarshal ¶
func (m *GetBlockInfoResponse) XXX_Unmarshal(b []byte) error
type GetBlockRequest ¶
type GetBlockRequest struct { // Types that are valid to be assigned to HashOrHeight: // *GetBlockRequest_Hash // *GetBlockRequest_Height HashOrHeight isGetBlockRequest_HashOrHeight `protobuf_oneof:"hash_or_height"` // Provide full transaction info instead of only the hashes. FullTransactions bool `protobuf:"varint,3,opt,name=full_transactions,json=fullTransactions,proto3" json:"full_transactions,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetBlockRequest) Descriptor ¶
func (*GetBlockRequest) Descriptor() ([]byte, []int)
func (*GetBlockRequest) GetFullTransactions ¶
func (m *GetBlockRequest) GetFullTransactions() bool
func (*GetBlockRequest) GetHash ¶
func (m *GetBlockRequest) GetHash() []byte
func (*GetBlockRequest) GetHashOrHeight ¶
func (m *GetBlockRequest) GetHashOrHeight() isGetBlockRequest_HashOrHeight
func (*GetBlockRequest) GetHeight ¶
func (m *GetBlockRequest) GetHeight() int32
func (*GetBlockRequest) ProtoMessage ¶
func (*GetBlockRequest) ProtoMessage()
func (*GetBlockRequest) Reset ¶
func (m *GetBlockRequest) Reset()
func (*GetBlockRequest) String ¶
func (m *GetBlockRequest) String() string
func (*GetBlockRequest) XXX_DiscardUnknown ¶
func (m *GetBlockRequest) XXX_DiscardUnknown()
func (*GetBlockRequest) XXX_Marshal ¶
func (m *GetBlockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBlockRequest) XXX_Merge ¶
func (m *GetBlockRequest) XXX_Merge(src proto.Message)
func (*GetBlockRequest) XXX_OneofFuncs ¶
func (*GetBlockRequest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*GetBlockRequest) XXX_Size ¶
func (m *GetBlockRequest) XXX_Size() int
func (*GetBlockRequest) XXX_Unmarshal ¶
func (m *GetBlockRequest) XXX_Unmarshal(b []byte) error
type GetBlockRequest_Hash ¶
type GetBlockRequest_Hash struct {
Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3,oneof"`
}
type GetBlockRequest_Height ¶
type GetBlockRequest_Height struct {
Height int32 `protobuf:"varint,2,opt,name=height,proto3,oneof"`
}
type GetBlockResponse ¶
type GetBlockResponse struct { Block *Block `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetBlockResponse) Descriptor ¶
func (*GetBlockResponse) Descriptor() ([]byte, []int)
func (*GetBlockResponse) GetBlock ¶
func (m *GetBlockResponse) GetBlock() *Block
func (*GetBlockResponse) ProtoMessage ¶
func (*GetBlockResponse) ProtoMessage()
func (*GetBlockResponse) Reset ¶
func (m *GetBlockResponse) Reset()
func (*GetBlockResponse) String ¶
func (m *GetBlockResponse) String() string
func (*GetBlockResponse) XXX_DiscardUnknown ¶
func (m *GetBlockResponse) XXX_DiscardUnknown()
func (*GetBlockResponse) XXX_Marshal ¶
func (m *GetBlockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBlockResponse) XXX_Merge ¶
func (m *GetBlockResponse) XXX_Merge(src proto.Message)
func (*GetBlockResponse) XXX_Size ¶
func (m *GetBlockResponse) XXX_Size() int
func (*GetBlockResponse) XXX_Unmarshal ¶
func (m *GetBlockResponse) XXX_Unmarshal(b []byte) error
type GetBlockchainInfoRequest ¶
type GetBlockchainInfoRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetBlockchainInfoRequest) Descriptor ¶
func (*GetBlockchainInfoRequest) Descriptor() ([]byte, []int)
func (*GetBlockchainInfoRequest) ProtoMessage ¶
func (*GetBlockchainInfoRequest) ProtoMessage()
func (*GetBlockchainInfoRequest) Reset ¶
func (m *GetBlockchainInfoRequest) Reset()
func (*GetBlockchainInfoRequest) String ¶
func (m *GetBlockchainInfoRequest) String() string
func (*GetBlockchainInfoRequest) XXX_DiscardUnknown ¶
func (m *GetBlockchainInfoRequest) XXX_DiscardUnknown()
func (*GetBlockchainInfoRequest) XXX_Marshal ¶
func (m *GetBlockchainInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBlockchainInfoRequest) XXX_Merge ¶
func (m *GetBlockchainInfoRequest) XXX_Merge(src proto.Message)
func (*GetBlockchainInfoRequest) XXX_Size ¶
func (m *GetBlockchainInfoRequest) XXX_Size() int
func (*GetBlockchainInfoRequest) XXX_Unmarshal ¶
func (m *GetBlockchainInfoRequest) XXX_Unmarshal(b []byte) error
type GetBlockchainInfoResponse ¶
type GetBlockchainInfoResponse struct { BitcoinNet GetBlockchainInfoResponse_BitcoinNet `` /* 137-byte string literal not displayed */ BestHeight int32 `protobuf:"varint,2,opt,name=best_height,json=bestHeight,proto3" json:"best_height,omitempty"` BestBlockHash []byte `protobuf:"bytes,3,opt,name=best_block_hash,json=bestBlockHash,proto3" json:"best_block_hash,omitempty"` Difficulty float64 `protobuf:"fixed64,4,opt,name=difficulty,proto3" json:"difficulty,omitempty"` MedianTime int64 `protobuf:"varint,5,opt,name=median_time,json=medianTime,proto3" json:"median_time,omitempty"` TxIndex bool `protobuf:"varint,6,opt,name=tx_index,json=txIndex,proto3" json:"tx_index,omitempty"` AddrIndex bool `protobuf:"varint,7,opt,name=addr_index,json=addrIndex,proto3" json:"addr_index,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetBlockchainInfoResponse) Descriptor ¶
func (*GetBlockchainInfoResponse) Descriptor() ([]byte, []int)
func (*GetBlockchainInfoResponse) GetAddrIndex ¶
func (m *GetBlockchainInfoResponse) GetAddrIndex() bool
func (*GetBlockchainInfoResponse) GetBestBlockHash ¶
func (m *GetBlockchainInfoResponse) GetBestBlockHash() []byte
func (*GetBlockchainInfoResponse) GetBestHeight ¶
func (m *GetBlockchainInfoResponse) GetBestHeight() int32
func (*GetBlockchainInfoResponse) GetBitcoinNet ¶
func (m *GetBlockchainInfoResponse) GetBitcoinNet() GetBlockchainInfoResponse_BitcoinNet
func (*GetBlockchainInfoResponse) GetDifficulty ¶
func (m *GetBlockchainInfoResponse) GetDifficulty() float64
func (*GetBlockchainInfoResponse) GetMedianTime ¶
func (m *GetBlockchainInfoResponse) GetMedianTime() int64
func (*GetBlockchainInfoResponse) GetTxIndex ¶
func (m *GetBlockchainInfoResponse) GetTxIndex() bool
func (*GetBlockchainInfoResponse) ProtoMessage ¶
func (*GetBlockchainInfoResponse) ProtoMessage()
func (*GetBlockchainInfoResponse) Reset ¶
func (m *GetBlockchainInfoResponse) Reset()
func (*GetBlockchainInfoResponse) String ¶
func (m *GetBlockchainInfoResponse) String() string
func (*GetBlockchainInfoResponse) XXX_DiscardUnknown ¶
func (m *GetBlockchainInfoResponse) XXX_DiscardUnknown()
func (*GetBlockchainInfoResponse) XXX_Marshal ¶
func (m *GetBlockchainInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBlockchainInfoResponse) XXX_Merge ¶
func (m *GetBlockchainInfoResponse) XXX_Merge(src proto.Message)
func (*GetBlockchainInfoResponse) XXX_Size ¶
func (m *GetBlockchainInfoResponse) XXX_Size() int
func (*GetBlockchainInfoResponse) XXX_Unmarshal ¶
func (m *GetBlockchainInfoResponse) XXX_Unmarshal(b []byte) error
type GetBlockchainInfoResponse_BitcoinNet ¶
type GetBlockchainInfoResponse_BitcoinNet int32
const ( GetBlockchainInfoResponse_MAINNET GetBlockchainInfoResponse_BitcoinNet = 0 GetBlockchainInfoResponse_REGTEST GetBlockchainInfoResponse_BitcoinNet = 1 GetBlockchainInfoResponse_TESTNET3 GetBlockchainInfoResponse_BitcoinNet = 2 GetBlockchainInfoResponse_SIMNET GetBlockchainInfoResponse_BitcoinNet = 3 )
func (GetBlockchainInfoResponse_BitcoinNet) EnumDescriptor ¶
func (GetBlockchainInfoResponse_BitcoinNet) EnumDescriptor() ([]byte, []int)
func (GetBlockchainInfoResponse_BitcoinNet) String ¶
func (x GetBlockchainInfoResponse_BitcoinNet) String() string
type GetHeadersRequest ¶
type GetHeadersRequest struct { BlockLocatorHashes [][]byte `protobuf:"bytes,1,rep,name=block_locator_hashes,json=blockLocatorHashes,proto3" json:"block_locator_hashes,omitempty"` StopHash []byte `protobuf:"bytes,2,opt,name=stop_hash,json=stopHash,proto3" json:"stop_hash,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetHeadersRequest) Descriptor ¶
func (*GetHeadersRequest) Descriptor() ([]byte, []int)
func (*GetHeadersRequest) GetBlockLocatorHashes ¶
func (m *GetHeadersRequest) GetBlockLocatorHashes() [][]byte
func (*GetHeadersRequest) GetStopHash ¶
func (m *GetHeadersRequest) GetStopHash() []byte
func (*GetHeadersRequest) ProtoMessage ¶
func (*GetHeadersRequest) ProtoMessage()
func (*GetHeadersRequest) Reset ¶
func (m *GetHeadersRequest) Reset()
func (*GetHeadersRequest) String ¶
func (m *GetHeadersRequest) String() string
func (*GetHeadersRequest) XXX_DiscardUnknown ¶
func (m *GetHeadersRequest) XXX_DiscardUnknown()
func (*GetHeadersRequest) XXX_Marshal ¶
func (m *GetHeadersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetHeadersRequest) XXX_Merge ¶
func (m *GetHeadersRequest) XXX_Merge(src proto.Message)
func (*GetHeadersRequest) XXX_Size ¶
func (m *GetHeadersRequest) XXX_Size() int
func (*GetHeadersRequest) XXX_Unmarshal ¶
func (m *GetHeadersRequest) XXX_Unmarshal(b []byte) error
type GetHeadersResponse ¶
type GetHeadersResponse struct { Headers []*BlockInfo `protobuf:"bytes,1,rep,name=headers,proto3" json:"headers,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetHeadersResponse) Descriptor ¶
func (*GetHeadersResponse) Descriptor() ([]byte, []int)
func (*GetHeadersResponse) GetHeaders ¶
func (m *GetHeadersResponse) GetHeaders() []*BlockInfo
func (*GetHeadersResponse) ProtoMessage ¶
func (*GetHeadersResponse) ProtoMessage()
func (*GetHeadersResponse) Reset ¶
func (m *GetHeadersResponse) Reset()
func (*GetHeadersResponse) String ¶
func (m *GetHeadersResponse) String() string
func (*GetHeadersResponse) XXX_DiscardUnknown ¶
func (m *GetHeadersResponse) XXX_DiscardUnknown()
func (*GetHeadersResponse) XXX_Marshal ¶
func (m *GetHeadersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetHeadersResponse) XXX_Merge ¶
func (m *GetHeadersResponse) XXX_Merge(src proto.Message)
func (*GetHeadersResponse) XXX_Size ¶
func (m *GetHeadersResponse) XXX_Size() int
func (*GetHeadersResponse) XXX_Unmarshal ¶
func (m *GetHeadersResponse) XXX_Unmarshal(b []byte) error
type GetMempoolInfoRequest ¶
type GetMempoolInfoRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetMempoolInfoRequest) Descriptor ¶
func (*GetMempoolInfoRequest) Descriptor() ([]byte, []int)
func (*GetMempoolInfoRequest) ProtoMessage ¶
func (*GetMempoolInfoRequest) ProtoMessage()
func (*GetMempoolInfoRequest) Reset ¶
func (m *GetMempoolInfoRequest) Reset()
func (*GetMempoolInfoRequest) String ¶
func (m *GetMempoolInfoRequest) String() string
func (*GetMempoolInfoRequest) XXX_DiscardUnknown ¶
func (m *GetMempoolInfoRequest) XXX_DiscardUnknown()
func (*GetMempoolInfoRequest) XXX_Marshal ¶
func (m *GetMempoolInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetMempoolInfoRequest) XXX_Merge ¶
func (m *GetMempoolInfoRequest) XXX_Merge(src proto.Message)
func (*GetMempoolInfoRequest) XXX_Size ¶
func (m *GetMempoolInfoRequest) XXX_Size() int
func (*GetMempoolInfoRequest) XXX_Unmarshal ¶
func (m *GetMempoolInfoRequest) XXX_Unmarshal(b []byte) error
type GetMempoolInfoResponse ¶
type GetMempoolInfoResponse struct { Size uint32 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` Bytes uint32 `protobuf:"varint,2,opt,name=bytes,proto3" json:"bytes,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetMempoolInfoResponse) Descriptor ¶
func (*GetMempoolInfoResponse) Descriptor() ([]byte, []int)
func (*GetMempoolInfoResponse) GetBytes ¶
func (m *GetMempoolInfoResponse) GetBytes() uint32
func (*GetMempoolInfoResponse) GetSize ¶
func (m *GetMempoolInfoResponse) GetSize() uint32
func (*GetMempoolInfoResponse) ProtoMessage ¶
func (*GetMempoolInfoResponse) ProtoMessage()
func (*GetMempoolInfoResponse) Reset ¶
func (m *GetMempoolInfoResponse) Reset()
func (*GetMempoolInfoResponse) String ¶
func (m *GetMempoolInfoResponse) String() string
func (*GetMempoolInfoResponse) XXX_DiscardUnknown ¶
func (m *GetMempoolInfoResponse) XXX_DiscardUnknown()
func (*GetMempoolInfoResponse) XXX_Marshal ¶
func (m *GetMempoolInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetMempoolInfoResponse) XXX_Merge ¶
func (m *GetMempoolInfoResponse) XXX_Merge(src proto.Message)
func (*GetMempoolInfoResponse) XXX_Size ¶
func (m *GetMempoolInfoResponse) XXX_Size() int
func (*GetMempoolInfoResponse) XXX_Unmarshal ¶
func (m *GetMempoolInfoResponse) XXX_Unmarshal(b []byte) error
type GetMerkleProofRequest ¶
type GetMerkleProofRequest struct { TransactionHash []byte `protobuf:"bytes,1,opt,name=transaction_hash,json=transactionHash,proto3" json:"transaction_hash,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetMerkleProofRequest) Descriptor ¶
func (*GetMerkleProofRequest) Descriptor() ([]byte, []int)
func (*GetMerkleProofRequest) GetTransactionHash ¶
func (m *GetMerkleProofRequest) GetTransactionHash() []byte
func (*GetMerkleProofRequest) ProtoMessage ¶
func (*GetMerkleProofRequest) ProtoMessage()
func (*GetMerkleProofRequest) Reset ¶
func (m *GetMerkleProofRequest) Reset()
func (*GetMerkleProofRequest) String ¶
func (m *GetMerkleProofRequest) String() string
func (*GetMerkleProofRequest) XXX_DiscardUnknown ¶
func (m *GetMerkleProofRequest) XXX_DiscardUnknown()
func (*GetMerkleProofRequest) XXX_Marshal ¶
func (m *GetMerkleProofRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetMerkleProofRequest) XXX_Merge ¶
func (m *GetMerkleProofRequest) XXX_Merge(src proto.Message)
func (*GetMerkleProofRequest) XXX_Size ¶
func (m *GetMerkleProofRequest) XXX_Size() int
func (*GetMerkleProofRequest) XXX_Unmarshal ¶
func (m *GetMerkleProofRequest) XXX_Unmarshal(b []byte) error
type GetMerkleProofResponse ¶
type GetMerkleProofResponse struct { Block *BlockInfo `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"` Hashes [][]byte `protobuf:"bytes,2,rep,name=hashes,proto3" json:"hashes,omitempty"` Flags []byte `protobuf:"bytes,3,opt,name=flags,proto3" json:"flags,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetMerkleProofResponse) Descriptor ¶
func (*GetMerkleProofResponse) Descriptor() ([]byte, []int)
func (*GetMerkleProofResponse) GetBlock ¶
func (m *GetMerkleProofResponse) GetBlock() *BlockInfo
func (*GetMerkleProofResponse) GetFlags ¶
func (m *GetMerkleProofResponse) GetFlags() []byte
func (*GetMerkleProofResponse) GetHashes ¶
func (m *GetMerkleProofResponse) GetHashes() [][]byte
func (*GetMerkleProofResponse) ProtoMessage ¶
func (*GetMerkleProofResponse) ProtoMessage()
func (*GetMerkleProofResponse) Reset ¶
func (m *GetMerkleProofResponse) Reset()
func (*GetMerkleProofResponse) String ¶
func (m *GetMerkleProofResponse) String() string
func (*GetMerkleProofResponse) XXX_DiscardUnknown ¶
func (m *GetMerkleProofResponse) XXX_DiscardUnknown()
func (*GetMerkleProofResponse) XXX_Marshal ¶
func (m *GetMerkleProofResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetMerkleProofResponse) XXX_Merge ¶
func (m *GetMerkleProofResponse) XXX_Merge(src proto.Message)
func (*GetMerkleProofResponse) XXX_Size ¶
func (m *GetMerkleProofResponse) XXX_Size() int
func (*GetMerkleProofResponse) XXX_Unmarshal ¶
func (m *GetMerkleProofResponse) XXX_Unmarshal(b []byte) error
type GetRawAddressTransactionsRequest ¶
type GetRawAddressTransactionsRequest struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // Control the number of transactions to be fetched from the blockchain. // These controls only apply to the confirmed transactions. All unconfirmed // ones will be returned always. NbSkip uint32 `protobuf:"varint,2,opt,name=nb_skip,json=nbSkip,proto3" json:"nb_skip,omitempty"` NbFetch uint32 `protobuf:"varint,3,opt,name=nb_fetch,json=nbFetch,proto3" json:"nb_fetch,omitempty"` // If the start block is provided it will only return transactions after this // block. This should be used if possible to save bandwidth. // // Types that are valid to be assigned to StartBlock: // *GetRawAddressTransactionsRequest_Hash // *GetRawAddressTransactionsRequest_Height StartBlock isGetRawAddressTransactionsRequest_StartBlock `protobuf_oneof:"start_block"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetRawAddressTransactionsRequest) Descriptor ¶
func (*GetRawAddressTransactionsRequest) Descriptor() ([]byte, []int)
func (*GetRawAddressTransactionsRequest) GetAddress ¶
func (m *GetRawAddressTransactionsRequest) GetAddress() string
func (*GetRawAddressTransactionsRequest) GetHash ¶
func (m *GetRawAddressTransactionsRequest) GetHash() []byte
func (*GetRawAddressTransactionsRequest) GetHeight ¶
func (m *GetRawAddressTransactionsRequest) GetHeight() int32
func (*GetRawAddressTransactionsRequest) GetNbFetch ¶
func (m *GetRawAddressTransactionsRequest) GetNbFetch() uint32
func (*GetRawAddressTransactionsRequest) GetNbSkip ¶
func (m *GetRawAddressTransactionsRequest) GetNbSkip() uint32
func (*GetRawAddressTransactionsRequest) GetStartBlock ¶
func (m *GetRawAddressTransactionsRequest) GetStartBlock() isGetRawAddressTransactionsRequest_StartBlock
func (*GetRawAddressTransactionsRequest) ProtoMessage ¶
func (*GetRawAddressTransactionsRequest) ProtoMessage()
func (*GetRawAddressTransactionsRequest) Reset ¶
func (m *GetRawAddressTransactionsRequest) Reset()
func (*GetRawAddressTransactionsRequest) String ¶
func (m *GetRawAddressTransactionsRequest) String() string
func (*GetRawAddressTransactionsRequest) XXX_DiscardUnknown ¶
func (m *GetRawAddressTransactionsRequest) XXX_DiscardUnknown()
func (*GetRawAddressTransactionsRequest) XXX_Marshal ¶
func (m *GetRawAddressTransactionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetRawAddressTransactionsRequest) XXX_Merge ¶
func (m *GetRawAddressTransactionsRequest) XXX_Merge(src proto.Message)
func (*GetRawAddressTransactionsRequest) XXX_OneofFuncs ¶
func (*GetRawAddressTransactionsRequest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*GetRawAddressTransactionsRequest) XXX_Size ¶
func (m *GetRawAddressTransactionsRequest) XXX_Size() int
func (*GetRawAddressTransactionsRequest) XXX_Unmarshal ¶
func (m *GetRawAddressTransactionsRequest) XXX_Unmarshal(b []byte) error
type GetRawAddressTransactionsRequest_Hash ¶
type GetRawAddressTransactionsRequest_Hash struct {
Hash []byte `protobuf:"bytes,4,opt,name=hash,proto3,oneof"`
}
type GetRawAddressTransactionsRequest_Height ¶
type GetRawAddressTransactionsRequest_Height struct {
Height int32 `protobuf:"varint,5,opt,name=height,proto3,oneof"`
}
type GetRawAddressTransactionsResponse ¶
type GetRawAddressTransactionsResponse struct { ConfirmedTransactions [][]byte `protobuf:"bytes,1,rep,name=confirmed_transactions,json=confirmedTransactions,proto3" json:"confirmed_transactions,omitempty"` UnconfirmedTransactions [][]byte `` /* 130-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetRawAddressTransactionsResponse) Descriptor ¶
func (*GetRawAddressTransactionsResponse) Descriptor() ([]byte, []int)
func (*GetRawAddressTransactionsResponse) GetConfirmedTransactions ¶
func (m *GetRawAddressTransactionsResponse) GetConfirmedTransactions() [][]byte
func (*GetRawAddressTransactionsResponse) GetUnconfirmedTransactions ¶
func (m *GetRawAddressTransactionsResponse) GetUnconfirmedTransactions() [][]byte
func (*GetRawAddressTransactionsResponse) ProtoMessage ¶
func (*GetRawAddressTransactionsResponse) ProtoMessage()
func (*GetRawAddressTransactionsResponse) Reset ¶
func (m *GetRawAddressTransactionsResponse) Reset()
func (*GetRawAddressTransactionsResponse) String ¶
func (m *GetRawAddressTransactionsResponse) String() string
func (*GetRawAddressTransactionsResponse) XXX_DiscardUnknown ¶
func (m *GetRawAddressTransactionsResponse) XXX_DiscardUnknown()
func (*GetRawAddressTransactionsResponse) XXX_Marshal ¶
func (m *GetRawAddressTransactionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetRawAddressTransactionsResponse) XXX_Merge ¶
func (m *GetRawAddressTransactionsResponse) XXX_Merge(src proto.Message)
func (*GetRawAddressTransactionsResponse) XXX_Size ¶
func (m *GetRawAddressTransactionsResponse) XXX_Size() int
func (*GetRawAddressTransactionsResponse) XXX_Unmarshal ¶
func (m *GetRawAddressTransactionsResponse) XXX_Unmarshal(b []byte) error
type GetRawBlockRequest ¶
type GetRawBlockRequest struct { // Types that are valid to be assigned to HashOrHeight: // *GetRawBlockRequest_Hash // *GetRawBlockRequest_Height HashOrHeight isGetRawBlockRequest_HashOrHeight `protobuf_oneof:"hash_or_height"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetRawBlockRequest) Descriptor ¶
func (*GetRawBlockRequest) Descriptor() ([]byte, []int)
func (*GetRawBlockRequest) GetHash ¶
func (m *GetRawBlockRequest) GetHash() []byte
func (*GetRawBlockRequest) GetHashOrHeight ¶
func (m *GetRawBlockRequest) GetHashOrHeight() isGetRawBlockRequest_HashOrHeight
func (*GetRawBlockRequest) GetHeight ¶
func (m *GetRawBlockRequest) GetHeight() int32
func (*GetRawBlockRequest) ProtoMessage ¶
func (*GetRawBlockRequest) ProtoMessage()
func (*GetRawBlockRequest) Reset ¶
func (m *GetRawBlockRequest) Reset()
func (*GetRawBlockRequest) String ¶
func (m *GetRawBlockRequest) String() string
func (*GetRawBlockRequest) XXX_DiscardUnknown ¶
func (m *GetRawBlockRequest) XXX_DiscardUnknown()
func (*GetRawBlockRequest) XXX_Marshal ¶
func (m *GetRawBlockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetRawBlockRequest) XXX_Merge ¶
func (m *GetRawBlockRequest) XXX_Merge(src proto.Message)
func (*GetRawBlockRequest) XXX_OneofFuncs ¶
func (*GetRawBlockRequest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*GetRawBlockRequest) XXX_Size ¶
func (m *GetRawBlockRequest) XXX_Size() int
func (*GetRawBlockRequest) XXX_Unmarshal ¶
func (m *GetRawBlockRequest) XXX_Unmarshal(b []byte) error
type GetRawBlockRequest_Hash ¶
type GetRawBlockRequest_Hash struct {
Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3,oneof"`
}
type GetRawBlockRequest_Height ¶
type GetRawBlockRequest_Height struct {
Height int32 `protobuf:"varint,2,opt,name=height,proto3,oneof"`
}
type GetRawBlockResponse ¶
type GetRawBlockResponse struct { Block []byte `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetRawBlockResponse) Descriptor ¶
func (*GetRawBlockResponse) Descriptor() ([]byte, []int)
func (*GetRawBlockResponse) GetBlock ¶
func (m *GetRawBlockResponse) GetBlock() []byte
func (*GetRawBlockResponse) ProtoMessage ¶
func (*GetRawBlockResponse) ProtoMessage()
func (*GetRawBlockResponse) Reset ¶
func (m *GetRawBlockResponse) Reset()
func (*GetRawBlockResponse) String ¶
func (m *GetRawBlockResponse) String() string
func (*GetRawBlockResponse) XXX_DiscardUnknown ¶
func (m *GetRawBlockResponse) XXX_DiscardUnknown()
func (*GetRawBlockResponse) XXX_Marshal ¶
func (m *GetRawBlockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetRawBlockResponse) XXX_Merge ¶
func (m *GetRawBlockResponse) XXX_Merge(src proto.Message)
func (*GetRawBlockResponse) XXX_Size ¶
func (m *GetRawBlockResponse) XXX_Size() int
func (*GetRawBlockResponse) XXX_Unmarshal ¶
func (m *GetRawBlockResponse) XXX_Unmarshal(b []byte) error
type GetRawTransactionRequest ¶
type GetRawTransactionRequest struct { Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetRawTransactionRequest) Descriptor ¶
func (*GetRawTransactionRequest) Descriptor() ([]byte, []int)
func (*GetRawTransactionRequest) GetHash ¶
func (m *GetRawTransactionRequest) GetHash() []byte
func (*GetRawTransactionRequest) ProtoMessage ¶
func (*GetRawTransactionRequest) ProtoMessage()
func (*GetRawTransactionRequest) Reset ¶
func (m *GetRawTransactionRequest) Reset()
func (*GetRawTransactionRequest) String ¶
func (m *GetRawTransactionRequest) String() string
func (*GetRawTransactionRequest) XXX_DiscardUnknown ¶
func (m *GetRawTransactionRequest) XXX_DiscardUnknown()
func (*GetRawTransactionRequest) XXX_Marshal ¶
func (m *GetRawTransactionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetRawTransactionRequest) XXX_Merge ¶
func (m *GetRawTransactionRequest) XXX_Merge(src proto.Message)
func (*GetRawTransactionRequest) XXX_Size ¶
func (m *GetRawTransactionRequest) XXX_Size() int
func (*GetRawTransactionRequest) XXX_Unmarshal ¶
func (m *GetRawTransactionRequest) XXX_Unmarshal(b []byte) error
type GetRawTransactionResponse ¶
type GetRawTransactionResponse struct { Transaction []byte `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetRawTransactionResponse) Descriptor ¶
func (*GetRawTransactionResponse) Descriptor() ([]byte, []int)
func (*GetRawTransactionResponse) GetTransaction ¶
func (m *GetRawTransactionResponse) GetTransaction() []byte
func (*GetRawTransactionResponse) ProtoMessage ¶
func (*GetRawTransactionResponse) ProtoMessage()
func (*GetRawTransactionResponse) Reset ¶
func (m *GetRawTransactionResponse) Reset()
func (*GetRawTransactionResponse) String ¶
func (m *GetRawTransactionResponse) String() string
func (*GetRawTransactionResponse) XXX_DiscardUnknown ¶
func (m *GetRawTransactionResponse) XXX_DiscardUnknown()
func (*GetRawTransactionResponse) XXX_Marshal ¶
func (m *GetRawTransactionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetRawTransactionResponse) XXX_Merge ¶
func (m *GetRawTransactionResponse) XXX_Merge(src proto.Message)
func (*GetRawTransactionResponse) XXX_Size ¶
func (m *GetRawTransactionResponse) XXX_Size() int
func (*GetRawTransactionResponse) XXX_Unmarshal ¶
func (m *GetRawTransactionResponse) XXX_Unmarshal(b []byte) error
type GetTransactionRequest ¶
type GetTransactionRequest struct { Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetTransactionRequest) Descriptor ¶
func (*GetTransactionRequest) Descriptor() ([]byte, []int)
func (*GetTransactionRequest) GetHash ¶
func (m *GetTransactionRequest) GetHash() []byte
func (*GetTransactionRequest) ProtoMessage ¶
func (*GetTransactionRequest) ProtoMessage()
func (*GetTransactionRequest) Reset ¶
func (m *GetTransactionRequest) Reset()
func (*GetTransactionRequest) String ¶
func (m *GetTransactionRequest) String() string
func (*GetTransactionRequest) XXX_DiscardUnknown ¶
func (m *GetTransactionRequest) XXX_DiscardUnknown()
func (*GetTransactionRequest) XXX_Marshal ¶
func (m *GetTransactionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetTransactionRequest) XXX_Merge ¶
func (m *GetTransactionRequest) XXX_Merge(src proto.Message)
func (*GetTransactionRequest) XXX_Size ¶
func (m *GetTransactionRequest) XXX_Size() int
func (*GetTransactionRequest) XXX_Unmarshal ¶
func (m *GetTransactionRequest) XXX_Unmarshal(b []byte) error
type GetTransactionResponse ¶
type GetTransactionResponse struct { Transaction *Transaction `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetTransactionResponse) Descriptor ¶
func (*GetTransactionResponse) Descriptor() ([]byte, []int)
func (*GetTransactionResponse) GetTransaction ¶
func (m *GetTransactionResponse) GetTransaction() *Transaction
func (*GetTransactionResponse) ProtoMessage ¶
func (*GetTransactionResponse) ProtoMessage()
func (*GetTransactionResponse) Reset ¶
func (m *GetTransactionResponse) Reset()
func (*GetTransactionResponse) String ¶
func (m *GetTransactionResponse) String() string
func (*GetTransactionResponse) XXX_DiscardUnknown ¶
func (m *GetTransactionResponse) XXX_DiscardUnknown()
func (*GetTransactionResponse) XXX_Marshal ¶
func (m *GetTransactionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetTransactionResponse) XXX_Merge ¶
func (m *GetTransactionResponse) XXX_Merge(src proto.Message)
func (*GetTransactionResponse) XXX_Size ¶
func (m *GetTransactionResponse) XXX_Size() int
func (*GetTransactionResponse) XXX_Unmarshal ¶
func (m *GetTransactionResponse) XXX_Unmarshal(b []byte) error
type MempoolTransaction ¶
type MempoolTransaction struct { Transaction *Transaction `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"` // The time when the transaction was added too the pool. AddedTime int64 `protobuf:"varint,2,opt,name=added_time,json=addedTime,proto3" json:"added_time,omitempty"` // The block height when the transaction was added to the pool. AddedHeight int32 `protobuf:"varint,3,opt,name=added_height,json=addedHeight,proto3" json:"added_height,omitempty"` // The total fee in satoshi the transaction pays. Fee int64 `protobuf:"varint,4,opt,name=fee,proto3" json:"fee,omitempty"` // The fee in satoshi per kilobyte the transaction pays. FeePerKb int64 `protobuf:"varint,5,opt,name=fee_per_kb,json=feePerKb,proto3" json:"fee_per_kb,omitempty"` // The priority of the transaction when it was added to the pool. StartingPriority float64 `protobuf:"fixed64,6,opt,name=starting_priority,json=startingPriority,proto3" json:"starting_priority,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MempoolTransaction) Descriptor ¶
func (*MempoolTransaction) Descriptor() ([]byte, []int)
func (*MempoolTransaction) GetAddedHeight ¶
func (m *MempoolTransaction) GetAddedHeight() int32
func (*MempoolTransaction) GetAddedTime ¶
func (m *MempoolTransaction) GetAddedTime() int64
func (*MempoolTransaction) GetFee ¶
func (m *MempoolTransaction) GetFee() int64
func (*MempoolTransaction) GetFeePerKb ¶
func (m *MempoolTransaction) GetFeePerKb() int64
func (*MempoolTransaction) GetStartingPriority ¶
func (m *MempoolTransaction) GetStartingPriority() float64
func (*MempoolTransaction) GetTransaction ¶
func (m *MempoolTransaction) GetTransaction() *Transaction
func (*MempoolTransaction) ProtoMessage ¶
func (*MempoolTransaction) ProtoMessage()
func (*MempoolTransaction) Reset ¶
func (m *MempoolTransaction) Reset()
func (*MempoolTransaction) String ¶
func (m *MempoolTransaction) String() string
func (*MempoolTransaction) XXX_DiscardUnknown ¶
func (m *MempoolTransaction) XXX_DiscardUnknown()
func (*MempoolTransaction) XXX_Marshal ¶
func (m *MempoolTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MempoolTransaction) XXX_Merge ¶
func (m *MempoolTransaction) XXX_Merge(src proto.Message)
func (*MempoolTransaction) XXX_Size ¶
func (m *MempoolTransaction) XXX_Size() int
func (*MempoolTransaction) XXX_Unmarshal ¶
func (m *MempoolTransaction) XXX_Unmarshal(b []byte) error
type SubmitTransactionRequest ¶
type SubmitTransactionRequest struct { Transaction []byte `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SubmitTransactionRequest) Descriptor ¶
func (*SubmitTransactionRequest) Descriptor() ([]byte, []int)
func (*SubmitTransactionRequest) GetTransaction ¶
func (m *SubmitTransactionRequest) GetTransaction() []byte
func (*SubmitTransactionRequest) ProtoMessage ¶
func (*SubmitTransactionRequest) ProtoMessage()
func (*SubmitTransactionRequest) Reset ¶
func (m *SubmitTransactionRequest) Reset()
func (*SubmitTransactionRequest) String ¶
func (m *SubmitTransactionRequest) String() string
func (*SubmitTransactionRequest) XXX_DiscardUnknown ¶
func (m *SubmitTransactionRequest) XXX_DiscardUnknown()
func (*SubmitTransactionRequest) XXX_Marshal ¶
func (m *SubmitTransactionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SubmitTransactionRequest) XXX_Merge ¶
func (m *SubmitTransactionRequest) XXX_Merge(src proto.Message)
func (*SubmitTransactionRequest) XXX_Size ¶
func (m *SubmitTransactionRequest) XXX_Size() int
func (*SubmitTransactionRequest) XXX_Unmarshal ¶
func (m *SubmitTransactionRequest) XXX_Unmarshal(b []byte) error
type SubmitTransactionResponse ¶
type SubmitTransactionResponse struct { Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SubmitTransactionResponse) Descriptor ¶
func (*SubmitTransactionResponse) Descriptor() ([]byte, []int)
func (*SubmitTransactionResponse) GetHash ¶
func (m *SubmitTransactionResponse) GetHash() []byte
func (*SubmitTransactionResponse) ProtoMessage ¶
func (*SubmitTransactionResponse) ProtoMessage()
func (*SubmitTransactionResponse) Reset ¶
func (m *SubmitTransactionResponse) Reset()
func (*SubmitTransactionResponse) String ¶
func (m *SubmitTransactionResponse) String() string
func (*SubmitTransactionResponse) XXX_DiscardUnknown ¶
func (m *SubmitTransactionResponse) XXX_DiscardUnknown()
func (*SubmitTransactionResponse) XXX_Marshal ¶
func (m *SubmitTransactionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SubmitTransactionResponse) XXX_Merge ¶
func (m *SubmitTransactionResponse) XXX_Merge(src proto.Message)
func (*SubmitTransactionResponse) XXX_Size ¶
func (m *SubmitTransactionResponse) XXX_Size() int
func (*SubmitTransactionResponse) XXX_Unmarshal ¶
func (m *SubmitTransactionResponse) XXX_Unmarshal(b []byte) error
type SubscribeBlocksRequest ¶
type SubscribeBlocksRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SubscribeBlocksRequest) Descriptor ¶
func (*SubscribeBlocksRequest) Descriptor() ([]byte, []int)
func (*SubscribeBlocksRequest) ProtoMessage ¶
func (*SubscribeBlocksRequest) ProtoMessage()
func (*SubscribeBlocksRequest) Reset ¶
func (m *SubscribeBlocksRequest) Reset()
func (*SubscribeBlocksRequest) String ¶
func (m *SubscribeBlocksRequest) String() string
func (*SubscribeBlocksRequest) XXX_DiscardUnknown ¶
func (m *SubscribeBlocksRequest) XXX_DiscardUnknown()
func (*SubscribeBlocksRequest) XXX_Marshal ¶
func (m *SubscribeBlocksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SubscribeBlocksRequest) XXX_Merge ¶
func (m *SubscribeBlocksRequest) XXX_Merge(src proto.Message)
func (*SubscribeBlocksRequest) XXX_Size ¶
func (m *SubscribeBlocksRequest) XXX_Size() int
func (*SubscribeBlocksRequest) XXX_Unmarshal ¶
func (m *SubscribeBlocksRequest) XXX_Unmarshal(b []byte) error
type SubscribeTransactionsRequest ¶
type SubscribeTransactionsRequest struct { Subscribe *TransactionFilter `protobuf:"bytes,1,opt,name=subscribe,proto3" json:"subscribe,omitempty"` Unsubscribe *TransactionFilter `protobuf:"bytes,2,opt,name=unsubscribe,proto3" json:"unsubscribe,omitempty"` // When this is true, new transactions coming in from the mempool are // included apart from the ones confirmed in a block. IncludeMempool bool `protobuf:"varint,3,opt,name=include_mempool,json=includeMempool,proto3" json:"include_mempool,omitempty"` // When this is true, transactions are included when they are confirmed. // This notification is sent in addition to any requested mempool notifications. IncludeInBlock bool `protobuf:"varint,4,opt,name=include_in_block,json=includeInBlock,proto3" json:"include_in_block,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SubscribeTransactionsRequest) Descriptor ¶
func (*SubscribeTransactionsRequest) Descriptor() ([]byte, []int)
func (*SubscribeTransactionsRequest) GetIncludeInBlock ¶
func (m *SubscribeTransactionsRequest) GetIncludeInBlock() bool
func (*SubscribeTransactionsRequest) GetIncludeMempool ¶
func (m *SubscribeTransactionsRequest) GetIncludeMempool() bool
func (*SubscribeTransactionsRequest) GetSubscribe ¶
func (m *SubscribeTransactionsRequest) GetSubscribe() *TransactionFilter
func (*SubscribeTransactionsRequest) GetUnsubscribe ¶
func (m *SubscribeTransactionsRequest) GetUnsubscribe() *TransactionFilter
func (*SubscribeTransactionsRequest) ProtoMessage ¶
func (*SubscribeTransactionsRequest) ProtoMessage()
func (*SubscribeTransactionsRequest) Reset ¶
func (m *SubscribeTransactionsRequest) Reset()
func (*SubscribeTransactionsRequest) String ¶
func (m *SubscribeTransactionsRequest) String() string
func (*SubscribeTransactionsRequest) XXX_DiscardUnknown ¶
func (m *SubscribeTransactionsRequest) XXX_DiscardUnknown()
func (*SubscribeTransactionsRequest) XXX_Marshal ¶
func (m *SubscribeTransactionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SubscribeTransactionsRequest) XXX_Merge ¶
func (m *SubscribeTransactionsRequest) XXX_Merge(src proto.Message)
func (*SubscribeTransactionsRequest) XXX_Size ¶
func (m *SubscribeTransactionsRequest) XXX_Size() int
func (*SubscribeTransactionsRequest) XXX_Unmarshal ¶
func (m *SubscribeTransactionsRequest) XXX_Unmarshal(b []byte) error
type Transaction ¶
type Transaction struct { Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` Version int32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"` Inputs []*Transaction_Input `protobuf:"bytes,3,rep,name=inputs,proto3" json:"inputs,omitempty"` Outputs []*Transaction_Output `protobuf:"bytes,4,rep,name=outputs,proto3" json:"outputs,omitempty"` LockTime uint32 `protobuf:"varint,5,opt,name=lock_time,json=lockTime,proto3" json:"lock_time,omitempty"` // Metadata Size int32 `protobuf:"varint,8,opt,name=size,proto3" json:"size,omitempty"` Timestamp int64 `protobuf:"varint,9,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Confirmations int32 `protobuf:"varint,10,opt,name=confirmations,proto3" json:"confirmations,omitempty"` BlockHeight int32 `protobuf:"varint,11,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` BlockHash []byte `protobuf:"bytes,12,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Transaction) Descriptor ¶
func (*Transaction) Descriptor() ([]byte, []int)
func (*Transaction) GetBlockHash ¶
func (m *Transaction) GetBlockHash() []byte
func (*Transaction) GetBlockHeight ¶
func (m *Transaction) GetBlockHeight() int32
func (*Transaction) GetConfirmations ¶
func (m *Transaction) GetConfirmations() int32
func (*Transaction) GetHash ¶
func (m *Transaction) GetHash() []byte
func (*Transaction) GetInputs ¶
func (m *Transaction) GetInputs() []*Transaction_Input
func (*Transaction) GetLockTime ¶
func (m *Transaction) GetLockTime() uint32
func (*Transaction) GetOutputs ¶
func (m *Transaction) GetOutputs() []*Transaction_Output
func (*Transaction) GetSize ¶
func (m *Transaction) GetSize() int32
func (*Transaction) GetTimestamp ¶
func (m *Transaction) GetTimestamp() int64
func (*Transaction) GetVersion ¶
func (m *Transaction) GetVersion() int32
func (*Transaction) ProtoMessage ¶
func (*Transaction) ProtoMessage()
func (*Transaction) Reset ¶
func (m *Transaction) Reset()
func (*Transaction) String ¶
func (m *Transaction) String() string
func (*Transaction) XXX_DiscardUnknown ¶
func (m *Transaction) XXX_DiscardUnknown()
func (*Transaction) XXX_Marshal ¶
func (m *Transaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Transaction) XXX_Merge ¶
func (m *Transaction) XXX_Merge(src proto.Message)
func (*Transaction) XXX_Size ¶
func (m *Transaction) XXX_Size() int
func (*Transaction) XXX_Unmarshal ¶
func (m *Transaction) XXX_Unmarshal(b []byte) error
type TransactionFilter ¶
type TransactionFilter struct { Addresses []string `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"` Outpoints []*Transaction_Input_Outpoint `protobuf:"bytes,2,rep,name=outpoints,proto3" json:"outpoints,omitempty"` // Subscribed/Unsubscribe to everything. Other filters // will be ignored. AllTransactions bool `protobuf:"varint,3,opt,name=all_transactions,json=allTransactions,proto3" json:"all_transactions,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TransactionFilter) Descriptor ¶
func (*TransactionFilter) Descriptor() ([]byte, []int)
func (*TransactionFilter) GetAddresses ¶
func (m *TransactionFilter) GetAddresses() []string
func (*TransactionFilter) GetAllTransactions ¶
func (m *TransactionFilter) GetAllTransactions() bool
func (*TransactionFilter) GetOutpoints ¶
func (m *TransactionFilter) GetOutpoints() []*Transaction_Input_Outpoint
func (*TransactionFilter) ProtoMessage ¶
func (*TransactionFilter) ProtoMessage()
func (*TransactionFilter) Reset ¶
func (m *TransactionFilter) Reset()
func (*TransactionFilter) String ¶
func (m *TransactionFilter) String() string
func (*TransactionFilter) XXX_DiscardUnknown ¶
func (m *TransactionFilter) XXX_DiscardUnknown()
func (*TransactionFilter) XXX_Marshal ¶
func (m *TransactionFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TransactionFilter) XXX_Merge ¶
func (m *TransactionFilter) XXX_Merge(src proto.Message)
func (*TransactionFilter) XXX_Size ¶
func (m *TransactionFilter) XXX_Size() int
func (*TransactionFilter) XXX_Unmarshal ¶
func (m *TransactionFilter) XXX_Unmarshal(b []byte) error
type TransactionNotification ¶
type TransactionNotification struct { Type TransactionNotification_Type `protobuf:"varint,1,opt,name=type,proto3,enum=pb.TransactionNotification_Type" json:"type,omitempty"` // Types that are valid to be assigned to Transaction: // *TransactionNotification_ConfirmedTransaction // *TransactionNotification_UnconfirmedTransaction Transaction isTransactionNotification_Transaction `protobuf_oneof:"transaction"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TransactionNotification) Descriptor ¶
func (*TransactionNotification) Descriptor() ([]byte, []int)
func (*TransactionNotification) GetConfirmedTransaction ¶
func (m *TransactionNotification) GetConfirmedTransaction() *Transaction
func (*TransactionNotification) GetTransaction ¶
func (m *TransactionNotification) GetTransaction() isTransactionNotification_Transaction
func (*TransactionNotification) GetType ¶
func (m *TransactionNotification) GetType() TransactionNotification_Type
func (*TransactionNotification) GetUnconfirmedTransaction ¶
func (m *TransactionNotification) GetUnconfirmedTransaction() *MempoolTransaction
func (*TransactionNotification) ProtoMessage ¶
func (*TransactionNotification) ProtoMessage()
func (*TransactionNotification) Reset ¶
func (m *TransactionNotification) Reset()
func (*TransactionNotification) String ¶
func (m *TransactionNotification) String() string
func (*TransactionNotification) XXX_DiscardUnknown ¶
func (m *TransactionNotification) XXX_DiscardUnknown()
func (*TransactionNotification) XXX_Marshal ¶
func (m *TransactionNotification) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TransactionNotification) XXX_Merge ¶
func (m *TransactionNotification) XXX_Merge(src proto.Message)
func (*TransactionNotification) XXX_OneofFuncs ¶
func (*TransactionNotification) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*TransactionNotification) XXX_Size ¶
func (m *TransactionNotification) XXX_Size() int
func (*TransactionNotification) XXX_Unmarshal ¶
func (m *TransactionNotification) XXX_Unmarshal(b []byte) error
type TransactionNotification_ConfirmedTransaction ¶
type TransactionNotification_ConfirmedTransaction struct {
ConfirmedTransaction *Transaction `protobuf:"bytes,2,opt,name=confirmed_transaction,json=confirmedTransaction,proto3,oneof"`
}
type TransactionNotification_Type ¶
type TransactionNotification_Type int32
const ( TransactionNotification_UNCONFIRMED TransactionNotification_Type = 0 TransactionNotification_CONFIRMED TransactionNotification_Type = 1 )
func (TransactionNotification_Type) EnumDescriptor ¶
func (TransactionNotification_Type) EnumDescriptor() ([]byte, []int)
func (TransactionNotification_Type) String ¶
func (x TransactionNotification_Type) String() string
type TransactionNotification_UnconfirmedTransaction ¶
type TransactionNotification_UnconfirmedTransaction struct {
UnconfirmedTransaction *MempoolTransaction `protobuf:"bytes,3,opt,name=unconfirmed_transaction,json=unconfirmedTransaction,proto3,oneof"`
}
type Transaction_Input ¶
type Transaction_Input struct { Index uint32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` Coinbase bool `protobuf:"varint,2,opt,name=coinbase,proto3" json:"coinbase,omitempty"` Outpoint *Transaction_Input_Outpoint `protobuf:"bytes,3,opt,name=outpoint,proto3" json:"outpoint,omitempty"` SignatureScript []byte `protobuf:"bytes,4,opt,name=signature_script,json=signatureScript,proto3" json:"signature_script,omitempty"` Sequence uint32 `protobuf:"varint,5,opt,name=sequence,proto3" json:"sequence,omitempty"` Value int64 `protobuf:"varint,6,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Transaction_Input) Descriptor ¶
func (*Transaction_Input) Descriptor() ([]byte, []int)
func (*Transaction_Input) GetCoinbase ¶
func (m *Transaction_Input) GetCoinbase() bool
func (*Transaction_Input) GetIndex ¶
func (m *Transaction_Input) GetIndex() uint32
func (*Transaction_Input) GetOutpoint ¶
func (m *Transaction_Input) GetOutpoint() *Transaction_Input_Outpoint
func (*Transaction_Input) GetSequence ¶
func (m *Transaction_Input) GetSequence() uint32
func (*Transaction_Input) GetSignatureScript ¶
func (m *Transaction_Input) GetSignatureScript() []byte
func (*Transaction_Input) GetValue ¶
func (m *Transaction_Input) GetValue() int64
func (*Transaction_Input) ProtoMessage ¶
func (*Transaction_Input) ProtoMessage()
func (*Transaction_Input) Reset ¶
func (m *Transaction_Input) Reset()
func (*Transaction_Input) String ¶
func (m *Transaction_Input) String() string
func (*Transaction_Input) XXX_DiscardUnknown ¶
func (m *Transaction_Input) XXX_DiscardUnknown()
func (*Transaction_Input) XXX_Marshal ¶
func (m *Transaction_Input) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Transaction_Input) XXX_Merge ¶
func (m *Transaction_Input) XXX_Merge(src proto.Message)
func (*Transaction_Input) XXX_Size ¶
func (m *Transaction_Input) XXX_Size() int
func (*Transaction_Input) XXX_Unmarshal ¶
func (m *Transaction_Input) XXX_Unmarshal(b []byte) error
type Transaction_Input_Outpoint ¶
type Transaction_Input_Outpoint struct { Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,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 (*Transaction_Input_Outpoint) Descriptor ¶
func (*Transaction_Input_Outpoint) Descriptor() ([]byte, []int)
func (*Transaction_Input_Outpoint) GetHash ¶
func (m *Transaction_Input_Outpoint) GetHash() []byte
func (*Transaction_Input_Outpoint) GetIndex ¶
func (m *Transaction_Input_Outpoint) GetIndex() uint32
func (*Transaction_Input_Outpoint) ProtoMessage ¶
func (*Transaction_Input_Outpoint) ProtoMessage()
func (*Transaction_Input_Outpoint) Reset ¶
func (m *Transaction_Input_Outpoint) Reset()
func (*Transaction_Input_Outpoint) String ¶
func (m *Transaction_Input_Outpoint) String() string
func (*Transaction_Input_Outpoint) XXX_DiscardUnknown ¶
func (m *Transaction_Input_Outpoint) XXX_DiscardUnknown()
func (*Transaction_Input_Outpoint) XXX_Marshal ¶
func (m *Transaction_Input_Outpoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Transaction_Input_Outpoint) XXX_Merge ¶
func (m *Transaction_Input_Outpoint) XXX_Merge(src proto.Message)
func (*Transaction_Input_Outpoint) XXX_Size ¶
func (m *Transaction_Input_Outpoint) XXX_Size() int
func (*Transaction_Input_Outpoint) XXX_Unmarshal ¶
func (m *Transaction_Input_Outpoint) XXX_Unmarshal(b []byte) error
type Transaction_Output ¶
type Transaction_Output struct { Index uint32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` Value int64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"` PubkeyScript []byte `protobuf:"bytes,3,opt,name=pubkey_script,json=pubkeyScript,proto3" json:"pubkey_script,omitempty"` Address string `protobuf:"bytes,4,opt,name=address,proto3" json:"address,omitempty"` ScriptClass string `protobuf:"bytes,5,opt,name=script_class,json=scriptClass,proto3" json:"script_class,omitempty"` DisassembledScript string `protobuf:"bytes,6,opt,name=disassembled_script,json=disassembledScript,proto3" json:"disassembled_script,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Transaction_Output) Descriptor ¶
func (*Transaction_Output) Descriptor() ([]byte, []int)
func (*Transaction_Output) GetAddress ¶
func (m *Transaction_Output) GetAddress() string
func (*Transaction_Output) GetDisassembledScript ¶
func (m *Transaction_Output) GetDisassembledScript() string
func (*Transaction_Output) GetIndex ¶
func (m *Transaction_Output) GetIndex() uint32
func (*Transaction_Output) GetPubkeyScript ¶
func (m *Transaction_Output) GetPubkeyScript() []byte
func (*Transaction_Output) GetScriptClass ¶
func (m *Transaction_Output) GetScriptClass() string
func (*Transaction_Output) GetValue ¶
func (m *Transaction_Output) GetValue() int64
func (*Transaction_Output) ProtoMessage ¶
func (*Transaction_Output) ProtoMessage()
func (*Transaction_Output) Reset ¶
func (m *Transaction_Output) Reset()
func (*Transaction_Output) String ¶
func (m *Transaction_Output) String() string
func (*Transaction_Output) XXX_DiscardUnknown ¶
func (m *Transaction_Output) XXX_DiscardUnknown()
func (*Transaction_Output) XXX_Marshal ¶
func (m *Transaction_Output) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Transaction_Output) XXX_Merge ¶
func (m *Transaction_Output) XXX_Merge(src proto.Message)
func (*Transaction_Output) XXX_Size ¶
func (m *Transaction_Output) XXX_Size() int
func (*Transaction_Output) XXX_Unmarshal ¶
func (m *Transaction_Output) XXX_Unmarshal(b []byte) error
type UnspentOutput ¶
type UnspentOutput struct { Outpoint *Transaction_Input_Outpoint `protobuf:"bytes,1,opt,name=outpoint,proto3" json:"outpoint,omitempty"` PubkeyScript []byte `protobuf:"bytes,2,opt,name=pubkey_script,json=pubkeyScript,proto3" json:"pubkey_script,omitempty"` Value int64 `protobuf:"varint,3,opt,name=value,proto3" json:"value,omitempty"` IsCoinbase bool `protobuf:"varint,4,opt,name=is_coinbase,json=isCoinbase,proto3" json:"is_coinbase,omitempty"` BlockHeight int32 `protobuf:"varint,5,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UnspentOutput) Descriptor ¶
func (*UnspentOutput) Descriptor() ([]byte, []int)
func (*UnspentOutput) GetBlockHeight ¶
func (m *UnspentOutput) GetBlockHeight() int32
func (*UnspentOutput) GetIsCoinbase ¶
func (m *UnspentOutput) GetIsCoinbase() bool
func (*UnspentOutput) GetOutpoint ¶
func (m *UnspentOutput) GetOutpoint() *Transaction_Input_Outpoint
func (*UnspentOutput) GetPubkeyScript ¶
func (m *UnspentOutput) GetPubkeyScript() []byte
func (*UnspentOutput) GetValue ¶
func (m *UnspentOutput) GetValue() int64
func (*UnspentOutput) ProtoMessage ¶
func (*UnspentOutput) ProtoMessage()
func (*UnspentOutput) Reset ¶
func (m *UnspentOutput) Reset()
func (*UnspentOutput) String ¶
func (m *UnspentOutput) String() string
func (*UnspentOutput) XXX_DiscardUnknown ¶
func (m *UnspentOutput) XXX_DiscardUnknown()
func (*UnspentOutput) XXX_Marshal ¶
func (m *UnspentOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UnspentOutput) XXX_Merge ¶
func (m *UnspentOutput) XXX_Merge(src proto.Message)
func (*UnspentOutput) XXX_Size ¶
func (m *UnspentOutput) XXX_Size() int
func (*UnspentOutput) XXX_Unmarshal ¶
func (m *UnspentOutput) XXX_Unmarshal(b []byte) error