pb

package
v0.0.0-...-e16fa07 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 18, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	GetBlockchainInfoResponse_BitcoinNet_name = map[int32]string{
		0: "MAINNET",
		1: "REGTEST",
		2: "TESTNET3",
		3: "SIMNET",
	}
	GetBlockchainInfoResponse_BitcoinNet_value = map[string]int32{
		"MAINNET":  0,
		"REGTEST":  1,
		"TESTNET3": 2,
		"SIMNET":   3,
	}
)

Enum value maps for GetBlockchainInfoResponse_BitcoinNet.

View Source
var (
	BlockNotification_Type_name = map[int32]string{
		0: "CONNECTED",
		1: "DISCONNECTED",
	}
	BlockNotification_Type_value = map[string]int32{
		"CONNECTED":    0,
		"DISCONNECTED": 1,
	}
)

Enum value maps for BlockNotification_Type.

View Source
var (
	TransactionNotification_Type_name = map[int32]string{
		0: "UNCONFIRMED",
		1: "CONFIRMED",
	}
	TransactionNotification_Type_value = map[string]int32{
		"UNCONFIRMED": 0,
		"CONFIRMED":   1,
	}
)

Enum value maps for TransactionNotification_Type.

View Source
var File_bchrpc_proto protoreflect.FileDescriptor

Functions

func RegisterBchrpcServer

func RegisterBchrpcServer(s *grpc.Server, srv BchrpcServer)

Types

type BchrpcClient

type BchrpcClient interface {
	// GetMempoolInfo returns the state of the current mempool.
	GetMempoolInfo(ctx context.Context, in *GetMempoolInfoRequest, opts ...grpc.CallOption) (*GetMempoolInfoResponse, error)
	// GetMempool returns information about all transactions currently in the memory pool.
	// Offers an option to return full transactions or just transactions hashes.
	GetMempool(ctx context.Context, in *GetMempoolRequest, opts ...grpc.CallOption) (*GetMempoolResponse, error)
	// GetBlockchainInfo returns data about the blockchain including the most recent
	// block hash and height.
	GetBlockchainInfo(ctx context.Context, in *GetBlockchainInfoRequest, opts ...grpc.CallOption) (*GetBlockchainInfoResponse, error)
	// GetBlockInfo returns metadata and info for a specified block.
	GetBlockInfo(ctx context.Context, in *GetBlockInfoRequest, opts ...grpc.CallOption) (*GetBlockInfoResponse, error)
	// GetBlock returns detailed data for a block.
	GetBlock(ctx context.Context, in *GetBlockRequest, opts ...grpc.CallOption) (*GetBlockResponse, error)
	// GetRawBlock returns a block in a serialized format.
	GetRawBlock(ctx context.Context, in *GetRawBlockRequest, opts ...grpc.CallOption) (*GetRawBlockResponse, error)
	// GetBlockFilter returns the compact filter (cf) of a block as a Golomb-Rice encoded set.
	//
	// **Requires CfIndex**
	GetBlockFilter(ctx context.Context, in *GetBlockFilterRequest, opts ...grpc.CallOption) (*GetBlockFilterResponse, error)
	// GetHeaders takes a block locator object and returns 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.
	// see: bchd/bchrpc/documentation/wallet_operation.md
	GetHeaders(ctx context.Context, in *GetHeadersRequest, opts ...grpc.CallOption) (*GetHeadersResponse, error)
	// GetTransaction returns a transaction given a transaction hash.
	//
	// **Requires TxIndex**
	GetTransaction(ctx context.Context, in *GetTransactionRequest, opts ...grpc.CallOption) (*GetTransactionResponse, error)
	// GetRawTransaction returns a serialized transaction given a transaction hash.
	//
	// **Requires TxIndex**
	GetRawTransaction(ctx context.Context, in *GetRawTransactionRequest, opts ...grpc.CallOption) (*GetRawTransactionResponse, error)
	// GetAddressTransactions returns the transactions for the given address. Offers offset,
	// limit, and from block options.
	//
	// **Requires AddressIndex**
	GetAddressTransactions(ctx context.Context, in *GetAddressTransactionsRequest, opts ...grpc.CallOption) (*GetAddressTransactionsResponse, error)
	// GetRawAddressTransactions the serialized raw transactions for
	// the given address. Offers offset, limit, and from block options.
	//
	// **Requires AddressIndex**
	GetRawAddressTransactions(ctx context.Context, in *GetRawAddressTransactionsRequest, opts ...grpc.CallOption) (*GetRawAddressTransactionsResponse, error)
	// GetAddressUnspentOutputs returns all the unspent transaction outputs
	// for the given address.
	//
	// **Requires AddressIndex**
	GetAddressUnspentOutputs(ctx context.Context, in *GetAddressUnspentOutputsRequest, opts ...grpc.CallOption) (*GetAddressUnspentOutputsResponse, error)
	// GetUnspentOutput takes an unspent output in the utxo set and returns
	// the utxo metadata or not found.
	GetUnspentOutput(ctx context.Context, in *GetUnspentOutputRequest, opts ...grpc.CallOption) (*GetUnspentOutputResponse, error)
	// GetMerkleProof returns a Merkle (SPV) proof for a specific transaction
	// in the provided block.
	//
	// **Requires TxIndex***
	GetMerkleProof(ctx context.Context, in *GetMerkleProofRequest, opts ...grpc.CallOption) (*GetMerkleProofResponse, error)
	// SubmitTransaction broadcasts a transaction to all connected peers.
	SubmitTransaction(ctx context.Context, in *SubmitTransactionRequest, opts ...grpc.CallOption) (*SubmitTransactionResponse, error)
	// SubscribeTransactions creates subscription to all relevant transactions based on
	// the subscription filter.
	//
	// This RPC does not use bidirectional streams and therefore can be used
	// with grpc-web. You will need to close and reopen the stream whenever
	// you want to update the subscription filter. If you are not using grpc-web
	// then SubscribeTransactionStream is more appropriate.
	//
	// **Requires TxIndex to receive input metadata**
	SubscribeTransactions(ctx context.Context, in *SubscribeTransactionsRequest, opts ...grpc.CallOption) (Bchrpc_SubscribeTransactionsClient, error)
	// SubscribeTransactionStream subscribes 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.
	//
	// NOTE: Because this RPC is using bi-directional streaming it cannot be used with
	// grpc-web.
	//
	// **Requires TxIndex to receive input metadata**
	SubscribeTransactionStream(ctx context.Context, opts ...grpc.CallOption) (Bchrpc_SubscribeTransactionStreamClient, error)
	// SubscribeBlocks creates a subscription for 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.ClientConnInterface) BchrpcClient

type BchrpcServer

type BchrpcServer interface {
	// GetMempoolInfo returns the state of the current mempool.
	GetMempoolInfo(context.Context, *GetMempoolInfoRequest) (*GetMempoolInfoResponse, error)
	// GetMempool returns information about all transactions currently in the memory pool.
	// Offers an option to return full transactions or just transactions hashes.
	GetMempool(context.Context, *GetMempoolRequest) (*GetMempoolResponse, error)
	// GetBlockchainInfo returns data about the blockchain including the most recent
	// block hash and height.
	GetBlockchainInfo(context.Context, *GetBlockchainInfoRequest) (*GetBlockchainInfoResponse, error)
	// GetBlockInfo returns metadata and info for a specified block.
	GetBlockInfo(context.Context, *GetBlockInfoRequest) (*GetBlockInfoResponse, error)
	// GetBlock returns detailed data for a block.
	GetBlock(context.Context, *GetBlockRequest) (*GetBlockResponse, error)
	// GetRawBlock returns a block in a serialized format.
	GetRawBlock(context.Context, *GetRawBlockRequest) (*GetRawBlockResponse, error)
	// GetBlockFilter returns the compact filter (cf) of a block as a Golomb-Rice encoded set.
	//
	// **Requires CfIndex**
	GetBlockFilter(context.Context, *GetBlockFilterRequest) (*GetBlockFilterResponse, error)
	// GetHeaders takes a block locator object and returns 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.
	// see: bchd/bchrpc/documentation/wallet_operation.md
	GetHeaders(context.Context, *GetHeadersRequest) (*GetHeadersResponse, error)
	// GetTransaction returns a transaction given a transaction hash.
	//
	// **Requires TxIndex**
	GetTransaction(context.Context, *GetTransactionRequest) (*GetTransactionResponse, error)
	// GetRawTransaction returns a serialized transaction given a transaction hash.
	//
	// **Requires TxIndex**
	GetRawTransaction(context.Context, *GetRawTransactionRequest) (*GetRawTransactionResponse, error)
	// GetAddressTransactions returns the transactions for the given address. Offers offset,
	// limit, and from block options.
	//
	// **Requires AddressIndex**
	GetAddressTransactions(context.Context, *GetAddressTransactionsRequest) (*GetAddressTransactionsResponse, error)
	// GetRawAddressTransactions the serialized raw transactions for
	// the given address. Offers offset, limit, and from block options.
	//
	// **Requires AddressIndex**
	GetRawAddressTransactions(context.Context, *GetRawAddressTransactionsRequest) (*GetRawAddressTransactionsResponse, error)
	// GetAddressUnspentOutputs returns all the unspent transaction outputs
	// for the given address.
	//
	// **Requires AddressIndex**
	GetAddressUnspentOutputs(context.Context, *GetAddressUnspentOutputsRequest) (*GetAddressUnspentOutputsResponse, error)
	// GetUnspentOutput takes an unspent output in the utxo set and returns
	// the utxo metadata or not found.
	GetUnspentOutput(context.Context, *GetUnspentOutputRequest) (*GetUnspentOutputResponse, error)
	// GetMerkleProof returns a Merkle (SPV) proof for a specific transaction
	// in the provided block.
	//
	// **Requires TxIndex***
	GetMerkleProof(context.Context, *GetMerkleProofRequest) (*GetMerkleProofResponse, error)
	// SubmitTransaction broadcasts a transaction to all connected peers.
	SubmitTransaction(context.Context, *SubmitTransactionRequest) (*SubmitTransactionResponse, error)
	// SubscribeTransactions creates subscription to all relevant transactions based on
	// the subscription filter.
	//
	// This RPC does not use bidirectional streams and therefore can be used
	// with grpc-web. You will need to close and reopen the stream whenever
	// you want to update the subscription filter. If you are not using grpc-web
	// then SubscribeTransactionStream is more appropriate.
	//
	// **Requires TxIndex to receive input metadata**
	SubscribeTransactions(*SubscribeTransactionsRequest, Bchrpc_SubscribeTransactionsServer) error
	// SubscribeTransactionStream subscribes 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.
	//
	// NOTE: Because this RPC is using bi-directional streaming it cannot be used with
	// grpc-web.
	//
	// **Requires TxIndex to receive input metadata**
	SubscribeTransactionStream(Bchrpc_SubscribeTransactionStreamServer) error
	// SubscribeBlocks creates a subscription for 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 {

	// Block header data, as well as metadata stored by the node.
	Info *BlockInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
	// List of transactions or transaction hashes.
	TransactionData []*Block_TransactionData `protobuf:"bytes,2,rep,name=transaction_data,json=transactionData,proto3" json:"transaction_data,omitempty"`
	// contains filtered or unexported fields
}

func (*Block) Descriptor deprecated

func (*Block) Descriptor() ([]byte, []int)

Deprecated: Use Block.ProtoReflect.Descriptor instead.

func (*Block) GetInfo

func (x *Block) GetInfo() *BlockInfo

func (*Block) GetTransactionData

func (x *Block) GetTransactionData() []*Block_TransactionData

func (*Block) ProtoMessage

func (*Block) ProtoMessage()

func (*Block) ProtoReflect

func (x *Block) ProtoReflect() protoreflect.Message

func (*Block) Reset

func (x *Block) Reset()

func (*Block) String

func (x *Block) String() string

type BlockInfo

type BlockInfo struct {

	// The double sha256 hash of the six header fields in the first 80 bytes
	// of the block, when encoded according the bitcoin protocol, little-endian.
	// sha256(sha256(encoded_header))
	Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	// The block number, an incremental index for each block mined.
	Height int32 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
	// A version number to track software/protocol upgrades.
	Version int32 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
	// Hash of the previous block, little-endian.
	PreviousBlock []byte `protobuf:"bytes,4,opt,name=previous_block,json=previousBlock,proto3" json:"previous_block,omitempty"`
	// The root of the Merkle Tree built from all transactions in the block, little-endian.
	MerkleRoot []byte `protobuf:"bytes,5,opt,name=merkle_root,json=merkleRoot,proto3" json:"merkle_root,omitempty"`
	// When mining of the block started, expressed in seconds since 1970-01-01.
	Timestamp int64 `protobuf:"varint,6,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// Difficulty in Compressed Target Format.
	Bits uint32 `protobuf:"varint,7,opt,name=bits,proto3" json:"bits,omitempty"`
	// A random value that was generated during block mining which happened to
	// result in a computed block hash below the difficulty target at the time.
	Nonce uint32 `protobuf:"varint,8,opt,name=nonce,proto3" json:"nonce,omitempty"`
	// Number of blocks in a chain, including the block itself upon creation.
	Confirmations int32 `protobuf:"varint,9,opt,name=confirmations,proto3" json:"confirmations,omitempty"`
	// Difficulty target at time of creation.
	Difficulty float64 `protobuf:"fixed64,10,opt,name=difficulty,proto3" json:"difficulty,omitempty"`
	// Hash of the next block in this chain, little-endian.
	NextBlockHash []byte `protobuf:"bytes,11,opt,name=next_block_hash,json=nextBlockHash,proto3" json:"next_block_hash,omitempty"`
	// Size of the block in bytes.
	Size int32 `protobuf:"varint,12,opt,name=size,proto3" json:"size,omitempty"`
	// The median block time of the latest 11 block timestamps.
	MedianTime int64 `protobuf:"varint,13,opt,name=median_time,json=medianTime,proto3" json:"median_time,omitempty"`
	// contains filtered or unexported fields
}

Metadata for identifying and validating a block

func (*BlockInfo) Descriptor deprecated

func (*BlockInfo) Descriptor() ([]byte, []int)

Deprecated: Use BlockInfo.ProtoReflect.Descriptor instead.

func (*BlockInfo) GetBits

func (x *BlockInfo) GetBits() uint32

func (*BlockInfo) GetConfirmations

func (x *BlockInfo) GetConfirmations() int32

func (*BlockInfo) GetDifficulty

func (x *BlockInfo) GetDifficulty() float64

func (*BlockInfo) GetHash

func (x *BlockInfo) GetHash() []byte

func (*BlockInfo) GetHeight

func (x *BlockInfo) GetHeight() int32

func (*BlockInfo) GetMedianTime

func (x *BlockInfo) GetMedianTime() int64

func (*BlockInfo) GetMerkleRoot

func (x *BlockInfo) GetMerkleRoot() []byte

func (*BlockInfo) GetNextBlockHash

func (x *BlockInfo) GetNextBlockHash() []byte

func (*BlockInfo) GetNonce

func (x *BlockInfo) GetNonce() uint32

func (*BlockInfo) GetPreviousBlock

func (x *BlockInfo) GetPreviousBlock() []byte

func (*BlockInfo) GetSize

func (x *BlockInfo) GetSize() int32

func (*BlockInfo) GetTimestamp

func (x *BlockInfo) GetTimestamp() int64

func (*BlockInfo) GetVersion

func (x *BlockInfo) GetVersion() int32

func (*BlockInfo) ProtoMessage

func (*BlockInfo) ProtoMessage()

func (*BlockInfo) ProtoReflect

func (x *BlockInfo) ProtoReflect() protoreflect.Message

func (*BlockInfo) Reset

func (x *BlockInfo) Reset()

func (*BlockInfo) String

func (x *BlockInfo) String() string

type BlockNotification

type BlockNotification struct {

	// Whether the block is connected to the chain.
	Type BlockNotification_Type `protobuf:"varint,1,opt,name=type,proto3,enum=pb.BlockNotification_Type" json:"type,omitempty"`
	// Types that are assignable to Block:
	//	*BlockNotification_BlockInfo
	//	*BlockNotification_MarshaledBlock
	//	*BlockNotification_SerializedBlock
	Block isBlockNotification_Block `protobuf_oneof:"block"`
	// contains filtered or unexported fields
}

func (*BlockNotification) Descriptor deprecated

func (*BlockNotification) Descriptor() ([]byte, []int)

Deprecated: Use BlockNotification.ProtoReflect.Descriptor instead.

func (*BlockNotification) GetBlock

func (m *BlockNotification) GetBlock() isBlockNotification_Block

func (*BlockNotification) GetBlockInfo

func (x *BlockNotification) GetBlockInfo() *BlockInfo

func (*BlockNotification) GetMarshaledBlock

func (x *BlockNotification) GetMarshaledBlock() *Block

func (*BlockNotification) GetSerializedBlock

func (x *BlockNotification) GetSerializedBlock() []byte

func (*BlockNotification) GetType

func (*BlockNotification) ProtoMessage

func (*BlockNotification) ProtoMessage()

func (*BlockNotification) ProtoReflect

func (x *BlockNotification) ProtoReflect() protoreflect.Message

func (*BlockNotification) Reset

func (x *BlockNotification) Reset()

func (*BlockNotification) String

func (x *BlockNotification) String() string

type BlockNotification_BlockInfo

type BlockNotification_BlockInfo struct {
	// Marshaled block header data, as well as metadata stored by the node.
	BlockInfo *BlockInfo `protobuf:"bytes,2,opt,name=block_info,json=blockInfo,proto3,oneof"`
}

type BlockNotification_MarshaledBlock

type BlockNotification_MarshaledBlock struct {
	// A Block.
	MarshaledBlock *Block `protobuf:"bytes,3,opt,name=marshaled_block,json=marshaledBlock,proto3,oneof"`
}

type BlockNotification_SerializedBlock

type BlockNotification_SerializedBlock struct {
	// Binary block, serialized using bitcoin protocol encoding.
	SerializedBlock []byte `protobuf:"bytes,4,opt,name=serialized_block,json=serializedBlock,proto3,oneof"`
}

type BlockNotification_Type

type BlockNotification_Type int32

State of the block in relation to the chain.

const (
	BlockNotification_CONNECTED    BlockNotification_Type = 0
	BlockNotification_DISCONNECTED BlockNotification_Type = 1
)

func (BlockNotification_Type) Descriptor

func (BlockNotification_Type) Enum

func (BlockNotification_Type) EnumDescriptor deprecated

func (BlockNotification_Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use BlockNotification_Type.Descriptor instead.

func (BlockNotification_Type) Number

func (BlockNotification_Type) String

func (x BlockNotification_Type) String() string

func (BlockNotification_Type) Type

type Block_TransactionData

type Block_TransactionData struct {

	// Types that are assignable to TxidsOrTxs:
	//	*Block_TransactionData_TransactionHash
	//	*Block_TransactionData_Transaction
	TxidsOrTxs isBlock_TransactionData_TxidsOrTxs `protobuf_oneof:"txids_or_txs"`
	// contains filtered or unexported fields
}

func (*Block_TransactionData) Descriptor deprecated

func (*Block_TransactionData) Descriptor() ([]byte, []int)

Deprecated: Use Block_TransactionData.ProtoReflect.Descriptor instead.

func (*Block_TransactionData) GetTransaction

func (x *Block_TransactionData) GetTransaction() *Transaction

func (*Block_TransactionData) GetTransactionHash

func (x *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) ProtoReflect

func (x *Block_TransactionData) ProtoReflect() protoreflect.Message

func (*Block_TransactionData) Reset

func (x *Block_TransactionData) Reset()

func (*Block_TransactionData) String

func (x *Block_TransactionData) String() string

type Block_TransactionData_Transaction

type Block_TransactionData_Transaction struct {
	// A marshaled transaction.
	Transaction *Transaction `protobuf:"bytes,2,opt,name=transaction,proto3,oneof"`
}

type Block_TransactionData_TransactionHash

type Block_TransactionData_TransactionHash struct {
	// Just the transaction hash, little-endian.
	TransactionHash []byte `protobuf:"bytes,1,opt,name=transaction_hash,json=transactionHash,proto3,oneof"`
}

type GetAddressTransactionsRequest

type GetAddressTransactionsRequest struct {

	// The address to query transactions, in lowercase cashaddr format.
	// The network prefix is optional (i.e. "cashaddress:").
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// The number of confirmed transactions to skip, starting with the oldest first.
	// Does not affect results of unconfirmed transactions.
	NbSkip uint32 `protobuf:"varint,2,opt,name=nb_skip,json=nbSkip,proto3" json:"nb_skip,omitempty"`
	// Specify the number of transactions to fetch.
	NbFetch uint32 `protobuf:"varint,3,opt,name=nb_fetch,json=nbFetch,proto3" json:"nb_fetch,omitempty"`
	// Types that are assignable to StartBlock:
	//	*GetAddressTransactionsRequest_Hash
	//	*GetAddressTransactionsRequest_Height
	StartBlock isGetAddressTransactionsRequest_StartBlock `protobuf_oneof:"start_block"`
	// contains filtered or unexported fields
}

Get marshaled transactions related to a specific address.

RECOMMENDED: Parameters have been provided to query without creating

performance issues on the node or client.
  • The number of transactions to skip and fetch allow for iterating over a large set of transactions, if necessary.
  • A starting block parameter (either `hash` or `height`) may then be used to filter results to those occurring after a certain time.

This approach will reduce network traffic and response processing

for the client, as well as reduce workload on the node.

func (*GetAddressTransactionsRequest) Descriptor deprecated

func (*GetAddressTransactionsRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetAddressTransactionsRequest.ProtoReflect.Descriptor instead.

func (*GetAddressTransactionsRequest) GetAddress

func (x *GetAddressTransactionsRequest) GetAddress() string

func (*GetAddressTransactionsRequest) GetHash

func (x *GetAddressTransactionsRequest) GetHash() []byte

func (*GetAddressTransactionsRequest) GetHeight

func (x *GetAddressTransactionsRequest) GetHeight() int32

func (*GetAddressTransactionsRequest) GetNbFetch

func (x *GetAddressTransactionsRequest) GetNbFetch() uint32

func (*GetAddressTransactionsRequest) GetNbSkip

func (x *GetAddressTransactionsRequest) GetNbSkip() uint32

func (*GetAddressTransactionsRequest) GetStartBlock

func (m *GetAddressTransactionsRequest) GetStartBlock() isGetAddressTransactionsRequest_StartBlock

func (*GetAddressTransactionsRequest) ProtoMessage

func (*GetAddressTransactionsRequest) ProtoMessage()

func (*GetAddressTransactionsRequest) ProtoReflect

func (*GetAddressTransactionsRequest) Reset

func (x *GetAddressTransactionsRequest) Reset()

func (*GetAddressTransactionsRequest) String

type GetAddressTransactionsRequest_Hash

type GetAddressTransactionsRequest_Hash struct {
	// Recommended. Only get transactions after (or within) a
	// starting block identified by hash, little-endian.
	Hash []byte `protobuf:"bytes,4,opt,name=hash,proto3,oneof"`
}

type GetAddressTransactionsRequest_Height

type GetAddressTransactionsRequest_Height struct {
	// Recommended. Only get transactions after (or within) a
	// starting block identified by block number.
	Height int32 `protobuf:"varint,5,opt,name=height,proto3,oneof"`
}

type GetAddressTransactionsResponse

type GetAddressTransactionsResponse struct {

	// Transactions that have been included in a block.
	ConfirmedTransactions []*Transaction `protobuf:"bytes,1,rep,name=confirmed_transactions,json=confirmedTransactions,proto3" json:"confirmed_transactions,omitempty"`
	// Transactions in mempool which have not been included in a block.
	UnconfirmedTransactions []*MempoolTransaction `` /* 130-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GetAddressTransactionsResponse) Descriptor deprecated

func (*GetAddressTransactionsResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetAddressTransactionsResponse.ProtoReflect.Descriptor instead.

func (*GetAddressTransactionsResponse) GetConfirmedTransactions

func (x *GetAddressTransactionsResponse) GetConfirmedTransactions() []*Transaction

func (*GetAddressTransactionsResponse) GetUnconfirmedTransactions

func (x *GetAddressTransactionsResponse) GetUnconfirmedTransactions() []*MempoolTransaction

func (*GetAddressTransactionsResponse) ProtoMessage

func (*GetAddressTransactionsResponse) ProtoMessage()

func (*GetAddressTransactionsResponse) ProtoReflect

func (*GetAddressTransactionsResponse) Reset

func (x *GetAddressTransactionsResponse) Reset()

func (*GetAddressTransactionsResponse) String

type GetAddressUnspentOutputsRequest

type GetAddressUnspentOutputsRequest struct {

	// The address to query transactions, in lowercase cashaddr format.
	// The network identifier is optional (i.e. "cashaddress:").
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// When `include_mempool` is true, unconfirmed transactions from mempool
	// are returned. Default is false.
	IncludeMempool bool `protobuf:"varint,2,opt,name=include_mempool,json=includeMempool,proto3" json:"include_mempool,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAddressUnspentOutputsRequest) Descriptor deprecated

func (*GetAddressUnspentOutputsRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetAddressUnspentOutputsRequest.ProtoReflect.Descriptor instead.

func (*GetAddressUnspentOutputsRequest) GetAddress

func (x *GetAddressUnspentOutputsRequest) GetAddress() string

func (*GetAddressUnspentOutputsRequest) GetIncludeMempool

func (x *GetAddressUnspentOutputsRequest) GetIncludeMempool() bool

func (*GetAddressUnspentOutputsRequest) ProtoMessage

func (*GetAddressUnspentOutputsRequest) ProtoMessage()

func (*GetAddressUnspentOutputsRequest) ProtoReflect

func (*GetAddressUnspentOutputsRequest) Reset

func (*GetAddressUnspentOutputsRequest) String

type GetAddressUnspentOutputsResponse

type GetAddressUnspentOutputsResponse struct {

	// List of unspent outputs.
	Outputs []*UnspentOutput `protobuf:"bytes,1,rep,name=outputs,proto3" json:"outputs,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAddressUnspentOutputsResponse) Descriptor deprecated

func (*GetAddressUnspentOutputsResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetAddressUnspentOutputsResponse.ProtoReflect.Descriptor instead.

func (*GetAddressUnspentOutputsResponse) GetOutputs

func (*GetAddressUnspentOutputsResponse) ProtoMessage

func (*GetAddressUnspentOutputsResponse) ProtoMessage()

func (*GetAddressUnspentOutputsResponse) ProtoReflect

func (*GetAddressUnspentOutputsResponse) Reset

func (*GetAddressUnspentOutputsResponse) String

type GetBlockFilterRequest

type GetBlockFilterRequest struct {

	// Types that are assignable to HashOrHeight:
	//	*GetBlockFilterRequest_Hash
	//	*GetBlockFilterRequest_Height
	HashOrHeight isGetBlockFilterRequest_HashOrHeight `protobuf_oneof:"hash_or_height"`
	// contains filtered or unexported fields
}

func (*GetBlockFilterRequest) Descriptor deprecated

func (*GetBlockFilterRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetBlockFilterRequest.ProtoReflect.Descriptor instead.

func (*GetBlockFilterRequest) GetHash

func (x *GetBlockFilterRequest) GetHash() []byte

func (*GetBlockFilterRequest) GetHashOrHeight

func (m *GetBlockFilterRequest) GetHashOrHeight() isGetBlockFilterRequest_HashOrHeight

func (*GetBlockFilterRequest) GetHeight

func (x *GetBlockFilterRequest) GetHeight() int32

func (*GetBlockFilterRequest) ProtoMessage

func (*GetBlockFilterRequest) ProtoMessage()

func (*GetBlockFilterRequest) ProtoReflect

func (x *GetBlockFilterRequest) ProtoReflect() protoreflect.Message

func (*GetBlockFilterRequest) Reset

func (x *GetBlockFilterRequest) Reset()

func (*GetBlockFilterRequest) String

func (x *GetBlockFilterRequest) String() string

type GetBlockFilterRequest_Hash

type GetBlockFilterRequest_Hash struct {
	// The block hash as a byte array or base64 encoded string, little-endian.
	Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3,oneof"`
}

type GetBlockFilterRequest_Height

type GetBlockFilterRequest_Height struct {
	// The block number.
	Height int32 `protobuf:"varint,2,opt,name=height,proto3,oneof"`
}

type GetBlockFilterResponse

type GetBlockFilterResponse struct {

	// A compact filter matching input outpoints and public key scripts contained
	// in a block (encoded according to BIP158).
	Filter []byte `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBlockFilterResponse) Descriptor deprecated

func (*GetBlockFilterResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetBlockFilterResponse.ProtoReflect.Descriptor instead.

func (*GetBlockFilterResponse) GetFilter

func (x *GetBlockFilterResponse) GetFilter() []byte

func (*GetBlockFilterResponse) ProtoMessage

func (*GetBlockFilterResponse) ProtoMessage()

func (*GetBlockFilterResponse) ProtoReflect

func (x *GetBlockFilterResponse) ProtoReflect() protoreflect.Message

func (*GetBlockFilterResponse) Reset

func (x *GetBlockFilterResponse) Reset()

func (*GetBlockFilterResponse) String

func (x *GetBlockFilterResponse) String() string

type GetBlockInfoRequest

type GetBlockInfoRequest struct {

	// Types that are assignable to HashOrHeight:
	//	*GetBlockInfoRequest_Hash
	//	*GetBlockInfoRequest_Height
	HashOrHeight isGetBlockInfoRequest_HashOrHeight `protobuf_oneof:"hash_or_height"`
	// contains filtered or unexported fields
}

func (*GetBlockInfoRequest) Descriptor deprecated

func (*GetBlockInfoRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetBlockInfoRequest.ProtoReflect.Descriptor instead.

func (*GetBlockInfoRequest) GetHash

func (x *GetBlockInfoRequest) GetHash() []byte

func (*GetBlockInfoRequest) GetHashOrHeight

func (m *GetBlockInfoRequest) GetHashOrHeight() isGetBlockInfoRequest_HashOrHeight

func (*GetBlockInfoRequest) GetHeight

func (x *GetBlockInfoRequest) GetHeight() int32

func (*GetBlockInfoRequest) ProtoMessage

func (*GetBlockInfoRequest) ProtoMessage()

func (*GetBlockInfoRequest) ProtoReflect

func (x *GetBlockInfoRequest) ProtoReflect() protoreflect.Message

func (*GetBlockInfoRequest) Reset

func (x *GetBlockInfoRequest) Reset()

func (*GetBlockInfoRequest) String

func (x *GetBlockInfoRequest) String() string

type GetBlockInfoRequest_Hash

type GetBlockInfoRequest_Hash struct {
	// The block hash as a byte array or base64 encoded string, little-endian.
	Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3,oneof"`
}

type GetBlockInfoRequest_Height

type GetBlockInfoRequest_Height struct {
	// The block number.
	Height int32 `protobuf:"varint,2,opt,name=height,proto3,oneof"`
}

type GetBlockInfoResponse

type GetBlockInfoResponse struct {

	// Marshaled block header data, as well as metadata.
	Info *BlockInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBlockInfoResponse) Descriptor deprecated

func (*GetBlockInfoResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetBlockInfoResponse.ProtoReflect.Descriptor instead.

func (*GetBlockInfoResponse) GetInfo

func (x *GetBlockInfoResponse) GetInfo() *BlockInfo

func (*GetBlockInfoResponse) ProtoMessage

func (*GetBlockInfoResponse) ProtoMessage()

func (*GetBlockInfoResponse) ProtoReflect

func (x *GetBlockInfoResponse) ProtoReflect() protoreflect.Message

func (*GetBlockInfoResponse) Reset

func (x *GetBlockInfoResponse) Reset()

func (*GetBlockInfoResponse) String

func (x *GetBlockInfoResponse) String() string

type GetBlockRequest

type GetBlockRequest struct {

	// Types that are assignable to HashOrHeight:
	//	*GetBlockRequest_Hash
	//	*GetBlockRequest_Height
	HashOrHeight isGetBlockRequest_HashOrHeight `protobuf_oneof:"hash_or_height"`
	// When `full_transactions` is true, full transactions are returned
	// instead of just hashes. Default is false.
	FullTransactions bool `protobuf:"varint,3,opt,name=full_transactions,json=fullTransactions,proto3" json:"full_transactions,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBlockRequest) Descriptor deprecated

func (*GetBlockRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetBlockRequest.ProtoReflect.Descriptor instead.

func (*GetBlockRequest) GetFullTransactions

func (x *GetBlockRequest) GetFullTransactions() bool

func (*GetBlockRequest) GetHash

func (x *GetBlockRequest) GetHash() []byte

func (*GetBlockRequest) GetHashOrHeight

func (m *GetBlockRequest) GetHashOrHeight() isGetBlockRequest_HashOrHeight

func (*GetBlockRequest) GetHeight

func (x *GetBlockRequest) GetHeight() int32

func (*GetBlockRequest) ProtoMessage

func (*GetBlockRequest) ProtoMessage()

func (*GetBlockRequest) ProtoReflect

func (x *GetBlockRequest) ProtoReflect() protoreflect.Message

func (*GetBlockRequest) Reset

func (x *GetBlockRequest) Reset()

func (*GetBlockRequest) String

func (x *GetBlockRequest) String() string

type GetBlockRequest_Hash

type GetBlockRequest_Hash struct {
	// The block hash as a byte array or base64 encoded string, little-endian.
	Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3,oneof"`
}

type GetBlockRequest_Height

type GetBlockRequest_Height struct {
	// The block number.
	Height int32 `protobuf:"varint,2,opt,name=height,proto3,oneof"`
}

type GetBlockResponse

type GetBlockResponse struct {

	// A marshaled block.
	Block *Block `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBlockResponse) Descriptor deprecated

func (*GetBlockResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetBlockResponse.ProtoReflect.Descriptor instead.

func (*GetBlockResponse) GetBlock

func (x *GetBlockResponse) GetBlock() *Block

func (*GetBlockResponse) ProtoMessage

func (*GetBlockResponse) ProtoMessage()

func (*GetBlockResponse) ProtoReflect

func (x *GetBlockResponse) ProtoReflect() protoreflect.Message

func (*GetBlockResponse) Reset

func (x *GetBlockResponse) Reset()

func (*GetBlockResponse) String

func (x *GetBlockResponse) String() string

type GetBlockchainInfoRequest

type GetBlockchainInfoRequest struct {
	// contains filtered or unexported fields
}

func (*GetBlockchainInfoRequest) Descriptor deprecated

func (*GetBlockchainInfoRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetBlockchainInfoRequest.ProtoReflect.Descriptor instead.

func (*GetBlockchainInfoRequest) ProtoMessage

func (*GetBlockchainInfoRequest) ProtoMessage()

func (*GetBlockchainInfoRequest) ProtoReflect

func (x *GetBlockchainInfoRequest) ProtoReflect() protoreflect.Message

func (*GetBlockchainInfoRequest) Reset

func (x *GetBlockchainInfoRequest) Reset()

func (*GetBlockchainInfoRequest) String

func (x *GetBlockchainInfoRequest) String() string

type GetBlockchainInfoResponse

type GetBlockchainInfoResponse struct {

	// Which network the node is operating on.
	BitcoinNet GetBlockchainInfoResponse_BitcoinNet `` /* 137-byte string literal not displayed */
	// The current number of blocks on the longest chain.
	BestHeight int32 `protobuf:"varint,2,opt,name=best_height,json=bestHeight,proto3" json:"best_height,omitempty"`
	// The hash of the best (tip) block in the most-work fully-validated chain, little-endian.
	BestBlockHash []byte `protobuf:"bytes,3,opt,name=best_block_hash,json=bestBlockHash,proto3" json:"best_block_hash,omitempty"`
	// Threshold for adding new blocks.
	Difficulty float64 `protobuf:"fixed64,4,opt,name=difficulty,proto3" json:"difficulty,omitempty"`
	// Median time of the last 11 blocks.
	MedianTime int64 `protobuf:"varint,5,opt,name=median_time,json=medianTime,proto3" json:"median_time,omitempty"`
	// When `tx_index` is true, the node has full transaction index enabled.
	TxIndex bool `protobuf:"varint,6,opt,name=tx_index,json=txIndex,proto3" json:"tx_index,omitempty"`
	// When `addr_index` is true, the node has address index enabled and may
	// be used with call related by address.
	AddrIndex bool `protobuf:"varint,7,opt,name=addr_index,json=addrIndex,proto3" json:"addr_index,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBlockchainInfoResponse) Descriptor deprecated

func (*GetBlockchainInfoResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetBlockchainInfoResponse.ProtoReflect.Descriptor instead.

func (*GetBlockchainInfoResponse) GetAddrIndex

func (x *GetBlockchainInfoResponse) GetAddrIndex() bool

func (*GetBlockchainInfoResponse) GetBestBlockHash

func (x *GetBlockchainInfoResponse) GetBestBlockHash() []byte

func (*GetBlockchainInfoResponse) GetBestHeight

func (x *GetBlockchainInfoResponse) GetBestHeight() int32

func (*GetBlockchainInfoResponse) GetBitcoinNet

func (*GetBlockchainInfoResponse) GetDifficulty

func (x *GetBlockchainInfoResponse) GetDifficulty() float64

func (*GetBlockchainInfoResponse) GetMedianTime

func (x *GetBlockchainInfoResponse) GetMedianTime() int64

func (*GetBlockchainInfoResponse) GetTxIndex

func (x *GetBlockchainInfoResponse) GetTxIndex() bool

func (*GetBlockchainInfoResponse) ProtoMessage

func (*GetBlockchainInfoResponse) ProtoMessage()

func (*GetBlockchainInfoResponse) ProtoReflect

func (*GetBlockchainInfoResponse) Reset

func (x *GetBlockchainInfoResponse) Reset()

func (*GetBlockchainInfoResponse) String

func (x *GetBlockchainInfoResponse) String() string

type GetBlockchainInfoResponse_BitcoinNet

type GetBlockchainInfoResponse_BitcoinNet int32

Bitcoin network types

const (
	// Live public network with monetary value.
	GetBlockchainInfoResponse_MAINNET GetBlockchainInfoResponse_BitcoinNet = 0
	// An isolated environment for automated testing.
	GetBlockchainInfoResponse_REGTEST GetBlockchainInfoResponse_BitcoinNet = 1
	// A public environment where monetary value is agreed to be zero,
	// and some checks for transaction conformity are disabled.
	GetBlockchainInfoResponse_TESTNET3 GetBlockchainInfoResponse_BitcoinNet = 2
	// Private testnets for large scale simulations (or stress testing),
	// where a specified list of nodes is used, rather than node discovery.
	GetBlockchainInfoResponse_SIMNET GetBlockchainInfoResponse_BitcoinNet = 3
)

func (GetBlockchainInfoResponse_BitcoinNet) Descriptor

func (GetBlockchainInfoResponse_BitcoinNet) Enum

func (GetBlockchainInfoResponse_BitcoinNet) EnumDescriptor deprecated

func (GetBlockchainInfoResponse_BitcoinNet) EnumDescriptor() ([]byte, []int)

Deprecated: Use GetBlockchainInfoResponse_BitcoinNet.Descriptor instead.

func (GetBlockchainInfoResponse_BitcoinNet) Number

func (GetBlockchainInfoResponse_BitcoinNet) String

func (GetBlockchainInfoResponse_BitcoinNet) Type

type GetHeadersRequest

type GetHeadersRequest struct {

	// A list of block hashes known to the client (most recent first) which
	// is exponentially sparser toward the genesis block (0), little-endian.
	// Common practice is to include all of the last 10 blocks, and then
	// 9 blocks for each order of ten thereafter.
	BlockLocatorHashes [][]byte `protobuf:"bytes,1,rep,name=block_locator_hashes,json=blockLocatorHashes,proto3" json:"block_locator_hashes,omitempty"`
	// hash of the latest desired block header, little-endian; only blocks
	// occurring before the stop will be returned.
	StopHash []byte `protobuf:"bytes,2,opt,name=stop_hash,json=stopHash,proto3" json:"stop_hash,omitempty"`
	// contains filtered or unexported fields
}

Request headers using a list of known block hashes.

func (*GetHeadersRequest) Descriptor deprecated

func (*GetHeadersRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetHeadersRequest.ProtoReflect.Descriptor instead.

func (*GetHeadersRequest) GetBlockLocatorHashes

func (x *GetHeadersRequest) GetBlockLocatorHashes() [][]byte

func (*GetHeadersRequest) GetStopHash

func (x *GetHeadersRequest) GetStopHash() []byte

func (*GetHeadersRequest) ProtoMessage

func (*GetHeadersRequest) ProtoMessage()

func (*GetHeadersRequest) ProtoReflect

func (x *GetHeadersRequest) ProtoReflect() protoreflect.Message

func (*GetHeadersRequest) Reset

func (x *GetHeadersRequest) Reset()

func (*GetHeadersRequest) String

func (x *GetHeadersRequest) String() string

type GetHeadersResponse

type GetHeadersResponse struct {

	// List of block headers.
	Headers []*BlockInfo `protobuf:"bytes,1,rep,name=headers,proto3" json:"headers,omitempty"`
	// contains filtered or unexported fields
}

func (*GetHeadersResponse) Descriptor deprecated

func (*GetHeadersResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetHeadersResponse.ProtoReflect.Descriptor instead.

func (*GetHeadersResponse) GetHeaders

func (x *GetHeadersResponse) GetHeaders() []*BlockInfo

func (*GetHeadersResponse) ProtoMessage

func (*GetHeadersResponse) ProtoMessage()

func (*GetHeadersResponse) ProtoReflect

func (x *GetHeadersResponse) ProtoReflect() protoreflect.Message

func (*GetHeadersResponse) Reset

func (x *GetHeadersResponse) Reset()

func (*GetHeadersResponse) String

func (x *GetHeadersResponse) String() string

type GetMempoolInfoRequest

type GetMempoolInfoRequest struct {
	// contains filtered or unexported fields
}

func (*GetMempoolInfoRequest) Descriptor deprecated

func (*GetMempoolInfoRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetMempoolInfoRequest.ProtoReflect.Descriptor instead.

func (*GetMempoolInfoRequest) ProtoMessage

func (*GetMempoolInfoRequest) ProtoMessage()

func (*GetMempoolInfoRequest) ProtoReflect

func (x *GetMempoolInfoRequest) ProtoReflect() protoreflect.Message

func (*GetMempoolInfoRequest) Reset

func (x *GetMempoolInfoRequest) Reset()

func (*GetMempoolInfoRequest) String

func (x *GetMempoolInfoRequest) String() string

type GetMempoolInfoResponse

type GetMempoolInfoResponse struct {

	// The count of transactions in the mempool
	Size uint32 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"`
	// The size in bytes of all transactions in the mempool
	Bytes uint32 `protobuf:"varint,2,opt,name=bytes,proto3" json:"bytes,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMempoolInfoResponse) Descriptor deprecated

func (*GetMempoolInfoResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetMempoolInfoResponse.ProtoReflect.Descriptor instead.

func (*GetMempoolInfoResponse) GetBytes

func (x *GetMempoolInfoResponse) GetBytes() uint32

func (*GetMempoolInfoResponse) GetSize

func (x *GetMempoolInfoResponse) GetSize() uint32

func (*GetMempoolInfoResponse) ProtoMessage

func (*GetMempoolInfoResponse) ProtoMessage()

func (*GetMempoolInfoResponse) ProtoReflect

func (x *GetMempoolInfoResponse) ProtoReflect() protoreflect.Message

func (*GetMempoolInfoResponse) Reset

func (x *GetMempoolInfoResponse) Reset()

func (*GetMempoolInfoResponse) String

func (x *GetMempoolInfoResponse) String() string

type GetMempoolRequest

type GetMempoolRequest struct {

	// When `full_transactions` is true, full transaction data is provided
	// instead of just transaction hashes. Default is false.
	FullTransactions bool `protobuf:"varint,1,opt,name=full_transactions,json=fullTransactions,proto3" json:"full_transactions,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMempoolRequest) Descriptor deprecated

func (*GetMempoolRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetMempoolRequest.ProtoReflect.Descriptor instead.

func (*GetMempoolRequest) GetFullTransactions

func (x *GetMempoolRequest) GetFullTransactions() bool

func (*GetMempoolRequest) ProtoMessage

func (*GetMempoolRequest) ProtoMessage()

func (*GetMempoolRequest) ProtoReflect

func (x *GetMempoolRequest) ProtoReflect() protoreflect.Message

func (*GetMempoolRequest) Reset

func (x *GetMempoolRequest) Reset()

func (*GetMempoolRequest) String

func (x *GetMempoolRequest) String() string

type GetMempoolResponse

type GetMempoolResponse struct {

	// List of unconfirmed transactions.
	TransactionData []*GetMempoolResponse_TransactionData `protobuf:"bytes,1,rep,name=transaction_data,json=transactionData,proto3" json:"transaction_data,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMempoolResponse) Descriptor deprecated

func (*GetMempoolResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetMempoolResponse.ProtoReflect.Descriptor instead.

func (*GetMempoolResponse) GetTransactionData

func (x *GetMempoolResponse) GetTransactionData() []*GetMempoolResponse_TransactionData

func (*GetMempoolResponse) ProtoMessage

func (*GetMempoolResponse) ProtoMessage()

func (*GetMempoolResponse) ProtoReflect

func (x *GetMempoolResponse) ProtoReflect() protoreflect.Message

func (*GetMempoolResponse) Reset

func (x *GetMempoolResponse) Reset()

func (*GetMempoolResponse) String

func (x *GetMempoolResponse) String() string

type GetMempoolResponse_TransactionData

type GetMempoolResponse_TransactionData struct {

	// Either one of the two following is provided, depending on the request.
	//
	// Types that are assignable to TxidsOrTxs:
	//	*GetMempoolResponse_TransactionData_TransactionHash
	//	*GetMempoolResponse_TransactionData_Transaction
	TxidsOrTxs isGetMempoolResponse_TransactionData_TxidsOrTxs `protobuf_oneof:"txids_or_txs"`
	// contains filtered or unexported fields
}

func (*GetMempoolResponse_TransactionData) Descriptor deprecated

func (*GetMempoolResponse_TransactionData) Descriptor() ([]byte, []int)

Deprecated: Use GetMempoolResponse_TransactionData.ProtoReflect.Descriptor instead.

func (*GetMempoolResponse_TransactionData) GetTransaction

func (x *GetMempoolResponse_TransactionData) GetTransaction() *Transaction

func (*GetMempoolResponse_TransactionData) GetTransactionHash

func (x *GetMempoolResponse_TransactionData) GetTransactionHash() []byte

func (*GetMempoolResponse_TransactionData) GetTxidsOrTxs

func (m *GetMempoolResponse_TransactionData) GetTxidsOrTxs() isGetMempoolResponse_TransactionData_TxidsOrTxs

func (*GetMempoolResponse_TransactionData) ProtoMessage

func (*GetMempoolResponse_TransactionData) ProtoMessage()

func (*GetMempoolResponse_TransactionData) ProtoReflect

func (*GetMempoolResponse_TransactionData) Reset

func (*GetMempoolResponse_TransactionData) String

type GetMempoolResponse_TransactionData_Transaction

type GetMempoolResponse_TransactionData_Transaction struct {
	// The transaction data.
	Transaction *Transaction `protobuf:"bytes,2,opt,name=transaction,proto3,oneof"`
}

type GetMempoolResponse_TransactionData_TransactionHash

type GetMempoolResponse_TransactionData_TransactionHash struct {
	// The transaction hash, little-endian.
	TransactionHash []byte `protobuf:"bytes,1,opt,name=transaction_hash,json=transactionHash,proto3,oneof"`
}

type GetMerkleProofRequest

type GetMerkleProofRequest struct {

	// A transaction hash, little-endian.
	TransactionHash []byte `protobuf:"bytes,1,opt,name=transaction_hash,json=transactionHash,proto3" json:"transaction_hash,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMerkleProofRequest) Descriptor deprecated

func (*GetMerkleProofRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetMerkleProofRequest.ProtoReflect.Descriptor instead.

func (*GetMerkleProofRequest) GetTransactionHash

func (x *GetMerkleProofRequest) GetTransactionHash() []byte

func (*GetMerkleProofRequest) ProtoMessage

func (*GetMerkleProofRequest) ProtoMessage()

func (*GetMerkleProofRequest) ProtoReflect

func (x *GetMerkleProofRequest) ProtoReflect() protoreflect.Message

func (*GetMerkleProofRequest) Reset

func (x *GetMerkleProofRequest) Reset()

func (*GetMerkleProofRequest) String

func (x *GetMerkleProofRequest) String() string

type GetMerkleProofResponse

type GetMerkleProofResponse struct {

	// Block header information for the corresponding transaction
	Block *BlockInfo `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"`
	// A list containing the transaction hash, the adjacent leaf transaction hash
	// and the hashes of the highest nodes in the merkle tree not built with the transaction.
	// Proof hashes are ordered following transaction order, or left to right on the merkle tree
	Hashes [][]byte `protobuf:"bytes,2,rep,name=hashes,proto3" json:"hashes,omitempty"`
	// Binary representing the location of the matching transaction in the full merkle tree,
	// starting with the root (`1`) at position/level 0, where `1` corresponds
	// to a left branch and `01` is a right branch.
	Flags []byte `protobuf:"bytes,3,opt,name=flags,proto3" json:"flags,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMerkleProofResponse) Descriptor deprecated

func (*GetMerkleProofResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetMerkleProofResponse.ProtoReflect.Descriptor instead.

func (*GetMerkleProofResponse) GetBlock

func (x *GetMerkleProofResponse) GetBlock() *BlockInfo

func (*GetMerkleProofResponse) GetFlags

func (x *GetMerkleProofResponse) GetFlags() []byte

func (*GetMerkleProofResponse) GetHashes

func (x *GetMerkleProofResponse) GetHashes() [][]byte

func (*GetMerkleProofResponse) ProtoMessage

func (*GetMerkleProofResponse) ProtoMessage()

func (*GetMerkleProofResponse) ProtoReflect

func (x *GetMerkleProofResponse) ProtoReflect() protoreflect.Message

func (*GetMerkleProofResponse) Reset

func (x *GetMerkleProofResponse) Reset()

func (*GetMerkleProofResponse) String

func (x *GetMerkleProofResponse) String() string

type GetRawAddressTransactionsRequest

type GetRawAddressTransactionsRequest struct {

	// The address to query transactions, in lowercase cashaddr format.
	// The network prefix is optional (i.e. "cashaddress:").
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// The number of confirmed transactions to skip, starting with the oldest first.
	// Does not affect results of unconfirmed transactions.
	NbSkip uint32 `protobuf:"varint,2,opt,name=nb_skip,json=nbSkip,proto3" json:"nb_skip,omitempty"`
	// Specify the number of transactions to fetch.
	NbFetch uint32 `protobuf:"varint,3,opt,name=nb_fetch,json=nbFetch,proto3" json:"nb_fetch,omitempty"`
	// Types that are assignable to StartBlock:
	//	*GetRawAddressTransactionsRequest_Hash
	//	*GetRawAddressTransactionsRequest_Height
	StartBlock isGetRawAddressTransactionsRequest_StartBlock `protobuf_oneof:"start_block"`
	// contains filtered or unexported fields
}

Get encoded transactions related to a specific address.

RECOMMENDED: Parameters have been provided to query without creating

performance issues on the node or client.
  • The number of transactions to skip and fetch allow for iterating over a large set of transactions, if necessary.
  • A starting block parameter (either `hash` or `height`) may then be used to filter results to those occurring after a certain time.

This approach will reduce network traffic and response processing

for the client, as well as reduce workload on the node.

func (*GetRawAddressTransactionsRequest) Descriptor deprecated

func (*GetRawAddressTransactionsRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetRawAddressTransactionsRequest.ProtoReflect.Descriptor instead.

func (*GetRawAddressTransactionsRequest) GetAddress

func (x *GetRawAddressTransactionsRequest) GetAddress() string

func (*GetRawAddressTransactionsRequest) GetHash

func (x *GetRawAddressTransactionsRequest) GetHash() []byte

func (*GetRawAddressTransactionsRequest) GetHeight

func (x *GetRawAddressTransactionsRequest) GetHeight() int32

func (*GetRawAddressTransactionsRequest) GetNbFetch

func (x *GetRawAddressTransactionsRequest) GetNbFetch() uint32

func (*GetRawAddressTransactionsRequest) GetNbSkip

func (*GetRawAddressTransactionsRequest) GetStartBlock

func (m *GetRawAddressTransactionsRequest) GetStartBlock() isGetRawAddressTransactionsRequest_StartBlock

func (*GetRawAddressTransactionsRequest) ProtoMessage

func (*GetRawAddressTransactionsRequest) ProtoMessage()

func (*GetRawAddressTransactionsRequest) ProtoReflect

func (*GetRawAddressTransactionsRequest) Reset

func (*GetRawAddressTransactionsRequest) String

type GetRawAddressTransactionsRequest_Hash

type GetRawAddressTransactionsRequest_Hash struct {
	// Recommended. Only return transactions after some starting block
	// identified by hash, little-endian.
	Hash []byte `protobuf:"bytes,4,opt,name=hash,proto3,oneof"`
}

type GetRawAddressTransactionsRequest_Height

type GetRawAddressTransactionsRequest_Height struct {
	// Recommended. Only return transactions after some starting block
	// identified by block number.
	Height int32 `protobuf:"varint,5,opt,name=height,proto3,oneof"`
}

type GetRawAddressTransactionsResponse

type GetRawAddressTransactionsResponse struct {

	// Transactions that have been included in a block.
	ConfirmedTransactions [][]byte `protobuf:"bytes,1,rep,name=confirmed_transactions,json=confirmedTransactions,proto3" json:"confirmed_transactions,omitempty"`
	// Transactions in mempool which have not been included in a block.
	UnconfirmedTransactions [][]byte `` /* 130-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GetRawAddressTransactionsResponse) Descriptor deprecated

func (*GetRawAddressTransactionsResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetRawAddressTransactionsResponse.ProtoReflect.Descriptor instead.

func (*GetRawAddressTransactionsResponse) GetConfirmedTransactions

func (x *GetRawAddressTransactionsResponse) GetConfirmedTransactions() [][]byte

func (*GetRawAddressTransactionsResponse) GetUnconfirmedTransactions

func (x *GetRawAddressTransactionsResponse) GetUnconfirmedTransactions() [][]byte

func (*GetRawAddressTransactionsResponse) ProtoMessage

func (*GetRawAddressTransactionsResponse) ProtoMessage()

func (*GetRawAddressTransactionsResponse) ProtoReflect

func (*GetRawAddressTransactionsResponse) Reset

func (*GetRawAddressTransactionsResponse) String

type GetRawBlockRequest

type GetRawBlockRequest struct {

	// Types that are assignable to HashOrHeight:
	//	*GetRawBlockRequest_Hash
	//	*GetRawBlockRequest_Height
	HashOrHeight isGetRawBlockRequest_HashOrHeight `protobuf_oneof:"hash_or_height"`
	// contains filtered or unexported fields
}

func (*GetRawBlockRequest) Descriptor deprecated

func (*GetRawBlockRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetRawBlockRequest.ProtoReflect.Descriptor instead.

func (*GetRawBlockRequest) GetHash

func (x *GetRawBlockRequest) GetHash() []byte

func (*GetRawBlockRequest) GetHashOrHeight

func (m *GetRawBlockRequest) GetHashOrHeight() isGetRawBlockRequest_HashOrHeight

func (*GetRawBlockRequest) GetHeight

func (x *GetRawBlockRequest) GetHeight() int32

func (*GetRawBlockRequest) ProtoMessage

func (*GetRawBlockRequest) ProtoMessage()

func (*GetRawBlockRequest) ProtoReflect

func (x *GetRawBlockRequest) ProtoReflect() protoreflect.Message

func (*GetRawBlockRequest) Reset

func (x *GetRawBlockRequest) Reset()

func (*GetRawBlockRequest) String

func (x *GetRawBlockRequest) String() string

type GetRawBlockRequest_Hash

type GetRawBlockRequest_Hash struct {
	// The block hash as a byte array or base64 encoded string, little-endian.
	Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3,oneof"`
}

type GetRawBlockRequest_Height

type GetRawBlockRequest_Height struct {
	// The block number.
	Height int32 `protobuf:"varint,2,opt,name=height,proto3,oneof"`
}

type GetRawBlockResponse

type GetRawBlockResponse struct {

	// Raw block data (with header) serialized according the the bitcoin block protocol.
	Block []byte `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRawBlockResponse) Descriptor deprecated

func (*GetRawBlockResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetRawBlockResponse.ProtoReflect.Descriptor instead.

func (*GetRawBlockResponse) GetBlock

func (x *GetRawBlockResponse) GetBlock() []byte

func (*GetRawBlockResponse) ProtoMessage

func (*GetRawBlockResponse) ProtoMessage()

func (*GetRawBlockResponse) ProtoReflect

func (x *GetRawBlockResponse) ProtoReflect() protoreflect.Message

func (*GetRawBlockResponse) Reset

func (x *GetRawBlockResponse) Reset()

func (*GetRawBlockResponse) String

func (x *GetRawBlockResponse) String() string

type GetRawTransactionRequest

type GetRawTransactionRequest struct {

	// A transaction hash, little-endian.
	Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	// contains filtered or unexported fields
}

Get an encoded transaction from a transaction hash.

func (*GetRawTransactionRequest) Descriptor deprecated

func (*GetRawTransactionRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetRawTransactionRequest.ProtoReflect.Descriptor instead.

func (*GetRawTransactionRequest) GetHash

func (x *GetRawTransactionRequest) GetHash() []byte

func (*GetRawTransactionRequest) ProtoMessage

func (*GetRawTransactionRequest) ProtoMessage()

func (*GetRawTransactionRequest) ProtoReflect

func (x *GetRawTransactionRequest) ProtoReflect() protoreflect.Message

func (*GetRawTransactionRequest) Reset

func (x *GetRawTransactionRequest) Reset()

func (*GetRawTransactionRequest) String

func (x *GetRawTransactionRequest) String() string

type GetRawTransactionResponse

type GetRawTransactionResponse struct {

	// Raw transaction in bytes.
	Transaction []byte `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRawTransactionResponse) Descriptor deprecated

func (*GetRawTransactionResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetRawTransactionResponse.ProtoReflect.Descriptor instead.

func (*GetRawTransactionResponse) GetTransaction

func (x *GetRawTransactionResponse) GetTransaction() []byte

func (*GetRawTransactionResponse) ProtoMessage

func (*GetRawTransactionResponse) ProtoMessage()

func (*GetRawTransactionResponse) ProtoReflect

func (*GetRawTransactionResponse) Reset

func (x *GetRawTransactionResponse) Reset()

func (*GetRawTransactionResponse) String

func (x *GetRawTransactionResponse) String() string

type GetTransactionRequest

type GetTransactionRequest struct {

	// A transaction hash, little-endian.
	Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	// contains filtered or unexported fields
}

Get a transaction from a transaction hash.

func (*GetTransactionRequest) Descriptor deprecated

func (*GetTransactionRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetTransactionRequest.ProtoReflect.Descriptor instead.

func (*GetTransactionRequest) GetHash

func (x *GetTransactionRequest) GetHash() []byte

func (*GetTransactionRequest) ProtoMessage

func (*GetTransactionRequest) ProtoMessage()

func (*GetTransactionRequest) ProtoReflect

func (x *GetTransactionRequest) ProtoReflect() protoreflect.Message

func (*GetTransactionRequest) Reset

func (x *GetTransactionRequest) Reset()

func (*GetTransactionRequest) String

func (x *GetTransactionRequest) String() string

type GetTransactionResponse

type GetTransactionResponse struct {

	// A marshaled transaction.
	Transaction *Transaction `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTransactionResponse) Descriptor deprecated

func (*GetTransactionResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetTransactionResponse.ProtoReflect.Descriptor instead.

func (*GetTransactionResponse) GetTransaction

func (x *GetTransactionResponse) GetTransaction() *Transaction

func (*GetTransactionResponse) ProtoMessage

func (*GetTransactionResponse) ProtoMessage()

func (*GetTransactionResponse) ProtoReflect

func (x *GetTransactionResponse) ProtoReflect() protoreflect.Message

func (*GetTransactionResponse) Reset

func (x *GetTransactionResponse) Reset()

func (*GetTransactionResponse) String

func (x *GetTransactionResponse) String() string

type GetUnspentOutputRequest

type GetUnspentOutputRequest struct {

	// The hash of the transaction, little-endian.
	Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	// The number of the output, starting from zero.
	Index uint32 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"`
	// When include_mempool is true, unconfirmed transactions from mempool
	// are returned. Default is false.
	IncludeMempool bool `protobuf:"varint,3,opt,name=include_mempool,json=includeMempool,proto3" json:"include_mempool,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUnspentOutputRequest) Descriptor deprecated

func (*GetUnspentOutputRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetUnspentOutputRequest.ProtoReflect.Descriptor instead.

func (*GetUnspentOutputRequest) GetHash

func (x *GetUnspentOutputRequest) GetHash() []byte

func (*GetUnspentOutputRequest) GetIncludeMempool

func (x *GetUnspentOutputRequest) GetIncludeMempool() bool

func (*GetUnspentOutputRequest) GetIndex

func (x *GetUnspentOutputRequest) GetIndex() uint32

func (*GetUnspentOutputRequest) ProtoMessage

func (*GetUnspentOutputRequest) ProtoMessage()

func (*GetUnspentOutputRequest) ProtoReflect

func (x *GetUnspentOutputRequest) ProtoReflect() protoreflect.Message

func (*GetUnspentOutputRequest) Reset

func (x *GetUnspentOutputRequest) Reset()

func (*GetUnspentOutputRequest) String

func (x *GetUnspentOutputRequest) String() string

type GetUnspentOutputResponse

type GetUnspentOutputResponse struct {

	// A reference to the related input.
	Outpoint *Transaction_Input_Outpoint `protobuf:"bytes,1,opt,name=outpoint,proto3" json:"outpoint,omitempty"`
	// Locking script dictating how funds can be spent in the future
	PubkeyScript []byte `protobuf:"bytes,2,opt,name=pubkey_script,json=pubkeyScript,proto3" json:"pubkey_script,omitempty"`
	// Amount in satoshi.
	Value int64 `protobuf:"varint,3,opt,name=value,proto3" json:"value,omitempty"`
	// When is_coinbase is true, the transaction was the first in a block,
	// created by a miner, and used to pay the block reward
	IsCoinbase bool `protobuf:"varint,4,opt,name=is_coinbase,json=isCoinbase,proto3" json:"is_coinbase,omitempty"`
	// The index number of the block containing the transaction creating the output.
	BlockHeight int32 `protobuf:"varint,5,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUnspentOutputResponse) Descriptor deprecated

func (*GetUnspentOutputResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetUnspentOutputResponse.ProtoReflect.Descriptor instead.

func (*GetUnspentOutputResponse) GetBlockHeight

func (x *GetUnspentOutputResponse) GetBlockHeight() int32

func (*GetUnspentOutputResponse) GetIsCoinbase

func (x *GetUnspentOutputResponse) GetIsCoinbase() bool

func (*GetUnspentOutputResponse) GetOutpoint

func (*GetUnspentOutputResponse) GetPubkeyScript

func (x *GetUnspentOutputResponse) GetPubkeyScript() []byte

func (*GetUnspentOutputResponse) GetValue

func (x *GetUnspentOutputResponse) GetValue() int64

func (*GetUnspentOutputResponse) ProtoMessage

func (*GetUnspentOutputResponse) ProtoMessage()

func (*GetUnspentOutputResponse) ProtoReflect

func (x *GetUnspentOutputResponse) ProtoReflect() protoreflect.Message

func (*GetUnspentOutputResponse) Reset

func (x *GetUnspentOutputResponse) Reset()

func (*GetUnspentOutputResponse) String

func (x *GetUnspentOutputResponse) String() string

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"`
	// contains filtered or unexported fields
}

func (*MempoolTransaction) Descriptor deprecated

func (*MempoolTransaction) Descriptor() ([]byte, []int)

Deprecated: Use MempoolTransaction.ProtoReflect.Descriptor instead.

func (*MempoolTransaction) GetAddedHeight

func (x *MempoolTransaction) GetAddedHeight() int32

func (*MempoolTransaction) GetAddedTime

func (x *MempoolTransaction) GetAddedTime() int64

func (*MempoolTransaction) GetFee

func (x *MempoolTransaction) GetFee() int64

func (*MempoolTransaction) GetFeePerKb

func (x *MempoolTransaction) GetFeePerKb() int64

func (*MempoolTransaction) GetStartingPriority

func (x *MempoolTransaction) GetStartingPriority() float64

func (*MempoolTransaction) GetTransaction

func (x *MempoolTransaction) GetTransaction() *Transaction

func (*MempoolTransaction) ProtoMessage

func (*MempoolTransaction) ProtoMessage()

func (*MempoolTransaction) ProtoReflect

func (x *MempoolTransaction) ProtoReflect() protoreflect.Message

func (*MempoolTransaction) Reset

func (x *MempoolTransaction) Reset()

func (*MempoolTransaction) String

func (x *MempoolTransaction) String() string

type SubmitTransactionRequest

type SubmitTransactionRequest struct {

	// The encoded transaction.
	Transaction []byte `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"`
	// contains filtered or unexported fields
}

func (*SubmitTransactionRequest) Descriptor deprecated

func (*SubmitTransactionRequest) Descriptor() ([]byte, []int)

Deprecated: Use SubmitTransactionRequest.ProtoReflect.Descriptor instead.

func (*SubmitTransactionRequest) GetTransaction

func (x *SubmitTransactionRequest) GetTransaction() []byte

func (*SubmitTransactionRequest) ProtoMessage

func (*SubmitTransactionRequest) ProtoMessage()

func (*SubmitTransactionRequest) ProtoReflect

func (x *SubmitTransactionRequest) ProtoReflect() protoreflect.Message

func (*SubmitTransactionRequest) Reset

func (x *SubmitTransactionRequest) Reset()

func (*SubmitTransactionRequest) String

func (x *SubmitTransactionRequest) String() string

type SubmitTransactionResponse

type SubmitTransactionResponse struct {

	// Transaction hash, little-endian.
	Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	// contains filtered or unexported fields
}

func (*SubmitTransactionResponse) Descriptor deprecated

func (*SubmitTransactionResponse) Descriptor() ([]byte, []int)

Deprecated: Use SubmitTransactionResponse.ProtoReflect.Descriptor instead.

func (*SubmitTransactionResponse) GetHash

func (x *SubmitTransactionResponse) GetHash() []byte

func (*SubmitTransactionResponse) ProtoMessage

func (*SubmitTransactionResponse) ProtoMessage()

func (*SubmitTransactionResponse) ProtoReflect

func (*SubmitTransactionResponse) Reset

func (x *SubmitTransactionResponse) Reset()

func (*SubmitTransactionResponse) String

func (x *SubmitTransactionResponse) String() string

type SubscribeBlocksRequest

type SubscribeBlocksRequest struct {

	// When full_block is true, a complete marshaled block is sent. See `Block`.
	// Default is false, block metadata is sent. See `BlockInfo`.
	FullBlock bool `protobuf:"varint,1,opt,name=full_block,json=fullBlock,proto3" json:"full_block,omitempty"`
	// When full_transactions is true, provide full transaction info
	// for a marshaled block.
	// Default is false, only the transaction hashes are included for
	// a marshaled block. See `TransactionData`.
	FullTransactions bool `protobuf:"varint,2,opt,name=full_transactions,json=fullTransactions,proto3" json:"full_transactions,omitempty"`
	// When serialize_block is true, blocks are serialized using bitcoin protocol encoding.
	// Default is false, block will be Marshaled (see `BlockInfo` and `BlockNotification`)
	SerializeBlock bool `protobuf:"varint,3,opt,name=serialize_block,json=serializeBlock,proto3" json:"serialize_block,omitempty"`
	// contains filtered or unexported fields
}

Options to define data structure to be sent by SubscribeBlock stream:

  • BlockInfo (block metadata): `BlockInfo`

  • SubscribeBlocksRequest {}

  • Marshaled Block (with transaction hashes): `Block`

  • SubscribeBlocksRequest { full_block = true }

  • Marshaled Block (with full transaction data): `Block`

  • SubscribeBlocksRequest { full_block = true full_transactions = true }

  • Serialized Block acccording to bitcoin protocol encoding: `bytes`

  • SubscribeBlocksRequest { serialize_block = true }

func (*SubscribeBlocksRequest) Descriptor deprecated

func (*SubscribeBlocksRequest) Descriptor() ([]byte, []int)

Deprecated: Use SubscribeBlocksRequest.ProtoReflect.Descriptor instead.

func (*SubscribeBlocksRequest) GetFullBlock

func (x *SubscribeBlocksRequest) GetFullBlock() bool

func (*SubscribeBlocksRequest) GetFullTransactions

func (x *SubscribeBlocksRequest) GetFullTransactions() bool

func (*SubscribeBlocksRequest) GetSerializeBlock

func (x *SubscribeBlocksRequest) GetSerializeBlock() bool

func (*SubscribeBlocksRequest) ProtoMessage

func (*SubscribeBlocksRequest) ProtoMessage()

func (*SubscribeBlocksRequest) ProtoReflect

func (x *SubscribeBlocksRequest) ProtoReflect() protoreflect.Message

func (*SubscribeBlocksRequest) Reset

func (x *SubscribeBlocksRequest) Reset()

func (*SubscribeBlocksRequest) String

func (x *SubscribeBlocksRequest) String() string

type SubscribeTransactionsRequest

type SubscribeTransactionsRequest struct {

	// Subscribe to a filter. add items to a filter
	Subscribe *TransactionFilter `protobuf:"bytes,1,opt,name=subscribe,proto3" json:"subscribe,omitempty"`
	// Unsubscribe to a filter, remove items from a filter
	Unsubscribe *TransactionFilter `protobuf:"bytes,2,opt,name=unsubscribe,proto3" json:"unsubscribe,omitempty"`
	// When include_mempool is true, new unconfirmed transactions from 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 include_in_block 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"`
	// When serialize_tx is true, transactions are serialized using
	// bitcoin protocol encoding. Default is false, transaction will be Marshaled
	// (see `Transaction`, `MempoolTransaction` and `TransactionNotification`)
	SerializeTx bool `protobuf:"varint,5,opt,name=serialize_tx,json=serializeTx,proto3" json:"serialize_tx,omitempty"`
	// contains filtered or unexported fields
}

Request to subscribe or unsubscribe from a stream of transactions.

func (*SubscribeTransactionsRequest) Descriptor deprecated

func (*SubscribeTransactionsRequest) Descriptor() ([]byte, []int)

Deprecated: Use SubscribeTransactionsRequest.ProtoReflect.Descriptor instead.

func (*SubscribeTransactionsRequest) GetIncludeInBlock

func (x *SubscribeTransactionsRequest) GetIncludeInBlock() bool

func (*SubscribeTransactionsRequest) GetIncludeMempool

func (x *SubscribeTransactionsRequest) GetIncludeMempool() bool

func (*SubscribeTransactionsRequest) GetSerializeTx

func (x *SubscribeTransactionsRequest) GetSerializeTx() bool

func (*SubscribeTransactionsRequest) GetSubscribe

func (*SubscribeTransactionsRequest) GetUnsubscribe

func (x *SubscribeTransactionsRequest) GetUnsubscribe() *TransactionFilter

func (*SubscribeTransactionsRequest) ProtoMessage

func (*SubscribeTransactionsRequest) ProtoMessage()

func (*SubscribeTransactionsRequest) ProtoReflect

func (*SubscribeTransactionsRequest) Reset

func (x *SubscribeTransactionsRequest) Reset()

func (*SubscribeTransactionsRequest) String

type Transaction

type Transaction struct {

	// The double sha256 hash of the encoded transaction, little-endian.
	// sha256(sha256(encoded_transaction))
	Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	// The version of the transaction format.
	Version int32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
	// List of inputs.
	Inputs []*Transaction_Input `protobuf:"bytes,3,rep,name=inputs,proto3" json:"inputs,omitempty"`
	// List of outputs.
	Outputs []*Transaction_Output `protobuf:"bytes,4,rep,name=outputs,proto3" json:"outputs,omitempty"`
	// The block height or timestamp after which this transaction is allowed.
	// If value is greater than 500 million, it is assumed to be an epoch timestamp,
	// otherwise it is treated as a block-height. Default is zero, or lock.
	LockTime uint32 `protobuf:"varint,5,opt,name=lock_time,json=lockTime,proto3" json:"lock_time,omitempty"`
	// The size of the transaction in bytes.
	Size int32 `protobuf:"varint,8,opt,name=size,proto3" json:"size,omitempty"`
	// When the transaction was included in a block, in epoch time.
	Timestamp int64 `protobuf:"varint,9,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// Number of blocks including proof of the transaction, including
	// the block it appeared.
	Confirmations int32 `protobuf:"varint,10,opt,name=confirmations,proto3" json:"confirmations,omitempty"`
	// Number of the block containing the transaction.
	BlockHeight int32 `protobuf:"varint,11,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"`
	// Hash of the block the transaction was recorded in, little-endian.
	BlockHash []byte `protobuf:"bytes,12,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"`
	// contains filtered or unexported fields
}

func (*Transaction) Descriptor deprecated

func (*Transaction) Descriptor() ([]byte, []int)

Deprecated: Use Transaction.ProtoReflect.Descriptor instead.

func (*Transaction) GetBlockHash

func (x *Transaction) GetBlockHash() []byte

func (*Transaction) GetBlockHeight

func (x *Transaction) GetBlockHeight() int32

func (*Transaction) GetConfirmations

func (x *Transaction) GetConfirmations() int32

func (*Transaction) GetHash

func (x *Transaction) GetHash() []byte

func (*Transaction) GetInputs

func (x *Transaction) GetInputs() []*Transaction_Input

func (*Transaction) GetLockTime

func (x *Transaction) GetLockTime() uint32

func (*Transaction) GetOutputs

func (x *Transaction) GetOutputs() []*Transaction_Output

func (*Transaction) GetSize

func (x *Transaction) GetSize() int32

func (*Transaction) GetTimestamp

func (x *Transaction) GetTimestamp() int64

func (*Transaction) GetVersion

func (x *Transaction) GetVersion() int32

func (*Transaction) ProtoMessage

func (*Transaction) ProtoMessage()

func (*Transaction) ProtoReflect

func (x *Transaction) ProtoReflect() protoreflect.Message

func (*Transaction) Reset

func (x *Transaction) Reset()

func (*Transaction) String

func (x *Transaction) String() string

type TransactionFilter

type TransactionFilter struct {

	// Filter by address(es)
	Addresses []string `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"`
	// Filter by output hash and index.
	Outpoints []*Transaction_Input_Outpoint `protobuf:"bytes,2,rep,name=outpoints,proto3" json:"outpoints,omitempty"`
	// Filter by data elements contained in pubkey scripts.
	DataElements [][]byte `protobuf:"bytes,3,rep,name=data_elements,json=dataElements,proto3" json:"data_elements,omitempty"`
	// Subscribe/Unsubscribe to everything. Other filters
	// will be ignored.
	AllTransactions bool `protobuf:"varint,4,opt,name=all_transactions,json=allTransactions,proto3" json:"all_transactions,omitempty"`
	// contains filtered or unexported fields
}

func (*TransactionFilter) Descriptor deprecated

func (*TransactionFilter) Descriptor() ([]byte, []int)

Deprecated: Use TransactionFilter.ProtoReflect.Descriptor instead.

func (*TransactionFilter) GetAddresses

func (x *TransactionFilter) GetAddresses() []string

func (*TransactionFilter) GetAllTransactions

func (x *TransactionFilter) GetAllTransactions() bool

func (*TransactionFilter) GetDataElements

func (x *TransactionFilter) GetDataElements() [][]byte

func (*TransactionFilter) GetOutpoints

func (x *TransactionFilter) GetOutpoints() []*Transaction_Input_Outpoint

func (*TransactionFilter) ProtoMessage

func (*TransactionFilter) ProtoMessage()

func (*TransactionFilter) ProtoReflect

func (x *TransactionFilter) ProtoReflect() protoreflect.Message

func (*TransactionFilter) Reset

func (x *TransactionFilter) Reset()

func (*TransactionFilter) String

func (x *TransactionFilter) String() string

type TransactionNotification

type TransactionNotification struct {

	// Whether or not the transaction has been included in a block.
	Type TransactionNotification_Type `protobuf:"varint,1,opt,name=type,proto3,enum=pb.TransactionNotification_Type" json:"type,omitempty"`
	// Types that are assignable to Transaction:
	//	*TransactionNotification_ConfirmedTransaction
	//	*TransactionNotification_UnconfirmedTransaction
	//	*TransactionNotification_SerializedTransaction
	Transaction isTransactionNotification_Transaction `protobuf_oneof:"transaction"`
	// contains filtered or unexported fields
}

func (*TransactionNotification) Descriptor deprecated

func (*TransactionNotification) Descriptor() ([]byte, []int)

Deprecated: Use TransactionNotification.ProtoReflect.Descriptor instead.

func (*TransactionNotification) GetConfirmedTransaction

func (x *TransactionNotification) GetConfirmedTransaction() *Transaction

func (*TransactionNotification) GetSerializedTransaction

func (x *TransactionNotification) GetSerializedTransaction() []byte

func (*TransactionNotification) GetTransaction

func (m *TransactionNotification) GetTransaction() isTransactionNotification_Transaction

func (*TransactionNotification) GetType

func (*TransactionNotification) GetUnconfirmedTransaction

func (x *TransactionNotification) GetUnconfirmedTransaction() *MempoolTransaction

func (*TransactionNotification) ProtoMessage

func (*TransactionNotification) ProtoMessage()

func (*TransactionNotification) ProtoReflect

func (x *TransactionNotification) ProtoReflect() protoreflect.Message

func (*TransactionNotification) Reset

func (x *TransactionNotification) Reset()

func (*TransactionNotification) String

func (x *TransactionNotification) String() string

type TransactionNotification_ConfirmedTransaction

type TransactionNotification_ConfirmedTransaction struct {
	// A transaction included in a block.
	ConfirmedTransaction *Transaction `protobuf:"bytes,2,opt,name=confirmed_transaction,json=confirmedTransaction,proto3,oneof"`
}

type TransactionNotification_SerializedTransaction

type TransactionNotification_SerializedTransaction struct {
	// Binary transaction, serialized using bitcoin protocol encoding.
	SerializedTransaction []byte `protobuf:"bytes,4,opt,name=serialized_transaction,json=serializedTransaction,proto3,oneof"`
}

type TransactionNotification_Type

type TransactionNotification_Type int32

State of the transaction acceptance.

const (
	// A transaction in mempool.
	TransactionNotification_UNCONFIRMED TransactionNotification_Type = 0
	// A transaction in a block.
	TransactionNotification_CONFIRMED TransactionNotification_Type = 1
)

func (TransactionNotification_Type) Descriptor

func (TransactionNotification_Type) Enum

func (TransactionNotification_Type) EnumDescriptor deprecated

func (TransactionNotification_Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use TransactionNotification_Type.Descriptor instead.

func (TransactionNotification_Type) Number

func (TransactionNotification_Type) String

func (TransactionNotification_Type) Type

type TransactionNotification_UnconfirmedTransaction

type TransactionNotification_UnconfirmedTransaction struct {
	// A transaction in mempool.
	UnconfirmedTransaction *MempoolTransaction `protobuf:"bytes,3,opt,name=unconfirmed_transaction,json=unconfirmedTransaction,proto3,oneof"`
}

type Transaction_Input

type Transaction_Input struct {

	// The number of the input, starting from zero.
	Index uint32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
	// The related outpoint.
	Outpoint *Transaction_Input_Outpoint `protobuf:"bytes,2,opt,name=outpoint,proto3" json:"outpoint,omitempty"`
	// An unlocking script asserting a transaction is permitted to spend
	// the Outpoint (UTXO)
	SignatureScript []byte `protobuf:"bytes,3,opt,name=signature_script,json=signatureScript,proto3" json:"signature_script,omitempty"`
	// As of BIP-68, the sequence number is interpreted as a relative
	// lock-time for the input.
	Sequence uint32 `protobuf:"varint,4,opt,name=sequence,proto3" json:"sequence,omitempty"`
	// Amount in satoshi.
	Value int64 `protobuf:"varint,5,opt,name=value,proto3" json:"value,omitempty"`
	// The pubkey_script of the previous output that is being spent.
	PreviousScript []byte `protobuf:"bytes,6,opt,name=previous_script,json=previousScript,proto3" json:"previous_script,omitempty"`
	// The bitcoin addresses associated with this input.
	Address string `protobuf:"bytes,7,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (*Transaction_Input) Descriptor deprecated

func (*Transaction_Input) Descriptor() ([]byte, []int)

Deprecated: Use Transaction_Input.ProtoReflect.Descriptor instead.

func (*Transaction_Input) GetAddress

func (x *Transaction_Input) GetAddress() string

func (*Transaction_Input) GetIndex

func (x *Transaction_Input) GetIndex() uint32

func (*Transaction_Input) GetOutpoint

func (*Transaction_Input) GetPreviousScript

func (x *Transaction_Input) GetPreviousScript() []byte

func (*Transaction_Input) GetSequence

func (x *Transaction_Input) GetSequence() uint32

func (*Transaction_Input) GetSignatureScript

func (x *Transaction_Input) GetSignatureScript() []byte

func (*Transaction_Input) GetValue

func (x *Transaction_Input) GetValue() int64

func (*Transaction_Input) ProtoMessage

func (*Transaction_Input) ProtoMessage()

func (*Transaction_Input) ProtoReflect

func (x *Transaction_Input) ProtoReflect() protoreflect.Message

func (*Transaction_Input) Reset

func (x *Transaction_Input) Reset()

func (*Transaction_Input) String

func (x *Transaction_Input) String() string

type Transaction_Input_Outpoint

type Transaction_Input_Outpoint struct {

	// The hash of the transaction containing the output to be spent, little-endian
	Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	// The index of specific output on the transaction.
	Index uint32 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"`
	// contains filtered or unexported fields
}

func (*Transaction_Input_Outpoint) Descriptor deprecated

func (*Transaction_Input_Outpoint) Descriptor() ([]byte, []int)

Deprecated: Use Transaction_Input_Outpoint.ProtoReflect.Descriptor instead.

func (*Transaction_Input_Outpoint) GetHash

func (x *Transaction_Input_Outpoint) GetHash() []byte

func (*Transaction_Input_Outpoint) GetIndex

func (x *Transaction_Input_Outpoint) GetIndex() uint32

func (*Transaction_Input_Outpoint) ProtoMessage

func (*Transaction_Input_Outpoint) ProtoMessage()

func (*Transaction_Input_Outpoint) ProtoReflect

func (*Transaction_Input_Outpoint) Reset

func (x *Transaction_Input_Outpoint) Reset()

func (*Transaction_Input_Outpoint) String

func (x *Transaction_Input_Outpoint) String() string

type Transaction_Output

type Transaction_Output struct {

	// The number of the output, starting from zero.
	Index uint32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
	// The number of satoshis to be transferred.
	Value int64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
	// The public key script used to pay coins.
	PubkeyScript []byte `protobuf:"bytes,3,opt,name=pubkey_script,json=pubkeyScript,proto3" json:"pubkey_script,omitempty"`
	// The bitcoin addresses associated with this output.
	Address string `protobuf:"bytes,4,opt,name=address,proto3" json:"address,omitempty"`
	// The type of script.
	ScriptClass string `protobuf:"bytes,5,opt,name=script_class,json=scriptClass,proto3" json:"script_class,omitempty"`
	// The script expressed in Bitcoin Cash Script.
	DisassembledScript string `protobuf:"bytes,6,opt,name=disassembled_script,json=disassembledScript,proto3" json:"disassembled_script,omitempty"`
	// contains filtered or unexported fields
}

func (*Transaction_Output) Descriptor deprecated

func (*Transaction_Output) Descriptor() ([]byte, []int)

Deprecated: Use Transaction_Output.ProtoReflect.Descriptor instead.

func (*Transaction_Output) GetAddress

func (x *Transaction_Output) GetAddress() string

func (*Transaction_Output) GetDisassembledScript

func (x *Transaction_Output) GetDisassembledScript() string

func (*Transaction_Output) GetIndex

func (x *Transaction_Output) GetIndex() uint32

func (*Transaction_Output) GetPubkeyScript

func (x *Transaction_Output) GetPubkeyScript() []byte

func (*Transaction_Output) GetScriptClass

func (x *Transaction_Output) GetScriptClass() string

func (*Transaction_Output) GetValue

func (x *Transaction_Output) GetValue() int64

func (*Transaction_Output) ProtoMessage

func (*Transaction_Output) ProtoMessage()

func (*Transaction_Output) ProtoReflect

func (x *Transaction_Output) ProtoReflect() protoreflect.Message

func (*Transaction_Output) Reset

func (x *Transaction_Output) Reset()

func (*Transaction_Output) String

func (x *Transaction_Output) String() string

type UnimplementedBchrpcServer

type UnimplementedBchrpcServer struct {
}

UnimplementedBchrpcServer can be embedded to have forward compatible implementations.

func (*UnimplementedBchrpcServer) GetBlock

func (*UnimplementedBchrpcServer) GetBlockFilter

func (*UnimplementedBchrpcServer) GetBlockInfo

func (*UnimplementedBchrpcServer) GetBlockchainInfo

func (*UnimplementedBchrpcServer) GetHeaders

func (*UnimplementedBchrpcServer) GetMempool

func (*UnimplementedBchrpcServer) GetMempoolInfo

func (*UnimplementedBchrpcServer) GetMerkleProof

func (*UnimplementedBchrpcServer) GetRawBlock

func (*UnimplementedBchrpcServer) GetRawTransaction

func (*UnimplementedBchrpcServer) GetTransaction

func (*UnimplementedBchrpcServer) GetUnspentOutput

func (*UnimplementedBchrpcServer) SubmitTransaction

func (*UnimplementedBchrpcServer) SubscribeBlocks

func (*UnimplementedBchrpcServer) SubscribeTransactionStream

type UnspentOutput

type UnspentOutput struct {

	// A reference to the output given by transaction hash and index.
	Outpoint *Transaction_Input_Outpoint `protobuf:"bytes,1,opt,name=outpoint,proto3" json:"outpoint,omitempty"`
	// The public key script used to pay coins.
	PubkeyScript []byte `protobuf:"bytes,2,opt,name=pubkey_script,json=pubkeyScript,proto3" json:"pubkey_script,omitempty"`
	// The amount in satoshis
	Value int64 `protobuf:"varint,3,opt,name=value,proto3" json:"value,omitempty"`
	// When is_coinbase is true, the output is the first in the block,
	// a generation transaction, the result of mining.
	IsCoinbase bool `protobuf:"varint,4,opt,name=is_coinbase,json=isCoinbase,proto3" json:"is_coinbase,omitempty"`
	// The block number containing the UXTO.
	BlockHeight int32 `protobuf:"varint,5,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"`
	// contains filtered or unexported fields
}

func (*UnspentOutput) Descriptor deprecated

func (*UnspentOutput) Descriptor() ([]byte, []int)

Deprecated: Use UnspentOutput.ProtoReflect.Descriptor instead.

func (*UnspentOutput) GetBlockHeight

func (x *UnspentOutput) GetBlockHeight() int32

func (*UnspentOutput) GetIsCoinbase

func (x *UnspentOutput) GetIsCoinbase() bool

func (*UnspentOutput) GetOutpoint

func (x *UnspentOutput) GetOutpoint() *Transaction_Input_Outpoint

func (*UnspentOutput) GetPubkeyScript

func (x *UnspentOutput) GetPubkeyScript() []byte

func (*UnspentOutput) GetValue

func (x *UnspentOutput) GetValue() int64

func (*UnspentOutput) ProtoMessage

func (*UnspentOutput) ProtoMessage()

func (*UnspentOutput) ProtoReflect

func (x *UnspentOutput) ProtoReflect() protoreflect.Message

func (*UnspentOutput) Reset

func (x *UnspentOutput) Reset()

func (*UnspentOutput) String

func (x *UnspentOutput) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL