pb

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2023 License: MIT Imports: 12 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	GetBlockchainInfoResponse_Network_name = map[int32]string{
		0: "MAINNET",
		1: "REGTEST",
		2: "TESTNET",
		3: "ALPHANET",
	}
	GetBlockchainInfoResponse_Network_value = map[string]int32{
		"MAINNET":  0,
		"REGTEST":  1,
		"TESTNET":  2,
		"ALPHANET": 3,
	}
)

Enum value maps for GetBlockchainInfoResponse_Network.

View Source
var (
	SetLogLevelRequest_Level_name = map[int32]string{
		0: "DEBUG",
		1: "INFO",
		2: "WARNING",
		3: "ERROR",
		4: "CRITICAL",
		5: "ALERT",
		6: "EMERGENCY",
	}
	SetLogLevelRequest_Level_value = map[string]int32{
		"DEBUG":     0,
		"INFO":      1,
		"WARNING":   2,
		"ERROR":     3,
		"CRITICAL":  4,
		"ALERT":     5,
		"EMERGENCY": 6,
	}
)

Enum value maps for SetLogLevelRequest_Level.

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

Enum value maps for TransactionNotification_Type.

View Source
var BlockchainService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "pb.BlockchainService",
	HandlerType: (*BlockchainServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetMempoolInfo",
			Handler:    _BlockchainService_GetMempoolInfo_Handler,
		},
		{
			MethodName: "GetMempool",
			Handler:    _BlockchainService_GetMempool_Handler,
		},
		{
			MethodName: "GetBlockchainInfo",
			Handler:    _BlockchainService_GetBlockchainInfo_Handler,
		},
		{
			MethodName: "GetBlockInfo",
			Handler:    _BlockchainService_GetBlockInfo_Handler,
		},
		{
			MethodName: "GetBlock",
			Handler:    _BlockchainService_GetBlock_Handler,
		},
		{
			MethodName: "GetCompressedBlock",
			Handler:    _BlockchainService_GetCompressedBlock_Handler,
		},
		{
			MethodName: "GetHeaders",
			Handler:    _BlockchainService_GetHeaders_Handler,
		},
		{
			MethodName: "GetCompressedBlocks",
			Handler:    _BlockchainService_GetCompressedBlocks_Handler,
		},
		{
			MethodName: "GetTransaction",
			Handler:    _BlockchainService_GetTransaction_Handler,
		},
		{
			MethodName: "GetMerkleProof",
			Handler:    _BlockchainService_GetMerkleProof_Handler,
		},
		{
			MethodName: "GetValidator",
			Handler:    _BlockchainService_GetValidator_Handler,
		},
		{
			MethodName: "GetValidatorSetInfo",
			Handler:    _BlockchainService_GetValidatorSetInfo_Handler,
		},
		{
			MethodName: "GetValidatorSet",
			Handler:    _BlockchainService_GetValidatorSet_Handler,
		},
		{
			MethodName: "GetAccumulatorCheckpoint",
			Handler:    _BlockchainService_GetAccumulatorCheckpoint_Handler,
		},
		{
			MethodName: "SubmitTransaction",
			Handler:    _BlockchainService_SubmitTransaction_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "SubscribeBlocks",
			Handler:       _BlockchainService_SubscribeBlocks_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "ilxrpc.proto",
}

BlockchainService_ServiceDesc is the grpc.ServiceDesc for BlockchainService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_ilxrpc_proto protoreflect.FileDescriptor
View Source
var NodeService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "pb.NodeService",
	HandlerType: (*NodeServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetHostInfo",
			Handler:    _NodeService_GetHostInfo_Handler,
		},
		{
			MethodName: "GetNetworkKey",
			Handler:    _NodeService_GetNetworkKey_Handler,
		},
		{
			MethodName: "GetPeers",
			Handler:    _NodeService_GetPeers_Handler,
		},
		{
			MethodName: "AddPeer",
			Handler:    _NodeService_AddPeer_Handler,
		},
		{
			MethodName: "BlockPeer",
			Handler:    _NodeService_BlockPeer_Handler,
		},
		{
			MethodName: "UnblockPeer",
			Handler:    _NodeService_UnblockPeer_Handler,
		},
		{
			MethodName: "SetLogLevel",
			Handler:    _NodeService_SetLogLevel_Handler,
		},
		{
			MethodName: "GetMinFeePerKilobyte",
			Handler:    _NodeService_GetMinFeePerKilobyte_Handler,
		},
		{
			MethodName: "SetMinFeePerKilobyte",
			Handler:    _NodeService_SetMinFeePerKilobyte_Handler,
		},
		{
			MethodName: "GetMinStake",
			Handler:    _NodeService_GetMinStake_Handler,
		},
		{
			MethodName: "SetMinStake",
			Handler:    _NodeService_SetMinStake_Handler,
		},
		{
			MethodName: "GetBlockSizeSoftLimit",
			Handler:    _NodeService_GetBlockSizeSoftLimit_Handler,
		},
		{
			MethodName: "SetBlockSizeSoftLimit",
			Handler:    _NodeService_SetBlockSizeSoftLimit_Handler,
		},
		{
			MethodName: "GetTreasuryWhitelist",
			Handler:    _NodeService_GetTreasuryWhitelist_Handler,
		},
		{
			MethodName: "UpdateTreasuryWhitelist",
			Handler:    _NodeService_UpdateTreasuryWhitelist_Handler,
		},
		{
			MethodName: "ReconsiderBlock",
			Handler:    _NodeService_ReconsiderBlock_Handler,
		},
		{
			MethodName: "RecomputeChainState",
			Handler:    _NodeService_RecomputeChainState_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "ilxrpc.proto",
}

NodeService_ServiceDesc is the grpc.ServiceDesc for NodeService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var WalletServerService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "pb.WalletServerService",
	HandlerType: (*WalletServerServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "RegisterViewKey",
			Handler:    _WalletServerService_RegisterViewKey_Handler,
		},
		{
			MethodName: "GetWalletTransactions",
			Handler:    _WalletServerService_GetWalletTransactions_Handler,
		},
		{
			MethodName: "GetTxoProof",
			Handler:    _WalletServerService_GetTxoProof_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "SubscribeTransactions",
			Handler:       _WalletServerService_SubscribeTransactions_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "ilxrpc.proto",
}

WalletServerService_ServiceDesc is the grpc.ServiceDesc for WalletServerService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var WalletService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "pb.WalletService",
	HandlerType: (*WalletServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetBalance",
			Handler:    _WalletService_GetBalance_Handler,
		},
		{
			MethodName: "GetWalletSeed",
			Handler:    _WalletService_GetWalletSeed_Handler,
		},
		{
			MethodName: "GetAddress",
			Handler:    _WalletService_GetAddress_Handler,
		},
		{
			MethodName: "GetAddresses",
			Handler:    _WalletService_GetAddresses_Handler,
		},
		{
			MethodName: "GetAddressInfo",
			Handler:    _WalletService_GetAddressInfo_Handler,
		},
		{
			MethodName: "GetNewAddress",
			Handler:    _WalletService_GetNewAddress_Handler,
		},
		{
			MethodName: "GetTransactions",
			Handler:    _WalletService_GetTransactions_Handler,
		},
		{
			MethodName: "GetUtxos",
			Handler:    _WalletService_GetUtxos_Handler,
		},
		{
			MethodName: "GetPrivateKey",
			Handler:    _WalletService_GetPrivateKey_Handler,
		},
		{
			MethodName: "ImportAddress",
			Handler:    _WalletService_ImportAddress_Handler,
		},
		{
			MethodName: "CreateMultisigSpendKeypair",
			Handler:    _WalletService_CreateMultisigSpendKeypair_Handler,
		},
		{
			MethodName: "CreateMultisigViewKeypair",
			Handler:    _WalletService_CreateMultisigViewKeypair_Handler,
		},
		{
			MethodName: "CreateMultisigAddress",
			Handler:    _WalletService_CreateMultisigAddress_Handler,
		},
		{
			MethodName: "CreateMultiSignature",
			Handler:    _WalletService_CreateMultiSignature_Handler,
		},
		{
			MethodName: "ProveMultisig",
			Handler:    _WalletService_ProveMultisig_Handler,
		},
		{
			MethodName: "WalletLock",
			Handler:    _WalletService_WalletLock_Handler,
		},
		{
			MethodName: "WalletUnlock",
			Handler:    _WalletService_WalletUnlock_Handler,
		},
		{
			MethodName: "SetWalletPassphrase",
			Handler:    _WalletService_SetWalletPassphrase_Handler,
		},
		{
			MethodName: "ChangeWalletPassphrase",
			Handler:    _WalletService_ChangeWalletPassphrase_Handler,
		},
		{
			MethodName: "DeletePrivateKeys",
			Handler:    _WalletService_DeletePrivateKeys_Handler,
		},
		{
			MethodName: "CreateRawTransaction",
			Handler:    _WalletService_CreateRawTransaction_Handler,
		},
		{
			MethodName: "CreateRawStakeTransaction",
			Handler:    _WalletService_CreateRawStakeTransaction_Handler,
		},
		{
			MethodName: "ProveRawTransaction",
			Handler:    _WalletService_ProveRawTransaction_Handler,
		},
		{
			MethodName: "Stake",
			Handler:    _WalletService_Stake_Handler,
		},
		{
			MethodName: "SetAutoStakeRewards",
			Handler:    _WalletService_SetAutoStakeRewards_Handler,
		},
		{
			MethodName: "Spend",
			Handler:    _WalletService_Spend_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "ilxrpc.proto",
}

WalletService_ServiceDesc is the grpc.ServiceDesc for WalletService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterBlockchainServiceServer

func RegisterBlockchainServiceServer(s grpc.ServiceRegistrar, srv BlockchainServiceServer)

func RegisterNodeServiceServer

func RegisterNodeServiceServer(s grpc.ServiceRegistrar, srv NodeServiceServer)

func RegisterWalletServerServiceServer

func RegisterWalletServerServiceServer(s grpc.ServiceRegistrar, srv WalletServerServiceServer)

func RegisterWalletServiceServer

func RegisterWalletServiceServer(s grpc.ServiceRegistrar, srv WalletServiceServer)

Types

type AddPeerRequest

type AddPeerRequest struct {

	// The peer addr to add. This must be in multiaddr format and include
	// the /p2p/<peerID> field.
	// Ex) /ip4/167.172.126.176/tcp/4001/p2p/12D3KooWHnpVyu9XDeFoAVayqr9hvc9xPqSSHtCSFLEkKgcz5Wro
	Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"`
	// contains filtered or unexported fields
}

func (*AddPeerRequest) Descriptor deprecated

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

Deprecated: Use AddPeerRequest.ProtoReflect.Descriptor instead.

func (*AddPeerRequest) GetAddr

func (x *AddPeerRequest) GetAddr() string

func (*AddPeerRequest) ProtoMessage

func (*AddPeerRequest) ProtoMessage()

func (*AddPeerRequest) ProtoReflect

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

func (*AddPeerRequest) Reset

func (x *AddPeerRequest) Reset()

func (*AddPeerRequest) String

func (x *AddPeerRequest) String() string

type AddPeerResponse

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

func (*AddPeerResponse) Descriptor deprecated

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

Deprecated: Use AddPeerResponse.ProtoReflect.Descriptor instead.

func (*AddPeerResponse) ProtoMessage

func (*AddPeerResponse) ProtoMessage()

func (*AddPeerResponse) ProtoReflect

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

func (*AddPeerResponse) Reset

func (x *AddPeerResponse) Reset()

func (*AddPeerResponse) String

func (x *AddPeerResponse) String() string

type BlockInfo

type BlockInfo struct {

	// The hash of the block header.
	Block_ID []byte `protobuf:"bytes,1,opt,name=block_ID,json=blockID,proto3" json:"block_ID,omitempty"`
	// A version number to track software/protocol upgrades.
	Version uint32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
	// The height of the block in the chain.
	Height uint32 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
	// The block in the chain right before this one.
	Parent []byte `protobuf:"bytes,4,opt,name=parent,proto3" json:"parent,omitempty"`
	// The next block in the chain (or nil if this block is the tip).
	Child []byte `protobuf:"bytes,5,opt,name=child,proto3" json:"child,omitempty"`
	// The timestamp of the block. Expressed in seconds since 1970-01-01.
	Timestamp int64 `protobuf:"varint,6,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// The root of the Merkle Tree built from all transactions in the block.
	TxRoot []byte `protobuf:"bytes,7,opt,name=tx_root,json=txRoot,proto3" json:"tx_root,omitempty"`
	// The peerID of the validator that created the block.
	Producer_ID []byte `protobuf:"bytes,8,opt,name=producer_ID,json=producerID,proto3" json:"producer_ID,omitempty"`
	// The size of the block in bytes.
	Size uint32 `protobuf:"varint,9,opt,name=size,proto3" json:"size,omitempty"`
	// The number of transactions in the block.
	NumTxs uint32 `protobuf:"varint,10,opt,name=num_txs,json=numTxs,proto3" json:"num_txs,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockInfo) Descriptor deprecated

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

Deprecated: Use BlockInfo.ProtoReflect.Descriptor instead.

func (*BlockInfo) GetBlock_ID

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

func (*BlockInfo) GetChild

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

func (*BlockInfo) GetHeight

func (x *BlockInfo) GetHeight() uint32

func (*BlockInfo) GetNumTxs

func (x *BlockInfo) GetNumTxs() uint32

func (*BlockInfo) GetParent

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

func (*BlockInfo) GetProducer_ID

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

func (*BlockInfo) GetSize

func (x *BlockInfo) GetSize() uint32

func (*BlockInfo) GetTimestamp

func (x *BlockInfo) GetTimestamp() int64

func (*BlockInfo) GetTxRoot

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

func (*BlockInfo) GetVersion

func (x *BlockInfo) GetVersion() uint32

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 {

	// The BlockInfo (including header data) for the block
	BlockInfo *BlockInfo `protobuf:"bytes,1,opt,name=block_info,json=blockInfo,proto3" json:"block_info,omitempty"`
	// The blocks transactions (if requested).
	//
	// The transactions will either be returned in for or just the txids depending
	// on the request.
	Transactions []*TransactionData `protobuf:"bytes,2,rep,name=transactions,proto3" json:"transactions,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockNotification) Descriptor deprecated

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

Deprecated: Use BlockNotification.ProtoReflect.Descriptor instead.

func (*BlockNotification) GetBlockInfo

func (x *BlockNotification) GetBlockInfo() *BlockInfo

func (*BlockNotification) GetTransactions

func (x *BlockNotification) GetTransactions() []*TransactionData

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 BlockPeerRequest

type BlockPeerRequest struct {

	// Peer ID to block
	Peer_ID string `protobuf:"bytes,1,opt,name=peer_ID,json=peerID,proto3" json:"peer_ID,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockPeerRequest) Descriptor deprecated

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

Deprecated: Use BlockPeerRequest.ProtoReflect.Descriptor instead.

func (*BlockPeerRequest) GetPeer_ID

func (x *BlockPeerRequest) GetPeer_ID() string

func (*BlockPeerRequest) ProtoMessage

func (*BlockPeerRequest) ProtoMessage()

func (*BlockPeerRequest) ProtoReflect

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

func (*BlockPeerRequest) Reset

func (x *BlockPeerRequest) Reset()

func (*BlockPeerRequest) String

func (x *BlockPeerRequest) String() string

type BlockPeerResponse

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

func (*BlockPeerResponse) Descriptor deprecated

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

Deprecated: Use BlockPeerResponse.ProtoReflect.Descriptor instead.

func (*BlockPeerResponse) ProtoMessage

func (*BlockPeerResponse) ProtoMessage()

func (*BlockPeerResponse) ProtoReflect

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

func (*BlockPeerResponse) Reset

func (x *BlockPeerResponse) Reset()

func (*BlockPeerResponse) String

func (x *BlockPeerResponse) String() string

type BlockchainServiceClient

type BlockchainServiceClient interface {
	// GetMempoolInfo returns the state of the current mempool
	GetMempoolInfo(ctx context.Context, in *GetMempoolInfoRequest, opts ...grpc.CallOption) (*GetMempoolInfoResponse, error)
	// GetMempool returns all the transactions in the mempool
	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 a BlockHeader plus some extra metadata.
	GetBlockInfo(ctx context.Context, in *GetBlockInfoRequest, opts ...grpc.CallOption) (*GetBlockInfoResponse, error)
	// GetBlock returns the detailed data for a block.
	GetBlock(ctx context.Context, in *GetBlockRequest, opts ...grpc.CallOption) (*GetBlockResponse, error)
	// GetCompressedBlock returns a block that is stripped down to just the outputs.
	// It is the bare minimum information a client side wallet needs to compute its internal
	// state.
	GetCompressedBlock(ctx context.Context, in *GetCompressedBlockRequest, opts ...grpc.CallOption) (*GetCompressedBlockResponse, error)
	// GetHeaders returns a batch of headers according to the request parameters.
	GetHeaders(ctx context.Context, in *GetHeadersRequest, opts ...grpc.CallOption) (*GetHeadersResponse, error)
	// GetCompressedBlocks returns a batch of CompressedBlocks according to the request parameters.
	GetCompressedBlocks(ctx context.Context, in *GetCompressedBlocksRequest, opts ...grpc.CallOption) (*GetCompressedBlocksResponse, error)
	// GetTransaction returns the transaction for the given transaction ID.
	//
	// **Requires TxIndex**
	GetTransaction(ctx context.Context, in *GetTransactionRequest, opts ...grpc.CallOption) (*GetTransactionResponse, 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)
	// GetValidator returns all the information about the given validator including number
	// of staked coins.
	GetValidator(ctx context.Context, in *GetValidatorRequest, opts ...grpc.CallOption) (*GetValidatorResponse, error)
	// GetValidatorSetInfo returns information about the validator set.
	GetValidatorSetInfo(ctx context.Context, in *GetValidatorSetInfoRequest, opts ...grpc.CallOption) (*GetValidatorSetInfoResponse, error)
	// GetValidatorSet returns all the validators in the current validator set.
	GetValidatorSet(ctx context.Context, in *GetValidatorSetRequest, opts ...grpc.CallOption) (*GetValidatorSetResponse, error)
	// GetAccumulatorCheckpoint returns the accumulator at the requested height.
	// If there is no checkpoint at that height, the *prior* checkpoint found in the
	// chain will be returned. If there is no prior checkpoint (as is prior to the first)
	// an error will be returned.
	GetAccumulatorCheckpoint(ctx context.Context, in *GetAccumulatorCheckpointRequest, opts ...grpc.CallOption) (*GetAccumulatorCheckpointResponse, error)
	// SubmitTransaction validates a transaction and submits it to the network. An error will be returned
	// if it fails validation.
	SubmitTransaction(ctx context.Context, in *SubmitTransactionRequest, opts ...grpc.CallOption) (*SubmitTransactionResponse, error)
	// SubscribeBlocks returns a stream of notifications when new blocks are finalized and
	// connected to the chain.
	SubscribeBlocks(ctx context.Context, in *SubscribeBlocksRequest, opts ...grpc.CallOption) (BlockchainService_SubscribeBlocksClient, error)
}

BlockchainServiceClient is the client API for BlockchainService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type BlockchainServiceServer

type BlockchainServiceServer interface {
	// GetMempoolInfo returns the state of the current mempool
	GetMempoolInfo(context.Context, *GetMempoolInfoRequest) (*GetMempoolInfoResponse, error)
	// GetMempool returns all the transactions in the mempool
	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 a BlockHeader plus some extra metadata.
	GetBlockInfo(context.Context, *GetBlockInfoRequest) (*GetBlockInfoResponse, error)
	// GetBlock returns the detailed data for a block.
	GetBlock(context.Context, *GetBlockRequest) (*GetBlockResponse, error)
	// GetCompressedBlock returns a block that is stripped down to just the outputs.
	// It is the bare minimum information a client side wallet needs to compute its internal
	// state.
	GetCompressedBlock(context.Context, *GetCompressedBlockRequest) (*GetCompressedBlockResponse, error)
	// GetHeaders returns a batch of headers according to the request parameters.
	GetHeaders(context.Context, *GetHeadersRequest) (*GetHeadersResponse, error)
	// GetCompressedBlocks returns a batch of CompressedBlocks according to the request parameters.
	GetCompressedBlocks(context.Context, *GetCompressedBlocksRequest) (*GetCompressedBlocksResponse, error)
	// GetTransaction returns the transaction for the given transaction ID.
	//
	// **Requires TxIndex**
	GetTransaction(context.Context, *GetTransactionRequest) (*GetTransactionResponse, error)
	// GetMerkleProof returns a Merkle (SPV) proof for a specific transaction
	// in the provided block.
	//
	// **Requires TxIndex**
	GetMerkleProof(context.Context, *GetMerkleProofRequest) (*GetMerkleProofResponse, error)
	// GetValidator returns all the information about the given validator including number
	// of staked coins.
	GetValidator(context.Context, *GetValidatorRequest) (*GetValidatorResponse, error)
	// GetValidatorSetInfo returns information about the validator set.
	GetValidatorSetInfo(context.Context, *GetValidatorSetInfoRequest) (*GetValidatorSetInfoResponse, error)
	// GetValidatorSet returns all the validators in the current validator set.
	GetValidatorSet(context.Context, *GetValidatorSetRequest) (*GetValidatorSetResponse, error)
	// GetAccumulatorCheckpoint returns the accumulator at the requested height.
	// If there is no checkpoint at that height, the *prior* checkpoint found in the
	// chain will be returned. If there is no prior checkpoint (as is prior to the first)
	// an error will be returned.
	GetAccumulatorCheckpoint(context.Context, *GetAccumulatorCheckpointRequest) (*GetAccumulatorCheckpointResponse, error)
	// SubmitTransaction validates a transaction and submits it to the network. An error will be returned
	// if it fails validation.
	SubmitTransaction(context.Context, *SubmitTransactionRequest) (*SubmitTransactionResponse, error)
	// SubscribeBlocks returns a stream of notifications when new blocks are finalized and
	// connected to the chain.
	SubscribeBlocks(*SubscribeBlocksRequest, BlockchainService_SubscribeBlocksServer) error
	// contains filtered or unexported methods
}

BlockchainServiceServer is the server API for BlockchainService service. All implementations must embed UnimplementedBlockchainServiceServer for forward compatibility

type BlockchainService_SubscribeBlocksClient

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

type BlockchainService_SubscribeBlocksServer

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

type ChangeWalletPassphraseRequest

type ChangeWalletPassphraseRequest struct {

	// Current passphrase
	CurrentPassphrase string `protobuf:"bytes,1,opt,name=current_passphrase,json=currentPassphrase,proto3" json:"current_passphrase,omitempty"`
	// Passphrase to change it to
	NewPassphrase string `protobuf:"bytes,2,opt,name=new_passphrase,json=newPassphrase,proto3" json:"new_passphrase,omitempty"`
	// contains filtered or unexported fields
}

func (*ChangeWalletPassphraseRequest) Descriptor deprecated

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

Deprecated: Use ChangeWalletPassphraseRequest.ProtoReflect.Descriptor instead.

func (*ChangeWalletPassphraseRequest) GetCurrentPassphrase

func (x *ChangeWalletPassphraseRequest) GetCurrentPassphrase() string

func (*ChangeWalletPassphraseRequest) GetNewPassphrase

func (x *ChangeWalletPassphraseRequest) GetNewPassphrase() string

func (*ChangeWalletPassphraseRequest) ProtoMessage

func (*ChangeWalletPassphraseRequest) ProtoMessage()

func (*ChangeWalletPassphraseRequest) ProtoReflect

func (*ChangeWalletPassphraseRequest) Reset

func (x *ChangeWalletPassphraseRequest) Reset()

func (*ChangeWalletPassphraseRequest) String

type ChangeWalletPassphraseResponse

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

func (*ChangeWalletPassphraseResponse) Descriptor deprecated

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

Deprecated: Use ChangeWalletPassphraseResponse.ProtoReflect.Descriptor instead.

func (*ChangeWalletPassphraseResponse) ProtoMessage

func (*ChangeWalletPassphraseResponse) ProtoMessage()

func (*ChangeWalletPassphraseResponse) ProtoReflect

func (*ChangeWalletPassphraseResponse) Reset

func (x *ChangeWalletPassphraseResponse) Reset()

func (*ChangeWalletPassphraseResponse) String

type CreateMultiSignatureRequest

type CreateMultiSignatureRequest struct {

	// Types that are assignable to TxOrSighash:
	//	*CreateMultiSignatureRequest_Tx
	//	*CreateMultiSignatureRequest_Sighash
	TxOrSighash isCreateMultiSignatureRequest_TxOrSighash `protobuf_oneof:"tx_or_sighash"`
	// A private key to sign with
	PrivateKey []byte `protobuf:"bytes,3,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateMultiSignatureRequest) Descriptor deprecated

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

Deprecated: Use CreateMultiSignatureRequest.ProtoReflect.Descriptor instead.

func (*CreateMultiSignatureRequest) GetPrivateKey

func (x *CreateMultiSignatureRequest) GetPrivateKey() []byte

func (*CreateMultiSignatureRequest) GetSighash

func (x *CreateMultiSignatureRequest) GetSighash() []byte

func (*CreateMultiSignatureRequest) GetTx

func (*CreateMultiSignatureRequest) GetTxOrSighash

func (m *CreateMultiSignatureRequest) GetTxOrSighash() isCreateMultiSignatureRequest_TxOrSighash

func (*CreateMultiSignatureRequest) ProtoMessage

func (*CreateMultiSignatureRequest) ProtoMessage()

func (*CreateMultiSignatureRequest) ProtoReflect

func (*CreateMultiSignatureRequest) Reset

func (x *CreateMultiSignatureRequest) Reset()

func (*CreateMultiSignatureRequest) String

func (x *CreateMultiSignatureRequest) String() string

type CreateMultiSignatureRequest_Sighash

type CreateMultiSignatureRequest_Sighash struct {
	// Or just provide the sighash itself
	Sighash []byte `protobuf:"bytes,2,opt,name=sighash,proto3,oneof"`
}

type CreateMultiSignatureRequest_Tx

type CreateMultiSignatureRequest_Tx struct {
	// Either provide the transaction so the sighash can be computed
	Tx *transactions.Transaction `protobuf:"bytes,1,opt,name=tx,proto3,oneof"`
}

type CreateMultiSignatureResponse

type CreateMultiSignatureResponse struct {

	// A signature covering the sighash
	Signature []byte `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateMultiSignatureResponse) Descriptor deprecated

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

Deprecated: Use CreateMultiSignatureResponse.ProtoReflect.Descriptor instead.

func (*CreateMultiSignatureResponse) GetSignature

func (x *CreateMultiSignatureResponse) GetSignature() []byte

func (*CreateMultiSignatureResponse) ProtoMessage

func (*CreateMultiSignatureResponse) ProtoMessage()

func (*CreateMultiSignatureResponse) ProtoReflect

func (*CreateMultiSignatureResponse) Reset

func (x *CreateMultiSignatureResponse) Reset()

func (*CreateMultiSignatureResponse) String

type CreateMultisigAddressRequest

type CreateMultisigAddressRequest struct {

	// A list of public keys to use for the multisig address
	Pubkeys [][]byte `protobuf:"bytes,1,rep,name=pubkeys,proto3" json:"pubkeys,omitempty"`
	// The number of keys required to sign the tranaction to
	// release the funds.
	Threshold uint32 `protobuf:"varint,2,opt,name=threshold,proto3" json:"threshold,omitempty"`
	// A view key to use with the address
	ViewPubkey []byte `protobuf:"bytes,3,opt,name=view_pubkey,json=viewPubkey,proto3" json:"view_pubkey,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateMultisigAddressRequest) Descriptor deprecated

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

Deprecated: Use CreateMultisigAddressRequest.ProtoReflect.Descriptor instead.

func (*CreateMultisigAddressRequest) GetPubkeys

func (x *CreateMultisigAddressRequest) GetPubkeys() [][]byte

func (*CreateMultisigAddressRequest) GetThreshold

func (x *CreateMultisigAddressRequest) GetThreshold() uint32

func (*CreateMultisigAddressRequest) GetViewPubkey

func (x *CreateMultisigAddressRequest) GetViewPubkey() []byte

func (*CreateMultisigAddressRequest) ProtoMessage

func (*CreateMultisigAddressRequest) ProtoMessage()

func (*CreateMultisigAddressRequest) ProtoReflect

func (*CreateMultisigAddressRequest) Reset

func (x *CreateMultisigAddressRequest) Reset()

func (*CreateMultisigAddressRequest) String

type CreateMultisigAddressResponse

type CreateMultisigAddressResponse struct {

	// Multisig address response
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateMultisigAddressResponse) Descriptor deprecated

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

Deprecated: Use CreateMultisigAddressResponse.ProtoReflect.Descriptor instead.

func (*CreateMultisigAddressResponse) GetAddress

func (x *CreateMultisigAddressResponse) GetAddress() string

func (*CreateMultisigAddressResponse) ProtoMessage

func (*CreateMultisigAddressResponse) ProtoMessage()

func (*CreateMultisigAddressResponse) ProtoReflect

func (*CreateMultisigAddressResponse) Reset

func (x *CreateMultisigAddressResponse) Reset()

func (*CreateMultisigAddressResponse) String

type CreateMultisigSpendKeypairRequest

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

func (*CreateMultisigSpendKeypairRequest) Descriptor deprecated

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

Deprecated: Use CreateMultisigSpendKeypairRequest.ProtoReflect.Descriptor instead.

func (*CreateMultisigSpendKeypairRequest) ProtoMessage

func (*CreateMultisigSpendKeypairRequest) ProtoMessage()

func (*CreateMultisigSpendKeypairRequest) ProtoReflect

func (*CreateMultisigSpendKeypairRequest) Reset

func (*CreateMultisigSpendKeypairRequest) String

type CreateMultisigSpendKeypairResponse

type CreateMultisigSpendKeypairResponse struct {

	// A private key response
	Privkey []byte `protobuf:"bytes,1,opt,name=privkey,proto3" json:"privkey,omitempty"`
	// The corresponding public key
	Pubkey []byte `protobuf:"bytes,2,opt,name=pubkey,proto3" json:"pubkey,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateMultisigSpendKeypairResponse) Descriptor deprecated

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

Deprecated: Use CreateMultisigSpendKeypairResponse.ProtoReflect.Descriptor instead.

func (*CreateMultisigSpendKeypairResponse) GetPrivkey

func (x *CreateMultisigSpendKeypairResponse) GetPrivkey() []byte

func (*CreateMultisigSpendKeypairResponse) GetPubkey

func (x *CreateMultisigSpendKeypairResponse) GetPubkey() []byte

func (*CreateMultisigSpendKeypairResponse) ProtoMessage

func (*CreateMultisigSpendKeypairResponse) ProtoMessage()

func (*CreateMultisigSpendKeypairResponse) ProtoReflect

func (*CreateMultisigSpendKeypairResponse) Reset

func (*CreateMultisigSpendKeypairResponse) String

type CreateMultisigViewKeypairRequest

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

func (*CreateMultisigViewKeypairRequest) Descriptor deprecated

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

Deprecated: Use CreateMultisigViewKeypairRequest.ProtoReflect.Descriptor instead.

func (*CreateMultisigViewKeypairRequest) ProtoMessage

func (*CreateMultisigViewKeypairRequest) ProtoMessage()

func (*CreateMultisigViewKeypairRequest) ProtoReflect

func (*CreateMultisigViewKeypairRequest) Reset

func (*CreateMultisigViewKeypairRequest) String

type CreateMultisigViewKeypairResponse

type CreateMultisigViewKeypairResponse struct {

	// A private key response
	Privkey []byte `protobuf:"bytes,1,opt,name=privkey,proto3" json:"privkey,omitempty"`
	// The corresponding public key
	Pubkey []byte `protobuf:"bytes,2,opt,name=pubkey,proto3" json:"pubkey,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateMultisigViewKeypairResponse) Descriptor deprecated

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

Deprecated: Use CreateMultisigViewKeypairResponse.ProtoReflect.Descriptor instead.

func (*CreateMultisigViewKeypairResponse) GetPrivkey

func (x *CreateMultisigViewKeypairResponse) GetPrivkey() []byte

func (*CreateMultisigViewKeypairResponse) GetPubkey

func (x *CreateMultisigViewKeypairResponse) GetPubkey() []byte

func (*CreateMultisigViewKeypairResponse) ProtoMessage

func (*CreateMultisigViewKeypairResponse) ProtoMessage()

func (*CreateMultisigViewKeypairResponse) ProtoReflect

func (*CreateMultisigViewKeypairResponse) Reset

func (*CreateMultisigViewKeypairResponse) String

type CreateRawStakeTransactionRequest

type CreateRawStakeTransactionRequest struct {

	// A list of either utxo commitments or private inputs
	Input *CreateRawStakeTransactionRequest_Input `protobuf:"bytes,1,opt,name=input,proto3" json:"input,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateRawStakeTransactionRequest) Descriptor deprecated

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

Deprecated: Use CreateRawStakeTransactionRequest.ProtoReflect.Descriptor instead.

func (*CreateRawStakeTransactionRequest) GetInput

func (*CreateRawStakeTransactionRequest) ProtoMessage

func (*CreateRawStakeTransactionRequest) ProtoMessage()

func (*CreateRawStakeTransactionRequest) ProtoReflect

func (*CreateRawStakeTransactionRequest) Reset

func (*CreateRawStakeTransactionRequest) String

type CreateRawStakeTransactionRequest_Input

type CreateRawStakeTransactionRequest_Input struct {

	// Types that are assignable to CommitmentOrPrivateInput:
	//	*CreateRawStakeTransactionRequest_Input_Commitment
	//	*CreateRawStakeTransactionRequest_Input_Input
	CommitmentOrPrivateInput isCreateRawStakeTransactionRequest_Input_CommitmentOrPrivateInput `protobuf_oneof:"commitment_or_private_input"`
	// contains filtered or unexported fields
}

func (*CreateRawStakeTransactionRequest_Input) Descriptor deprecated

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

Deprecated: Use CreateRawStakeTransactionRequest_Input.ProtoReflect.Descriptor instead.

func (*CreateRawStakeTransactionRequest_Input) GetCommitment

func (x *CreateRawStakeTransactionRequest_Input) GetCommitment() []byte

func (*CreateRawStakeTransactionRequest_Input) GetCommitmentOrPrivateInput

func (m *CreateRawStakeTransactionRequest_Input) GetCommitmentOrPrivateInput() isCreateRawStakeTransactionRequest_Input_CommitmentOrPrivateInput

func (*CreateRawStakeTransactionRequest_Input) GetInput

func (*CreateRawStakeTransactionRequest_Input) ProtoMessage

func (*CreateRawStakeTransactionRequest_Input) ProtoReflect

func (*CreateRawStakeTransactionRequest_Input) Reset

func (*CreateRawStakeTransactionRequest_Input) String

type CreateRawStakeTransactionRequest_Input_Commitment

type CreateRawStakeTransactionRequest_Input_Commitment struct {
	// This is a utxo commitment known to the wallet
	Commitment []byte `protobuf:"bytes,1,opt,name=commitment,proto3,oneof"`
}

type CreateRawStakeTransactionRequest_Input_Input

type CreateRawStakeTransactionRequest_Input_Input struct {
	// If trying to create a transaction spending a utxo that the
	// wallet does not know about you must provide the full private
	// input data.
	Input *PrivateInput `protobuf:"bytes,2,opt,name=input,proto3,oneof"`
}

type CreateRawStakeTransactionResponse

type CreateRawStakeTransactionResponse struct {

	// Raw transaction response
	Tx *RawTransaction `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateRawStakeTransactionResponse) Descriptor deprecated

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

Deprecated: Use CreateRawStakeTransactionResponse.ProtoReflect.Descriptor instead.

func (*CreateRawStakeTransactionResponse) GetTx

func (*CreateRawStakeTransactionResponse) ProtoMessage

func (*CreateRawStakeTransactionResponse) ProtoMessage()

func (*CreateRawStakeTransactionResponse) ProtoReflect

func (*CreateRawStakeTransactionResponse) Reset

func (*CreateRawStakeTransactionResponse) String

type CreateRawTransactionRequest

type CreateRawTransactionRequest struct {

	// A list of either utxo commitments or private inputs
	Inputs []*CreateRawTransactionRequest_Input `protobuf:"bytes,1,rep,name=inputs,proto3" json:"inputs,omitempty"`
	// A list of outputs to send coins to
	Outputs []*CreateRawTransactionRequest_Output `protobuf:"bytes,2,rep,name=outputs,proto3" json:"outputs,omitempty"`
	// A bool to control whether the wallet will automatically append a
	// change output and send the remainder of the coins (minus a fee)
	// to the change output.
	AppendChangeOutput bool `protobuf:"varint,3,opt,name=append_change_output,json=appendChangeOutput,proto3" json:"append_change_output,omitempty"`
	// If append_change_output is true you can specify the fee amount to use.
	// If zero the wallet will use its internal fee policy.
	FeePerKilobyte uint64 `protobuf:"varint,4,opt,name=fee_per_kilobyte,json=feePerKilobyte,proto3" json:"fee_per_kilobyte,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateRawTransactionRequest) Descriptor deprecated

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

Deprecated: Use CreateRawTransactionRequest.ProtoReflect.Descriptor instead.

func (*CreateRawTransactionRequest) GetAppendChangeOutput

func (x *CreateRawTransactionRequest) GetAppendChangeOutput() bool

func (*CreateRawTransactionRequest) GetFeePerKilobyte

func (x *CreateRawTransactionRequest) GetFeePerKilobyte() uint64

func (*CreateRawTransactionRequest) GetInputs

func (*CreateRawTransactionRequest) GetOutputs

func (*CreateRawTransactionRequest) ProtoMessage

func (*CreateRawTransactionRequest) ProtoMessage()

func (*CreateRawTransactionRequest) ProtoReflect

func (*CreateRawTransactionRequest) Reset

func (x *CreateRawTransactionRequest) Reset()

func (*CreateRawTransactionRequest) String

func (x *CreateRawTransactionRequest) String() string

type CreateRawTransactionRequest_Input

type CreateRawTransactionRequest_Input struct {

	// Types that are assignable to CommitmentOrPrivateInput:
	//	*CreateRawTransactionRequest_Input_Commitment
	//	*CreateRawTransactionRequest_Input_Input
	CommitmentOrPrivateInput isCreateRawTransactionRequest_Input_CommitmentOrPrivateInput `protobuf_oneof:"commitment_or_private_input"`
	// contains filtered or unexported fields
}

func (*CreateRawTransactionRequest_Input) Descriptor deprecated

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

Deprecated: Use CreateRawTransactionRequest_Input.ProtoReflect.Descriptor instead.

func (*CreateRawTransactionRequest_Input) GetCommitment

func (x *CreateRawTransactionRequest_Input) GetCommitment() []byte

func (*CreateRawTransactionRequest_Input) GetCommitmentOrPrivateInput

func (m *CreateRawTransactionRequest_Input) GetCommitmentOrPrivateInput() isCreateRawTransactionRequest_Input_CommitmentOrPrivateInput

func (*CreateRawTransactionRequest_Input) GetInput

func (*CreateRawTransactionRequest_Input) ProtoMessage

func (*CreateRawTransactionRequest_Input) ProtoMessage()

func (*CreateRawTransactionRequest_Input) ProtoReflect

func (*CreateRawTransactionRequest_Input) Reset

func (*CreateRawTransactionRequest_Input) String

type CreateRawTransactionRequest_Input_Commitment

type CreateRawTransactionRequest_Input_Commitment struct {
	// This is a utxo commitment known to the wallet
	Commitment []byte `protobuf:"bytes,1,opt,name=commitment,proto3,oneof"`
}

type CreateRawTransactionRequest_Input_Input

type CreateRawTransactionRequest_Input_Input struct {
	// If trying to create a transaction spending a utxo that the
	// wallet does not know about you must provide the full private
	// input data.
	Input *PrivateInput `protobuf:"bytes,2,opt,name=input,proto3,oneof"`
}

type CreateRawTransactionRequest_Output

type CreateRawTransactionRequest_Output struct {

	// Address to send coins to
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// The amount to send
	Amount uint64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateRawTransactionRequest_Output) Descriptor deprecated

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

Deprecated: Use CreateRawTransactionRequest_Output.ProtoReflect.Descriptor instead.

func (*CreateRawTransactionRequest_Output) GetAddress

func (*CreateRawTransactionRequest_Output) GetAmount

func (*CreateRawTransactionRequest_Output) ProtoMessage

func (*CreateRawTransactionRequest_Output) ProtoMessage()

func (*CreateRawTransactionRequest_Output) ProtoReflect

func (*CreateRawTransactionRequest_Output) Reset

func (*CreateRawTransactionRequest_Output) String

type CreateRawTransactionResponse

type CreateRawTransactionResponse struct {

	// Raw transaction response
	Tx *RawTransaction `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateRawTransactionResponse) Descriptor deprecated

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

Deprecated: Use CreateRawTransactionResponse.ProtoReflect.Descriptor instead.

func (*CreateRawTransactionResponse) GetTx

func (*CreateRawTransactionResponse) ProtoMessage

func (*CreateRawTransactionResponse) ProtoMessage()

func (*CreateRawTransactionResponse) ProtoReflect

func (*CreateRawTransactionResponse) Reset

func (x *CreateRawTransactionResponse) Reset()

func (*CreateRawTransactionResponse) String

type DeletePrivateKeysRequest

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

func (*DeletePrivateKeysRequest) Descriptor deprecated

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

Deprecated: Use DeletePrivateKeysRequest.ProtoReflect.Descriptor instead.

func (*DeletePrivateKeysRequest) ProtoMessage

func (*DeletePrivateKeysRequest) ProtoMessage()

func (*DeletePrivateKeysRequest) ProtoReflect

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

func (*DeletePrivateKeysRequest) Reset

func (x *DeletePrivateKeysRequest) Reset()

func (*DeletePrivateKeysRequest) String

func (x *DeletePrivateKeysRequest) String() string

type DeletePrivateKeysResponse

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

func (*DeletePrivateKeysResponse) Descriptor deprecated

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

Deprecated: Use DeletePrivateKeysResponse.ProtoReflect.Descriptor instead.

func (*DeletePrivateKeysResponse) ProtoMessage

func (*DeletePrivateKeysResponse) ProtoMessage()

func (*DeletePrivateKeysResponse) ProtoReflect

func (*DeletePrivateKeysResponse) Reset

func (x *DeletePrivateKeysResponse) Reset()

func (*DeletePrivateKeysResponse) String

func (x *DeletePrivateKeysResponse) String() string

type GetAccumulatorCheckpointRequest

type GetAccumulatorCheckpointRequest struct {

	// Types that are assignable to HeightOrTimestamp:
	//	*GetAccumulatorCheckpointRequest_Height
	//	*GetAccumulatorCheckpointRequest_Timestamp
	HeightOrTimestamp isGetAccumulatorCheckpointRequest_HeightOrTimestamp `protobuf_oneof:"height_or_timestamp"`
	// contains filtered or unexported fields
}

func (*GetAccumulatorCheckpointRequest) Descriptor deprecated

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

Deprecated: Use GetAccumulatorCheckpointRequest.ProtoReflect.Descriptor instead.

func (*GetAccumulatorCheckpointRequest) GetHeight

func (x *GetAccumulatorCheckpointRequest) GetHeight() uint32

func (*GetAccumulatorCheckpointRequest) GetHeightOrTimestamp

func (m *GetAccumulatorCheckpointRequest) GetHeightOrTimestamp() isGetAccumulatorCheckpointRequest_HeightOrTimestamp

func (*GetAccumulatorCheckpointRequest) GetTimestamp

func (x *GetAccumulatorCheckpointRequest) GetTimestamp() int64

func (*GetAccumulatorCheckpointRequest) ProtoMessage

func (*GetAccumulatorCheckpointRequest) ProtoMessage()

func (*GetAccumulatorCheckpointRequest) ProtoReflect

func (*GetAccumulatorCheckpointRequest) Reset

func (*GetAccumulatorCheckpointRequest) String

type GetAccumulatorCheckpointRequest_Height

type GetAccumulatorCheckpointRequest_Height struct {
	// The height of the accumulator checkpoint to return.
	// If there is no checkpoint at that height, the *prior*
	// checkpoint found in the chain will be returned.
	//
	// An error will be returned if there is no checkpoint before
	// the provided height.
	Height uint32 `protobuf:"varint,1,opt,name=height,proto3,oneof"`
}

type GetAccumulatorCheckpointRequest_Timestamp

type GetAccumulatorCheckpointRequest_Timestamp struct {
	// The timestamp of the accumulator checkpoint to return.
	// If there is no checkpoint at that timestamp, the *prior*
	// checkpoint found in the chain will be returned.
	//
	// An error will be returned if there is no checkpoint before
	// the provided timestamp.
	Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3,oneof"`
}

type GetAccumulatorCheckpointResponse

type GetAccumulatorCheckpointResponse struct {

	// The height of the checkpoint
	Height uint32 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
	// The number of entries in the accumulator at this checkpoint
	NumEntries uint64 `protobuf:"varint,2,opt,name=num_entries,json=numEntries,proto3" json:"num_entries,omitempty"`
	// The accumulator hashes
	Accumulator [][]byte `protobuf:"bytes,3,rep,name=accumulator,proto3" json:"accumulator,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAccumulatorCheckpointResponse) Descriptor deprecated

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

Deprecated: Use GetAccumulatorCheckpointResponse.ProtoReflect.Descriptor instead.

func (*GetAccumulatorCheckpointResponse) GetAccumulator

func (x *GetAccumulatorCheckpointResponse) GetAccumulator() [][]byte

func (*GetAccumulatorCheckpointResponse) GetHeight

func (*GetAccumulatorCheckpointResponse) GetNumEntries

func (x *GetAccumulatorCheckpointResponse) GetNumEntries() uint64

func (*GetAccumulatorCheckpointResponse) ProtoMessage

func (*GetAccumulatorCheckpointResponse) ProtoMessage()

func (*GetAccumulatorCheckpointResponse) ProtoReflect

func (*GetAccumulatorCheckpointResponse) Reset

func (*GetAccumulatorCheckpointResponse) String

type GetAddressInfoRequest

type GetAddressInfoRequest struct {

	// The address to get info for
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAddressInfoRequest) Descriptor deprecated

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

Deprecated: Use GetAddressInfoRequest.ProtoReflect.Descriptor instead.

func (*GetAddressInfoRequest) GetAddress

func (x *GetAddressInfoRequest) GetAddress() string

func (*GetAddressInfoRequest) ProtoMessage

func (*GetAddressInfoRequest) ProtoMessage()

func (*GetAddressInfoRequest) ProtoReflect

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

func (*GetAddressInfoRequest) Reset

func (x *GetAddressInfoRequest) Reset()

func (*GetAddressInfoRequest) String

func (x *GetAddressInfoRequest) String() string

type GetAddressInfoResponse

type GetAddressInfoResponse struct {

	// The address to import
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// This is the serialized unlocking script
	// <scriptCommitment><scriptParams>
	UnlockingScript []byte `protobuf:"bytes,2,opt,name=unlockingScript,proto3" json:"unlockingScript,omitempty"`
	//  The private view key for the address
	ViewPrivateKey []byte `protobuf:"bytes,3,opt,name=viewPrivateKey,proto3" json:"viewPrivateKey,omitempty"`
	// Is this address watch only
	WatchOnly bool `protobuf:"varint,4,opt,name=watchOnly,proto3" json:"watchOnly,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAddressInfoResponse) Descriptor deprecated

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

Deprecated: Use GetAddressInfoResponse.ProtoReflect.Descriptor instead.

func (*GetAddressInfoResponse) GetAddress

func (x *GetAddressInfoResponse) GetAddress() string

func (*GetAddressInfoResponse) GetUnlockingScript

func (x *GetAddressInfoResponse) GetUnlockingScript() []byte

func (*GetAddressInfoResponse) GetViewPrivateKey

func (x *GetAddressInfoResponse) GetViewPrivateKey() []byte

func (*GetAddressInfoResponse) GetWatchOnly

func (x *GetAddressInfoResponse) GetWatchOnly() bool

func (*GetAddressInfoResponse) ProtoMessage

func (*GetAddressInfoResponse) ProtoMessage()

func (*GetAddressInfoResponse) ProtoReflect

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

func (*GetAddressInfoResponse) Reset

func (x *GetAddressInfoResponse) Reset()

func (*GetAddressInfoResponse) String

func (x *GetAddressInfoResponse) String() string

type GetAddressRequest

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

func (*GetAddressRequest) Descriptor deprecated

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

Deprecated: Use GetAddressRequest.ProtoReflect.Descriptor instead.

func (*GetAddressRequest) ProtoMessage

func (*GetAddressRequest) ProtoMessage()

func (*GetAddressRequest) ProtoReflect

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

func (*GetAddressRequest) Reset

func (x *GetAddressRequest) Reset()

func (*GetAddressRequest) String

func (x *GetAddressRequest) String() string

type GetAddressResponse

type GetAddressResponse struct {

	// The most recent wallet address
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAddressResponse) Descriptor deprecated

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

Deprecated: Use GetAddressResponse.ProtoReflect.Descriptor instead.

func (*GetAddressResponse) GetAddress

func (x *GetAddressResponse) GetAddress() string

func (*GetAddressResponse) ProtoMessage

func (*GetAddressResponse) ProtoMessage()

func (*GetAddressResponse) ProtoReflect

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

func (*GetAddressResponse) Reset

func (x *GetAddressResponse) Reset()

func (*GetAddressResponse) String

func (x *GetAddressResponse) String() string

type GetAddressesRequest

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

func (*GetAddressesRequest) Descriptor deprecated

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

Deprecated: Use GetAddressesRequest.ProtoReflect.Descriptor instead.

func (*GetAddressesRequest) ProtoMessage

func (*GetAddressesRequest) ProtoMessage()

func (*GetAddressesRequest) ProtoReflect

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

func (*GetAddressesRequest) Reset

func (x *GetAddressesRequest) Reset()

func (*GetAddressesRequest) String

func (x *GetAddressesRequest) String() string

type GetAddressesResponse

type GetAddressesResponse struct {

	// All wallet addresses
	Addresses []string `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAddressesResponse) Descriptor deprecated

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

Deprecated: Use GetAddressesResponse.ProtoReflect.Descriptor instead.

func (*GetAddressesResponse) GetAddresses

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

func (*GetAddressesResponse) ProtoMessage

func (*GetAddressesResponse) ProtoMessage()

func (*GetAddressesResponse) ProtoReflect

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

func (*GetAddressesResponse) Reset

func (x *GetAddressesResponse) Reset()

func (*GetAddressesResponse) String

func (x *GetAddressesResponse) String() string

type GetBalanceRequest

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

WalletService

func (*GetBalanceRequest) Descriptor deprecated

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

Deprecated: Use GetBalanceRequest.ProtoReflect.Descriptor instead.

func (*GetBalanceRequest) ProtoMessage

func (*GetBalanceRequest) ProtoMessage()

func (*GetBalanceRequest) ProtoReflect

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

func (*GetBalanceRequest) Reset

func (x *GetBalanceRequest) Reset()

func (*GetBalanceRequest) String

func (x *GetBalanceRequest) String() string

type GetBalanceResponse

type GetBalanceResponse struct {

	// Balance response
	Balance uint64 `protobuf:"varint,1,opt,name=balance,proto3" json:"balance,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBalanceResponse) Descriptor deprecated

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

Deprecated: Use GetBalanceResponse.ProtoReflect.Descriptor instead.

func (*GetBalanceResponse) GetBalance

func (x *GetBalanceResponse) GetBalance() uint64

func (*GetBalanceResponse) ProtoMessage

func (*GetBalanceResponse) ProtoMessage()

func (*GetBalanceResponse) ProtoReflect

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

func (*GetBalanceResponse) Reset

func (x *GetBalanceResponse) Reset()

func (*GetBalanceResponse) String

func (x *GetBalanceResponse) String() string

type GetBlockInfoRequest

type GetBlockInfoRequest struct {

	// Types that are assignable to IdOrHeight:
	//	*GetBlockInfoRequest_Block_ID
	//	*GetBlockInfoRequest_Height
	IdOrHeight isGetBlockInfoRequest_IdOrHeight `protobuf_oneof:"id_or_height"`
	// contains filtered or unexported fields
}

func (*GetBlockInfoRequest) Descriptor deprecated

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

Deprecated: Use GetBlockInfoRequest.ProtoReflect.Descriptor instead.

func (*GetBlockInfoRequest) GetBlock_ID

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

func (*GetBlockInfoRequest) GetHeight

func (x *GetBlockInfoRequest) GetHeight() uint32

func (*GetBlockInfoRequest) GetIdOrHeight

func (m *GetBlockInfoRequest) GetIdOrHeight() isGetBlockInfoRequest_IdOrHeight

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_Block_ID

type GetBlockInfoRequest_Block_ID struct {
	// The block hash as a byte array
	Block_ID []byte `protobuf:"bytes,1,opt,name=block_ID,json=blockID,proto3,oneof"`
}

type GetBlockInfoRequest_Height

type GetBlockInfoRequest_Height struct {
	// The block number
	Height uint32 `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 IdOrHeight:
	//	*GetBlockRequest_Block_ID
	//	*GetBlockRequest_Height
	IdOrHeight isGetBlockRequest_IdOrHeight `protobuf_oneof:"id_or_height"`
	// contains filtered or unexported fields
}

func (*GetBlockRequest) Descriptor deprecated

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

Deprecated: Use GetBlockRequest.ProtoReflect.Descriptor instead.

func (*GetBlockRequest) GetBlock_ID

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

func (*GetBlockRequest) GetHeight

func (x *GetBlockRequest) GetHeight() uint32

func (*GetBlockRequest) GetIdOrHeight

func (m *GetBlockRequest) GetIdOrHeight() isGetBlockRequest_IdOrHeight

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_Block_ID

type GetBlockRequest_Block_ID struct {
	// The block hash as a byte array
	Block_ID []byte `protobuf:"bytes,1,opt,name=block_ID,json=blockID,proto3,oneof"`
}

type GetBlockRequest_Height

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

type GetBlockResponse

type GetBlockResponse struct {

	// The full block response
	Block *blocks.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() *blocks.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 GetBlockSizeSoftLimitRequest

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

func (*GetBlockSizeSoftLimitRequest) Descriptor deprecated

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

Deprecated: Use GetBlockSizeSoftLimitRequest.ProtoReflect.Descriptor instead.

func (*GetBlockSizeSoftLimitRequest) ProtoMessage

func (*GetBlockSizeSoftLimitRequest) ProtoMessage()

func (*GetBlockSizeSoftLimitRequest) ProtoReflect

func (*GetBlockSizeSoftLimitRequest) Reset

func (x *GetBlockSizeSoftLimitRequest) Reset()

func (*GetBlockSizeSoftLimitRequest) String

type GetBlockSizeSoftLimitResponse

type GetBlockSizeSoftLimitResponse struct {

	// Block size response
	BlockSize uint32 `protobuf:"varint,1,opt,name=block_size,json=blockSize,proto3" json:"block_size,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBlockSizeSoftLimitResponse) Descriptor deprecated

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

Deprecated: Use GetBlockSizeSoftLimitResponse.ProtoReflect.Descriptor instead.

func (*GetBlockSizeSoftLimitResponse) GetBlockSize

func (x *GetBlockSizeSoftLimitResponse) GetBlockSize() uint32

func (*GetBlockSizeSoftLimitResponse) ProtoMessage

func (*GetBlockSizeSoftLimitResponse) ProtoMessage()

func (*GetBlockSizeSoftLimitResponse) ProtoReflect

func (*GetBlockSizeSoftLimitResponse) Reset

func (x *GetBlockSizeSoftLimitResponse) Reset()

func (*GetBlockSizeSoftLimitResponse) 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
	Network GetBlockchainInfoResponse_Network `protobuf:"varint,1,opt,name=network,proto3,enum=pb.GetBlockchainInfoResponse_Network" json:"network,omitempty"`
	// The current number of blocks in the chain
	BestHeight uint32 `protobuf:"varint,2,opt,name=best_height,json=bestHeight,proto3" json:"best_height,omitempty"`
	// The hash of the best (tip) block in the chain
	BestBlock_ID []byte `protobuf:"bytes,3,opt,name=best_block_ID,json=bestBlockID,proto3" json:"best_block_ID,omitempty"`
	// The timestamp of the best block
	BlockTime int64 `protobuf:"varint,4,opt,name=block_time,json=blockTime,proto3" json:"block_time,omitempty"`
	// When `tx_index` is true, the node has full transaction index enabled
	TxIndex bool `protobuf:"varint,5,opt,name=tx_index,json=txIndex,proto3" json:"tx_index,omitempty"`
	// The total number of coins in circulation
	CiculatingSupply uint64 `protobuf:"varint,6,opt,name=ciculating_supply,json=ciculatingSupply,proto3" json:"ciculating_supply,omitempty"`
	// The total number of coins staked
	TotalStaked uint64 `protobuf:"varint,7,opt,name=total_staked,json=totalStaked,proto3" json:"total_staked,omitempty"`
	// The balance of the treasury
	TreasuryBalance uint64 `protobuf:"varint,8,opt,name=treasury_balance,json=treasuryBalance,proto3" json:"treasury_balance,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBlockchainInfoResponse) Descriptor deprecated

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

Deprecated: Use GetBlockchainInfoResponse.ProtoReflect.Descriptor instead.

func (*GetBlockchainInfoResponse) GetBestBlock_ID

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

func (*GetBlockchainInfoResponse) GetBestHeight

func (x *GetBlockchainInfoResponse) GetBestHeight() uint32

func (*GetBlockchainInfoResponse) GetBlockTime

func (x *GetBlockchainInfoResponse) GetBlockTime() int64

func (*GetBlockchainInfoResponse) GetCiculatingSupply

func (x *GetBlockchainInfoResponse) GetCiculatingSupply() uint64

func (*GetBlockchainInfoResponse) GetNetwork

func (*GetBlockchainInfoResponse) GetTotalStaked

func (x *GetBlockchainInfoResponse) GetTotalStaked() uint64

func (*GetBlockchainInfoResponse) GetTreasuryBalance

func (x *GetBlockchainInfoResponse) GetTreasuryBalance() uint64

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_Network

type GetBlockchainInfoResponse_Network int32

Illium network types

const (
	// Live public network with monetary value
	GetBlockchainInfoResponse_MAINNET GetBlockchainInfoResponse_Network = 0
	// An isolated environment for automated testing
	GetBlockchainInfoResponse_REGTEST GetBlockchainInfoResponse_Network = 1
	// A public environment where monetary value is agreed to be zero,
	// and some checks for transaction conformity are disabled.
	GetBlockchainInfoResponse_TESTNET GetBlockchainInfoResponse_Network = 2
	// Alpha testnet
	GetBlockchainInfoResponse_ALPHANET GetBlockchainInfoResponse_Network = 3
)

func (GetBlockchainInfoResponse_Network) Descriptor

func (GetBlockchainInfoResponse_Network) Enum

func (GetBlockchainInfoResponse_Network) EnumDescriptor deprecated

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

Deprecated: Use GetBlockchainInfoResponse_Network.Descriptor instead.

func (GetBlockchainInfoResponse_Network) Number

func (GetBlockchainInfoResponse_Network) String

func (GetBlockchainInfoResponse_Network) Type

type GetCompressedBlockRequest

type GetCompressedBlockRequest struct {

	// Types that are assignable to IdOrHeight:
	//	*GetCompressedBlockRequest_Block_ID
	//	*GetCompressedBlockRequest_Height
	IdOrHeight isGetCompressedBlockRequest_IdOrHeight `protobuf_oneof:"id_or_height"`
	// contains filtered or unexported fields
}

func (*GetCompressedBlockRequest) Descriptor deprecated

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

Deprecated: Use GetCompressedBlockRequest.ProtoReflect.Descriptor instead.

func (*GetCompressedBlockRequest) GetBlock_ID

func (x *GetCompressedBlockRequest) GetBlock_ID() []byte

func (*GetCompressedBlockRequest) GetHeight

func (x *GetCompressedBlockRequest) GetHeight() uint32

func (*GetCompressedBlockRequest) GetIdOrHeight

func (m *GetCompressedBlockRequest) GetIdOrHeight() isGetCompressedBlockRequest_IdOrHeight

func (*GetCompressedBlockRequest) ProtoMessage

func (*GetCompressedBlockRequest) ProtoMessage()

func (*GetCompressedBlockRequest) ProtoReflect

func (*GetCompressedBlockRequest) Reset

func (x *GetCompressedBlockRequest) Reset()

func (*GetCompressedBlockRequest) String

func (x *GetCompressedBlockRequest) String() string

type GetCompressedBlockRequest_Block_ID

type GetCompressedBlockRequest_Block_ID struct {
	// The block hash as a byte array
	Block_ID []byte `protobuf:"bytes,1,opt,name=block_ID,json=blockID,proto3,oneof"`
}

type GetCompressedBlockRequest_Height

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

type GetCompressedBlockResponse

type GetCompressedBlockResponse struct {

	// The compressed block contains only transaction outputs
	Block *blocks.CompressedBlock `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCompressedBlockResponse) Descriptor deprecated

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

Deprecated: Use GetCompressedBlockResponse.ProtoReflect.Descriptor instead.

func (*GetCompressedBlockResponse) GetBlock

func (*GetCompressedBlockResponse) ProtoMessage

func (*GetCompressedBlockResponse) ProtoMessage()

func (*GetCompressedBlockResponse) ProtoReflect

func (*GetCompressedBlockResponse) Reset

func (x *GetCompressedBlockResponse) Reset()

func (*GetCompressedBlockResponse) String

func (x *GetCompressedBlockResponse) String() string

type GetCompressedBlocksRequest

type GetCompressedBlocksRequest struct {

	// The height to start receiving headers
	StartHeight uint32 `protobuf:"varint,1,opt,name=start_height,json=startHeight,proto3" json:"start_height,omitempty"`
	// The last block height to return. Note that a maximum of 2000 blocks will be returned
	// per request. If end_height is > start_height + 1999 then end_height will be set set
	// to start_height + 1999 and 2000 compressed blocks will be returned. If end_height is
	// past the tip of the chain the compressed blocks will be returned up to the tip.
	//
	// If end_height is less than start_height 2000 blocks will be returned.
	EndHeight uint32 `protobuf:"varint,2,opt,name=end_height,json=endHeight,proto3" json:"end_height,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCompressedBlocksRequest) Descriptor deprecated

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

Deprecated: Use GetCompressedBlocksRequest.ProtoReflect.Descriptor instead.

func (*GetCompressedBlocksRequest) GetEndHeight

func (x *GetCompressedBlocksRequest) GetEndHeight() uint32

func (*GetCompressedBlocksRequest) GetStartHeight

func (x *GetCompressedBlocksRequest) GetStartHeight() uint32

func (*GetCompressedBlocksRequest) ProtoMessage

func (*GetCompressedBlocksRequest) ProtoMessage()

func (*GetCompressedBlocksRequest) ProtoReflect

func (*GetCompressedBlocksRequest) Reset

func (x *GetCompressedBlocksRequest) Reset()

func (*GetCompressedBlocksRequest) String

func (x *GetCompressedBlocksRequest) String() string

type GetCompressedBlocksResponse

type GetCompressedBlocksResponse struct {

	// The compressed block response
	Blocks []*blocks.CompressedBlock `protobuf:"bytes,1,rep,name=blocks,proto3" json:"blocks,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCompressedBlocksResponse) Descriptor deprecated

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

Deprecated: Use GetCompressedBlocksResponse.ProtoReflect.Descriptor instead.

func (*GetCompressedBlocksResponse) GetBlocks

func (*GetCompressedBlocksResponse) ProtoMessage

func (*GetCompressedBlocksResponse) ProtoMessage()

func (*GetCompressedBlocksResponse) ProtoReflect

func (*GetCompressedBlocksResponse) Reset

func (x *GetCompressedBlocksResponse) Reset()

func (*GetCompressedBlocksResponse) String

func (x *GetCompressedBlocksResponse) String() string

type GetHeadersRequest

type GetHeadersRequest struct {

	// The height to start receiving headers
	StartHeight uint32 `protobuf:"varint,1,opt,name=start_height,json=startHeight,proto3" json:"start_height,omitempty"`
	// The last header height to return. Note that a maximum of 2000
	// blocks will be returned per request. If end_height is > start_height + 1999
	// then end_height will be set set to start_height + 1999 and 2000 headers
	// will be returned. If end_height is past the tip of the chain the headers
	// will be returned up to the tip.
	//
	// If end_height is less than start_height 2000 headers will be returned.
	EndHeight uint32 `protobuf:"varint,2,opt,name=end_height,json=endHeight,proto3" json:"end_height,omitempty"`
	// contains filtered or unexported fields
}

func (*GetHeadersRequest) Descriptor deprecated

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

Deprecated: Use GetHeadersRequest.ProtoReflect.Descriptor instead.

func (*GetHeadersRequest) GetEndHeight

func (x *GetHeadersRequest) GetEndHeight() uint32

func (*GetHeadersRequest) GetStartHeight

func (x *GetHeadersRequest) GetStartHeight() uint32

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 {
	Headers []*blocks.BlockHeader `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() []*blocks.BlockHeader

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 GetHostInfoRequest

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

NodeService

func (*GetHostInfoRequest) Descriptor deprecated

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

Deprecated: Use GetHostInfoRequest.ProtoReflect.Descriptor instead.

func (*GetHostInfoRequest) ProtoMessage

func (*GetHostInfoRequest) ProtoMessage()

func (*GetHostInfoRequest) ProtoReflect

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

func (*GetHostInfoRequest) Reset

func (x *GetHostInfoRequest) Reset()

func (*GetHostInfoRequest) String

func (x *GetHostInfoRequest) String() string

type GetHostInfoResponse

type GetHostInfoResponse struct {

	// The host peer ID
	Peer_ID string `protobuf:"bytes,1,opt,name=peer_ID,json=peerID,proto3" json:"peer_ID,omitempty"`
	// A list of multiaddrs that this node is listening on
	Addrs []string `protobuf:"bytes,2,rep,name=addrs,proto3" json:"addrs,omitempty"`
	// The number of peers this node is connected to
	Peers uint32 `protobuf:"varint,3,opt,name=peers,proto3" json:"peers,omitempty"`
	// Is tx index enabled
	TxIndex bool `protobuf:"varint,4,opt,name=tx_index,json=txIndex,proto3" json:"tx_index,omitempty"`
	// Is the wallet server enabled
	WalletServer bool `protobuf:"varint,5,opt,name=wallet_server,json=walletServer,proto3" json:"wallet_server,omitempty"`
	// contains filtered or unexported fields
}

func (*GetHostInfoResponse) Descriptor deprecated

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

Deprecated: Use GetHostInfoResponse.ProtoReflect.Descriptor instead.

func (*GetHostInfoResponse) GetAddrs

func (x *GetHostInfoResponse) GetAddrs() []string

func (*GetHostInfoResponse) GetPeer_ID

func (x *GetHostInfoResponse) GetPeer_ID() string

func (*GetHostInfoResponse) GetPeers

func (x *GetHostInfoResponse) GetPeers() uint32

func (*GetHostInfoResponse) GetTxIndex

func (x *GetHostInfoResponse) GetTxIndex() bool

func (*GetHostInfoResponse) GetWalletServer

func (x *GetHostInfoResponse) GetWalletServer() bool

func (*GetHostInfoResponse) ProtoMessage

func (*GetHostInfoResponse) ProtoMessage()

func (*GetHostInfoResponse) ProtoReflect

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

func (*GetHostInfoResponse) Reset

func (x *GetHostInfoResponse) Reset()

func (*GetHostInfoResponse) String

func (x *GetHostInfoResponse) String() string

type GetMempoolInfoRequest

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

BlockchainService

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 []*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() []*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 GetMerkleProofRequest

type GetMerkleProofRequest struct {

	// A transaction hash
	Transaction_ID []byte `protobuf:"bytes,1,opt,name=transaction_ID,json=transactionID,proto3" json:"transaction_ID,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMerkleProofRequest) Descriptor deprecated

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

Deprecated: Use GetMerkleProofRequest.ProtoReflect.Descriptor instead.

func (*GetMerkleProofRequest) GetTransaction_ID

func (x *GetMerkleProofRequest) GetTransaction_ID() []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"`
	// Is the proof hashes corresponding to the witness hash tree.
	Uhashes [][]byte `protobuf:"bytes,2,rep,name=Uhashes,proto3" json:"Uhashes,omitempty"`
	// Is the proof hashes corresponding to the witness hash tree.
	Whashes [][]byte `protobuf:"bytes,3,rep,name=Whashes,proto3" json:"Whashes,omitempty"`
	// The least significant bit in flags corresponds to the last hash in `hashes`. The second least
	// significant to the second to last hash, and so on. The bit signifies whether the hash should be
	// prepended (0) or appended (1) when hashing each level in the tree.
	Flags uint32 `protobuf:"varint,4,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() uint32

func (*GetMerkleProofResponse) GetUhashes

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

func (*GetMerkleProofResponse) GetWhashes

func (x *GetMerkleProofResponse) GetWhashes() [][]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 GetMinFeePerKilobyteRequest

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

func (*GetMinFeePerKilobyteRequest) Descriptor deprecated

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

Deprecated: Use GetMinFeePerKilobyteRequest.ProtoReflect.Descriptor instead.

func (*GetMinFeePerKilobyteRequest) ProtoMessage

func (*GetMinFeePerKilobyteRequest) ProtoMessage()

func (*GetMinFeePerKilobyteRequest) ProtoReflect

func (*GetMinFeePerKilobyteRequest) Reset

func (x *GetMinFeePerKilobyteRequest) Reset()

func (*GetMinFeePerKilobyteRequest) String

func (x *GetMinFeePerKilobyteRequest) String() string

type GetMinFeePerKilobyteResponse

type GetMinFeePerKilobyteResponse struct {

	// Fee per kilobyte response
	FeePerKilobyte uint64 `protobuf:"varint,1,opt,name=fee_per_kilobyte,json=feePerKilobyte,proto3" json:"fee_per_kilobyte,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMinFeePerKilobyteResponse) Descriptor deprecated

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

Deprecated: Use GetMinFeePerKilobyteResponse.ProtoReflect.Descriptor instead.

func (*GetMinFeePerKilobyteResponse) GetFeePerKilobyte

func (x *GetMinFeePerKilobyteResponse) GetFeePerKilobyte() uint64

func (*GetMinFeePerKilobyteResponse) ProtoMessage

func (*GetMinFeePerKilobyteResponse) ProtoMessage()

func (*GetMinFeePerKilobyteResponse) ProtoReflect

func (*GetMinFeePerKilobyteResponse) Reset

func (x *GetMinFeePerKilobyteResponse) Reset()

func (*GetMinFeePerKilobyteResponse) String

type GetMinStakeRequest

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

func (*GetMinStakeRequest) Descriptor deprecated

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

Deprecated: Use GetMinStakeRequest.ProtoReflect.Descriptor instead.

func (*GetMinStakeRequest) ProtoMessage

func (*GetMinStakeRequest) ProtoMessage()

func (*GetMinStakeRequest) ProtoReflect

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

func (*GetMinStakeRequest) Reset

func (x *GetMinStakeRequest) Reset()

func (*GetMinStakeRequest) String

func (x *GetMinStakeRequest) String() string

type GetMinStakeResponse

type GetMinStakeResponse struct {

	// Minimum stake response
	MinStakeAmount uint64 `protobuf:"varint,1,opt,name=min_stake_amount,json=minStakeAmount,proto3" json:"min_stake_amount,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMinStakeResponse) Descriptor deprecated

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

Deprecated: Use GetMinStakeResponse.ProtoReflect.Descriptor instead.

func (*GetMinStakeResponse) GetMinStakeAmount

func (x *GetMinStakeResponse) GetMinStakeAmount() uint64

func (*GetMinStakeResponse) ProtoMessage

func (*GetMinStakeResponse) ProtoMessage()

func (*GetMinStakeResponse) ProtoReflect

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

func (*GetMinStakeResponse) Reset

func (x *GetMinStakeResponse) Reset()

func (*GetMinStakeResponse) String

func (x *GetMinStakeResponse) String() string

type GetNetworkKeyRequest

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

func (*GetNetworkKeyRequest) Descriptor deprecated

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

Deprecated: Use GetNetworkKeyRequest.ProtoReflect.Descriptor instead.

func (*GetNetworkKeyRequest) ProtoMessage

func (*GetNetworkKeyRequest) ProtoMessage()

func (*GetNetworkKeyRequest) ProtoReflect

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

func (*GetNetworkKeyRequest) Reset

func (x *GetNetworkKeyRequest) Reset()

func (*GetNetworkKeyRequest) String

func (x *GetNetworkKeyRequest) String() string

type GetNetworkKeyResponse

type GetNetworkKeyResponse struct {

	// The nodes' serialized network key
	NetworkPrivateKey []byte `protobuf:"bytes,1,opt,name=networkPrivateKey,proto3" json:"networkPrivateKey,omitempty"`
	// contains filtered or unexported fields
}

func (*GetNetworkKeyResponse) Descriptor deprecated

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

Deprecated: Use GetNetworkKeyResponse.ProtoReflect.Descriptor instead.

func (*GetNetworkKeyResponse) GetNetworkPrivateKey

func (x *GetNetworkKeyResponse) GetNetworkPrivateKey() []byte

func (*GetNetworkKeyResponse) ProtoMessage

func (*GetNetworkKeyResponse) ProtoMessage()

func (*GetNetworkKeyResponse) ProtoReflect

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

func (*GetNetworkKeyResponse) Reset

func (x *GetNetworkKeyResponse) Reset()

func (*GetNetworkKeyResponse) String

func (x *GetNetworkKeyResponse) String() string

type GetNewAddressRequest

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

func (*GetNewAddressRequest) Descriptor deprecated

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

Deprecated: Use GetNewAddressRequest.ProtoReflect.Descriptor instead.

func (*GetNewAddressRequest) ProtoMessage

func (*GetNewAddressRequest) ProtoMessage()

func (*GetNewAddressRequest) ProtoReflect

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

func (*GetNewAddressRequest) Reset

func (x *GetNewAddressRequest) Reset()

func (*GetNewAddressRequest) String

func (x *GetNewAddressRequest) String() string

type GetNewAddressResponse

type GetNewAddressResponse struct {

	// A fresh address generated by the wallet
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (*GetNewAddressResponse) Descriptor deprecated

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

Deprecated: Use GetNewAddressResponse.ProtoReflect.Descriptor instead.

func (*GetNewAddressResponse) GetAddress

func (x *GetNewAddressResponse) GetAddress() string

func (*GetNewAddressResponse) ProtoMessage

func (*GetNewAddressResponse) ProtoMessage()

func (*GetNewAddressResponse) ProtoReflect

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

func (*GetNewAddressResponse) Reset

func (x *GetNewAddressResponse) Reset()

func (*GetNewAddressResponse) String

func (x *GetNewAddressResponse) String() string

type GetPeersRequest

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

func (*GetPeersRequest) Descriptor deprecated

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

Deprecated: Use GetPeersRequest.ProtoReflect.Descriptor instead.

func (*GetPeersRequest) ProtoMessage

func (*GetPeersRequest) ProtoMessage()

func (*GetPeersRequest) ProtoReflect

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

func (*GetPeersRequest) Reset

func (x *GetPeersRequest) Reset()

func (*GetPeersRequest) String

func (x *GetPeersRequest) String() string

type GetPeersResponse

type GetPeersResponse struct {

	// List of peers
	Peers []*Peer `protobuf:"bytes,1,rep,name=peers,proto3" json:"peers,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPeersResponse) Descriptor deprecated

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

Deprecated: Use GetPeersResponse.ProtoReflect.Descriptor instead.

func (*GetPeersResponse) GetPeers

func (x *GetPeersResponse) GetPeers() []*Peer

func (*GetPeersResponse) ProtoMessage

func (*GetPeersResponse) ProtoMessage()

func (*GetPeersResponse) ProtoReflect

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

func (*GetPeersResponse) Reset

func (x *GetPeersResponse) Reset()

func (*GetPeersResponse) String

func (x *GetPeersResponse) String() string

type GetPrivateKeyRequest

type GetPrivateKeyRequest struct {

	// The address to fetch private keys for
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPrivateKeyRequest) Descriptor deprecated

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

Deprecated: Use GetPrivateKeyRequest.ProtoReflect.Descriptor instead.

func (*GetPrivateKeyRequest) GetAddress

func (x *GetPrivateKeyRequest) GetAddress() string

func (*GetPrivateKeyRequest) ProtoMessage

func (*GetPrivateKeyRequest) ProtoMessage()

func (*GetPrivateKeyRequest) ProtoReflect

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

func (*GetPrivateKeyRequest) Reset

func (x *GetPrivateKeyRequest) Reset()

func (*GetPrivateKeyRequest) String

func (x *GetPrivateKeyRequest) String() string

type GetPrivateKeyResponse

type GetPrivateKeyResponse struct {
	SerializedKeys []byte `protobuf:"bytes,2,opt,name=serialized_keys,json=serializedKeys,proto3" json:"serialized_keys,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPrivateKeyResponse) Descriptor deprecated

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

Deprecated: Use GetPrivateKeyResponse.ProtoReflect.Descriptor instead.

func (*GetPrivateKeyResponse) GetSerializedKeys

func (x *GetPrivateKeyResponse) GetSerializedKeys() []byte

func (*GetPrivateKeyResponse) ProtoMessage

func (*GetPrivateKeyResponse) ProtoMessage()

func (*GetPrivateKeyResponse) ProtoReflect

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

func (*GetPrivateKeyResponse) Reset

func (x *GetPrivateKeyResponse) Reset()

func (*GetPrivateKeyResponse) String

func (x *GetPrivateKeyResponse) String() string

type GetTransactionRequest

type GetTransactionRequest struct {

	// A transaction hash
	Transaction_ID []byte `protobuf:"bytes,1,opt,name=transaction_ID,json=transactionID,proto3" json:"transaction_ID,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTransactionRequest) Descriptor deprecated

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

Deprecated: Use GetTransactionRequest.ProtoReflect.Descriptor instead.

func (*GetTransactionRequest) GetTransaction_ID

func (x *GetTransactionRequest) GetTransaction_ID() []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 {

	// The transaction response
	Tx *transactions.Transaction `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTransactionResponse) Descriptor deprecated

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

Deprecated: Use GetTransactionResponse.ProtoReflect.Descriptor instead.

func (*GetTransactionResponse) GetTx

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 GetTransactionsRequest

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

func (*GetTransactionsRequest) Descriptor deprecated

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

Deprecated: Use GetTransactionsRequest.ProtoReflect.Descriptor instead.

func (*GetTransactionsRequest) ProtoMessage

func (*GetTransactionsRequest) ProtoMessage()

func (*GetTransactionsRequest) ProtoReflect

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

func (*GetTransactionsRequest) Reset

func (x *GetTransactionsRequest) Reset()

func (*GetTransactionsRequest) String

func (x *GetTransactionsRequest) String() string

type GetTransactionsResponse

type GetTransactionsResponse struct {

	// All transactions in the wallet
	Txs []*WalletTransaction `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTransactionsResponse) Descriptor deprecated

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

Deprecated: Use GetTransactionsResponse.ProtoReflect.Descriptor instead.

func (*GetTransactionsResponse) GetTxs

func (*GetTransactionsResponse) ProtoMessage

func (*GetTransactionsResponse) ProtoMessage()

func (*GetTransactionsResponse) ProtoReflect

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

func (*GetTransactionsResponse) Reset

func (x *GetTransactionsResponse) Reset()

func (*GetTransactionsResponse) String

func (x *GetTransactionsResponse) String() string

type GetTreasuryWhitelistRequest

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

func (*GetTreasuryWhitelistRequest) Descriptor deprecated

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

Deprecated: Use GetTreasuryWhitelistRequest.ProtoReflect.Descriptor instead.

func (*GetTreasuryWhitelistRequest) ProtoMessage

func (*GetTreasuryWhitelistRequest) ProtoMessage()

func (*GetTreasuryWhitelistRequest) ProtoReflect

func (*GetTreasuryWhitelistRequest) Reset

func (x *GetTreasuryWhitelistRequest) Reset()

func (*GetTreasuryWhitelistRequest) String

func (x *GetTreasuryWhitelistRequest) String() string

type GetTreasuryWhitelistResponse

type GetTreasuryWhitelistResponse struct {

	// Whitelisted txids
	Txids [][]byte `protobuf:"bytes,1,rep,name=txids,proto3" json:"txids,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTreasuryWhitelistResponse) Descriptor deprecated

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

Deprecated: Use GetTreasuryWhitelistResponse.ProtoReflect.Descriptor instead.

func (*GetTreasuryWhitelistResponse) GetTxids

func (x *GetTreasuryWhitelistResponse) GetTxids() [][]byte

func (*GetTreasuryWhitelistResponse) ProtoMessage

func (*GetTreasuryWhitelistResponse) ProtoMessage()

func (*GetTreasuryWhitelistResponse) ProtoReflect

func (*GetTreasuryWhitelistResponse) Reset

func (x *GetTreasuryWhitelistResponse) Reset()

func (*GetTreasuryWhitelistResponse) String

type GetTxoProofRequest

type GetTxoProofRequest struct {

	// The output commitment to fetch the txo proof for
	Commitment []byte `protobuf:"bytes,1,opt,name=commitment,proto3" json:"commitment,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTxoProofRequest) Descriptor deprecated

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

Deprecated: Use GetTxoProofRequest.ProtoReflect.Descriptor instead.

func (*GetTxoProofRequest) GetCommitment

func (x *GetTxoProofRequest) GetCommitment() []byte

func (*GetTxoProofRequest) ProtoMessage

func (*GetTxoProofRequest) ProtoMessage()

func (*GetTxoProofRequest) ProtoReflect

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

func (*GetTxoProofRequest) Reset

func (x *GetTxoProofRequest) Reset()

func (*GetTxoProofRequest) String

func (x *GetTxoProofRequest) String() string

type GetTxoProofResponse

type GetTxoProofResponse struct {

	// The proof response
	Proof *TxoProof `protobuf:"bytes,1,opt,name=proof,proto3" json:"proof,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTxoProofResponse) Descriptor deprecated

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

Deprecated: Use GetTxoProofResponse.ProtoReflect.Descriptor instead.

func (*GetTxoProofResponse) GetProof

func (x *GetTxoProofResponse) GetProof() *TxoProof

func (*GetTxoProofResponse) ProtoMessage

func (*GetTxoProofResponse) ProtoMessage()

func (*GetTxoProofResponse) ProtoReflect

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

func (*GetTxoProofResponse) Reset

func (x *GetTxoProofResponse) Reset()

func (*GetTxoProofResponse) String

func (x *GetTxoProofResponse) String() string

type GetUtxosRequest

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

func (*GetUtxosRequest) Descriptor deprecated

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

Deprecated: Use GetUtxosRequest.ProtoReflect.Descriptor instead.

func (*GetUtxosRequest) ProtoMessage

func (*GetUtxosRequest) ProtoMessage()

func (*GetUtxosRequest) ProtoReflect

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

func (*GetUtxosRequest) Reset

func (x *GetUtxosRequest) Reset()

func (*GetUtxosRequest) String

func (x *GetUtxosRequest) String() string

type GetUtxosResponse

type GetUtxosResponse struct {

	// The full list of utxos in the wallet
	Utxos []*Utxo `protobuf:"bytes,1,rep,name=utxos,proto3" json:"utxos,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUtxosResponse) Descriptor deprecated

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

Deprecated: Use GetUtxosResponse.ProtoReflect.Descriptor instead.

func (*GetUtxosResponse) GetUtxos

func (x *GetUtxosResponse) GetUtxos() []*Utxo

func (*GetUtxosResponse) ProtoMessage

func (*GetUtxosResponse) ProtoMessage()

func (*GetUtxosResponse) ProtoReflect

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

func (*GetUtxosResponse) Reset

func (x *GetUtxosResponse) Reset()

func (*GetUtxosResponse) String

func (x *GetUtxosResponse) String() string

type GetValidatorRequest

type GetValidatorRequest struct {

	// A serialized validator ID
	Validator_ID []byte `protobuf:"bytes,1,opt,name=validator_ID,json=validatorID,proto3" json:"validator_ID,omitempty"`
	// contains filtered or unexported fields
}

func (*GetValidatorRequest) Descriptor deprecated

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

Deprecated: Use GetValidatorRequest.ProtoReflect.Descriptor instead.

func (*GetValidatorRequest) GetValidator_ID

func (x *GetValidatorRequest) GetValidator_ID() []byte

func (*GetValidatorRequest) ProtoMessage

func (*GetValidatorRequest) ProtoMessage()

func (*GetValidatorRequest) ProtoReflect

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

func (*GetValidatorRequest) Reset

func (x *GetValidatorRequest) Reset()

func (*GetValidatorRequest) String

func (x *GetValidatorRequest) String() string

type GetValidatorResponse

type GetValidatorResponse struct {

	// The validator response
	Validator *Validator `protobuf:"bytes,1,opt,name=validator,proto3" json:"validator,omitempty"`
	// contains filtered or unexported fields
}

func (*GetValidatorResponse) Descriptor deprecated

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

Deprecated: Use GetValidatorResponse.ProtoReflect.Descriptor instead.

func (*GetValidatorResponse) GetValidator

func (x *GetValidatorResponse) GetValidator() *Validator

func (*GetValidatorResponse) ProtoMessage

func (*GetValidatorResponse) ProtoMessage()

func (*GetValidatorResponse) ProtoReflect

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

func (*GetValidatorResponse) Reset

func (x *GetValidatorResponse) Reset()

func (*GetValidatorResponse) String

func (x *GetValidatorResponse) String() string

type GetValidatorSetInfoRequest

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

func (*GetValidatorSetInfoRequest) Descriptor deprecated

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

Deprecated: Use GetValidatorSetInfoRequest.ProtoReflect.Descriptor instead.

func (*GetValidatorSetInfoRequest) ProtoMessage

func (*GetValidatorSetInfoRequest) ProtoMessage()

func (*GetValidatorSetInfoRequest) ProtoReflect

func (*GetValidatorSetInfoRequest) Reset

func (x *GetValidatorSetInfoRequest) Reset()

func (*GetValidatorSetInfoRequest) String

func (x *GetValidatorSetInfoRequest) String() string

type GetValidatorSetInfoResponse

type GetValidatorSetInfoResponse struct {

	// The total number of coins staked on the network
	TotalStaked uint64 `protobuf:"varint,1,opt,name=total_staked,json=totalStaked,proto3" json:"total_staked,omitempty"`
	// The total number of validators on the network
	NumValidators uint32 `protobuf:"varint,2,opt,name=num_validators,json=numValidators,proto3" json:"num_validators,omitempty"`
	// contains filtered or unexported fields
}

func (*GetValidatorSetInfoResponse) Descriptor deprecated

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

Deprecated: Use GetValidatorSetInfoResponse.ProtoReflect.Descriptor instead.

func (*GetValidatorSetInfoResponse) GetNumValidators

func (x *GetValidatorSetInfoResponse) GetNumValidators() uint32

func (*GetValidatorSetInfoResponse) GetTotalStaked

func (x *GetValidatorSetInfoResponse) GetTotalStaked() uint64

func (*GetValidatorSetInfoResponse) ProtoMessage

func (*GetValidatorSetInfoResponse) ProtoMessage()

func (*GetValidatorSetInfoResponse) ProtoReflect

func (*GetValidatorSetInfoResponse) Reset

func (x *GetValidatorSetInfoResponse) Reset()

func (*GetValidatorSetInfoResponse) String

func (x *GetValidatorSetInfoResponse) String() string

type GetValidatorSetRequest

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

func (*GetValidatorSetRequest) Descriptor deprecated

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

Deprecated: Use GetValidatorSetRequest.ProtoReflect.Descriptor instead.

func (*GetValidatorSetRequest) ProtoMessage

func (*GetValidatorSetRequest) ProtoMessage()

func (*GetValidatorSetRequest) ProtoReflect

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

func (*GetValidatorSetRequest) Reset

func (x *GetValidatorSetRequest) Reset()

func (*GetValidatorSetRequest) String

func (x *GetValidatorSetRequest) String() string

type GetValidatorSetResponse

type GetValidatorSetResponse struct {

	// The full list of validators on the network
	Validators []*Validator `protobuf:"bytes,1,rep,name=validators,proto3" json:"validators,omitempty"`
	// contains filtered or unexported fields
}

func (*GetValidatorSetResponse) Descriptor deprecated

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

Deprecated: Use GetValidatorSetResponse.ProtoReflect.Descriptor instead.

func (*GetValidatorSetResponse) GetValidators

func (x *GetValidatorSetResponse) GetValidators() []*Validator

func (*GetValidatorSetResponse) ProtoMessage

func (*GetValidatorSetResponse) ProtoMessage()

func (*GetValidatorSetResponse) ProtoReflect

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

func (*GetValidatorSetResponse) Reset

func (x *GetValidatorSetResponse) Reset()

func (*GetValidatorSetResponse) String

func (x *GetValidatorSetResponse) String() string

type GetWalletSeedRequest

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

func (*GetWalletSeedRequest) Descriptor deprecated

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

Deprecated: Use GetWalletSeedRequest.ProtoReflect.Descriptor instead.

func (*GetWalletSeedRequest) ProtoMessage

func (*GetWalletSeedRequest) ProtoMessage()

func (*GetWalletSeedRequest) ProtoReflect

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

func (*GetWalletSeedRequest) Reset

func (x *GetWalletSeedRequest) Reset()

func (*GetWalletSeedRequest) String

func (x *GetWalletSeedRequest) String() string

type GetWalletSeedResponse

type GetWalletSeedResponse struct {

	// The wallet's mnemonic seed
	MnemonicSeed string `protobuf:"bytes,1,opt,name=mnemonic_seed,json=mnemonicSeed,proto3" json:"mnemonic_seed,omitempty"`
	// contains filtered or unexported fields
}

func (*GetWalletSeedResponse) Descriptor deprecated

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

Deprecated: Use GetWalletSeedResponse.ProtoReflect.Descriptor instead.

func (*GetWalletSeedResponse) GetMnemonicSeed

func (x *GetWalletSeedResponse) GetMnemonicSeed() string

func (*GetWalletSeedResponse) ProtoMessage

func (*GetWalletSeedResponse) ProtoMessage()

func (*GetWalletSeedResponse) ProtoReflect

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

func (*GetWalletSeedResponse) Reset

func (x *GetWalletSeedResponse) Reset()

func (*GetWalletSeedResponse) String

func (x *GetWalletSeedResponse) String() string

type GetWalletTransactionsRequest

type GetWalletTransactionsRequest struct {

	// The view key to query transactions
	ViewKey string `protobuf:"bytes,1,opt,name=view_key,json=viewKey,proto3" json:"view_key,omitempty"`
	// The number of 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:
	//	*GetWalletTransactionsRequest_Block_ID
	//	*GetWalletTransactionsRequest_Height
	StartBlock isGetWalletTransactionsRequest_StartBlock `protobuf_oneof:"start_block"`
	// contains filtered or unexported fields
}

func (*GetWalletTransactionsRequest) Descriptor deprecated

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

Deprecated: Use GetWalletTransactionsRequest.ProtoReflect.Descriptor instead.

func (*GetWalletTransactionsRequest) GetBlock_ID

func (x *GetWalletTransactionsRequest) GetBlock_ID() []byte

func (*GetWalletTransactionsRequest) GetHeight

func (x *GetWalletTransactionsRequest) GetHeight() int32

func (*GetWalletTransactionsRequest) GetNbFetch

func (x *GetWalletTransactionsRequest) GetNbFetch() uint32

func (*GetWalletTransactionsRequest) GetNbSkip

func (x *GetWalletTransactionsRequest) GetNbSkip() uint32

func (*GetWalletTransactionsRequest) GetStartBlock

func (m *GetWalletTransactionsRequest) GetStartBlock() isGetWalletTransactionsRequest_StartBlock

func (*GetWalletTransactionsRequest) GetViewKey

func (x *GetWalletTransactionsRequest) GetViewKey() string

func (*GetWalletTransactionsRequest) ProtoMessage

func (*GetWalletTransactionsRequest) ProtoMessage()

func (*GetWalletTransactionsRequest) ProtoReflect

func (*GetWalletTransactionsRequest) Reset

func (x *GetWalletTransactionsRequest) Reset()

func (*GetWalletTransactionsRequest) String

type GetWalletTransactionsRequest_Block_ID

type GetWalletTransactionsRequest_Block_ID struct {
	// Recommended. Only get transactions after (or within) a
	// starting block identified by hash.
	Block_ID []byte `protobuf:"bytes,4,opt,name=block_ID,json=blockID,proto3,oneof"`
}

type GetWalletTransactionsRequest_Height

type GetWalletTransactionsRequest_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 GetWalletTransactionsResponse

type GetWalletTransactionsResponse struct {

	// A list of transactions as the response
	Transactions []*transactions.Transaction `protobuf:"bytes,1,rep,name=transactions,proto3" json:"transactions,omitempty"`
	// contains filtered or unexported fields
}

func (*GetWalletTransactionsResponse) Descriptor deprecated

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

Deprecated: Use GetWalletTransactionsResponse.ProtoReflect.Descriptor instead.

func (*GetWalletTransactionsResponse) GetTransactions

func (x *GetWalletTransactionsResponse) GetTransactions() []*transactions.Transaction

func (*GetWalletTransactionsResponse) ProtoMessage

func (*GetWalletTransactionsResponse) ProtoMessage()

func (*GetWalletTransactionsResponse) ProtoReflect

func (*GetWalletTransactionsResponse) Reset

func (x *GetWalletTransactionsResponse) Reset()

func (*GetWalletTransactionsResponse) String

type ImportAddressRequest

type ImportAddressRequest struct {

	// The address to import
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// The address contains a scriptHash. We also
	// need what's behind the hash in order to
	// import an address and detect spends.
	//
	// This is the serialized unlocking script
	// <scriptCommitment><scriptParams>
	UnlockingScript []byte `protobuf:"bytes,2,opt,name=unlockingScript,proto3" json:"unlockingScript,omitempty"`
	// The view private key needed to decrypt and
	// detect transactions.
	ViewPrivateKey []byte `protobuf:"bytes,3,opt,name=viewPrivateKey,proto3" json:"viewPrivateKey,omitempty"`
	// Should the wallet rescan the blockchain looking for
	// transactions for this address.
	Rescan bool `protobuf:"varint,4,opt,name=rescan,proto3" json:"rescan,omitempty"`
	// If so what height should it start the rescan.
	RescanFromHeight uint32 `protobuf:"varint,5,opt,name=rescanFromHeight,proto3" json:"rescanFromHeight,omitempty"`
	// contains filtered or unexported fields
}

func (*ImportAddressRequest) Descriptor deprecated

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

Deprecated: Use ImportAddressRequest.ProtoReflect.Descriptor instead.

func (*ImportAddressRequest) GetAddress

func (x *ImportAddressRequest) GetAddress() string

func (*ImportAddressRequest) GetRescan

func (x *ImportAddressRequest) GetRescan() bool

func (*ImportAddressRequest) GetRescanFromHeight

func (x *ImportAddressRequest) GetRescanFromHeight() uint32

func (*ImportAddressRequest) GetUnlockingScript

func (x *ImportAddressRequest) GetUnlockingScript() []byte

func (*ImportAddressRequest) GetViewPrivateKey

func (x *ImportAddressRequest) GetViewPrivateKey() []byte

func (*ImportAddressRequest) ProtoMessage

func (*ImportAddressRequest) ProtoMessage()

func (*ImportAddressRequest) ProtoReflect

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

func (*ImportAddressRequest) Reset

func (x *ImportAddressRequest) Reset()

func (*ImportAddressRequest) String

func (x *ImportAddressRequest) String() string

type ImportAddressResponse

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

func (*ImportAddressResponse) Descriptor deprecated

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

Deprecated: Use ImportAddressResponse.ProtoReflect.Descriptor instead.

func (*ImportAddressResponse) ProtoMessage

func (*ImportAddressResponse) ProtoMessage()

func (*ImportAddressResponse) ProtoReflect

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

func (*ImportAddressResponse) Reset

func (x *ImportAddressResponse) Reset()

func (*ImportAddressResponse) String

func (x *ImportAddressResponse) String() string

type MempoolTransaction

type MempoolTransaction struct {
	Transaction *transactions.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 the transaction pays.
	Fee int64 `protobuf:"varint,4,opt,name=fee,proto3" json:"fee,omitempty"`
	// The fee per kilobyte the transaction pays.
	FeePerKilobyte int64 `protobuf:"varint,5,opt,name=fee_per_kilobyte,json=feePerKilobyte,proto3" json:"fee_per_kilobyte,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) GetFeePerKilobyte

func (x *MempoolTransaction) GetFeePerKilobyte() int64

func (*MempoolTransaction) GetTransaction

func (x *MempoolTransaction) GetTransaction() *transactions.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 NodeServiceClient

type NodeServiceClient interface {
	// GetHostInfo returns info about the libp2p host
	GetHostInfo(ctx context.Context, in *GetHostInfoRequest, opts ...grpc.CallOption) (*GetHostInfoResponse, error)
	// GetNetworkKey returns the node's network private key
	GetNetworkKey(ctx context.Context, in *GetNetworkKeyRequest, opts ...grpc.CallOption) (*GetNetworkKeyResponse, error)
	// GetPeers returns a list of peers that this node is connected to
	GetPeers(ctx context.Context, in *GetPeersRequest, opts ...grpc.CallOption) (*GetPeersResponse, error)
	// AddPeer attempts to connect to the provided peer
	AddPeer(ctx context.Context, in *AddPeerRequest, opts ...grpc.CallOption) (*AddPeerResponse, error)
	// BlockPeer blocks the given peer for the provided time period
	BlockPeer(ctx context.Context, in *BlockPeerRequest, opts ...grpc.CallOption) (*BlockPeerResponse, error)
	// UnblockPeer removes a peer from the block list
	UnblockPeer(ctx context.Context, in *UnblockPeerRequest, opts ...grpc.CallOption) (*UnblockPeerResponse, error)
	// SetLogLevel changes the logging level of the node
	SetLogLevel(ctx context.Context, in *SetLogLevelRequest, opts ...grpc.CallOption) (*SetLogLevelResponse, error)
	// GetMinFeePerKilobyte returns the node's current minimum transaction fee needed to relay
	// transactions and admit them into the mempool. Validators will also set their initial preference
	// for blocks containing transactions with fees below this threshold to not-preferred.
	GetMinFeePerKilobyte(ctx context.Context, in *GetMinFeePerKilobyteRequest, opts ...grpc.CallOption) (*GetMinFeePerKilobyteResponse, error)
	// SetMinFeePerKilobyte sets the node's fee policy
	SetMinFeePerKilobyte(ctx context.Context, in *SetMinFeePerKilobyteRequest, opts ...grpc.CallOption) (*SetMinFeePerKilobyteResponse, error)
	// GetMinStake returns the node's current minimum stake policy. Stake transactions staking less than
	// this amount will not be admitted into the mempool and will not be relayed. Validators will also
	// set their initial preference for blocks containing stake transactions below this threshold to
	// not-preferred.
	GetMinStake(ctx context.Context, in *GetMinStakeRequest, opts ...grpc.CallOption) (*GetMinStakeResponse, error)
	// SetMinStake sets the node's minimum stake policy
	SetMinStake(ctx context.Context, in *SetMinStakeRequest, opts ...grpc.CallOption) (*SetMinStakeResponse, error)
	// GetBlockSizeSoftLimit returns the node's current blocksize soft limit. Validators will also
	// set their initial preference for blocks over this size to not-preferred.
	GetBlockSizeSoftLimit(ctx context.Context, in *GetBlockSizeSoftLimitRequest, opts ...grpc.CallOption) (*GetBlockSizeSoftLimitResponse, error)
	// SetBlockSizeSoftLimit sets the node's blocksize soft limit policy.
	SetBlockSizeSoftLimit(ctx context.Context, in *SetBlockSizeSoftLimitRequest, opts ...grpc.CallOption) (*SetBlockSizeSoftLimitResponse, error)
	// GetTreasuryWhitelist returns the current treasury whitelist for the node. Blocks containing
	// TreasuryTransactions not found in this list will have their initial preference set to not-preferred.
	GetTreasuryWhitelist(ctx context.Context, in *GetTreasuryWhitelistRequest, opts ...grpc.CallOption) (*GetTreasuryWhitelistResponse, error)
	// UpdateTreasuryWhitelist adds or removes a transaction to from the treasury whitelist
	UpdateTreasuryWhitelist(ctx context.Context, in *UpdateTreasuryWhitelistRequest, opts ...grpc.CallOption) (*UpdateTreasuryWhitelistResponse, error)
	// ReconsiderBlock tries to reprocess the given block
	ReconsiderBlock(ctx context.Context, in *ReconsiderBlockRequest, opts ...grpc.CallOption) (*ReconsiderBlockResponse, error)
	// RecomputeChainState deletes the accumulator, validator set, and nullifier set and rebuilds them by
	// loading and re-processing all blocks from genesis.
	RecomputeChainState(ctx context.Context, in *RecomputeChainStateRequest, opts ...grpc.CallOption) (*RecomputeChainStateResponse, error)
}

NodeServiceClient is the client API for NodeService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type NodeServiceServer

type NodeServiceServer interface {
	// GetHostInfo returns info about the libp2p host
	GetHostInfo(context.Context, *GetHostInfoRequest) (*GetHostInfoResponse, error)
	// GetNetworkKey returns the node's network private key
	GetNetworkKey(context.Context, *GetNetworkKeyRequest) (*GetNetworkKeyResponse, error)
	// GetPeers returns a list of peers that this node is connected to
	GetPeers(context.Context, *GetPeersRequest) (*GetPeersResponse, error)
	// AddPeer attempts to connect to the provided peer
	AddPeer(context.Context, *AddPeerRequest) (*AddPeerResponse, error)
	// BlockPeer blocks the given peer for the provided time period
	BlockPeer(context.Context, *BlockPeerRequest) (*BlockPeerResponse, error)
	// UnblockPeer removes a peer from the block list
	UnblockPeer(context.Context, *UnblockPeerRequest) (*UnblockPeerResponse, error)
	// SetLogLevel changes the logging level of the node
	SetLogLevel(context.Context, *SetLogLevelRequest) (*SetLogLevelResponse, error)
	// GetMinFeePerKilobyte returns the node's current minimum transaction fee needed to relay
	// transactions and admit them into the mempool. Validators will also set their initial preference
	// for blocks containing transactions with fees below this threshold to not-preferred.
	GetMinFeePerKilobyte(context.Context, *GetMinFeePerKilobyteRequest) (*GetMinFeePerKilobyteResponse, error)
	// SetMinFeePerKilobyte sets the node's fee policy
	SetMinFeePerKilobyte(context.Context, *SetMinFeePerKilobyteRequest) (*SetMinFeePerKilobyteResponse, error)
	// GetMinStake returns the node's current minimum stake policy. Stake transactions staking less than
	// this amount will not be admitted into the mempool and will not be relayed. Validators will also
	// set their initial preference for blocks containing stake transactions below this threshold to
	// not-preferred.
	GetMinStake(context.Context, *GetMinStakeRequest) (*GetMinStakeResponse, error)
	// SetMinStake sets the node's minimum stake policy
	SetMinStake(context.Context, *SetMinStakeRequest) (*SetMinStakeResponse, error)
	// GetBlockSizeSoftLimit returns the node's current blocksize soft limit. Validators will also
	// set their initial preference for blocks over this size to not-preferred.
	GetBlockSizeSoftLimit(context.Context, *GetBlockSizeSoftLimitRequest) (*GetBlockSizeSoftLimitResponse, error)
	// SetBlockSizeSoftLimit sets the node's blocksize soft limit policy.
	SetBlockSizeSoftLimit(context.Context, *SetBlockSizeSoftLimitRequest) (*SetBlockSizeSoftLimitResponse, error)
	// GetTreasuryWhitelist returns the current treasury whitelist for the node. Blocks containing
	// TreasuryTransactions not found in this list will have their initial preference set to not-preferred.
	GetTreasuryWhitelist(context.Context, *GetTreasuryWhitelistRequest) (*GetTreasuryWhitelistResponse, error)
	// UpdateTreasuryWhitelist adds or removes a transaction to from the treasury whitelist
	UpdateTreasuryWhitelist(context.Context, *UpdateTreasuryWhitelistRequest) (*UpdateTreasuryWhitelistResponse, error)
	// ReconsiderBlock tries to reprocess the given block
	ReconsiderBlock(context.Context, *ReconsiderBlockRequest) (*ReconsiderBlockResponse, error)
	// RecomputeChainState deletes the accumulator, validator set, and nullifier set and rebuilds them by
	// loading and re-processing all blocks from genesis.
	RecomputeChainState(context.Context, *RecomputeChainStateRequest) (*RecomputeChainStateResponse, error)
	// contains filtered or unexported methods
}

NodeServiceServer is the server API for NodeService service. All implementations must embed UnimplementedNodeServiceServer for forward compatibility

type Peer

type Peer struct {

	// Peer ID
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Multiaddrs
	Addrs []string `protobuf:"bytes,2,rep,name=addrs,proto3" json:"addrs,omitempty"`
	// contains filtered or unexported fields
}

func (*Peer) Descriptor deprecated

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

Deprecated: Use Peer.ProtoReflect.Descriptor instead.

func (*Peer) GetAddrs

func (x *Peer) GetAddrs() []string

func (*Peer) GetId

func (x *Peer) GetId() string

func (*Peer) ProtoMessage

func (*Peer) ProtoMessage()

func (*Peer) ProtoReflect

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

func (*Peer) Reset

func (x *Peer) Reset()

func (*Peer) String

func (x *Peer) String() string

type PrivateInput

type PrivateInput struct {

	// The amount of the input
	Amount uint64 `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"`
	// Input salt
	Salt []byte `protobuf:"bytes,2,opt,name=salt,proto3" json:"salt,omitempty"`
	// Input asset ID
	Asset_ID []byte `protobuf:"bytes,3,opt,name=asset_ID,json=assetID,proto3" json:"asset_ID,omitempty"`
	// Input state
	State []byte `protobuf:"bytes,4,opt,name=state,proto3" json:"state,omitempty"`
	// The unlocking function commitment
	ScriptCommitment []byte `protobuf:"bytes,5,opt,name=script_commitment,json=scriptCommitment,proto3" json:"script_commitment,omitempty"`
	// The unlocking function parameters
	ScriptParams [][]byte `protobuf:"bytes,6,rep,name=script_params,json=scriptParams,proto3" json:"script_params,omitempty"`
	// The txo proof linking the input
	// commitment to the accumulator
	TxoProof *TxoProof `protobuf:"bytes,7,opt,name=txo_proof,json=txoProof,proto3" json:"txo_proof,omitempty"`
	// contains filtered or unexported fields
}

func (*PrivateInput) Descriptor deprecated

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

Deprecated: Use PrivateInput.ProtoReflect.Descriptor instead.

func (*PrivateInput) GetAmount

func (x *PrivateInput) GetAmount() uint64

func (*PrivateInput) GetAsset_ID

func (x *PrivateInput) GetAsset_ID() []byte

func (*PrivateInput) GetSalt

func (x *PrivateInput) GetSalt() []byte

func (*PrivateInput) GetScriptCommitment

func (x *PrivateInput) GetScriptCommitment() []byte

func (*PrivateInput) GetScriptParams

func (x *PrivateInput) GetScriptParams() [][]byte

func (*PrivateInput) GetState

func (x *PrivateInput) GetState() []byte

func (*PrivateInput) GetTxoProof

func (x *PrivateInput) GetTxoProof() *TxoProof

func (*PrivateInput) MarshalJSON

func (i *PrivateInput) MarshalJSON() ([]byte, error)

func (*PrivateInput) ProtoMessage

func (*PrivateInput) ProtoMessage()

func (*PrivateInput) ProtoReflect

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

func (*PrivateInput) Reset

func (x *PrivateInput) Reset()

func (*PrivateInput) String

func (x *PrivateInput) String() string

func (*PrivateInput) UnmarshalJSON

func (i *PrivateInput) UnmarshalJSON(data []byte) error

type PrivateOutput

type PrivateOutput struct {

	// Output amount
	Amount uint64 `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"`
	// Output salt
	Salt []byte `protobuf:"bytes,2,opt,name=salt,proto3" json:"salt,omitempty"`
	// Output asset ID
	Asset_ID []byte `protobuf:"bytes,3,opt,name=asset_ID,json=assetID,proto3" json:"asset_ID,omitempty"`
	// Output state
	State []byte `protobuf:"bytes,4,opt,name=state,proto3" json:"state,omitempty"`
	// Output scriptHash
	ScriptHash []byte `protobuf:"bytes,5,opt,name=script_hash,json=scriptHash,proto3" json:"script_hash,omitempty"`
	// contains filtered or unexported fields
}

func (*PrivateOutput) Descriptor deprecated

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

Deprecated: Use PrivateOutput.ProtoReflect.Descriptor instead.

func (*PrivateOutput) GetAmount

func (x *PrivateOutput) GetAmount() uint64

func (*PrivateOutput) GetAsset_ID

func (x *PrivateOutput) GetAsset_ID() []byte

func (*PrivateOutput) GetSalt

func (x *PrivateOutput) GetSalt() []byte

func (*PrivateOutput) GetScriptHash

func (x *PrivateOutput) GetScriptHash() []byte

func (*PrivateOutput) GetState

func (x *PrivateOutput) GetState() []byte

func (*PrivateOutput) MarshalJSON

func (o *PrivateOutput) MarshalJSON() ([]byte, error)

func (*PrivateOutput) ProtoMessage

func (*PrivateOutput) ProtoMessage()

func (*PrivateOutput) ProtoReflect

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

func (*PrivateOutput) Reset

func (x *PrivateOutput) Reset()

func (*PrivateOutput) String

func (x *PrivateOutput) String() string

func (*PrivateOutput) UnmarshalJSON

func (o *PrivateOutput) UnmarshalJSON(data []byte) error

type ProveMultisigRequest

type ProveMultisigRequest struct {

	// A transaction to prove. This RPC requires there to be only one
	// input and that the input be a multisig script.
	Tx *RawTransaction `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"`
	// A list of signatures. Each one must cover the transaction's sighash.
	Sigs [][]byte `protobuf:"bytes,2,rep,name=sigs,proto3" json:"sigs,omitempty"`
	// contains filtered or unexported fields
}

func (*ProveMultisigRequest) Descriptor deprecated

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

Deprecated: Use ProveMultisigRequest.ProtoReflect.Descriptor instead.

func (*ProveMultisigRequest) GetSigs

func (x *ProveMultisigRequest) GetSigs() [][]byte

func (*ProveMultisigRequest) GetTx

func (*ProveMultisigRequest) ProtoMessage

func (*ProveMultisigRequest) ProtoMessage()

func (*ProveMultisigRequest) ProtoReflect

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

func (*ProveMultisigRequest) Reset

func (x *ProveMultisigRequest) Reset()

func (*ProveMultisigRequest) String

func (x *ProveMultisigRequest) String() string

type ProveMultisigResponse

type ProveMultisigResponse struct {

	// A full transaction with the proof attached
	ProvedTx *transactions.Transaction `protobuf:"bytes,1,opt,name=proved_tx,json=provedTx,proto3" json:"proved_tx,omitempty"`
	// contains filtered or unexported fields
}

func (*ProveMultisigResponse) Descriptor deprecated

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

Deprecated: Use ProveMultisigResponse.ProtoReflect.Descriptor instead.

func (*ProveMultisigResponse) GetProvedTx

func (*ProveMultisigResponse) ProtoMessage

func (*ProveMultisigResponse) ProtoMessage()

func (*ProveMultisigResponse) ProtoReflect

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

func (*ProveMultisigResponse) Reset

func (x *ProveMultisigResponse) Reset()

func (*ProveMultisigResponse) String

func (x *ProveMultisigResponse) String() string

type ProveRawTransactionRequest

type ProveRawTransactionRequest struct {

	// The raw transaction to prove
	Tx *RawTransaction `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"`
	// contains filtered or unexported fields
}

func (*ProveRawTransactionRequest) Descriptor deprecated

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

Deprecated: Use ProveRawTransactionRequest.ProtoReflect.Descriptor instead.

func (*ProveRawTransactionRequest) GetTx

func (*ProveRawTransactionRequest) ProtoMessage

func (*ProveRawTransactionRequest) ProtoMessage()

func (*ProveRawTransactionRequest) ProtoReflect

func (*ProveRawTransactionRequest) Reset

func (x *ProveRawTransactionRequest) Reset()

func (*ProveRawTransactionRequest) String

func (x *ProveRawTransactionRequest) String() string

type ProveRawTransactionResponse

type ProveRawTransactionResponse struct {

	// A full transaction with the proof attached
	ProvedTx *transactions.Transaction `protobuf:"bytes,1,opt,name=proved_tx,json=provedTx,proto3" json:"proved_tx,omitempty"`
	// contains filtered or unexported fields
}

func (*ProveRawTransactionResponse) Descriptor deprecated

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

Deprecated: Use ProveRawTransactionResponse.ProtoReflect.Descriptor instead.

func (*ProveRawTransactionResponse) GetProvedTx

func (*ProveRawTransactionResponse) ProtoMessage

func (*ProveRawTransactionResponse) ProtoMessage()

func (*ProveRawTransactionResponse) ProtoReflect

func (*ProveRawTransactionResponse) Reset

func (x *ProveRawTransactionResponse) Reset()

func (*ProveRawTransactionResponse) String

func (x *ProveRawTransactionResponse) String() string

type RawTransaction

type RawTransaction struct {

	// The transaction as it appears on the network
	Tx *transactions.Transaction `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"`
	// The private (hidden) data for each input
	Inputs []*PrivateInput `protobuf:"bytes,2,rep,name=inputs,proto3" json:"inputs,omitempty"`
	// The private (hidden) data for each output
	Outputs []*PrivateOutput `protobuf:"bytes,3,rep,name=outputs,proto3" json:"outputs,omitempty"`
	// contains filtered or unexported fields
}

func (*RawTransaction) Descriptor deprecated

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

Deprecated: Use RawTransaction.ProtoReflect.Descriptor instead.

func (*RawTransaction) GetInputs

func (x *RawTransaction) GetInputs() []*PrivateInput

func (*RawTransaction) GetOutputs

func (x *RawTransaction) GetOutputs() []*PrivateOutput

func (*RawTransaction) GetTx

func (*RawTransaction) MarshalJSON

func (r *RawTransaction) MarshalJSON() ([]byte, error)

func (*RawTransaction) ProtoMessage

func (*RawTransaction) ProtoMessage()

func (*RawTransaction) ProtoReflect

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

func (*RawTransaction) Reset

func (x *RawTransaction) Reset()

func (*RawTransaction) String

func (x *RawTransaction) String() string

func (*RawTransaction) UnmarshalJSON

func (r *RawTransaction) UnmarshalJSON(data []byte) error

type RecomputeChainStateRequest

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

func (*RecomputeChainStateRequest) Descriptor deprecated

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

Deprecated: Use RecomputeChainStateRequest.ProtoReflect.Descriptor instead.

func (*RecomputeChainStateRequest) ProtoMessage

func (*RecomputeChainStateRequest) ProtoMessage()

func (*RecomputeChainStateRequest) ProtoReflect

func (*RecomputeChainStateRequest) Reset

func (x *RecomputeChainStateRequest) Reset()

func (*RecomputeChainStateRequest) String

func (x *RecomputeChainStateRequest) String() string

type RecomputeChainStateResponse

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

func (*RecomputeChainStateResponse) Descriptor deprecated

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

Deprecated: Use RecomputeChainStateResponse.ProtoReflect.Descriptor instead.

func (*RecomputeChainStateResponse) ProtoMessage

func (*RecomputeChainStateResponse) ProtoMessage()

func (*RecomputeChainStateResponse) ProtoReflect

func (*RecomputeChainStateResponse) Reset

func (x *RecomputeChainStateResponse) Reset()

func (*RecomputeChainStateResponse) String

func (x *RecomputeChainStateResponse) String() string

type ReconsiderBlockRequest

type ReconsiderBlockRequest struct {

	// Block ID to reconsider.
	Block_ID []byte `protobuf:"bytes,1,opt,name=block_ID,json=blockID,proto3" json:"block_ID,omitempty"`
	// We likely don't have the block and will have to download it from
	// another peer. You can set the peer here. If empty we will try to find
	// it form a few random peers.
	DownloadPeer string `protobuf:"bytes,2,opt,name=download_peer,json=downloadPeer,proto3" json:"download_peer,omitempty"`
	// contains filtered or unexported fields
}

func (*ReconsiderBlockRequest) Descriptor deprecated

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

Deprecated: Use ReconsiderBlockRequest.ProtoReflect.Descriptor instead.

func (*ReconsiderBlockRequest) GetBlock_ID

func (x *ReconsiderBlockRequest) GetBlock_ID() []byte

func (*ReconsiderBlockRequest) GetDownloadPeer

func (x *ReconsiderBlockRequest) GetDownloadPeer() string

func (*ReconsiderBlockRequest) ProtoMessage

func (*ReconsiderBlockRequest) ProtoMessage()

func (*ReconsiderBlockRequest) ProtoReflect

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

func (*ReconsiderBlockRequest) Reset

func (x *ReconsiderBlockRequest) Reset()

func (*ReconsiderBlockRequest) String

func (x *ReconsiderBlockRequest) String() string

type ReconsiderBlockResponse

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

func (*ReconsiderBlockResponse) Descriptor deprecated

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

Deprecated: Use ReconsiderBlockResponse.ProtoReflect.Descriptor instead.

func (*ReconsiderBlockResponse) ProtoMessage

func (*ReconsiderBlockResponse) ProtoMessage()

func (*ReconsiderBlockResponse) ProtoReflect

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

func (*ReconsiderBlockResponse) Reset

func (x *ReconsiderBlockResponse) Reset()

func (*ReconsiderBlockResponse) String

func (x *ReconsiderBlockResponse) String() string

type RegisterViewKeyRequest

type RegisterViewKeyRequest struct {

	// A view key to register with the server.
	ViewKey string `protobuf:"bytes,1,opt,name=view_key,json=viewKey,proto3" json:"view_key,omitempty"`
	// The date the address was created. The server will scan historical blocks
	// for matching transactions from the birthday forward. Please don't use an
	// earlier birthday than needed as it puts more stress on the server.
	Birthday int64 `protobuf:"varint,2,opt,name=birthday,proto3" json:"birthday,omitempty"`
	// contains filtered or unexported fields
}

WalletServerService

func (*RegisterViewKeyRequest) Descriptor deprecated

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

Deprecated: Use RegisterViewKeyRequest.ProtoReflect.Descriptor instead.

func (*RegisterViewKeyRequest) GetBirthday

func (x *RegisterViewKeyRequest) GetBirthday() int64

func (*RegisterViewKeyRequest) GetViewKey

func (x *RegisterViewKeyRequest) GetViewKey() string

func (*RegisterViewKeyRequest) ProtoMessage

func (*RegisterViewKeyRequest) ProtoMessage()

func (*RegisterViewKeyRequest) ProtoReflect

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

func (*RegisterViewKeyRequest) Reset

func (x *RegisterViewKeyRequest) Reset()

func (*RegisterViewKeyRequest) String

func (x *RegisterViewKeyRequest) String() string

type RegisterViewKeyResponse

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

func (*RegisterViewKeyResponse) Descriptor deprecated

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

Deprecated: Use RegisterViewKeyResponse.ProtoReflect.Descriptor instead.

func (*RegisterViewKeyResponse) ProtoMessage

func (*RegisterViewKeyResponse) ProtoMessage()

func (*RegisterViewKeyResponse) ProtoReflect

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

func (*RegisterViewKeyResponse) Reset

func (x *RegisterViewKeyResponse) Reset()

func (*RegisterViewKeyResponse) String

func (x *RegisterViewKeyResponse) String() string

type SetAutoStakeRewardsRequest

type SetAutoStakeRewardsRequest struct {

	// Whether to turn on or off autostaking
	Autostake bool `protobuf:"varint,1,opt,name=autostake,proto3" json:"autostake,omitempty"`
	// contains filtered or unexported fields
}

func (*SetAutoStakeRewardsRequest) Descriptor deprecated

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

Deprecated: Use SetAutoStakeRewardsRequest.ProtoReflect.Descriptor instead.

func (*SetAutoStakeRewardsRequest) GetAutostake

func (x *SetAutoStakeRewardsRequest) GetAutostake() bool

func (*SetAutoStakeRewardsRequest) ProtoMessage

func (*SetAutoStakeRewardsRequest) ProtoMessage()

func (*SetAutoStakeRewardsRequest) ProtoReflect

func (*SetAutoStakeRewardsRequest) Reset

func (x *SetAutoStakeRewardsRequest) Reset()

func (*SetAutoStakeRewardsRequest) String

func (x *SetAutoStakeRewardsRequest) String() string

type SetAutoStakeRewardsResponse

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

func (*SetAutoStakeRewardsResponse) Descriptor deprecated

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

Deprecated: Use SetAutoStakeRewardsResponse.ProtoReflect.Descriptor instead.

func (*SetAutoStakeRewardsResponse) ProtoMessage

func (*SetAutoStakeRewardsResponse) ProtoMessage()

func (*SetAutoStakeRewardsResponse) ProtoReflect

func (*SetAutoStakeRewardsResponse) Reset

func (x *SetAutoStakeRewardsResponse) Reset()

func (*SetAutoStakeRewardsResponse) String

func (x *SetAutoStakeRewardsResponse) String() string

type SetBlockSizeSoftLimitRequest

type SetBlockSizeSoftLimitRequest struct {

	// Blocksize to set
	BlockSize uint32 `protobuf:"varint,1,opt,name=block_size,json=blockSize,proto3" json:"block_size,omitempty"`
	// contains filtered or unexported fields
}

func (*SetBlockSizeSoftLimitRequest) Descriptor deprecated

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

Deprecated: Use SetBlockSizeSoftLimitRequest.ProtoReflect.Descriptor instead.

func (*SetBlockSizeSoftLimitRequest) GetBlockSize

func (x *SetBlockSizeSoftLimitRequest) GetBlockSize() uint32

func (*SetBlockSizeSoftLimitRequest) ProtoMessage

func (*SetBlockSizeSoftLimitRequest) ProtoMessage()

func (*SetBlockSizeSoftLimitRequest) ProtoReflect

func (*SetBlockSizeSoftLimitRequest) Reset

func (x *SetBlockSizeSoftLimitRequest) Reset()

func (*SetBlockSizeSoftLimitRequest) String

type SetBlockSizeSoftLimitResponse

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

func (*SetBlockSizeSoftLimitResponse) Descriptor deprecated

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

Deprecated: Use SetBlockSizeSoftLimitResponse.ProtoReflect.Descriptor instead.

func (*SetBlockSizeSoftLimitResponse) ProtoMessage

func (*SetBlockSizeSoftLimitResponse) ProtoMessage()

func (*SetBlockSizeSoftLimitResponse) ProtoReflect

func (*SetBlockSizeSoftLimitResponse) Reset

func (x *SetBlockSizeSoftLimitResponse) Reset()

func (*SetBlockSizeSoftLimitResponse) String

type SetLogLevelRequest

type SetLogLevelRequest struct {

	// The debug level to set the logging to
	Level SetLogLevelRequest_Level `protobuf:"varint,1,opt,name=level,proto3,enum=pb.SetLogLevelRequest_Level" json:"level,omitempty"`
	// contains filtered or unexported fields
}

func (*SetLogLevelRequest) Descriptor deprecated

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

Deprecated: Use SetLogLevelRequest.ProtoReflect.Descriptor instead.

func (*SetLogLevelRequest) GetLevel

func (*SetLogLevelRequest) ProtoMessage

func (*SetLogLevelRequest) ProtoMessage()

func (*SetLogLevelRequest) ProtoReflect

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

func (*SetLogLevelRequest) Reset

func (x *SetLogLevelRequest) Reset()

func (*SetLogLevelRequest) String

func (x *SetLogLevelRequest) String() string

type SetLogLevelRequest_Level

type SetLogLevelRequest_Level int32
const (
	SetLogLevelRequest_DEBUG     SetLogLevelRequest_Level = 0
	SetLogLevelRequest_INFO      SetLogLevelRequest_Level = 1
	SetLogLevelRequest_WARNING   SetLogLevelRequest_Level = 2
	SetLogLevelRequest_ERROR     SetLogLevelRequest_Level = 3
	SetLogLevelRequest_CRITICAL  SetLogLevelRequest_Level = 4
	SetLogLevelRequest_ALERT     SetLogLevelRequest_Level = 5
	SetLogLevelRequest_EMERGENCY SetLogLevelRequest_Level = 6
)

func (SetLogLevelRequest_Level) Descriptor

func (SetLogLevelRequest_Level) Enum

func (SetLogLevelRequest_Level) EnumDescriptor deprecated

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

Deprecated: Use SetLogLevelRequest_Level.Descriptor instead.

func (SetLogLevelRequest_Level) Number

func (SetLogLevelRequest_Level) String

func (x SetLogLevelRequest_Level) String() string

func (SetLogLevelRequest_Level) Type

type SetLogLevelResponse

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

func (*SetLogLevelResponse) Descriptor deprecated

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

Deprecated: Use SetLogLevelResponse.ProtoReflect.Descriptor instead.

func (*SetLogLevelResponse) ProtoMessage

func (*SetLogLevelResponse) ProtoMessage()

func (*SetLogLevelResponse) ProtoReflect

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

func (*SetLogLevelResponse) Reset

func (x *SetLogLevelResponse) Reset()

func (*SetLogLevelResponse) String

func (x *SetLogLevelResponse) String() string

type SetMinFeePerKilobyteRequest

type SetMinFeePerKilobyteRequest struct {

	// Fee per byte to set
	FeePerKilobyte uint64 `protobuf:"varint,1,opt,name=fee_per_kilobyte,json=feePerKilobyte,proto3" json:"fee_per_kilobyte,omitempty"`
	// contains filtered or unexported fields
}

func (*SetMinFeePerKilobyteRequest) Descriptor deprecated

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

Deprecated: Use SetMinFeePerKilobyteRequest.ProtoReflect.Descriptor instead.

func (*SetMinFeePerKilobyteRequest) GetFeePerKilobyte

func (x *SetMinFeePerKilobyteRequest) GetFeePerKilobyte() uint64

func (*SetMinFeePerKilobyteRequest) ProtoMessage

func (*SetMinFeePerKilobyteRequest) ProtoMessage()

func (*SetMinFeePerKilobyteRequest) ProtoReflect

func (*SetMinFeePerKilobyteRequest) Reset

func (x *SetMinFeePerKilobyteRequest) Reset()

func (*SetMinFeePerKilobyteRequest) String

func (x *SetMinFeePerKilobyteRequest) String() string

type SetMinFeePerKilobyteResponse

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

func (*SetMinFeePerKilobyteResponse) Descriptor deprecated

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

Deprecated: Use SetMinFeePerKilobyteResponse.ProtoReflect.Descriptor instead.

func (*SetMinFeePerKilobyteResponse) ProtoMessage

func (*SetMinFeePerKilobyteResponse) ProtoMessage()

func (*SetMinFeePerKilobyteResponse) ProtoReflect

func (*SetMinFeePerKilobyteResponse) Reset

func (x *SetMinFeePerKilobyteResponse) Reset()

func (*SetMinFeePerKilobyteResponse) String

type SetMinStakeRequest

type SetMinStakeRequest struct {

	// Minimum stake amount to set
	MinStakeAmount uint64 `protobuf:"varint,1,opt,name=min_stake_amount,json=minStakeAmount,proto3" json:"min_stake_amount,omitempty"`
	// contains filtered or unexported fields
}

func (*SetMinStakeRequest) Descriptor deprecated

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

Deprecated: Use SetMinStakeRequest.ProtoReflect.Descriptor instead.

func (*SetMinStakeRequest) GetMinStakeAmount

func (x *SetMinStakeRequest) GetMinStakeAmount() uint64

func (*SetMinStakeRequest) ProtoMessage

func (*SetMinStakeRequest) ProtoMessage()

func (*SetMinStakeRequest) ProtoReflect

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

func (*SetMinStakeRequest) Reset

func (x *SetMinStakeRequest) Reset()

func (*SetMinStakeRequest) String

func (x *SetMinStakeRequest) String() string

type SetMinStakeResponse

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

func (*SetMinStakeResponse) Descriptor deprecated

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

Deprecated: Use SetMinStakeResponse.ProtoReflect.Descriptor instead.

func (*SetMinStakeResponse) ProtoMessage

func (*SetMinStakeResponse) ProtoMessage()

func (*SetMinStakeResponse) ProtoReflect

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

func (*SetMinStakeResponse) Reset

func (x *SetMinStakeResponse) Reset()

func (*SetMinStakeResponse) String

func (x *SetMinStakeResponse) String() string

type SetWalletPassphraseRequest

type SetWalletPassphraseRequest struct {

	// Wallet passphrase
	Passphrase string `protobuf:"bytes,1,opt,name=passphrase,proto3" json:"passphrase,omitempty"`
	// contains filtered or unexported fields
}

func (*SetWalletPassphraseRequest) Descriptor deprecated

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

Deprecated: Use SetWalletPassphraseRequest.ProtoReflect.Descriptor instead.

func (*SetWalletPassphraseRequest) GetPassphrase

func (x *SetWalletPassphraseRequest) GetPassphrase() string

func (*SetWalletPassphraseRequest) ProtoMessage

func (*SetWalletPassphraseRequest) ProtoMessage()

func (*SetWalletPassphraseRequest) ProtoReflect

func (*SetWalletPassphraseRequest) Reset

func (x *SetWalletPassphraseRequest) Reset()

func (*SetWalletPassphraseRequest) String

func (x *SetWalletPassphraseRequest) String() string

type SetWalletPassphraseResponse

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

func (*SetWalletPassphraseResponse) Descriptor deprecated

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

Deprecated: Use SetWalletPassphraseResponse.ProtoReflect.Descriptor instead.

func (*SetWalletPassphraseResponse) ProtoMessage

func (*SetWalletPassphraseResponse) ProtoMessage()

func (*SetWalletPassphraseResponse) ProtoReflect

func (*SetWalletPassphraseResponse) Reset

func (x *SetWalletPassphraseResponse) Reset()

func (*SetWalletPassphraseResponse) String

func (x *SetWalletPassphraseResponse) String() string

type SpendRequest

type SpendRequest struct {

	// Address to send funds to
	ToAddress string `protobuf:"bytes,1,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty"`
	// Amount to send
	Amount uint64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`
	// The fee to use for the transaction.
	// If zero the wallet will use its internal fee policy.
	FeePerKilobyte uint64 `protobuf:"varint,3,opt,name=fee_per_kilobyte,json=feePerKilobyte,proto3" json:"fee_per_kilobyte,omitempty"`
	// An optional list of input commitments to spend. If this
	// is empty the wallet will select its own inputs.
	//
	// Note that staked commitments will not be selected by
	// the wallet. You will need to list staked commitments
	// here if you wish to spend them.
	InputCommitments [][]byte `protobuf:"bytes,4,rep,name=input_commitments,json=inputCommitments,proto3" json:"input_commitments,omitempty"`
	// contains filtered or unexported fields
}

func (*SpendRequest) Descriptor deprecated

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

Deprecated: Use SpendRequest.ProtoReflect.Descriptor instead.

func (*SpendRequest) GetAmount

func (x *SpendRequest) GetAmount() uint64

func (*SpendRequest) GetFeePerKilobyte

func (x *SpendRequest) GetFeePerKilobyte() uint64

func (*SpendRequest) GetInputCommitments

func (x *SpendRequest) GetInputCommitments() [][]byte

func (*SpendRequest) GetToAddress

func (x *SpendRequest) GetToAddress() string

func (*SpendRequest) ProtoMessage

func (*SpendRequest) ProtoMessage()

func (*SpendRequest) ProtoReflect

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

func (*SpendRequest) Reset

func (x *SpendRequest) Reset()

func (*SpendRequest) String

func (x *SpendRequest) String() string

type SpendResponse

type SpendResponse struct {

	// The transaction ID of the transaction.
	//
	// If submission was unsuccessful and error will be returned.
	Transaction_ID []byte `protobuf:"bytes,1,opt,name=transaction_ID,json=transactionID,proto3" json:"transaction_ID,omitempty"`
	// contains filtered or unexported fields
}

func (*SpendResponse) Descriptor deprecated

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

Deprecated: Use SpendResponse.ProtoReflect.Descriptor instead.

func (*SpendResponse) GetTransaction_ID

func (x *SpendResponse) GetTransaction_ID() []byte

func (*SpendResponse) ProtoMessage

func (*SpendResponse) ProtoMessage()

func (*SpendResponse) ProtoReflect

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

func (*SpendResponse) Reset

func (x *SpendResponse) Reset()

func (*SpendResponse) String

func (x *SpendResponse) String() string

type StakeRequest

type StakeRequest struct {

	// The utxos to stake identified by their commitment hashes
	Commitments [][]byte `protobuf:"bytes,1,rep,name=commitments,proto3" json:"commitments,omitempty"`
	// contains filtered or unexported fields
}

func (*StakeRequest) Descriptor deprecated

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

Deprecated: Use StakeRequest.ProtoReflect.Descriptor instead.

func (*StakeRequest) GetCommitments

func (x *StakeRequest) GetCommitments() [][]byte

func (*StakeRequest) ProtoMessage

func (*StakeRequest) ProtoMessage()

func (*StakeRequest) ProtoReflect

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

func (*StakeRequest) Reset

func (x *StakeRequest) Reset()

func (*StakeRequest) String

func (x *StakeRequest) String() string

type StakeResponse

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

func (*StakeResponse) Descriptor deprecated

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

Deprecated: Use StakeResponse.ProtoReflect.Descriptor instead.

func (*StakeResponse) ProtoMessage

func (*StakeResponse) ProtoMessage()

func (*StakeResponse) ProtoReflect

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

func (*StakeResponse) Reset

func (x *StakeResponse) Reset()

func (*StakeResponse) String

func (x *StakeResponse) String() string

type SubmitTransactionRequest

type SubmitTransactionRequest struct {

	// The transaction to submit to the network
	Transaction *transactions.Transaction `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() *transactions.Transaction

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 {

	// The transaction ID of the transaction.
	//
	// If submission was unsuccessful and error will be returned.
	Transaction_ID []byte `protobuf:"bytes,1,opt,name=transaction_ID,json=transactionID,proto3" json:"transaction_ID,omitempty"`
	// contains filtered or unexported fields
}

func (*SubmitTransactionResponse) Descriptor deprecated

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

Deprecated: Use SubmitTransactionResponse.ProtoReflect.Descriptor instead.

func (*SubmitTransactionResponse) GetTransaction_ID

func (x *SubmitTransactionResponse) GetTransaction_ID() []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.
	// 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 IDs are included for
	// a marshaled block.
	FullTransactions bool `protobuf:"varint,2,opt,name=full_transactions,json=fullTransactions,proto3" json:"full_transactions,omitempty"`
	// contains filtered or unexported fields
}

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) 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 {

	// A list of view keys to subscribe to
	ViewKeys []string `protobuf:"bytes,1,rep,name=view_keys,json=viewKeys,proto3" json:"view_keys,omitempty"`
	// When include_mempool is true, new unconfirmed transactions from mempool are
	// included apart from the ones finalized in a block.
	IncludeMempool bool `protobuf:"varint,2,opt,name=include_mempool,json=includeMempool,proto3" json:"include_mempool,omitempty"`
	// When include_in_block is true, transactions are included when they are finalized.
	// This notification is sent in addition to any requested mempool notifications.
	IncludeInBlock bool `protobuf:"varint,3,opt,name=include_in_block,json=includeInBlock,proto3" json:"include_in_block,omitempty"`
	// contains filtered or unexported fields
}

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) GetViewKeys

func (x *SubscribeTransactionsRequest) GetViewKeys() []string

func (*SubscribeTransactionsRequest) ProtoMessage

func (*SubscribeTransactionsRequest) ProtoMessage()

func (*SubscribeTransactionsRequest) ProtoReflect

func (*SubscribeTransactionsRequest) Reset

func (x *SubscribeTransactionsRequest) Reset()

func (*SubscribeTransactionsRequest) String

type TransactionData

type TransactionData struct {

	// Types that are assignable to TxidsOrTxs:
	//	*TransactionData_Transaction_ID
	//	*TransactionData_Transaction
	TxidsOrTxs isTransactionData_TxidsOrTxs `protobuf_oneof:"txids_or_txs"`
	// contains filtered or unexported fields
}

func (*TransactionData) Descriptor deprecated

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

Deprecated: Use TransactionData.ProtoReflect.Descriptor instead.

func (*TransactionData) GetTransaction

func (x *TransactionData) GetTransaction() *transactions.Transaction

func (*TransactionData) GetTransaction_ID

func (x *TransactionData) GetTransaction_ID() []byte

func (*TransactionData) GetTxidsOrTxs

func (m *TransactionData) GetTxidsOrTxs() isTransactionData_TxidsOrTxs

func (*TransactionData) ProtoMessage

func (*TransactionData) ProtoMessage()

func (*TransactionData) ProtoReflect

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

func (*TransactionData) Reset

func (x *TransactionData) Reset()

func (*TransactionData) String

func (x *TransactionData) String() string

type TransactionData_Transaction

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

type TransactionData_Transaction_ID

type TransactionData_Transaction_ID struct {
	// Just the transaction ID
	Transaction_ID []byte `protobuf:"bytes,1,opt,name=transaction_ID,json=transactionID,proto3,oneof"`
}

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_FinalizedTransaction
	//	*TransactionNotification_UnconfirmedTransaction
	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) GetFinalizedTransaction

func (x *TransactionNotification) GetFinalizedTransaction() *transactions.Transaction

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_FinalizedTransaction

type TransactionNotification_FinalizedTransaction struct {
	// A transaction included in a block.
	FinalizedTransaction *transactions.Transaction `protobuf:"bytes,2,opt,name=finalized_transaction,json=finalizedTransaction,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 finalized block.
	TransactionNotification_FINALIZED 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 TxoProof

type TxoProof struct {

	// The commitment this inclusion proof is for
	Commitment []byte `protobuf:"bytes,1,opt,name=commitment,proto3" json:"commitment,omitempty"`
	// The hashes that form the root preimage
	Accumulator [][]byte `protobuf:"bytes,2,rep,name=accumulator,proto3" json:"accumulator,omitempty"`
	// The merkle hashes linking the commitment to the accumulator
	Hashes [][]byte `protobuf:"bytes,3,rep,name=hashes,proto3" json:"hashes,omitempty"`
	// Flags indicate whether a hash in the hash list is left or right.
	// 0 == left, 1 == right.
	Flags uint64 `protobuf:"varint,4,opt,name=flags,proto3" json:"flags,omitempty"`
	// The index of this commitment in the tree
	Index uint64 `protobuf:"varint,5,opt,name=index,proto3" json:"index,omitempty"`
	// contains filtered or unexported fields
}

func (*TxoProof) Descriptor deprecated

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

Deprecated: Use TxoProof.ProtoReflect.Descriptor instead.

func (*TxoProof) GetAccumulator

func (x *TxoProof) GetAccumulator() [][]byte

func (*TxoProof) GetCommitment

func (x *TxoProof) GetCommitment() []byte

func (*TxoProof) GetFlags

func (x *TxoProof) GetFlags() uint64

func (*TxoProof) GetHashes

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

func (*TxoProof) GetIndex

func (x *TxoProof) GetIndex() uint64

func (*TxoProof) MarshalJSON

func (t *TxoProof) MarshalJSON() ([]byte, error)

func (*TxoProof) ProtoMessage

func (*TxoProof) ProtoMessage()

func (*TxoProof) ProtoReflect

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

func (*TxoProof) Reset

func (x *TxoProof) Reset()

func (*TxoProof) String

func (x *TxoProof) String() string

func (*TxoProof) UnmarshalJSON

func (t *TxoProof) UnmarshalJSON(data []byte) error

type UnblockPeerRequest

type UnblockPeerRequest struct {

	// Peer ID to unblock
	Peer_ID string `protobuf:"bytes,1,opt,name=peer_ID,json=peerID,proto3" json:"peer_ID,omitempty"`
	// contains filtered or unexported fields
}

func (*UnblockPeerRequest) Descriptor deprecated

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

Deprecated: Use UnblockPeerRequest.ProtoReflect.Descriptor instead.

func (*UnblockPeerRequest) GetPeer_ID

func (x *UnblockPeerRequest) GetPeer_ID() string

func (*UnblockPeerRequest) ProtoMessage

func (*UnblockPeerRequest) ProtoMessage()

func (*UnblockPeerRequest) ProtoReflect

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

func (*UnblockPeerRequest) Reset

func (x *UnblockPeerRequest) Reset()

func (*UnblockPeerRequest) String

func (x *UnblockPeerRequest) String() string

type UnblockPeerResponse

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

func (*UnblockPeerResponse) Descriptor deprecated

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

Deprecated: Use UnblockPeerResponse.ProtoReflect.Descriptor instead.

func (*UnblockPeerResponse) ProtoMessage

func (*UnblockPeerResponse) ProtoMessage()

func (*UnblockPeerResponse) ProtoReflect

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

func (*UnblockPeerResponse) Reset

func (x *UnblockPeerResponse) Reset()

func (*UnblockPeerResponse) String

func (x *UnblockPeerResponse) String() string

type UnimplementedBlockchainServiceServer

type UnimplementedBlockchainServiceServer struct {
}

UnimplementedBlockchainServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedBlockchainServiceServer) GetBlock

func (UnimplementedBlockchainServiceServer) GetBlockInfo

func (UnimplementedBlockchainServiceServer) GetBlockchainInfo

func (UnimplementedBlockchainServiceServer) GetCompressedBlock

func (UnimplementedBlockchainServiceServer) GetCompressedBlocks

func (UnimplementedBlockchainServiceServer) GetHeaders

func (UnimplementedBlockchainServiceServer) GetMempool

func (UnimplementedBlockchainServiceServer) GetMempoolInfo

func (UnimplementedBlockchainServiceServer) GetMerkleProof

func (UnimplementedBlockchainServiceServer) GetTransaction

func (UnimplementedBlockchainServiceServer) GetValidator

func (UnimplementedBlockchainServiceServer) GetValidatorSet

func (UnimplementedBlockchainServiceServer) GetValidatorSetInfo

func (UnimplementedBlockchainServiceServer) SubmitTransaction

type UnimplementedNodeServiceServer

type UnimplementedNodeServiceServer struct {
}

UnimplementedNodeServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedNodeServiceServer) AddPeer

func (UnimplementedNodeServiceServer) BlockPeer

func (UnimplementedNodeServiceServer) GetHostInfo

func (UnimplementedNodeServiceServer) GetMinStake

func (UnimplementedNodeServiceServer) GetNetworkKey

func (UnimplementedNodeServiceServer) GetPeers

func (UnimplementedNodeServiceServer) ReconsiderBlock

func (UnimplementedNodeServiceServer) SetLogLevel

func (UnimplementedNodeServiceServer) SetMinStake

func (UnimplementedNodeServiceServer) UnblockPeer

type UnimplementedWalletServerServiceServer

type UnimplementedWalletServerServiceServer struct {
}

UnimplementedWalletServerServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedWalletServerServiceServer) GetTxoProof

func (UnimplementedWalletServerServiceServer) RegisterViewKey

type UnimplementedWalletServiceServer

type UnimplementedWalletServiceServer struct {
}

UnimplementedWalletServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedWalletServiceServer) DeletePrivateKeys

func (UnimplementedWalletServiceServer) GetAddress

func (UnimplementedWalletServiceServer) GetAddressInfo

func (UnimplementedWalletServiceServer) GetAddresses

func (UnimplementedWalletServiceServer) GetBalance

func (UnimplementedWalletServiceServer) GetNewAddress

func (UnimplementedWalletServiceServer) GetPrivateKey

func (UnimplementedWalletServiceServer) GetTransactions

func (UnimplementedWalletServiceServer) GetUtxos

func (UnimplementedWalletServiceServer) GetWalletSeed

func (UnimplementedWalletServiceServer) ImportAddress

func (UnimplementedWalletServiceServer) ProveMultisig

func (UnimplementedWalletServiceServer) Spend

func (UnimplementedWalletServiceServer) Stake

func (UnimplementedWalletServiceServer) WalletLock

func (UnimplementedWalletServiceServer) WalletUnlock

type UnsafeBlockchainServiceServer

type UnsafeBlockchainServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeBlockchainServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BlockchainServiceServer will result in compilation errors.

type UnsafeNodeServiceServer

type UnsafeNodeServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeNodeServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to NodeServiceServer will result in compilation errors.

type UnsafeWalletServerServiceServer

type UnsafeWalletServerServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeWalletServerServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to WalletServerServiceServer will result in compilation errors.

type UnsafeWalletServiceServer

type UnsafeWalletServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeWalletServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to WalletServiceServer will result in compilation errors.

type UpdateTreasuryWhitelistRequest

type UpdateTreasuryWhitelistRequest struct {

	// Txids to add to the whitelist
	Add [][]byte `protobuf:"bytes,1,rep,name=add,proto3" json:"add,omitempty"`
	// Txids to remove from the whitelist
	Remove [][]byte `protobuf:"bytes,2,rep,name=remove,proto3" json:"remove,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateTreasuryWhitelistRequest) Descriptor deprecated

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

Deprecated: Use UpdateTreasuryWhitelistRequest.ProtoReflect.Descriptor instead.

func (*UpdateTreasuryWhitelistRequest) GetAdd

func (x *UpdateTreasuryWhitelistRequest) GetAdd() [][]byte

func (*UpdateTreasuryWhitelistRequest) GetRemove

func (x *UpdateTreasuryWhitelistRequest) GetRemove() [][]byte

func (*UpdateTreasuryWhitelistRequest) ProtoMessage

func (*UpdateTreasuryWhitelistRequest) ProtoMessage()

func (*UpdateTreasuryWhitelistRequest) ProtoReflect

func (*UpdateTreasuryWhitelistRequest) Reset

func (x *UpdateTreasuryWhitelistRequest) Reset()

func (*UpdateTreasuryWhitelistRequest) String

type UpdateTreasuryWhitelistResponse

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

func (*UpdateTreasuryWhitelistResponse) Descriptor deprecated

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

Deprecated: Use UpdateTreasuryWhitelistResponse.ProtoReflect.Descriptor instead.

func (*UpdateTreasuryWhitelistResponse) ProtoMessage

func (*UpdateTreasuryWhitelistResponse) ProtoMessage()

func (*UpdateTreasuryWhitelistResponse) ProtoReflect

func (*UpdateTreasuryWhitelistResponse) Reset

func (*UpdateTreasuryWhitelistResponse) String

type Utxo

type Utxo struct {

	// The commitment associated with the output
	Commitment []byte `protobuf:"bytes,1,opt,name=commitment,proto3" json:"commitment,omitempty"`
	// The amount of coins
	Amount uint64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`
	// The address that the utxo is associated with
	Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
	// Whether or not this is a watch only utxo.
	// We canot spend watch only utxos without the
	// private key.
	WatchOnly bool `protobuf:"varint,4,opt,name=watchOnly,proto3" json:"watchOnly,omitempty"`
	// Is this utxo staked by the wallet.
	Staked bool `protobuf:"varint,5,opt,name=staked,proto3" json:"staked,omitempty"`
	// contains filtered or unexported fields
}

func (*Utxo) Descriptor deprecated

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

Deprecated: Use Utxo.ProtoReflect.Descriptor instead.

func (*Utxo) GetAddress

func (x *Utxo) GetAddress() string

func (*Utxo) GetAmount

func (x *Utxo) GetAmount() uint64

func (*Utxo) GetCommitment

func (x *Utxo) GetCommitment() []byte

func (*Utxo) GetStaked

func (x *Utxo) GetStaked() bool

func (*Utxo) GetWatchOnly

func (x *Utxo) GetWatchOnly() bool

func (*Utxo) ProtoMessage

func (*Utxo) ProtoMessage()

func (*Utxo) ProtoReflect

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

func (*Utxo) Reset

func (x *Utxo) Reset()

func (*Utxo) String

func (x *Utxo) String() string

type Validator

type Validator struct {

	// The validator ID encoded in bytes.
	Validator_ID []byte `protobuf:"bytes,1,opt,name=validator_ID,json=validatorID,proto3" json:"validator_ID,omitempty"`
	// The number of coins staked by this validator.
	TotalStake uint64 `protobuf:"varint,2,opt,name=total_stake,json=totalStake,proto3" json:"total_stake,omitempty"`
	// The nullifiers for the utxos the validator has staked.
	Nullifiers [][]byte `protobuf:"bytes,3,rep,name=nullifiers,proto3" json:"nullifiers,omitempty"`
	// The total of any unclaimed validator rewards.
	UnclaimedCoins uint64 `protobuf:"varint,4,opt,name=unclaimed_coins,json=unclaimedCoins,proto3" json:"unclaimed_coins,omitempty"`
	// The number of blocks this validator has created this epoch.
	EpochBlocks uint32 `protobuf:"varint,5,opt,name=epoch_blocks,json=epochBlocks,proto3" json:"epoch_blocks,omitempty"`
	// contains filtered or unexported fields
}

func (*Validator) Descriptor deprecated

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

Deprecated: Use Validator.ProtoReflect.Descriptor instead.

func (*Validator) GetEpochBlocks

func (x *Validator) GetEpochBlocks() uint32

func (*Validator) GetNullifiers

func (x *Validator) GetNullifiers() [][]byte

func (*Validator) GetTotalStake

func (x *Validator) GetTotalStake() uint64

func (*Validator) GetUnclaimedCoins

func (x *Validator) GetUnclaimedCoins() uint64

func (*Validator) GetValidator_ID

func (x *Validator) GetValidator_ID() []byte

func (*Validator) ProtoMessage

func (*Validator) ProtoMessage()

func (*Validator) ProtoReflect

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

func (*Validator) Reset

func (x *Validator) Reset()

func (*Validator) String

func (x *Validator) String() string

type WalletLockRequest

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

func (*WalletLockRequest) Descriptor deprecated

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

Deprecated: Use WalletLockRequest.ProtoReflect.Descriptor instead.

func (*WalletLockRequest) ProtoMessage

func (*WalletLockRequest) ProtoMessage()

func (*WalletLockRequest) ProtoReflect

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

func (*WalletLockRequest) Reset

func (x *WalletLockRequest) Reset()

func (*WalletLockRequest) String

func (x *WalletLockRequest) String() string

type WalletLockResponse

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

func (*WalletLockResponse) Descriptor deprecated

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

Deprecated: Use WalletLockResponse.ProtoReflect.Descriptor instead.

func (*WalletLockResponse) ProtoMessage

func (*WalletLockResponse) ProtoMessage()

func (*WalletLockResponse) ProtoReflect

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

func (*WalletLockResponse) Reset

func (x *WalletLockResponse) Reset()

func (*WalletLockResponse) String

func (x *WalletLockResponse) String() string

type WalletServerServiceClient

type WalletServerServiceClient interface {
	// RegisterViewKey registers a new view key with the server. The server will use this key when
	// attempting to decrypt each output. If outputs decrypt, they will be indexed so the client
	// can fetch them later.
	//
	// To free up resources keys will automatically unregister after some time if the wallet has not
	// connected in some time.
	RegisterViewKey(ctx context.Context, in *RegisterViewKeyRequest, opts ...grpc.CallOption) (*RecomputeChainStateResponse, error)
	// SubscribeTransactions subscribes to a stream of TransactionsNotifications that match to the
	// provided view key.
	SubscribeTransactions(ctx context.Context, in *SubscribeTransactionsRequest, opts ...grpc.CallOption) (WalletServerService_SubscribeTransactionsClient, error)
	// GetWalletTransactions returns a list of transactions for the provided view key.
	GetWalletTransactions(ctx context.Context, in *GetWalletTransactionsRequest, opts ...grpc.CallOption) (*GetWalletTransactionsResponse, error)
	// GetTxoProof returns the merkle inclusion proof for the given commitment. This information is needed
	// by the client to create the zero knowledge proof needed to spend the transaction.
	GetTxoProof(ctx context.Context, in *GetTxoProofRequest, opts ...grpc.CallOption) (*GetTxoProofResponse, error)
}

WalletServerServiceClient is the client API for WalletServerService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type WalletServerServiceServer

type WalletServerServiceServer interface {
	// RegisterViewKey registers a new view key with the server. The server will use this key when
	// attempting to decrypt each output. If outputs decrypt, they will be indexed so the client
	// can fetch them later.
	//
	// To free up resources keys will automatically unregister after some time if the wallet has not
	// connected in some time.
	RegisterViewKey(context.Context, *RegisterViewKeyRequest) (*RecomputeChainStateResponse, error)
	// SubscribeTransactions subscribes to a stream of TransactionsNotifications that match to the
	// provided view key.
	SubscribeTransactions(*SubscribeTransactionsRequest, WalletServerService_SubscribeTransactionsServer) error
	// GetWalletTransactions returns a list of transactions for the provided view key.
	GetWalletTransactions(context.Context, *GetWalletTransactionsRequest) (*GetWalletTransactionsResponse, error)
	// GetTxoProof returns the merkle inclusion proof for the given commitment. This information is needed
	// by the client to create the zero knowledge proof needed to spend the transaction.
	GetTxoProof(context.Context, *GetTxoProofRequest) (*GetTxoProofResponse, error)
	// contains filtered or unexported methods
}

WalletServerServiceServer is the server API for WalletServerService service. All implementations must embed UnimplementedWalletServerServiceServer for forward compatibility

type WalletServerService_SubscribeTransactionsClient

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

type WalletServerService_SubscribeTransactionsServer

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

type WalletServiceClient

type WalletServiceClient interface {
	// GetBalance returns the combined balance of all addresses in the wallet
	GetBalance(ctx context.Context, in *GetBalanceRequest, opts ...grpc.CallOption) (*GetBalanceResponse, error)
	// GetWalletSeed returns the mnemonic seed for the wallet. If the wallet
	// seed has been deleted via the `DeletePrivateKeys` RPC an error will be
	// returned.
	//
	// **Requires wallet to be unlocked**
	GetWalletSeed(ctx context.Context, in *GetWalletSeedRequest, opts ...grpc.CallOption) (*GetWalletSeedResponse, error)
	// GetAddress returns the most recent address of the wallet.
	GetAddress(ctx context.Context, in *GetAddressRequest, opts ...grpc.CallOption) (*GetAddressResponse, error)
	// GetAddresses returns all the addresses create by the wallet.
	GetAddresses(ctx context.Context, in *GetAddressesRequest, opts ...grpc.CallOption) (*GetAddressesResponse, error)
	// GetAddressInfo returns additional metadata about an address.
	GetAddressInfo(ctx context.Context, in *GetAddressInfoRequest, opts ...grpc.CallOption) (*GetAddressInfoResponse, error)
	// GetNewAddress generates a new address and returns it. Both a new spend key
	// and view key will be derived from the mnemonic seed.
	GetNewAddress(ctx context.Context, in *GetNewAddressRequest, opts ...grpc.CallOption) (*GetNewAddressResponse, error)
	// GetTransactions returns the list of transactions for the wallet
	GetTransactions(ctx context.Context, in *GetTransactionsRequest, opts ...grpc.CallOption) (*GetTransactionsResponse, error)
	// GetUtxos returns a list of the wallet's current unspent transaction outputs (UTXOs)
	GetUtxos(ctx context.Context, in *GetUtxosRequest, opts ...grpc.CallOption) (*GetUtxosResponse, error)
	// GetPrivateKey returns the serialized spend and view keys for the given address
	//
	// **Requires wallet to be unlocked**
	GetPrivateKey(ctx context.Context, in *GetPrivateKeyRequest, opts ...grpc.CallOption) (*GetPrivateKeyResponse, error)
	// ImportAddress imports a watch address into the wallet.
	ImportAddress(ctx context.Context, in *ImportAddressRequest, opts ...grpc.CallOption) (*ImportAddressResponse, error)
	// CreateMultisigSpendKeypair generates a spend keypair for use in a multisig address
	CreateMultisigSpendKeypair(ctx context.Context, in *CreateMultisigSpendKeypairRequest, opts ...grpc.CallOption) (*CreateMultisigSpendKeypairResponse, error)
	// CreateMultisigViewKeypair generates a view keypair for use in a multisig address
	CreateMultisigViewKeypair(ctx context.Context, in *CreateMultisigViewKeypairRequest, opts ...grpc.CallOption) (*CreateMultisigViewKeypairResponse, error)
	// CreateMultisigAddress generates a new multisig address using the provided public keys
	//
	// Note this address is *not* imported. You will need to call `ImportAddress` if you want to watch
	// it.
	CreateMultisigAddress(ctx context.Context, in *CreateMultisigAddressRequest, opts ...grpc.CallOption) (*CreateMultisigAddressResponse, error)
	// CreateMultiSignature generates and returns a signature for use when proving a multisig transaction
	CreateMultiSignature(ctx context.Context, in *CreateMultiSignatureRequest, opts ...grpc.CallOption) (*CreateMultiSignatureResponse, error)
	// ProveMultisig creates a proof for a transaction with a multisig input
	ProveMultisig(ctx context.Context, in *ProveMultisigRequest, opts ...grpc.CallOption) (*ProveMultisigResponse, error)
	// WalletLock encrypts the wallet's private keys
	WalletLock(ctx context.Context, in *WalletLockRequest, opts ...grpc.CallOption) (*WalletLockResponse, error)
	// WalletUnlock decrypts the wallet seed and holds it in memory for the specified period of time
	WalletUnlock(ctx context.Context, in *WalletUnlockRequest, opts ...grpc.CallOption) (*WalletUnlockResponse, error)
	// SetWalletPassphrase encrypts the wallet for the first time
	SetWalletPassphrase(ctx context.Context, in *SetWalletPassphraseRequest, opts ...grpc.CallOption) (*SetWalletPassphraseResponse, error)
	// ChangeWalletPassphrase changes the passphrase used to encrypt the wallet private keys
	ChangeWalletPassphrase(ctx context.Context, in *ChangeWalletPassphraseRequest, opts ...grpc.CallOption) (*ChangeWalletPassphraseResponse, error)
	// DeletePrivateKeys deletes the wallet's private keys and seed from disk essentially turning the wallet
	// into a watch-only wallet. It will still record incoming transactions but cannot spend them.
	//
	// **Requires wallet to be unlocked**
	DeletePrivateKeys(ctx context.Context, in *DeletePrivateKeysRequest, opts ...grpc.CallOption) (*DeletePrivateKeysResponse, error)
	// CreateRawTransaction creates a new, unsigned (unproven) transaction using the given parameters
	CreateRawTransaction(ctx context.Context, in *CreateRawTransactionRequest, opts ...grpc.CallOption) (*CreateRawTransactionResponse, error)
	// CreateRawStakeTransaction creates a new, unsigned (unproven) stake transaction using the given parameters
	CreateRawStakeTransaction(ctx context.Context, in *CreateRawStakeTransactionRequest, opts ...grpc.CallOption) (*CreateRawStakeTransactionResponse, error)
	// ProveRawTransaction creates the zk-proof for the transaction. Assuming there are no errors, this
	// transaction should be ready for broadcast.
	ProveRawTransaction(ctx context.Context, in *ProveRawTransactionRequest, opts ...grpc.CallOption) (*ProveRawTransactionResponse, error)
	// Stake stakes the selected wallet UTXOs and turns the node into a validator
	//
	// **Requires wallet to be unlocked**
	Stake(ctx context.Context, in *StakeRequest, opts ...grpc.CallOption) (*StakeResponse, error)
	// SetAutoStakeRewards make it such that any validator rewards that are earned are automatically staked
	//
	// **Requires wallet to be unlocked**
	SetAutoStakeRewards(ctx context.Context, in *SetAutoStakeRewardsRequest, opts ...grpc.CallOption) (*SetAutoStakeRewardsResponse, error)
	// Spend sends coins from the wallet according to the provided parameters
	//
	// **Requires wallet to be unlocked**
	Spend(ctx context.Context, in *SpendRequest, opts ...grpc.CallOption) (*SpendResponse, error)
}

WalletServiceClient is the client API for WalletService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type WalletServiceServer

type WalletServiceServer interface {
	// GetBalance returns the combined balance of all addresses in the wallet
	GetBalance(context.Context, *GetBalanceRequest) (*GetBalanceResponse, error)
	// GetWalletSeed returns the mnemonic seed for the wallet. If the wallet
	// seed has been deleted via the `DeletePrivateKeys` RPC an error will be
	// returned.
	//
	// **Requires wallet to be unlocked**
	GetWalletSeed(context.Context, *GetWalletSeedRequest) (*GetWalletSeedResponse, error)
	// GetAddress returns the most recent address of the wallet.
	GetAddress(context.Context, *GetAddressRequest) (*GetAddressResponse, error)
	// GetAddresses returns all the addresses create by the wallet.
	GetAddresses(context.Context, *GetAddressesRequest) (*GetAddressesResponse, error)
	// GetAddressInfo returns additional metadata about an address.
	GetAddressInfo(context.Context, *GetAddressInfoRequest) (*GetAddressInfoResponse, error)
	// GetNewAddress generates a new address and returns it. Both a new spend key
	// and view key will be derived from the mnemonic seed.
	GetNewAddress(context.Context, *GetNewAddressRequest) (*GetNewAddressResponse, error)
	// GetTransactions returns the list of transactions for the wallet
	GetTransactions(context.Context, *GetTransactionsRequest) (*GetTransactionsResponse, error)
	// GetUtxos returns a list of the wallet's current unspent transaction outputs (UTXOs)
	GetUtxos(context.Context, *GetUtxosRequest) (*GetUtxosResponse, error)
	// GetPrivateKey returns the serialized spend and view keys for the given address
	//
	// **Requires wallet to be unlocked**
	GetPrivateKey(context.Context, *GetPrivateKeyRequest) (*GetPrivateKeyResponse, error)
	// ImportAddress imports a watch address into the wallet.
	ImportAddress(context.Context, *ImportAddressRequest) (*ImportAddressResponse, error)
	// CreateMultisigSpendKeypair generates a spend keypair for use in a multisig address
	CreateMultisigSpendKeypair(context.Context, *CreateMultisigSpendKeypairRequest) (*CreateMultisigSpendKeypairResponse, error)
	// CreateMultisigViewKeypair generates a view keypair for use in a multisig address
	CreateMultisigViewKeypair(context.Context, *CreateMultisigViewKeypairRequest) (*CreateMultisigViewKeypairResponse, error)
	// CreateMultisigAddress generates a new multisig address using the provided public keys
	//
	// Note this address is *not* imported. You will need to call `ImportAddress` if you want to watch
	// it.
	CreateMultisigAddress(context.Context, *CreateMultisigAddressRequest) (*CreateMultisigAddressResponse, error)
	// CreateMultiSignature generates and returns a signature for use when proving a multisig transaction
	CreateMultiSignature(context.Context, *CreateMultiSignatureRequest) (*CreateMultiSignatureResponse, error)
	// ProveMultisig creates a proof for a transaction with a multisig input
	ProveMultisig(context.Context, *ProveMultisigRequest) (*ProveMultisigResponse, error)
	// WalletLock encrypts the wallet's private keys
	WalletLock(context.Context, *WalletLockRequest) (*WalletLockResponse, error)
	// WalletUnlock decrypts the wallet seed and holds it in memory for the specified period of time
	WalletUnlock(context.Context, *WalletUnlockRequest) (*WalletUnlockResponse, error)
	// SetWalletPassphrase encrypts the wallet for the first time
	SetWalletPassphrase(context.Context, *SetWalletPassphraseRequest) (*SetWalletPassphraseResponse, error)
	// ChangeWalletPassphrase changes the passphrase used to encrypt the wallet private keys
	ChangeWalletPassphrase(context.Context, *ChangeWalletPassphraseRequest) (*ChangeWalletPassphraseResponse, error)
	// DeletePrivateKeys deletes the wallet's private keys and seed from disk essentially turning the wallet
	// into a watch-only wallet. It will still record incoming transactions but cannot spend them.
	//
	// **Requires wallet to be unlocked**
	DeletePrivateKeys(context.Context, *DeletePrivateKeysRequest) (*DeletePrivateKeysResponse, error)
	// CreateRawTransaction creates a new, unsigned (unproven) transaction using the given parameters
	CreateRawTransaction(context.Context, *CreateRawTransactionRequest) (*CreateRawTransactionResponse, error)
	// CreateRawStakeTransaction creates a new, unsigned (unproven) stake transaction using the given parameters
	CreateRawStakeTransaction(context.Context, *CreateRawStakeTransactionRequest) (*CreateRawStakeTransactionResponse, error)
	// ProveRawTransaction creates the zk-proof for the transaction. Assuming there are no errors, this
	// transaction should be ready for broadcast.
	ProveRawTransaction(context.Context, *ProveRawTransactionRequest) (*ProveRawTransactionResponse, error)
	// Stake stakes the selected wallet UTXOs and turns the node into a validator
	//
	// **Requires wallet to be unlocked**
	Stake(context.Context, *StakeRequest) (*StakeResponse, error)
	// SetAutoStakeRewards make it such that any validator rewards that are earned are automatically staked
	//
	// **Requires wallet to be unlocked**
	SetAutoStakeRewards(context.Context, *SetAutoStakeRewardsRequest) (*SetAutoStakeRewardsResponse, error)
	// Spend sends coins from the wallet according to the provided parameters
	//
	// **Requires wallet to be unlocked**
	Spend(context.Context, *SpendRequest) (*SpendResponse, error)
	// contains filtered or unexported methods
}

WalletServiceServer is the server API for WalletService service. All implementations must embed UnimplementedWalletServiceServer for forward compatibility

type WalletTransaction

type WalletTransaction struct {

	// Transaction ID
	Transaction_ID []byte `protobuf:"bytes,1,opt,name=transaction_ID,json=transactionID,proto3" json:"transaction_ID,omitempty"`
	// The net number of coins coming into the wallet
	// Positive = receive
	// Negative = send
	NetCoins int64 `protobuf:"varint,2,opt,name=netCoins,proto3" json:"netCoins,omitempty"`
	// contains filtered or unexported fields
}

func (*WalletTransaction) Descriptor deprecated

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

Deprecated: Use WalletTransaction.ProtoReflect.Descriptor instead.

func (*WalletTransaction) GetNetCoins

func (x *WalletTransaction) GetNetCoins() int64

func (*WalletTransaction) GetTransaction_ID

func (x *WalletTransaction) GetTransaction_ID() []byte

func (*WalletTransaction) ProtoMessage

func (*WalletTransaction) ProtoMessage()

func (*WalletTransaction) ProtoReflect

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

func (*WalletTransaction) Reset

func (x *WalletTransaction) Reset()

func (*WalletTransaction) String

func (x *WalletTransaction) String() string

type WalletUnlockRequest

type WalletUnlockRequest struct {

	// The wallet passphrase used to decrypt
	Passphrase string `protobuf:"bytes,1,opt,name=passphrase,proto3" json:"passphrase,omitempty"`
	// The duration (in seconds) to leave the wallet decrypted for.
	// It will automatically be re-encrypted after the duration passes.
	Duration uint32 `protobuf:"varint,2,opt,name=duration,proto3" json:"duration,omitempty"`
	// contains filtered or unexported fields
}

func (*WalletUnlockRequest) Descriptor deprecated

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

Deprecated: Use WalletUnlockRequest.ProtoReflect.Descriptor instead.

func (*WalletUnlockRequest) GetDuration

func (x *WalletUnlockRequest) GetDuration() uint32

func (*WalletUnlockRequest) GetPassphrase

func (x *WalletUnlockRequest) GetPassphrase() string

func (*WalletUnlockRequest) ProtoMessage

func (*WalletUnlockRequest) ProtoMessage()

func (*WalletUnlockRequest) ProtoReflect

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

func (*WalletUnlockRequest) Reset

func (x *WalletUnlockRequest) Reset()

func (*WalletUnlockRequest) String

func (x *WalletUnlockRequest) String() string

type WalletUnlockResponse

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

func (*WalletUnlockResponse) Descriptor deprecated

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

Deprecated: Use WalletUnlockResponse.ProtoReflect.Descriptor instead.

func (*WalletUnlockResponse) ProtoMessage

func (*WalletUnlockResponse) ProtoMessage()

func (*WalletUnlockResponse) ProtoReflect

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

func (*WalletUnlockResponse) Reset

func (x *WalletUnlockResponse) Reset()

func (*WalletUnlockResponse) String

func (x *WalletUnlockResponse) String() string

Jump to

Keyboard shortcuts

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