pb

package
v3.1.7+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2021 License: ISC Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BlockNotification_Type_name = map[int32]string{
	0: "CONNECTED",
	1: "DISCONNECTED",
}
View Source
var BlockNotification_Type_value = map[string]int32{
	"CONNECTED":    0,
	"DISCONNECTED": 1,
}
View Source
var GetBlockchainInfoResponse_BitcoinNet_name = map[int32]string{
	0: "MAINNET",
	1: "REGTEST",
	2: "TESTNET3",
	3: "SIMNET",
}
View Source
var GetBlockchainInfoResponse_BitcoinNet_value = map[string]int32{
	"MAINNET":  0,
	"REGTEST":  1,
	"TESTNET3": 2,
	"SIMNET":   3,
}
View Source
var TransactionNotification_Type_name = map[int32]string{
	0: "UNCONFIRMED",
	1: "CONFIRMED",
}
View Source
var TransactionNotification_Type_value = map[string]int32{
	"UNCONFIRMED": 0,
	"CONFIRMED":   1,
}

Functions

func RegisterCzzrpcServer

func RegisterCzzrpcServer(s *grpc.Server, srv CzzrpcServer)

Types

type Block

type Block struct {
	Info                 *BlockInfo               `protobuf:"bytes,1,opt,name=info" json:"info,omitempty"`
	TransactionData      []*Block_TransactionData `protobuf:"bytes,2,rep,name=transaction_data,json=transactionData" json:"transaction_data,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

func (*Block) Descriptor

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

func (*Block) GetInfo

func (m *Block) GetInfo() *BlockInfo

func (*Block) GetTransactionData

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

func (*Block) ProtoMessage

func (*Block) ProtoMessage()

func (*Block) Reset

func (m *Block) Reset()

func (*Block) String

func (m *Block) String() string

func (*Block) XXX_DiscardUnknown

func (m *Block) XXX_DiscardUnknown()

func (*Block) XXX_Marshal

func (m *Block) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Block) XXX_Merge

func (dst *Block) XXX_Merge(src proto.Message)

func (*Block) XXX_Size

func (m *Block) XXX_Size() int

func (*Block) XXX_Unmarshal

func (m *Block) XXX_Unmarshal(b []byte) error

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" json:"height,omitempty"`
	// Block header data.
	Version       int32  `protobuf:"varint,3,opt,name=version" 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" json:"timestamp,omitempty"`
	Bits          uint32 `protobuf:"varint,7,opt,name=bits" json:"bits,omitempty"`
	Nonce         uint64 `protobuf:"varint,8,opt,name=nonce" json:"nonce,omitempty"`
	// Metadata.
	Confirmations        int32    `protobuf:"varint,9,opt,name=confirmations" json:"confirmations,omitempty"`
	Difficulty           float64  `protobuf:"fixed64,10,opt,name=difficulty" json:"difficulty,omitempty"`
	NextBlockHash        []byte   `protobuf:"bytes,11,opt,name=next_block_hash,json=nextBlockHash,proto3" json:"next_block_hash,omitempty"`
	Size                 int32    `protobuf:"varint,12,opt,name=size" json:"size,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BlockInfo) Descriptor

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

func (*BlockInfo) GetBits

func (m *BlockInfo) GetBits() uint32

func (*BlockInfo) GetConfirmations

func (m *BlockInfo) GetConfirmations() int32

func (*BlockInfo) GetDifficulty

func (m *BlockInfo) GetDifficulty() float64

func (*BlockInfo) GetHash

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

func (*BlockInfo) GetHeight

func (m *BlockInfo) GetHeight() int32

func (*BlockInfo) GetMerkleRoot

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

func (*BlockInfo) GetNextBlockHash

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

func (*BlockInfo) GetNonce

func (m *BlockInfo) GetNonce() uint64

func (*BlockInfo) GetPreviousBlock

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

func (*BlockInfo) GetSize

func (m *BlockInfo) GetSize() int32

func (*BlockInfo) GetTimestamp

func (m *BlockInfo) GetTimestamp() int64

func (*BlockInfo) GetVersion

func (m *BlockInfo) GetVersion() int32

func (*BlockInfo) ProtoMessage

func (*BlockInfo) ProtoMessage()

func (*BlockInfo) Reset

func (m *BlockInfo) Reset()

func (*BlockInfo) String

func (m *BlockInfo) String() string

func (*BlockInfo) XXX_DiscardUnknown

func (m *BlockInfo) XXX_DiscardUnknown()

func (*BlockInfo) XXX_Marshal

func (m *BlockInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BlockInfo) XXX_Merge

func (dst *BlockInfo) XXX_Merge(src proto.Message)

func (*BlockInfo) XXX_Size

func (m *BlockInfo) XXX_Size() int

func (*BlockInfo) XXX_Unmarshal

func (m *BlockInfo) XXX_Unmarshal(b []byte) error

type BlockNotification

type BlockNotification struct {
	Type                 BlockNotification_Type `protobuf:"varint,1,opt,name=type,enum=pb.BlockNotification_Type" json:"type,omitempty"`
	Block                *BlockInfo             `protobuf:"bytes,2,opt,name=block" 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 (*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 (dst *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 (dst *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,oneof"`
}

type Block_TransactionData_TransactionHash

type Block_TransactionData_TransactionHash struct {
	TransactionHash []byte `protobuf:"bytes,1,opt,name=transaction_hash,json=transactionHash,proto3,oneof"`
}

type CzzrpcClient

type CzzrpcClient 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)
	// Get a transaction given its hash.
	//
	// **Requires TxIndex**
	GetTransaction(ctx context.Context, in *GetTransactionRequest, opts ...grpc.CallOption) (*GetTransactionResponse, error)
	// Get a serialized transaction given its hash.
	//
	// **Requires TxIndex**
	GetRawTransaction(ctx context.Context, in *GetRawTransactionRequest, opts ...grpc.CallOption) (*GetRawTransactionResponse, error)
	// 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)
	// Returns the 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)
	// Returns all the unspent transaction outpoints for the given address.
	// Offers offset, limit, and from block options.
	//
	// **Requires AddressIndex**
	GetAddressUnspentOutputs(ctx context.Context, in *GetAddressUnspentOutputsRequest, opts ...grpc.CallOption) (*GetAddressUnspentOutputsResponse, error)
	// Returns a merkle (SPV) proof that the given transaction is in the provided block.
	//
	// **Requires TxIndex***
	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.
	//
	// **Requires TxIndex to receive input metadata**
	SubscribeTransactions(ctx context.Context, in *SubscribeTransactionsRequest, opts ...grpc.CallOption) (Czzrpc_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.
	//
	// **Requires TxIndex to receive input metadata**
	SubscribeTransactionStream(ctx context.Context, opts ...grpc.CallOption) (Czzrpc_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) (Czzrpc_SubscribeBlocksClient, error)
}

CzzrpcClient is the client API for Czzrpc service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewCzzrpcClient

func NewCzzrpcClient(cc *grpc.ClientConn) CzzrpcClient

type CzzrpcServer

type CzzrpcServer 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)
	// Get a transaction given its hash.
	//
	// **Requires TxIndex**
	GetTransaction(context.Context, *GetTransactionRequest) (*GetTransactionResponse, error)
	// Get a serialized transaction given its hash.
	//
	// **Requires TxIndex**
	GetRawTransaction(context.Context, *GetRawTransactionRequest) (*GetRawTransactionResponse, error)
	// Returns the transactions for the given address. Offers offset,
	// limit, and from block options.
	//
	// **Requires AddressIndex**
	GetAddressTransactions(context.Context, *GetAddressTransactionsRequest) (*GetAddressTransactionsResponse, error)
	// Returns the raw transactions for the given address. Offers offset,
	// limit, and from block options.
	//
	// **Requires AddressIndex**
	GetRawAddressTransactions(context.Context, *GetRawAddressTransactionsRequest) (*GetRawAddressTransactionsResponse, error)
	// Returns all the unspent transaction outpoints for the given address.
	// Offers offset, limit, and from block options.
	//
	// **Requires AddressIndex**
	GetAddressUnspentOutputs(context.Context, *GetAddressUnspentOutputsRequest) (*GetAddressUnspentOutputsResponse, error)
	// Returns a merkle (SPV) proof that the given transaction is in the provided block.
	//
	// **Requires TxIndex***
	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.
	//
	// **Requires TxIndex to receive input metadata**
	SubscribeTransactions(*SubscribeTransactionsRequest, Czzrpc_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.
	//
	// **Requires TxIndex to receive input metadata**
	SubscribeTransactionStream(Czzrpc_SubscribeTransactionStreamServer) error
	// Subscribe to notifications of new blocks being connected to the blockchain
	// or blocks being disconnected.
	SubscribeBlocks(*SubscribeBlocksRequest, Czzrpc_SubscribeBlocksServer) error
}

CzzrpcServer is the server API for Czzrpc service.

type Czzrpc_SubscribeBlocksClient

type Czzrpc_SubscribeBlocksClient interface {
	Recv() (*BlockNotification, error)
	grpc.ClientStream
}

type Czzrpc_SubscribeBlocksServer

type Czzrpc_SubscribeBlocksServer interface {
	Send(*BlockNotification) error
	grpc.ServerStream
}

type Czzrpc_SubscribeTransactionStreamClient

type Czzrpc_SubscribeTransactionStreamClient interface {
	Send(*SubscribeTransactionsRequest) error
	Recv() (*TransactionNotification, error)
	grpc.ClientStream
}

type Czzrpc_SubscribeTransactionStreamServer

type Czzrpc_SubscribeTransactionStreamServer interface {
	Send(*TransactionNotification) error
	Recv() (*SubscribeTransactionsRequest, error)
	grpc.ServerStream
}

type Czzrpc_SubscribeTransactionsClient

type Czzrpc_SubscribeTransactionsClient interface {
	Recv() (*TransactionNotification, error)
	grpc.ClientStream
}

type Czzrpc_SubscribeTransactionsServer

type Czzrpc_SubscribeTransactionsServer interface {
	Send(*TransactionNotification) error
	grpc.ServerStream
}

type GetAddressTransactionsRequest

type GetAddressTransactionsRequest struct {
	Address string `protobuf:"bytes,1,opt,name=address" 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" json:"nb_skip,omitempty"`
	NbFetch uint32 `protobuf:"varint,3,opt,name=nb_fetch,json=nbFetch" 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 (*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 (dst *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,oneof"`
}

type GetAddressTransactionsResponse

type GetAddressTransactionsResponse struct {
	ConfirmedTransactions   []*Transaction        `protobuf:"bytes,1,rep,name=confirmed_transactions,json=confirmedTransactions" json:"confirmed_transactions,omitempty"`
	UnconfirmedTransactions []*MempoolTransaction `protobuf:"bytes,2,rep,name=unconfirmed_transactions,json=unconfirmedTransactions" json:"unconfirmed_transactions,omitempty"`
	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 (*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 (dst *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" 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 (*GetAddressUnspentOutputsRequest) 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 (dst *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" 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 (*GetAddressUnspentOutputsResponse) ProtoMessage

func (*GetAddressUnspentOutputsResponse) ProtoMessage()

func (*GetAddressUnspentOutputsResponse) Reset

func (*GetAddressUnspentOutputsResponse) 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 (dst *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 (dst *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,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 (dst *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 (dst *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,oneof"`
}

type GetBlockInfoResponse

type GetBlockInfoResponse struct {
	Info                 *BlockInfo `protobuf:"bytes,1,opt,name=info" 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 (dst *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" 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 (dst *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,oneof"`
}

type GetBlockResponse

type GetBlockResponse struct {
	Block                *Block   `protobuf:"bytes,1,opt,name=block" 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 (dst *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 (dst *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 `` /* 130-byte string literal not displayed */
	BestHeight           int32                                `protobuf:"varint,2,opt,name=best_height,json=bestHeight" 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" json:"difficulty,omitempty"`
	MedianTime           int64                                `protobuf:"varint,5,opt,name=median_time,json=medianTime" json:"median_time,omitempty"`
	TxIndex              bool                                 `protobuf:"varint,6,opt,name=tx_index,json=txIndex" json:"tx_index,omitempty"`
	AddrIndex            bool                                 `protobuf:"varint,7,opt,name=addr_index,json=addrIndex" 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 (*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 (dst *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

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 (dst *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" 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 (dst *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 (dst *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" json:"size,omitempty"`
	Bytes                uint32   `protobuf:"varint,2,opt,name=bytes" 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 (dst *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 (dst *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" 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 (dst *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" 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" json:"nb_skip,omitempty"`
	NbFetch uint32 `protobuf:"varint,3,opt,name=nb_fetch,json=nbFetch" 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 (*GetRawAddressTransactionsRequest) GetStartBlock

func (m *GetRawAddressTransactionsRequest) GetStartBlock() isGetRawAddressTransactionsRequest_StartBlock

func (*GetRawAddressTransactionsRequest) ProtoMessage

func (*GetRawAddressTransactionsRequest) ProtoMessage()

func (*GetRawAddressTransactionsRequest) Reset

func (*GetRawAddressTransactionsRequest) 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 (dst *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,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 (*GetRawAddressTransactionsResponse) 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 (dst *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 (dst *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,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 (dst *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 (dst *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 (dst *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 (dst *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" 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 (dst *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" json:"transaction,omitempty"`
	// The time when the transaction was added too the pool.
	AddedTime int64 `protobuf:"varint,2,opt,name=added_time,json=addedTime" 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" json:"added_height,omitempty"`
	// The total fee in satoshi the transaction pays.
	Fee int64 `protobuf:"varint,4,opt,name=fee" json:"fee,omitempty"`
	// The fee in satoshi per kilobyte the transaction pays.
	FeePerKb int64 `protobuf:"varint,5,opt,name=fee_per_kb,json=feePerKb" 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" 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 (dst *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 (dst *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 (dst *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 (dst *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" json:"subscribe,omitempty"`
	Unsubscribe *TransactionFilter `protobuf:"bytes,2,opt,name=unsubscribe" 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" 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" 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 (*SubscribeTransactionsRequest) GetUnsubscribe

func (m *SubscribeTransactionsRequest) GetUnsubscribe() *TransactionFilter

func (*SubscribeTransactionsRequest) ProtoMessage

func (*SubscribeTransactionsRequest) ProtoMessage()

func (*SubscribeTransactionsRequest) Reset

func (m *SubscribeTransactionsRequest) Reset()

func (*SubscribeTransactionsRequest) 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 (dst *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" json:"version,omitempty"`
	Inputs   []*Transaction_Input  `protobuf:"bytes,3,rep,name=inputs" json:"inputs,omitempty"`
	Outputs  []*Transaction_Output `protobuf:"bytes,4,rep,name=outputs" json:"outputs,omitempty"`
	LockTime uint32                `protobuf:"varint,5,opt,name=lock_time,json=lockTime" json:"lock_time,omitempty"`
	// Metadata
	Size                 int32    `protobuf:"varint,8,opt,name=size" json:"size,omitempty"`
	Timestamp            int64    `protobuf:"varint,9,opt,name=timestamp" json:"timestamp,omitempty"`
	Confirmations        int32    `protobuf:"varint,10,opt,name=confirmations" json:"confirmations,omitempty"`
	BlockHeight          int32    `protobuf:"varint,11,opt,name=block_height,json=blockHeight" 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 (dst *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" json:"addresses,omitempty"`
	Outpoints    []*Transaction_Input_Outpoint `protobuf:"bytes,2,rep,name=outpoints" json:"outpoints,omitempty"`
	DataElements [][]byte                      `protobuf:"bytes,3,rep,name=data_elements,json=dataElements,proto3" json:"data_elements,omitempty"`
	// Subscribed/Unsubscribe to everything. Other filters
	// will be ignored.
	AllTransactions      bool     `protobuf:"varint,4,opt,name=all_transactions,json=allTransactions" 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) GetDataElements

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

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 (dst *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,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 (*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 (dst *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,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

type TransactionNotification_UnconfirmedTransaction

type TransactionNotification_UnconfirmedTransaction struct {
	UnconfirmedTransaction *MempoolTransaction `protobuf:"bytes,3,opt,name=unconfirmed_transaction,json=unconfirmedTransaction,oneof"`
}

type Transaction_Input

type Transaction_Input struct {
	Index                uint32                      `protobuf:"varint,1,opt,name=index" json:"index,omitempty"`
	Outpoint             *Transaction_Input_Outpoint `protobuf:"bytes,2,opt,name=outpoint" json:"outpoint,omitempty"`
	SignatureScript      []byte                      `protobuf:"bytes,3,opt,name=signature_script,json=signatureScript,proto3" json:"signature_script,omitempty"`
	Sequence             uint32                      `protobuf:"varint,4,opt,name=sequence" json:"sequence,omitempty"`
	Value                int64                       `protobuf:"varint,5,opt,name=value" json:"value,omitempty"`
	PreviousScript       []byte                      `protobuf:"bytes,6,opt,name=previous_script,json=previousScript,proto3" json:"previous_script,omitempty"`
	Address              string                      `protobuf:"bytes,7,opt,name=address" json:"address,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) GetAddress

func (m *Transaction_Input) GetAddress() string

func (*Transaction_Input) GetIndex

func (m *Transaction_Input) GetIndex() uint32

func (*Transaction_Input) GetOutpoint

func (*Transaction_Input) GetPreviousScript

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

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 (dst *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" 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 (dst *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" json:"index,omitempty"`
	Value                int64    `protobuf:"varint,2,opt,name=value" 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" json:"address,omitempty"`
	ScriptClass          string   `protobuf:"bytes,5,opt,name=script_class,json=scriptClass" json:"script_class,omitempty"`
	DisassembledScript   string   `protobuf:"bytes,6,opt,name=disassembled_script,json=disassembledScript" 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 (dst *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" 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" json:"value,omitempty"`
	IsCoinbase           bool                        `protobuf:"varint,4,opt,name=is_coinbase,json=isCoinbase" json:"is_coinbase,omitempty"`
	BlockHeight          int32                       `protobuf:"varint,5,opt,name=block_height,json=blockHeight" 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 (dst *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

Jump to

Keyboard shortcuts

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