Documentation ¶
Index ¶
- Variables
- func RegisterKeysServer(s *grpc.Server, srv KeysServer)
- func RegisterNetworkServer(s *grpc.Server, srv NetworkServer)
- func RegisterProverServer(s *grpc.Server, srv ProverServer)
- func RegisterRewardServer(s *grpc.Server, srv RewardServer)
- func RegisterStakeServiceServer(s *grpc.Server, srv StakeServiceServer)
- func RegisterStateServer(s *grpc.Server, srv StateServer)
- func RegisterTransferServer(s *grpc.Server, srv TransferServer)
- type AliveNodesRequest
- type AliveNodesResponse
- func (*AliveNodesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AliveNodesResponse) GetAddress() []string
- func (*AliveNodesResponse) ProtoMessage()
- func (x *AliveNodesResponse) ProtoReflect() protoreflect.Message
- func (x *AliveNodesResponse) Reset()
- func (x *AliveNodesResponse) String() string
- type BN256Point
- type BroadcastMessage
- func (*BroadcastMessage) Descriptor() ([]byte, []int)deprecated
- func (x *BroadcastMessage) GetKadcastHeight() uint32
- func (x *BroadcastMessage) GetMessage() []byte
- func (*BroadcastMessage) ProtoMessage()
- func (x *BroadcastMessage) ProtoReflect() protoreflect.Message
- func (x *BroadcastMessage) Reset()
- func (x *BroadcastMessage) String() string
- type Crossover
- func (*Crossover) Descriptor() ([]byte, []int)deprecated
- func (x *Crossover) GetEncryptedData() []byte
- func (x *Crossover) GetNonce() []byte
- func (x *Crossover) GetValueCommitment() []byte
- func (*Crossover) ProtoMessage()
- func (x *Crossover) ProtoReflect() protoreflect.Message
- func (x *Crossover) Reset()
- func (x *Crossover) String() string
- type EchoRequest
- type EchoResponse
- type ExecuteProverRequest
- func (*ExecuteProverRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExecuteProverRequest) GetUtx() []byte
- func (*ExecuteProverRequest) ProtoMessage()
- func (x *ExecuteProverRequest) ProtoReflect() protoreflect.Message
- func (x *ExecuteProverRequest) Reset()
- func (x *ExecuteProverRequest) String() string
- type ExecuteProverResponse
- func (*ExecuteProverResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ExecuteProverResponse) GetProof() []byte
- func (*ExecuteProverResponse) ProtoMessage()
- func (x *ExecuteProverResponse) ProtoReflect() protoreflect.Message
- func (x *ExecuteProverResponse) Reset()
- func (x *ExecuteProverResponse) String() string
- type ExecuteStateTransitionRequest
- func (*ExecuteStateTransitionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExecuteStateTransitionRequest) GetBlockGasLimit() uint64
- func (x *ExecuteStateTransitionRequest) GetBlockHeight() uint64
- func (x *ExecuteStateTransitionRequest) GetGenerator() []byte
- func (x *ExecuteStateTransitionRequest) GetTxs() []*Transaction
- func (*ExecuteStateTransitionRequest) ProtoMessage()
- func (x *ExecuteStateTransitionRequest) ProtoReflect() protoreflect.Message
- func (x *ExecuteStateTransitionRequest) Reset()
- func (x *ExecuteStateTransitionRequest) String() string
- type ExecuteStateTransitionResponse
- func (*ExecuteStateTransitionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ExecuteStateTransitionResponse) GetDiscardedTxs() []*Transaction
- func (x *ExecuteStateTransitionResponse) GetStateRoot() []byte
- func (x *ExecuteStateTransitionResponse) GetTxs() []*ExecutedTransaction
- func (*ExecuteStateTransitionResponse) ProtoMessage()
- func (x *ExecuteStateTransitionResponse) ProtoReflect() protoreflect.Message
- func (x *ExecuteStateTransitionResponse) Reset()
- func (x *ExecuteStateTransitionResponse) String() string
- type ExecutedTransaction
- func (*ExecutedTransaction) Descriptor() ([]byte, []int)deprecated
- func (x *ExecutedTransaction) GetError() *ExecutedTransaction_Error
- func (x *ExecutedTransaction) GetGasSpent() uint64
- func (x *ExecutedTransaction) GetTx() *Transaction
- func (x *ExecutedTransaction) GetTxHash() []byte
- func (*ExecutedTransaction) ProtoMessage()
- func (x *ExecutedTransaction) ProtoReflect() protoreflect.Message
- func (x *ExecutedTransaction) Reset()
- func (x *ExecutedTransaction) String() string
- type ExecutedTransaction_Error
- func (*ExecutedTransaction_Error) Descriptor() ([]byte, []int)deprecated
- func (x *ExecutedTransaction_Error) GetCode() ExecutedTransaction_Error_Code
- func (x *ExecutedTransaction_Error) GetContractId() []byte
- func (x *ExecutedTransaction_Error) GetData() string
- func (*ExecutedTransaction_Error) ProtoMessage()
- func (x *ExecutedTransaction_Error) ProtoReflect() protoreflect.Message
- func (x *ExecutedTransaction_Error) Reset()
- func (x *ExecutedTransaction_Error) String() string
- type ExecutedTransaction_Error_Code
- func (ExecutedTransaction_Error_Code) Descriptor() protoreflect.EnumDescriptor
- func (x ExecutedTransaction_Error_Code) Enum() *ExecutedTransaction_Error_Code
- func (ExecutedTransaction_Error_Code) EnumDescriptor() ([]byte, []int)deprecated
- func (x ExecutedTransaction_Error_Code) Number() protoreflect.EnumNumber
- func (x ExecutedTransaction_Error_Code) String() string
- func (ExecutedTransaction_Error_Code) Type() protoreflect.EnumType
- type Fee
- type FindExistingNullifiersRequest
- func (*FindExistingNullifiersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FindExistingNullifiersRequest) GetNullifiers() [][]byte
- func (*FindExistingNullifiersRequest) ProtoMessage()
- func (x *FindExistingNullifiersRequest) ProtoReflect() protoreflect.Message
- func (x *FindExistingNullifiersRequest) Reset()
- func (x *FindExistingNullifiersRequest) String() string
- type FindExistingNullifiersResponse
- func (*FindExistingNullifiersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FindExistingNullifiersResponse) GetNullifiers() [][]byte
- func (*FindExistingNullifiersResponse) ProtoMessage()
- func (x *FindExistingNullifiersResponse) ProtoReflect() protoreflect.Message
- func (x *FindExistingNullifiersResponse) Reset()
- func (x *FindExistingNullifiersResponse) String() string
- type FindStakeRequest
- type FindStakeResponse
- type GenerateKeysRequest
- type GenerateKeysResponse
- func (*GenerateKeysResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GenerateKeysResponse) GetPk() *PublicKey
- func (x *GenerateKeysResponse) GetSk() *SecretKey
- func (x *GenerateKeysResponse) GetVk() *ViewKey
- func (*GenerateKeysResponse) ProtoMessage()
- func (x *GenerateKeysResponse) ProtoReflect() protoreflect.Message
- func (x *GenerateKeysResponse) Reset()
- func (x *GenerateKeysResponse) String() string
- type GetAnchorRequest
- type GetAnchorResponse
- type GetBalanceResponse
- func (*GetBalanceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetBalanceResponse) GetBalance() uint64
- func (*GetBalanceResponse) ProtoMessage()
- func (x *GetBalanceResponse) ProtoReflect() protoreflect.Message
- func (x *GetBalanceResponse) Reset()
- func (x *GetBalanceResponse) String() string
- type GetNotesOwnedByRequest
- func (*GetNotesOwnedByRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetNotesOwnedByRequest) GetHeight() uint64deprecated
- func (x *GetNotesOwnedByRequest) GetVk() []bytedeprecated
- func (*GetNotesOwnedByRequest) ProtoMessage()
- func (x *GetNotesOwnedByRequest) ProtoReflect() protoreflect.Message
- func (x *GetNotesOwnedByRequest) Reset()
- func (x *GetNotesOwnedByRequest) String() string
- type GetNotesOwnedByResponse
- func (*GetNotesOwnedByResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetNotesOwnedByResponse) GetHeight() uint64
- func (x *GetNotesOwnedByResponse) GetNotes() [][]byte
- func (*GetNotesOwnedByResponse) ProtoMessage()
- func (x *GetNotesOwnedByResponse) ProtoReflect() protoreflect.Message
- func (x *GetNotesOwnedByResponse) Reset()
- func (x *GetNotesOwnedByResponse) String() string
- type GetNotesRequest
- func (*GetNotesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetNotesRequest) GetHeight() uint64
- func (x *GetNotesRequest) GetVk() []byte
- func (*GetNotesRequest) ProtoMessage()
- func (x *GetNotesRequest) ProtoReflect() protoreflect.Message
- func (x *GetNotesRequest) Reset()
- func (x *GetNotesRequest) String() string
- type GetNotesResponse
- func (*GetNotesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetNotesResponse) GetHeight() uint64
- func (x *GetNotesResponse) GetNote() []byte
- func (*GetNotesResponse) ProtoMessage()
- func (x *GetNotesResponse) ProtoReflect() protoreflect.Message
- func (x *GetNotesResponse) Reset()
- func (x *GetNotesResponse) String() string
- type GetOpeningRequest
- type GetOpeningResponse
- func (*GetOpeningResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetOpeningResponse) GetBranch() []byte
- func (*GetOpeningResponse) ProtoMessage()
- func (x *GetOpeningResponse) ProtoReflect() protoreflect.Message
- func (x *GetOpeningResponse) Reset()
- func (x *GetOpeningResponse) String() string
- type GetProvisionersRequest
- type GetProvisionersResponse
- func (*GetProvisionersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetProvisionersResponse) GetProvisioners() []*Provisioner
- func (*GetProvisionersResponse) ProtoMessage()
- func (x *GetProvisionersResponse) ProtoReflect() protoreflect.Message
- func (x *GetProvisionersResponse) Reset()
- func (x *GetProvisionersResponse) String() string
- type GetStakeRequest
- type GetStakeResponse
- func (*GetStakeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetStakeResponse) GetAmount() *GetStakeResponse_Amount
- func (x *GetStakeResponse) GetCounter() uint64
- func (x *GetStakeResponse) GetReward() uint64
- func (*GetStakeResponse) ProtoMessage()
- func (x *GetStakeResponse) ProtoReflect() protoreflect.Message
- func (x *GetStakeResponse) Reset()
- func (x *GetStakeResponse) String() string
- type GetStakeResponse_Amount
- func (*GetStakeResponse_Amount) Descriptor() ([]byte, []int)deprecated
- func (x *GetStakeResponse_Amount) GetEligibility() uint64
- func (x *GetStakeResponse_Amount) GetValue() uint64
- func (*GetStakeResponse_Amount) ProtoMessage()
- func (x *GetStakeResponse_Amount) ProtoReflect() protoreflect.Message
- func (x *GetStakeResponse_Amount) Reset()
- func (x *GetStakeResponse_Amount) String() string
- type GetStateRootRequest
- type GetStateRootResponse
- func (*GetStateRootResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetStateRootResponse) GetStateRoot() []byte
- func (*GetStateRootResponse) ProtoMessage()
- func (x *GetStateRootResponse) ProtoReflect() protoreflect.Message
- func (x *GetStateRootResponse) Reset()
- func (x *GetStateRootResponse) String() string
- type GetWithdrawalTimeResponse
- func (*GetWithdrawalTimeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetWithdrawalTimeResponse) GetHeight() uint64
- func (*GetWithdrawalTimeResponse) ProtoMessage()
- func (x *GetWithdrawalTimeResponse) ProtoReflect() protoreflect.Message
- func (x *GetWithdrawalTimeResponse) Reset()
- func (x *GetWithdrawalTimeResponse) String() string
- type KeysClient
- type KeysServer
- type Message
- type MessageMetadata
- func (*MessageMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *MessageMetadata) GetKadcastHeight() uint32
- func (x *MessageMetadata) GetSrcAddress() string
- func (*MessageMetadata) ProtoMessage()
- func (x *MessageMetadata) ProtoReflect() protoreflect.Message
- func (x *MessageMetadata) Reset()
- func (x *MessageMetadata) String() string
- type NetworkClient
- type NetworkServer
- type Network_ListenClient
- type Network_ListenServer
- type Note
- func (*Note) Descriptor() ([]byte, []int)deprecated
- func (x *Note) GetEncryptedData() []byte
- func (x *Note) GetNonce() []byte
- func (x *Note) GetNoteType() Note_NoteType
- func (x *Note) GetPos() uint64
- func (x *Note) GetStealthAddress() *StealthAddress
- func (x *Note) GetValueCommitment() []byte
- func (*Note) ProtoMessage()
- func (x *Note) ProtoReflect() protoreflect.Message
- func (x *Note) Reset()
- func (x *Note) String() string
- type Note_NoteType
- func (Note_NoteType) Descriptor() protoreflect.EnumDescriptor
- func (x Note_NoteType) Enum() *Note_NoteType
- func (Note_NoteType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Note_NoteType) Number() protoreflect.EnumNumber
- func (x Note_NoteType) String() string
- func (Note_NoteType) Type() protoreflect.EnumType
- type Null
- type PersistRequest
- type PersistResponse
- type PreverifyRequest
- type PreverifyResponse
- func (*PreverifyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PreverifyResponse) GetFee() *Fee
- func (x *PreverifyResponse) GetTxHash() []byte
- func (*PreverifyResponse) ProtoMessage()
- func (x *PreverifyResponse) ProtoReflect() protoreflect.Message
- func (x *PreverifyResponse) Reset()
- func (x *PreverifyResponse) String() string
- type PropagateMessage
- type ProverClient
- type ProverServer
- type Provisioner
- func (*Provisioner) Descriptor() ([]byte, []int)deprecated
- func (x *Provisioner) GetPublicKeyBls() []byte
- func (x *Provisioner) GetRawPublicKeyBls() []byte
- func (x *Provisioner) GetStakes() []*Stake
- func (*Provisioner) ProtoMessage()
- func (x *Provisioner) ProtoReflect() protoreflect.Message
- func (x *Provisioner) Reset()
- func (x *Provisioner) String() string
- type PublicKey
- type RevertRequest
- type RevertResponse
- type RewardClient
- type RewardServer
- type SecretKey
- type SendMessage
- func (*SendMessage) Descriptor() ([]byte, []int)deprecated
- func (x *SendMessage) GetMessage() []byte
- func (x *SendMessage) GetTargetAddress() string
- func (*SendMessage) ProtoMessage()
- func (x *SendMessage) ProtoReflect() protoreflect.Message
- func (x *SendMessage) Reset()
- func (x *SendMessage) String() string
- type Stake
- func (*Stake) Descriptor() ([]byte, []int)deprecated
- func (x *Stake) GetCounter() uint64
- func (x *Stake) GetEligibility() uint64
- func (x *Stake) GetReward() uint64
- func (x *Stake) GetValue() uint64
- func (*Stake) ProtoMessage()
- func (x *Stake) ProtoReflect() protoreflect.Message
- func (x *Stake) Reset()
- func (x *Stake) String() string
- type StakeServiceClient
- type StakeServiceServer
- type StakeTransactionRequest
- func (*StakeTransactionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StakeTransactionRequest) GetGasLimit() uint64
- func (x *StakeTransactionRequest) GetGasPrice() uint64
- func (x *StakeTransactionRequest) GetPublicKeyBls() []byte
- func (x *StakeTransactionRequest) GetValue() uint64
- func (*StakeTransactionRequest) ProtoMessage()
- func (x *StakeTransactionRequest) ProtoReflect() protoreflect.Message
- func (x *StakeTransactionRequest) Reset()
- func (x *StakeTransactionRequest) String() string
- type StateClient
- type StateServer
- type StateTransitionRequest
- func (*StateTransitionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StateTransitionRequest) GetBlockGasLimit() uint64
- func (x *StateTransitionRequest) GetBlockHeight() uint64
- func (x *StateTransitionRequest) GetGenerator() []byte
- func (x *StateTransitionRequest) GetStateRoot() []byte
- func (x *StateTransitionRequest) GetTxs() []*Transaction
- func (*StateTransitionRequest) ProtoMessage()
- func (x *StateTransitionRequest) ProtoReflect() protoreflect.Message
- func (x *StateTransitionRequest) Reset()
- func (x *StateTransitionRequest) String() string
- type StateTransitionResponse
- func (*StateTransitionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StateTransitionResponse) GetStateRoot() []byte
- func (x *StateTransitionResponse) GetTxs() []*ExecutedTransaction
- func (*StateTransitionResponse) ProtoMessage()
- func (x *StateTransitionResponse) ProtoReflect() protoreflect.Message
- func (x *StateTransitionResponse) Reset()
- func (x *StateTransitionResponse) String() string
- type State_GetNotesClient
- type State_GetNotesServer
- type StcoProverRequest
- func (*StcoProverRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StcoProverRequest) GetCircuitInputs() []byte
- func (*StcoProverRequest) ProtoMessage()
- func (x *StcoProverRequest) ProtoReflect() protoreflect.Message
- func (x *StcoProverRequest) Reset()
- func (x *StcoProverRequest) String() string
- type StcoProverResponse
- func (*StcoProverResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StcoProverResponse) GetProof() []byte
- func (*StcoProverResponse) ProtoMessage()
- func (x *StcoProverResponse) ProtoReflect() protoreflect.Message
- func (x *StcoProverResponse) Reset()
- func (x *StcoProverResponse) String() string
- type StctProverRequest
- func (*StctProverRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StctProverRequest) GetCircuitInputs() []byte
- func (*StctProverRequest) ProtoMessage()
- func (x *StctProverRequest) ProtoReflect() protoreflect.Message
- func (x *StctProverRequest) Reset()
- func (x *StctProverRequest) String() string
- type StctProverResponse
- func (*StctProverResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StctProverResponse) GetProof() []byte
- func (*StctProverResponse) ProtoMessage()
- func (x *StctProverResponse) ProtoReflect() protoreflect.Message
- func (x *StctProverResponse) Reset()
- func (x *StctProverResponse) String() string
- type StealthAddress
- type Transaction
- func (*Transaction) Descriptor() ([]byte, []int)deprecated
- func (x *Transaction) GetPayload() []byte
- func (x *Transaction) GetType() uint32
- func (x *Transaction) GetVersion() uint32
- func (*Transaction) ProtoMessage()
- func (x *Transaction) ProtoReflect() protoreflect.Message
- func (x *Transaction) Reset()
- func (x *Transaction) String() string
- type TransferClient
- type TransferServer
- type TransferTransactionRequest
- func (*TransferTransactionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TransferTransactionRequest) GetGasLimit() uint64
- func (x *TransferTransactionRequest) GetGasPrice() uint64
- func (x *TransferTransactionRequest) GetRecipient() []byte
- func (x *TransferTransactionRequest) GetValue() uint64
- func (*TransferTransactionRequest) ProtoMessage()
- func (x *TransferTransactionRequest) ProtoReflect() protoreflect.Message
- func (x *TransferTransactionRequest) Reset()
- func (x *TransferTransactionRequest) String() string
- type UnimplementedKeysServer
- type UnimplementedNetworkServer
- func (*UnimplementedNetworkServer) AliveNodes(context.Context, *AliveNodesRequest) (*AliveNodesResponse, error)
- func (*UnimplementedNetworkServer) Broadcast(context.Context, *BroadcastMessage) (*Null, error)
- func (*UnimplementedNetworkServer) Listen(*Null, Network_ListenServer) error
- func (*UnimplementedNetworkServer) Propagate(context.Context, *PropagateMessage) (*Null, error)
- func (*UnimplementedNetworkServer) Send(context.Context, *SendMessage) (*Null, error)
- type UnimplementedProverServer
- func (*UnimplementedProverServer) ProveExecute(context.Context, *ExecuteProverRequest) (*ExecuteProverResponse, error)
- func (*UnimplementedProverServer) ProveStco(context.Context, *StcoProverRequest) (*StcoProverResponse, error)
- func (*UnimplementedProverServer) ProveStct(context.Context, *StctProverRequest) (*StctProverResponse, error)
- func (*UnimplementedProverServer) ProveWfco(context.Context, *WfcoProverRequest) (*WfcoProverResponse, error)
- func (*UnimplementedProverServer) ProveWfct(context.Context, *WfctProverRequest) (*WfctProverResponse, error)
- type UnimplementedRewardServer
- type UnimplementedStakeServiceServer
- type UnimplementedStateServer
- func (*UnimplementedStateServer) Accept(context.Context, *StateTransitionRequest) (*StateTransitionResponse, error)
- func (*UnimplementedStateServer) Echo(context.Context, *EchoRequest) (*EchoResponse, error)
- func (*UnimplementedStateServer) ExecuteStateTransition(context.Context, *ExecuteStateTransitionRequest) (*ExecuteStateTransitionResponse, error)
- func (*UnimplementedStateServer) Finalize(context.Context, *StateTransitionRequest) (*StateTransitionResponse, error)
- func (*UnimplementedStateServer) FindExistingNullifiers(context.Context, *FindExistingNullifiersRequest) (*FindExistingNullifiersResponse, error)
- func (*UnimplementedStateServer) GetAnchor(context.Context, *GetAnchorRequest) (*GetAnchorResponse, error)
- func (*UnimplementedStateServer) GetNotes(*GetNotesRequest, State_GetNotesServer) error
- func (*UnimplementedStateServer) GetNotesOwnedBy(context.Context, *GetNotesOwnedByRequest) (*GetNotesOwnedByResponse, error)
- func (*UnimplementedStateServer) GetOpening(context.Context, *GetOpeningRequest) (*GetOpeningResponse, error)
- func (*UnimplementedStateServer) GetProvisioners(context.Context, *GetProvisionersRequest) (*GetProvisionersResponse, error)
- func (*UnimplementedStateServer) GetStake(context.Context, *GetStakeRequest) (*GetStakeResponse, error)
- func (*UnimplementedStateServer) GetStateRoot(context.Context, *GetStateRootRequest) (*GetStateRootResponse, error)
- func (*UnimplementedStateServer) Persist(context.Context, *PersistRequest) (*PersistResponse, error)
- func (*UnimplementedStateServer) Preverify(context.Context, *PreverifyRequest) (*PreverifyResponse, error)
- func (*UnimplementedStateServer) Revert(context.Context, *RevertRequest) (*RevertResponse, error)
- func (*UnimplementedStateServer) VerifyStateTransition(context.Context, *VerifyStateTransitionRequest) (*VerifyStateTransitionResponse, error)
- type UnimplementedTransferServer
- type VerifyStateTransitionRequest
- func (*VerifyStateTransitionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyStateTransitionRequest) GetBlockGasLimit() uint64
- func (x *VerifyStateTransitionRequest) GetBlockHeight() uint64
- func (x *VerifyStateTransitionRequest) GetGenerator() []byte
- func (x *VerifyStateTransitionRequest) GetTxs() []*Transaction
- func (*VerifyStateTransitionRequest) ProtoMessage()
- func (x *VerifyStateTransitionRequest) ProtoReflect() protoreflect.Message
- func (x *VerifyStateTransitionRequest) Reset()
- func (x *VerifyStateTransitionRequest) String() string
- type VerifyStateTransitionResponse
- func (*VerifyStateTransitionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyStateTransitionResponse) GetStateRoot() []byte
- func (*VerifyStateTransitionResponse) ProtoMessage()
- func (x *VerifyStateTransitionResponse) ProtoReflect() protoreflect.Message
- func (x *VerifyStateTransitionResponse) Reset()
- func (x *VerifyStateTransitionResponse) String() string
- type ViewKey
- type WfcoProverRequest
- func (*WfcoProverRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WfcoProverRequest) GetCircuitInputs() []byte
- func (*WfcoProverRequest) ProtoMessage()
- func (x *WfcoProverRequest) ProtoReflect() protoreflect.Message
- func (x *WfcoProverRequest) Reset()
- func (x *WfcoProverRequest) String() string
- type WfcoProverResponse
- func (*WfcoProverResponse) Descriptor() ([]byte, []int)deprecated
- func (x *WfcoProverResponse) GetProof() []byte
- func (*WfcoProverResponse) ProtoMessage()
- func (x *WfcoProverResponse) ProtoReflect() protoreflect.Message
- func (x *WfcoProverResponse) Reset()
- func (x *WfcoProverResponse) String() string
- type WfctProverRequest
- func (*WfctProverRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WfctProverRequest) GetCircuitInputs() []byte
- func (*WfctProverRequest) ProtoMessage()
- func (x *WfctProverRequest) ProtoReflect() protoreflect.Message
- func (x *WfctProverRequest) Reset()
- func (x *WfctProverRequest) String() string
- type WfctProverResponse
- func (*WfctProverResponse) Descriptor() ([]byte, []int)deprecated
- func (x *WfctProverResponse) GetProof() []byte
- func (*WfctProverResponse) ProtoMessage()
- func (x *WfctProverResponse) ProtoReflect() protoreflect.Message
- func (x *WfctProverResponse) Reset()
- func (x *WfctProverResponse) String() string
Constants ¶
This section is empty.
Variables ¶
var ( Note_NoteType_name = map[int32]string{ 0: "TRANSPARENT", 1: "OBFUSCATED", } Note_NoteType_value = map[string]int32{ "TRANSPARENT": 0, "OBFUSCATED": 1, } )
Enum value maps for Note_NoteType.
var ( ExecutedTransaction_Error_Code_name = map[int32]string{ 0: "UnknownContract", 1: "ContractPanic", 2: "OutOfGas", 3: "Other", } ExecutedTransaction_Error_Code_value = map[string]int32{ "UnknownContract": 0, "ContractPanic": 1, "OutOfGas": 2, "Other": 3, } )
Enum value maps for ExecutedTransaction_Error_Code.
var File_echo_proto protoreflect.FileDescriptor
var File_keys_proto protoreflect.FileDescriptor
var File_network_proto protoreflect.FileDescriptor
var File_prover_proto protoreflect.FileDescriptor
var File_provisioner_proto protoreflect.FileDescriptor
var File_reward_proto protoreflect.FileDescriptor
var File_stake_proto protoreflect.FileDescriptor
var File_state_proto protoreflect.FileDescriptor
var File_transaction_proto protoreflect.FileDescriptor
var File_transfer_proto protoreflect.FileDescriptor
Functions ¶
func RegisterKeysServer ¶ added in v0.2.10
func RegisterKeysServer(s *grpc.Server, srv KeysServer)
func RegisterNetworkServer ¶ added in v0.3.1
func RegisterNetworkServer(s *grpc.Server, srv NetworkServer)
func RegisterProverServer ¶ added in v0.3.2
func RegisterProverServer(s *grpc.Server, srv ProverServer)
func RegisterRewardServer ¶ added in v0.2.13
func RegisterRewardServer(s *grpc.Server, srv RewardServer)
func RegisterStakeServiceServer ¶ added in v0.2.12
func RegisterStakeServiceServer(s *grpc.Server, srv StakeServiceServer)
func RegisterStateServer ¶ added in v0.2.10
func RegisterStateServer(s *grpc.Server, srv StateServer)
func RegisterTransferServer ¶ added in v0.2.12
func RegisterTransferServer(s *grpc.Server, srv TransferServer)
Types ¶
type AliveNodesRequest ¶ added in v0.3.8
type AliveNodesRequest struct { MaxNodes uint32 `protobuf:"varint,1,opt,name=max_nodes,json=maxNodes,proto3" json:"max_nodes,omitempty"` // contains filtered or unexported fields }
func (*AliveNodesRequest) Descriptor
deprecated
added in
v0.3.8
func (*AliveNodesRequest) Descriptor() ([]byte, []int)
Deprecated: Use AliveNodesRequest.ProtoReflect.Descriptor instead.
func (*AliveNodesRequest) GetMaxNodes ¶ added in v0.3.8
func (x *AliveNodesRequest) GetMaxNodes() uint32
func (*AliveNodesRequest) ProtoMessage ¶ added in v0.3.8
func (*AliveNodesRequest) ProtoMessage()
func (*AliveNodesRequest) ProtoReflect ¶ added in v0.3.8
func (x *AliveNodesRequest) ProtoReflect() protoreflect.Message
func (*AliveNodesRequest) Reset ¶ added in v0.3.8
func (x *AliveNodesRequest) Reset()
func (*AliveNodesRequest) String ¶ added in v0.3.8
func (x *AliveNodesRequest) String() string
type AliveNodesResponse ¶ added in v0.3.8
type AliveNodesResponse struct { Address []string `protobuf:"bytes,1,rep,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*AliveNodesResponse) Descriptor
deprecated
added in
v0.3.8
func (*AliveNodesResponse) Descriptor() ([]byte, []int)
Deprecated: Use AliveNodesResponse.ProtoReflect.Descriptor instead.
func (*AliveNodesResponse) GetAddress ¶ added in v0.3.8
func (x *AliveNodesResponse) GetAddress() []string
func (*AliveNodesResponse) ProtoMessage ¶ added in v0.3.8
func (*AliveNodesResponse) ProtoMessage()
func (*AliveNodesResponse) ProtoReflect ¶ added in v0.3.8
func (x *AliveNodesResponse) ProtoReflect() protoreflect.Message
func (*AliveNodesResponse) Reset ¶ added in v0.3.8
func (x *AliveNodesResponse) Reset()
func (*AliveNodesResponse) String ¶ added in v0.3.8
func (x *AliveNodesResponse) String() string
type BN256Point ¶ added in v0.2.13
type BN256Point struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*BN256Point) Descriptor
deprecated
added in
v0.2.13
func (*BN256Point) Descriptor() ([]byte, []int)
Deprecated: Use BN256Point.ProtoReflect.Descriptor instead.
func (*BN256Point) GetData ¶ added in v0.2.13
func (x *BN256Point) GetData() []byte
func (*BN256Point) ProtoMessage ¶ added in v0.2.13
func (*BN256Point) ProtoMessage()
func (*BN256Point) ProtoReflect ¶ added in v0.3.1
func (x *BN256Point) ProtoReflect() protoreflect.Message
func (*BN256Point) Reset ¶ added in v0.2.13
func (x *BN256Point) Reset()
func (*BN256Point) String ¶ added in v0.2.13
func (x *BN256Point) String() string
type BroadcastMessage ¶ added in v0.3.1
type BroadcastMessage struct { Message []byte `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` KadcastHeight uint32 `protobuf:"varint,2,opt,name=kadcast_height,json=kadcastHeight,proto3" json:"kadcast_height,omitempty"` // contains filtered or unexported fields }
func (*BroadcastMessage) Descriptor
deprecated
added in
v0.3.1
func (*BroadcastMessage) Descriptor() ([]byte, []int)
Deprecated: Use BroadcastMessage.ProtoReflect.Descriptor instead.
func (*BroadcastMessage) GetKadcastHeight ¶ added in v0.3.1
func (x *BroadcastMessage) GetKadcastHeight() uint32
func (*BroadcastMessage) GetMessage ¶ added in v0.3.1
func (x *BroadcastMessage) GetMessage() []byte
func (*BroadcastMessage) ProtoMessage ¶ added in v0.3.1
func (*BroadcastMessage) ProtoMessage()
func (*BroadcastMessage) ProtoReflect ¶ added in v0.3.1
func (x *BroadcastMessage) ProtoReflect() protoreflect.Message
func (*BroadcastMessage) Reset ¶ added in v0.3.1
func (x *BroadcastMessage) Reset()
func (*BroadcastMessage) String ¶ added in v0.3.1
func (x *BroadcastMessage) String() string
type Crossover ¶ added in v0.2.10
type Crossover struct { ValueCommitment []byte `protobuf:"bytes,1,opt,name=value_commitment,json=valueCommitment,proto3" json:"value_commitment,omitempty"` // JubJubCompressed Nonce []byte `protobuf:"bytes,2,opt,name=nonce,proto3" json:"nonce,omitempty"` // JubJubScalar EncryptedData []byte `protobuf:"bytes,3,opt,name=encrypted_data,json=encryptedData,proto3" json:"encrypted_data,omitempty"` // contains filtered or unexported fields }
func (*Crossover) Descriptor
deprecated
added in
v0.2.10
func (*Crossover) GetEncryptedData ¶ added in v0.2.13
func (*Crossover) GetValueCommitment ¶ added in v0.2.13
func (*Crossover) ProtoMessage ¶ added in v0.2.10
func (*Crossover) ProtoMessage()
func (*Crossover) ProtoReflect ¶ added in v0.2.10
func (x *Crossover) ProtoReflect() protoreflect.Message
type EchoRequest ¶
type EchoRequest struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*EchoRequest) Descriptor
deprecated
func (*EchoRequest) Descriptor() ([]byte, []int)
Deprecated: Use EchoRequest.ProtoReflect.Descriptor instead.
func (*EchoRequest) GetMessage ¶ added in v0.2.10
func (x *EchoRequest) GetMessage() string
func (*EchoRequest) ProtoMessage ¶
func (*EchoRequest) ProtoMessage()
func (*EchoRequest) ProtoReflect ¶ added in v0.2.0
func (x *EchoRequest) ProtoReflect() protoreflect.Message
func (*EchoRequest) Reset ¶
func (x *EchoRequest) Reset()
func (*EchoRequest) String ¶
func (x *EchoRequest) String() string
type EchoResponse ¶
type EchoResponse struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*EchoResponse) Descriptor
deprecated
func (*EchoResponse) Descriptor() ([]byte, []int)
Deprecated: Use EchoResponse.ProtoReflect.Descriptor instead.
func (*EchoResponse) GetMessage ¶ added in v0.2.10
func (x *EchoResponse) GetMessage() string
func (*EchoResponse) ProtoMessage ¶
func (*EchoResponse) ProtoMessage()
func (*EchoResponse) ProtoReflect ¶ added in v0.2.0
func (x *EchoResponse) ProtoReflect() protoreflect.Message
func (*EchoResponse) Reset ¶
func (x *EchoResponse) Reset()
func (*EchoResponse) String ¶
func (x *EchoResponse) String() string
type ExecuteProverRequest ¶ added in v0.3.2
type ExecuteProverRequest struct { Utx []byte `protobuf:"bytes,1,opt,name=utx,proto3" json:"utx,omitempty"` // contains filtered or unexported fields }
A serialized `UnprovenTransaction` from the `dusk-wallet-core` crate.
func (*ExecuteProverRequest) Descriptor
deprecated
added in
v0.3.2
func (*ExecuteProverRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExecuteProverRequest.ProtoReflect.Descriptor instead.
func (*ExecuteProverRequest) GetUtx ¶ added in v0.3.2
func (x *ExecuteProverRequest) GetUtx() []byte
func (*ExecuteProverRequest) ProtoMessage ¶ added in v0.3.2
func (*ExecuteProverRequest) ProtoMessage()
func (*ExecuteProverRequest) ProtoReflect ¶ added in v0.3.2
func (x *ExecuteProverRequest) ProtoReflect() protoreflect.Message
func (*ExecuteProverRequest) Reset ¶ added in v0.3.2
func (x *ExecuteProverRequest) Reset()
func (*ExecuteProverRequest) String ¶ added in v0.3.2
func (x *ExecuteProverRequest) String() string
type ExecuteProverResponse ¶ added in v0.3.2
type ExecuteProverResponse struct { Proof []byte `protobuf:"bytes,1,opt,name=proof,proto3" json:"proof,omitempty"` // contains filtered or unexported fields }
A Plonk proof for the Execute circuit.
func (*ExecuteProverResponse) Descriptor
deprecated
added in
v0.3.2
func (*ExecuteProverResponse) Descriptor() ([]byte, []int)
Deprecated: Use ExecuteProverResponse.ProtoReflect.Descriptor instead.
func (*ExecuteProverResponse) GetProof ¶ added in v0.3.8
func (x *ExecuteProverResponse) GetProof() []byte
func (*ExecuteProverResponse) ProtoMessage ¶ added in v0.3.2
func (*ExecuteProverResponse) ProtoMessage()
func (*ExecuteProverResponse) ProtoReflect ¶ added in v0.3.2
func (x *ExecuteProverResponse) ProtoReflect() protoreflect.Message
func (*ExecuteProverResponse) Reset ¶ added in v0.3.2
func (x *ExecuteProverResponse) Reset()
func (*ExecuteProverResponse) String ¶ added in v0.3.2
func (x *ExecuteProverResponse) String() string
type ExecuteStateTransitionRequest ¶
type ExecuteStateTransitionRequest struct { Txs []*Transaction `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"` BlockGasLimit uint64 `protobuf:"fixed64,2,opt,name=block_gas_limit,json=blockGasLimit,proto3" json:"block_gas_limit,omitempty"` BlockHeight uint64 `protobuf:"fixed64,3,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` Generator []byte `protobuf:"bytes,4,opt,name=generator,proto3" json:"generator,omitempty"` // contains filtered or unexported fields }
func (*ExecuteStateTransitionRequest) Descriptor
deprecated
func (*ExecuteStateTransitionRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExecuteStateTransitionRequest.ProtoReflect.Descriptor instead.
func (*ExecuteStateTransitionRequest) GetBlockGasLimit ¶ added in v0.2.19
func (x *ExecuteStateTransitionRequest) GetBlockGasLimit() uint64
func (*ExecuteStateTransitionRequest) GetBlockHeight ¶ added in v0.2.19
func (x *ExecuteStateTransitionRequest) GetBlockHeight() uint64
func (*ExecuteStateTransitionRequest) GetGenerator ¶ added in v0.5.1
func (x *ExecuteStateTransitionRequest) GetGenerator() []byte
func (*ExecuteStateTransitionRequest) GetTxs ¶ added in v0.2.10
func (x *ExecuteStateTransitionRequest) GetTxs() []*Transaction
func (*ExecuteStateTransitionRequest) ProtoMessage ¶
func (*ExecuteStateTransitionRequest) ProtoMessage()
func (*ExecuteStateTransitionRequest) ProtoReflect ¶ added in v0.2.0
func (x *ExecuteStateTransitionRequest) ProtoReflect() protoreflect.Message
func (*ExecuteStateTransitionRequest) Reset ¶
func (x *ExecuteStateTransitionRequest) Reset()
func (*ExecuteStateTransitionRequest) String ¶
func (x *ExecuteStateTransitionRequest) String() string
type ExecuteStateTransitionResponse ¶
type ExecuteStateTransitionResponse struct { Txs []*ExecutedTransaction `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"` DiscardedTxs []*Transaction `protobuf:"bytes,2,rep,name=discarded_txs,json=discardedTxs,proto3" json:"discarded_txs,omitempty"` StateRoot []byte `protobuf:"bytes,3,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty"` // contains filtered or unexported fields }
func (*ExecuteStateTransitionResponse) Descriptor
deprecated
func (*ExecuteStateTransitionResponse) Descriptor() ([]byte, []int)
Deprecated: Use ExecuteStateTransitionResponse.ProtoReflect.Descriptor instead.
func (*ExecuteStateTransitionResponse) GetDiscardedTxs ¶ added in v0.5.2
func (x *ExecuteStateTransitionResponse) GetDiscardedTxs() []*Transaction
func (*ExecuteStateTransitionResponse) GetStateRoot ¶ added in v0.2.19
func (x *ExecuteStateTransitionResponse) GetStateRoot() []byte
func (*ExecuteStateTransitionResponse) GetTxs ¶ added in v0.2.19
func (x *ExecuteStateTransitionResponse) GetTxs() []*ExecutedTransaction
func (*ExecuteStateTransitionResponse) ProtoMessage ¶
func (*ExecuteStateTransitionResponse) ProtoMessage()
func (*ExecuteStateTransitionResponse) ProtoReflect ¶ added in v0.2.0
func (x *ExecuteStateTransitionResponse) ProtoReflect() protoreflect.Message
func (*ExecuteStateTransitionResponse) Reset ¶
func (x *ExecuteStateTransitionResponse) Reset()
func (*ExecuteStateTransitionResponse) String ¶
func (x *ExecuteStateTransitionResponse) String() string
type ExecutedTransaction ¶ added in v0.3.4
type ExecutedTransaction struct { Tx *Transaction `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"` TxHash []byte `protobuf:"bytes,2,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` GasSpent uint64 `protobuf:"varint,3,opt,name=gas_spent,json=gasSpent,proto3" json:"gas_spent,omitempty"` Error *ExecutedTransaction_Error `protobuf:"bytes,4,opt,name=error,proto3,oneof" json:"error,omitempty"` // contains filtered or unexported fields }
func (*ExecutedTransaction) Descriptor
deprecated
added in
v0.3.4
func (*ExecutedTransaction) Descriptor() ([]byte, []int)
Deprecated: Use ExecutedTransaction.ProtoReflect.Descriptor instead.
func (*ExecutedTransaction) GetError ¶ added in v0.3.10
func (x *ExecutedTransaction) GetError() *ExecutedTransaction_Error
func (*ExecutedTransaction) GetGasSpent ¶ added in v0.3.5
func (x *ExecutedTransaction) GetGasSpent() uint64
func (*ExecutedTransaction) GetTx ¶ added in v0.3.4
func (x *ExecutedTransaction) GetTx() *Transaction
func (*ExecutedTransaction) GetTxHash ¶ added in v0.3.4
func (x *ExecutedTransaction) GetTxHash() []byte
func (*ExecutedTransaction) ProtoMessage ¶ added in v0.3.4
func (*ExecutedTransaction) ProtoMessage()
func (*ExecutedTransaction) ProtoReflect ¶ added in v0.3.4
func (x *ExecutedTransaction) ProtoReflect() protoreflect.Message
func (*ExecutedTransaction) Reset ¶ added in v0.3.4
func (x *ExecutedTransaction) Reset()
func (*ExecutedTransaction) String ¶ added in v0.3.4
func (x *ExecutedTransaction) String() string
type ExecutedTransaction_Error ¶ added in v0.3.10
type ExecutedTransaction_Error struct { Code ExecutedTransaction_Error_Code `protobuf:"varint,1,opt,name=code,proto3,enum=rusk.ExecutedTransaction_Error_Code" json:"code,omitempty"` ContractId []byte `protobuf:"bytes,2,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"` Data string `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*ExecutedTransaction_Error) Descriptor
deprecated
added in
v0.3.10
func (*ExecutedTransaction_Error) Descriptor() ([]byte, []int)
Deprecated: Use ExecutedTransaction_Error.ProtoReflect.Descriptor instead.
func (*ExecutedTransaction_Error) GetCode ¶ added in v0.3.10
func (x *ExecutedTransaction_Error) GetCode() ExecutedTransaction_Error_Code
func (*ExecutedTransaction_Error) GetContractId ¶ added in v0.3.10
func (x *ExecutedTransaction_Error) GetContractId() []byte
func (*ExecutedTransaction_Error) GetData ¶ added in v0.3.10
func (x *ExecutedTransaction_Error) GetData() string
func (*ExecutedTransaction_Error) ProtoMessage ¶ added in v0.3.10
func (*ExecutedTransaction_Error) ProtoMessage()
func (*ExecutedTransaction_Error) ProtoReflect ¶ added in v0.3.10
func (x *ExecutedTransaction_Error) ProtoReflect() protoreflect.Message
func (*ExecutedTransaction_Error) Reset ¶ added in v0.3.10
func (x *ExecutedTransaction_Error) Reset()
func (*ExecutedTransaction_Error) String ¶ added in v0.3.10
func (x *ExecutedTransaction_Error) String() string
type ExecutedTransaction_Error_Code ¶ added in v0.3.10
type ExecutedTransaction_Error_Code int32
const ( ExecutedTransaction_Error_UnknownContract ExecutedTransaction_Error_Code = 0 ExecutedTransaction_Error_ContractPanic ExecutedTransaction_Error_Code = 1 ExecutedTransaction_Error_OutOfGas ExecutedTransaction_Error_Code = 2 ExecutedTransaction_Error_Other ExecutedTransaction_Error_Code = 3 )
func (ExecutedTransaction_Error_Code) Descriptor ¶ added in v0.3.10
func (ExecutedTransaction_Error_Code) Descriptor() protoreflect.EnumDescriptor
func (ExecutedTransaction_Error_Code) Enum ¶ added in v0.3.10
func (x ExecutedTransaction_Error_Code) Enum() *ExecutedTransaction_Error_Code
func (ExecutedTransaction_Error_Code) EnumDescriptor
deprecated
added in
v0.3.10
func (ExecutedTransaction_Error_Code) EnumDescriptor() ([]byte, []int)
Deprecated: Use ExecutedTransaction_Error_Code.Descriptor instead.
func (ExecutedTransaction_Error_Code) Number ¶ added in v0.3.10
func (x ExecutedTransaction_Error_Code) Number() protoreflect.EnumNumber
func (ExecutedTransaction_Error_Code) String ¶ added in v0.3.10
func (x ExecutedTransaction_Error_Code) String() string
func (ExecutedTransaction_Error_Code) Type ¶ added in v0.3.10
func (ExecutedTransaction_Error_Code) Type() protoreflect.EnumType
type Fee ¶ added in v0.2.10
type Fee struct { GasLimit uint64 `protobuf:"varint,1,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"` GasPrice uint64 `protobuf:"varint,2,opt,name=gas_price,json=gasPrice,proto3" json:"gas_price,omitempty"` StealthAddress *StealthAddress `protobuf:"bytes,3,opt,name=stealth_address,json=stealthAddress,proto3" json:"stealth_address,omitempty"` // contains filtered or unexported fields }
func (*Fee) Descriptor
deprecated
added in
v0.2.10
func (*Fee) GetGasLimit ¶ added in v0.2.10
func (*Fee) GetGasPrice ¶ added in v0.2.10
func (*Fee) GetStealthAddress ¶ added in v0.2.13
func (x *Fee) GetStealthAddress() *StealthAddress
func (*Fee) ProtoMessage ¶ added in v0.2.10
func (*Fee) ProtoMessage()
func (*Fee) ProtoReflect ¶ added in v0.2.10
func (x *Fee) ProtoReflect() protoreflect.Message
type FindExistingNullifiersRequest ¶ added in v0.3.6
type FindExistingNullifiersRequest struct { Nullifiers [][]byte `protobuf:"bytes,1,rep,name=nullifiers,proto3" json:"nullifiers,omitempty"` // contains filtered or unexported fields }
func (*FindExistingNullifiersRequest) Descriptor
deprecated
added in
v0.3.6
func (*FindExistingNullifiersRequest) Descriptor() ([]byte, []int)
Deprecated: Use FindExistingNullifiersRequest.ProtoReflect.Descriptor instead.
func (*FindExistingNullifiersRequest) GetNullifiers ¶ added in v0.3.6
func (x *FindExistingNullifiersRequest) GetNullifiers() [][]byte
func (*FindExistingNullifiersRequest) ProtoMessage ¶ added in v0.3.6
func (*FindExistingNullifiersRequest) ProtoMessage()
func (*FindExistingNullifiersRequest) ProtoReflect ¶ added in v0.3.6
func (x *FindExistingNullifiersRequest) ProtoReflect() protoreflect.Message
func (*FindExistingNullifiersRequest) Reset ¶ added in v0.3.6
func (x *FindExistingNullifiersRequest) Reset()
func (*FindExistingNullifiersRequest) String ¶ added in v0.3.6
func (x *FindExistingNullifiersRequest) String() string
type FindExistingNullifiersResponse ¶ added in v0.3.6
type FindExistingNullifiersResponse struct { Nullifiers [][]byte `protobuf:"bytes,1,rep,name=nullifiers,proto3" json:"nullifiers,omitempty"` // contains filtered or unexported fields }
func (*FindExistingNullifiersResponse) Descriptor
deprecated
added in
v0.3.6
func (*FindExistingNullifiersResponse) Descriptor() ([]byte, []int)
Deprecated: Use FindExistingNullifiersResponse.ProtoReflect.Descriptor instead.
func (*FindExistingNullifiersResponse) GetNullifiers ¶ added in v0.3.6
func (x *FindExistingNullifiersResponse) GetNullifiers() [][]byte
func (*FindExistingNullifiersResponse) ProtoMessage ¶ added in v0.3.6
func (*FindExistingNullifiersResponse) ProtoMessage()
func (*FindExistingNullifiersResponse) ProtoReflect ¶ added in v0.3.6
func (x *FindExistingNullifiersResponse) ProtoReflect() protoreflect.Message
func (*FindExistingNullifiersResponse) Reset ¶ added in v0.3.6
func (x *FindExistingNullifiersResponse) Reset()
func (*FindExistingNullifiersResponse) String ¶ added in v0.3.6
func (x *FindExistingNullifiersResponse) String() string
type FindStakeRequest ¶ added in v0.2.13
type FindStakeRequest struct { Pk []byte `protobuf:"bytes,1,opt,name=pk,proto3" json:"pk,omitempty"` // BN256Point // contains filtered or unexported fields }
func (*FindStakeRequest) Descriptor
deprecated
added in
v0.2.13
func (*FindStakeRequest) Descriptor() ([]byte, []int)
Deprecated: Use FindStakeRequest.ProtoReflect.Descriptor instead.
func (*FindStakeRequest) GetPk ¶ added in v0.2.13
func (x *FindStakeRequest) GetPk() []byte
func (*FindStakeRequest) ProtoMessage ¶ added in v0.2.13
func (*FindStakeRequest) ProtoMessage()
func (*FindStakeRequest) ProtoReflect ¶ added in v0.3.1
func (x *FindStakeRequest) ProtoReflect() protoreflect.Message
func (*FindStakeRequest) Reset ¶ added in v0.2.13
func (x *FindStakeRequest) Reset()
func (*FindStakeRequest) String ¶ added in v0.2.13
func (x *FindStakeRequest) String() string
type FindStakeResponse ¶ added in v0.2.13
type FindStakeResponse struct { Stakes []*Stake `protobuf:"bytes,1,rep,name=stakes,proto3" json:"stakes,omitempty"` // contains filtered or unexported fields }
func (*FindStakeResponse) Descriptor
deprecated
added in
v0.2.13
func (*FindStakeResponse) Descriptor() ([]byte, []int)
Deprecated: Use FindStakeResponse.ProtoReflect.Descriptor instead.
func (*FindStakeResponse) GetStakes ¶ added in v0.2.13
func (x *FindStakeResponse) GetStakes() []*Stake
func (*FindStakeResponse) ProtoMessage ¶ added in v0.2.13
func (*FindStakeResponse) ProtoMessage()
func (*FindStakeResponse) ProtoReflect ¶ added in v0.3.1
func (x *FindStakeResponse) ProtoReflect() protoreflect.Message
func (*FindStakeResponse) Reset ¶ added in v0.2.13
func (x *FindStakeResponse) Reset()
func (*FindStakeResponse) String ¶ added in v0.2.13
func (x *FindStakeResponse) String() string
type GenerateKeysRequest ¶ added in v0.2.10
type GenerateKeysRequest struct {
// contains filtered or unexported fields
}
func (*GenerateKeysRequest) Descriptor
deprecated
added in
v0.2.10
func (*GenerateKeysRequest) Descriptor() ([]byte, []int)
Deprecated: Use GenerateKeysRequest.ProtoReflect.Descriptor instead.
func (*GenerateKeysRequest) ProtoMessage ¶ added in v0.2.10
func (*GenerateKeysRequest) ProtoMessage()
func (*GenerateKeysRequest) ProtoReflect ¶ added in v0.2.10
func (x *GenerateKeysRequest) ProtoReflect() protoreflect.Message
func (*GenerateKeysRequest) Reset ¶ added in v0.2.10
func (x *GenerateKeysRequest) Reset()
func (*GenerateKeysRequest) String ¶ added in v0.2.10
func (x *GenerateKeysRequest) String() string
type GenerateKeysResponse ¶ added in v0.2.10
type GenerateKeysResponse struct { Sk *SecretKey `protobuf:"bytes,1,opt,name=sk,proto3" json:"sk,omitempty"` Vk *ViewKey `protobuf:"bytes,2,opt,name=vk,proto3" json:"vk,omitempty"` Pk *PublicKey `protobuf:"bytes,3,opt,name=pk,proto3" json:"pk,omitempty"` // contains filtered or unexported fields }
func (*GenerateKeysResponse) Descriptor
deprecated
added in
v0.2.10
func (*GenerateKeysResponse) Descriptor() ([]byte, []int)
Deprecated: Use GenerateKeysResponse.ProtoReflect.Descriptor instead.
func (*GenerateKeysResponse) GetPk ¶ added in v0.2.10
func (x *GenerateKeysResponse) GetPk() *PublicKey
func (*GenerateKeysResponse) GetSk ¶ added in v0.2.10
func (x *GenerateKeysResponse) GetSk() *SecretKey
func (*GenerateKeysResponse) GetVk ¶ added in v0.2.10
func (x *GenerateKeysResponse) GetVk() *ViewKey
func (*GenerateKeysResponse) ProtoMessage ¶ added in v0.2.10
func (*GenerateKeysResponse) ProtoMessage()
func (*GenerateKeysResponse) ProtoReflect ¶ added in v0.2.10
func (x *GenerateKeysResponse) ProtoReflect() protoreflect.Message
func (*GenerateKeysResponse) Reset ¶ added in v0.2.10
func (x *GenerateKeysResponse) Reset()
func (*GenerateKeysResponse) String ¶ added in v0.2.10
func (x *GenerateKeysResponse) String() string
type GetAnchorRequest ¶ added in v0.3.2
type GetAnchorRequest struct {
// contains filtered or unexported fields
}
func (*GetAnchorRequest) Descriptor
deprecated
added in
v0.3.2
func (*GetAnchorRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAnchorRequest.ProtoReflect.Descriptor instead.
func (*GetAnchorRequest) ProtoMessage ¶ added in v0.3.2
func (*GetAnchorRequest) ProtoMessage()
func (*GetAnchorRequest) ProtoReflect ¶ added in v0.3.2
func (x *GetAnchorRequest) ProtoReflect() protoreflect.Message
func (*GetAnchorRequest) Reset ¶ added in v0.3.2
func (x *GetAnchorRequest) Reset()
func (*GetAnchorRequest) String ¶ added in v0.3.2
func (x *GetAnchorRequest) String() string
type GetAnchorResponse ¶ added in v0.3.2
type GetAnchorResponse struct { Anchor []byte `protobuf:"bytes,1,opt,name=anchor,proto3" json:"anchor,omitempty"` // BlsScalar // contains filtered or unexported fields }
func (*GetAnchorResponse) Descriptor
deprecated
added in
v0.3.2
func (*GetAnchorResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAnchorResponse.ProtoReflect.Descriptor instead.
func (*GetAnchorResponse) GetAnchor ¶ added in v0.3.2
func (x *GetAnchorResponse) GetAnchor() []byte
func (*GetAnchorResponse) ProtoMessage ¶ added in v0.3.2
func (*GetAnchorResponse) ProtoMessage()
func (*GetAnchorResponse) ProtoReflect ¶ added in v0.3.2
func (x *GetAnchorResponse) ProtoReflect() protoreflect.Message
func (*GetAnchorResponse) Reset ¶ added in v0.3.2
func (x *GetAnchorResponse) Reset()
func (*GetAnchorResponse) String ¶ added in v0.3.2
func (x *GetAnchorResponse) String() string
type GetBalanceResponse ¶ added in v0.2.0
type GetBalanceResponse struct { Balance uint64 `protobuf:"fixed64,1,opt,name=balance,proto3" json:"balance,omitempty"` // contains filtered or unexported fields }
func (*GetBalanceResponse) Descriptor
deprecated
added in
v0.2.0
func (*GetBalanceResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetBalanceResponse.ProtoReflect.Descriptor instead.
func (*GetBalanceResponse) GetBalance ¶ added in v0.2.0
func (x *GetBalanceResponse) GetBalance() uint64
func (*GetBalanceResponse) ProtoMessage ¶ added in v0.2.0
func (*GetBalanceResponse) ProtoMessage()
func (*GetBalanceResponse) ProtoReflect ¶ added in v0.2.0
func (x *GetBalanceResponse) ProtoReflect() protoreflect.Message
func (*GetBalanceResponse) Reset ¶ added in v0.2.0
func (x *GetBalanceResponse) Reset()
func (*GetBalanceResponse) String ¶ added in v0.2.0
func (x *GetBalanceResponse) String() string
type GetNotesOwnedByRequest ¶ added in v0.3.2
type GetNotesOwnedByRequest struct { // Deprecated: Do not use. Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` // Deprecated: Do not use. Vk []byte `protobuf:"bytes,2,opt,name=vk,proto3" json:"vk,omitempty"` // contains filtered or unexported fields }
func (*GetNotesOwnedByRequest) Descriptor
deprecated
added in
v0.3.2
func (*GetNotesOwnedByRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetNotesOwnedByRequest.ProtoReflect.Descriptor instead.
func (*GetNotesOwnedByRequest) GetHeight
deprecated
added in
v0.3.2
func (x *GetNotesOwnedByRequest) GetHeight() uint64
Deprecated: Do not use.
func (*GetNotesOwnedByRequest) GetVk
deprecated
added in
v0.3.2
func (x *GetNotesOwnedByRequest) GetVk() []byte
Deprecated: Do not use.
func (*GetNotesOwnedByRequest) ProtoMessage ¶ added in v0.3.2
func (*GetNotesOwnedByRequest) ProtoMessage()
func (*GetNotesOwnedByRequest) ProtoReflect ¶ added in v0.3.2
func (x *GetNotesOwnedByRequest) ProtoReflect() protoreflect.Message
func (*GetNotesOwnedByRequest) Reset ¶ added in v0.3.2
func (x *GetNotesOwnedByRequest) Reset()
func (*GetNotesOwnedByRequest) String ¶ added in v0.3.2
func (x *GetNotesOwnedByRequest) String() string
type GetNotesOwnedByResponse ¶ added in v0.3.2
type GetNotesOwnedByResponse struct { Notes [][]byte `protobuf:"bytes,1,rep,name=notes,proto3" json:"notes,omitempty"` Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` // contains filtered or unexported fields }
func (*GetNotesOwnedByResponse) Descriptor
deprecated
added in
v0.3.2
func (*GetNotesOwnedByResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetNotesOwnedByResponse.ProtoReflect.Descriptor instead.
func (*GetNotesOwnedByResponse) GetHeight ¶ added in v0.5.2
func (x *GetNotesOwnedByResponse) GetHeight() uint64
func (*GetNotesOwnedByResponse) GetNotes ¶ added in v0.3.2
func (x *GetNotesOwnedByResponse) GetNotes() [][]byte
func (*GetNotesOwnedByResponse) ProtoMessage ¶ added in v0.3.2
func (*GetNotesOwnedByResponse) ProtoMessage()
func (*GetNotesOwnedByResponse) ProtoReflect ¶ added in v0.3.2
func (x *GetNotesOwnedByResponse) ProtoReflect() protoreflect.Message
func (*GetNotesOwnedByResponse) Reset ¶ added in v0.3.2
func (x *GetNotesOwnedByResponse) Reset()
func (*GetNotesOwnedByResponse) String ¶ added in v0.3.2
func (x *GetNotesOwnedByResponse) String() string
type GetNotesRequest ¶ added in v0.5.2
type GetNotesRequest struct { Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` Vk []byte `protobuf:"bytes,2,opt,name=vk,proto3" json:"vk,omitempty"` // contains filtered or unexported fields }
func (*GetNotesRequest) Descriptor
deprecated
added in
v0.5.2
func (*GetNotesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetNotesRequest.ProtoReflect.Descriptor instead.
func (*GetNotesRequest) GetHeight ¶ added in v0.5.2
func (x *GetNotesRequest) GetHeight() uint64
func (*GetNotesRequest) GetVk ¶ added in v0.5.2
func (x *GetNotesRequest) GetVk() []byte
func (*GetNotesRequest) ProtoMessage ¶ added in v0.5.2
func (*GetNotesRequest) ProtoMessage()
func (*GetNotesRequest) ProtoReflect ¶ added in v0.5.2
func (x *GetNotesRequest) ProtoReflect() protoreflect.Message
func (*GetNotesRequest) Reset ¶ added in v0.5.2
func (x *GetNotesRequest) Reset()
func (*GetNotesRequest) String ¶ added in v0.5.2
func (x *GetNotesRequest) String() string
type GetNotesResponse ¶ added in v0.5.2
type GetNotesResponse struct { Note []byte `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"` Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` // contains filtered or unexported fields }
func (*GetNotesResponse) Descriptor
deprecated
added in
v0.5.2
func (*GetNotesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetNotesResponse.ProtoReflect.Descriptor instead.
func (*GetNotesResponse) GetHeight ¶ added in v0.5.2
func (x *GetNotesResponse) GetHeight() uint64
func (*GetNotesResponse) GetNote ¶ added in v0.5.2
func (x *GetNotesResponse) GetNote() []byte
func (*GetNotesResponse) ProtoMessage ¶ added in v0.5.2
func (*GetNotesResponse) ProtoMessage()
func (*GetNotesResponse) ProtoReflect ¶ added in v0.5.2
func (x *GetNotesResponse) ProtoReflect() protoreflect.Message
func (*GetNotesResponse) Reset ¶ added in v0.5.2
func (x *GetNotesResponse) Reset()
func (*GetNotesResponse) String ¶ added in v0.5.2
func (x *GetNotesResponse) String() string
type GetOpeningRequest ¶ added in v0.3.2
type GetOpeningRequest struct { Note []byte `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"` // contains filtered or unexported fields }
func (*GetOpeningRequest) Descriptor
deprecated
added in
v0.3.2
func (*GetOpeningRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetOpeningRequest.ProtoReflect.Descriptor instead.
func (*GetOpeningRequest) GetNote ¶ added in v0.3.2
func (x *GetOpeningRequest) GetNote() []byte
func (*GetOpeningRequest) ProtoMessage ¶ added in v0.3.2
func (*GetOpeningRequest) ProtoMessage()
func (*GetOpeningRequest) ProtoReflect ¶ added in v0.3.2
func (x *GetOpeningRequest) ProtoReflect() protoreflect.Message
func (*GetOpeningRequest) Reset ¶ added in v0.3.2
func (x *GetOpeningRequest) Reset()
func (*GetOpeningRequest) String ¶ added in v0.3.2
func (x *GetOpeningRequest) String() string
type GetOpeningResponse ¶ added in v0.3.2
type GetOpeningResponse struct { Branch []byte `protobuf:"bytes,1,opt,name=branch,proto3" json:"branch,omitempty"` // PoseidonBranch<POSEIDON_TREE_DEPTH> // contains filtered or unexported fields }
func (*GetOpeningResponse) Descriptor
deprecated
added in
v0.3.2
func (*GetOpeningResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetOpeningResponse.ProtoReflect.Descriptor instead.
func (*GetOpeningResponse) GetBranch ¶ added in v0.3.2
func (x *GetOpeningResponse) GetBranch() []byte
func (*GetOpeningResponse) ProtoMessage ¶ added in v0.3.2
func (*GetOpeningResponse) ProtoMessage()
func (*GetOpeningResponse) ProtoReflect ¶ added in v0.3.2
func (x *GetOpeningResponse) ProtoReflect() protoreflect.Message
func (*GetOpeningResponse) Reset ¶ added in v0.3.2
func (x *GetOpeningResponse) Reset()
func (*GetOpeningResponse) String ¶ added in v0.3.2
func (x *GetOpeningResponse) String() string
type GetProvisionersRequest ¶ added in v0.2.10
type GetProvisionersRequest struct {
// contains filtered or unexported fields
}
func (*GetProvisionersRequest) Descriptor
deprecated
added in
v0.2.10
func (*GetProvisionersRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetProvisionersRequest.ProtoReflect.Descriptor instead.
func (*GetProvisionersRequest) ProtoMessage ¶ added in v0.2.10
func (*GetProvisionersRequest) ProtoMessage()
func (*GetProvisionersRequest) ProtoReflect ¶ added in v0.2.10
func (x *GetProvisionersRequest) ProtoReflect() protoreflect.Message
func (*GetProvisionersRequest) Reset ¶ added in v0.2.10
func (x *GetProvisionersRequest) Reset()
func (*GetProvisionersRequest) String ¶ added in v0.2.10
func (x *GetProvisionersRequest) String() string
type GetProvisionersResponse ¶ added in v0.2.10
type GetProvisionersResponse struct { Provisioners []*Provisioner `protobuf:"bytes,1,rep,name=provisioners,proto3" json:"provisioners,omitempty"` // contains filtered or unexported fields }
func (*GetProvisionersResponse) Descriptor
deprecated
added in
v0.2.10
func (*GetProvisionersResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetProvisionersResponse.ProtoReflect.Descriptor instead.
func (*GetProvisionersResponse) GetProvisioners ¶ added in v0.2.10
func (x *GetProvisionersResponse) GetProvisioners() []*Provisioner
func (*GetProvisionersResponse) ProtoMessage ¶ added in v0.2.10
func (*GetProvisionersResponse) ProtoMessage()
func (*GetProvisionersResponse) ProtoReflect ¶ added in v0.2.10
func (x *GetProvisionersResponse) ProtoReflect() protoreflect.Message
func (*GetProvisionersResponse) Reset ¶ added in v0.2.10
func (x *GetProvisionersResponse) Reset()
func (*GetProvisionersResponse) String ¶ added in v0.2.10
func (x *GetProvisionersResponse) String() string
type GetStakeRequest ¶ added in v0.3.2
type GetStakeRequest struct { Pk []byte `protobuf:"bytes,1,opt,name=pk,proto3" json:"pk,omitempty"` // PublicKey // contains filtered or unexported fields }
func (*GetStakeRequest) Descriptor
deprecated
added in
v0.3.2
func (*GetStakeRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetStakeRequest.ProtoReflect.Descriptor instead.
func (*GetStakeRequest) GetPk ¶ added in v0.3.2
func (x *GetStakeRequest) GetPk() []byte
func (*GetStakeRequest) ProtoMessage ¶ added in v0.3.2
func (*GetStakeRequest) ProtoMessage()
func (*GetStakeRequest) ProtoReflect ¶ added in v0.3.2
func (x *GetStakeRequest) ProtoReflect() protoreflect.Message
func (*GetStakeRequest) Reset ¶ added in v0.3.2
func (x *GetStakeRequest) Reset()
func (*GetStakeRequest) String ¶ added in v0.3.2
func (x *GetStakeRequest) String() string
type GetStakeResponse ¶ added in v0.3.2
type GetStakeResponse struct { Amount *GetStakeResponse_Amount `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"` Reward uint64 `protobuf:"fixed64,2,opt,name=reward,proto3" json:"reward,omitempty"` Counter uint64 `protobuf:"fixed64,3,opt,name=counter,proto3" json:"counter,omitempty"` // contains filtered or unexported fields }
func (*GetStakeResponse) Descriptor
deprecated
added in
v0.3.2
func (*GetStakeResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetStakeResponse.ProtoReflect.Descriptor instead.
func (*GetStakeResponse) GetAmount ¶ added in v0.5.1
func (x *GetStakeResponse) GetAmount() *GetStakeResponse_Amount
func (*GetStakeResponse) GetCounter ¶ added in v0.5.1
func (x *GetStakeResponse) GetCounter() uint64
func (*GetStakeResponse) GetReward ¶ added in v0.5.1
func (x *GetStakeResponse) GetReward() uint64
func (*GetStakeResponse) ProtoMessage ¶ added in v0.3.2
func (*GetStakeResponse) ProtoMessage()
func (*GetStakeResponse) ProtoReflect ¶ added in v0.3.2
func (x *GetStakeResponse) ProtoReflect() protoreflect.Message
func (*GetStakeResponse) Reset ¶ added in v0.3.2
func (x *GetStakeResponse) Reset()
func (*GetStakeResponse) String ¶ added in v0.3.2
func (x *GetStakeResponse) String() string
type GetStakeResponse_Amount ¶ added in v0.5.1
type GetStakeResponse_Amount struct { Value uint64 `protobuf:"fixed64,1,opt,name=value,proto3" json:"value,omitempty"` Eligibility uint64 `protobuf:"fixed64,2,opt,name=eligibility,proto3" json:"eligibility,omitempty"` // contains filtered or unexported fields }
func (*GetStakeResponse_Amount) Descriptor
deprecated
added in
v0.5.1
func (*GetStakeResponse_Amount) Descriptor() ([]byte, []int)
Deprecated: Use GetStakeResponse_Amount.ProtoReflect.Descriptor instead.
func (*GetStakeResponse_Amount) GetEligibility ¶ added in v0.5.1
func (x *GetStakeResponse_Amount) GetEligibility() uint64
func (*GetStakeResponse_Amount) GetValue ¶ added in v0.5.1
func (x *GetStakeResponse_Amount) GetValue() uint64
func (*GetStakeResponse_Amount) ProtoMessage ¶ added in v0.5.1
func (*GetStakeResponse_Amount) ProtoMessage()
func (*GetStakeResponse_Amount) ProtoReflect ¶ added in v0.5.1
func (x *GetStakeResponse_Amount) ProtoReflect() protoreflect.Message
func (*GetStakeResponse_Amount) Reset ¶ added in v0.5.1
func (x *GetStakeResponse_Amount) Reset()
func (*GetStakeResponse_Amount) String ¶ added in v0.5.1
func (x *GetStakeResponse_Amount) String() string
type GetStateRootRequest ¶ added in v0.3.2
type GetStateRootRequest struct {
// contains filtered or unexported fields
}
func (*GetStateRootRequest) Descriptor
deprecated
added in
v0.3.2
func (*GetStateRootRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetStateRootRequest.ProtoReflect.Descriptor instead.
func (*GetStateRootRequest) ProtoMessage ¶ added in v0.3.2
func (*GetStateRootRequest) ProtoMessage()
func (*GetStateRootRequest) ProtoReflect ¶ added in v0.3.2
func (x *GetStateRootRequest) ProtoReflect() protoreflect.Message
func (*GetStateRootRequest) Reset ¶ added in v0.3.2
func (x *GetStateRootRequest) Reset()
func (*GetStateRootRequest) String ¶ added in v0.3.2
func (x *GetStateRootRequest) String() string
type GetStateRootResponse ¶ added in v0.3.2
type GetStateRootResponse struct { StateRoot []byte `protobuf:"bytes,1,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty"` // contains filtered or unexported fields }
func (*GetStateRootResponse) Descriptor
deprecated
added in
v0.3.2
func (*GetStateRootResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetStateRootResponse.ProtoReflect.Descriptor instead.
func (*GetStateRootResponse) GetStateRoot ¶ added in v0.3.2
func (x *GetStateRootResponse) GetStateRoot() []byte
func (*GetStateRootResponse) ProtoMessage ¶ added in v0.3.2
func (*GetStateRootResponse) ProtoMessage()
func (*GetStateRootResponse) ProtoReflect ¶ added in v0.3.2
func (x *GetStateRootResponse) ProtoReflect() protoreflect.Message
func (*GetStateRootResponse) Reset ¶ added in v0.3.2
func (x *GetStateRootResponse) Reset()
func (*GetStateRootResponse) String ¶ added in v0.3.2
func (x *GetStateRootResponse) String() string
type GetWithdrawalTimeResponse ¶ added in v0.2.13
type GetWithdrawalTimeResponse struct { Height uint64 `protobuf:"fixed64,1,opt,name=height,proto3" json:"height,omitempty"` // contains filtered or unexported fields }
func (*GetWithdrawalTimeResponse) Descriptor
deprecated
added in
v0.2.13
func (*GetWithdrawalTimeResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetWithdrawalTimeResponse.ProtoReflect.Descriptor instead.
func (*GetWithdrawalTimeResponse) GetHeight ¶ added in v0.2.13
func (x *GetWithdrawalTimeResponse) GetHeight() uint64
func (*GetWithdrawalTimeResponse) ProtoMessage ¶ added in v0.2.13
func (*GetWithdrawalTimeResponse) ProtoMessage()
func (*GetWithdrawalTimeResponse) ProtoReflect ¶ added in v0.3.1
func (x *GetWithdrawalTimeResponse) ProtoReflect() protoreflect.Message
func (*GetWithdrawalTimeResponse) Reset ¶ added in v0.2.13
func (x *GetWithdrawalTimeResponse) Reset()
func (*GetWithdrawalTimeResponse) String ¶ added in v0.2.13
func (x *GetWithdrawalTimeResponse) String() string
type KeysClient ¶ added in v0.2.10
type KeysClient interface { GenerateKeys(ctx context.Context, in *GenerateKeysRequest, opts ...grpc.CallOption) (*GenerateKeysResponse, error) GenerateStealthAddress(ctx context.Context, in *PublicKey, opts ...grpc.CallOption) (*StealthAddress, error) }
KeysClient is the client API for Keys service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewKeysClient ¶ added in v0.2.10
func NewKeysClient(cc grpc.ClientConnInterface) KeysClient
type KeysServer ¶ added in v0.2.10
type KeysServer interface { GenerateKeys(context.Context, *GenerateKeysRequest) (*GenerateKeysResponse, error) GenerateStealthAddress(context.Context, *PublicKey) (*StealthAddress, error) }
KeysServer is the server API for Keys service.
type Message ¶ added in v0.3.1
type Message struct { Message []byte `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` Metadata *MessageMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
func (*Message) Descriptor
deprecated
added in
v0.3.1
func (*Message) GetMessage ¶ added in v0.3.1
func (*Message) GetMetadata ¶ added in v0.3.1
func (x *Message) GetMetadata() *MessageMetadata
func (*Message) ProtoMessage ¶ added in v0.3.1
func (*Message) ProtoMessage()
func (*Message) ProtoReflect ¶ added in v0.3.1
func (x *Message) ProtoReflect() protoreflect.Message
type MessageMetadata ¶ added in v0.3.1
type MessageMetadata struct { KadcastHeight uint32 `protobuf:"varint,1,opt,name=kadcast_height,json=kadcastHeight,proto3" json:"kadcast_height,omitempty"` SrcAddress string `protobuf:"bytes,2,opt,name=src_address,json=srcAddress,proto3" json:"src_address,omitempty"` // contains filtered or unexported fields }
func (*MessageMetadata) Descriptor
deprecated
added in
v0.3.1
func (*MessageMetadata) Descriptor() ([]byte, []int)
Deprecated: Use MessageMetadata.ProtoReflect.Descriptor instead.
func (*MessageMetadata) GetKadcastHeight ¶ added in v0.3.1
func (x *MessageMetadata) GetKadcastHeight() uint32
func (*MessageMetadata) GetSrcAddress ¶ added in v0.3.1
func (x *MessageMetadata) GetSrcAddress() string
func (*MessageMetadata) ProtoMessage ¶ added in v0.3.1
func (*MessageMetadata) ProtoMessage()
func (*MessageMetadata) ProtoReflect ¶ added in v0.3.1
func (x *MessageMetadata) ProtoReflect() protoreflect.Message
func (*MessageMetadata) Reset ¶ added in v0.3.1
func (x *MessageMetadata) Reset()
func (*MessageMetadata) String ¶ added in v0.3.1
func (x *MessageMetadata) String() string
type NetworkClient ¶ added in v0.3.1
type NetworkClient interface { // Receive messages coming from the network Listen(ctx context.Context, in *Null, opts ...grpc.CallOption) (Network_ListenClient, error) // Broadcast a message to the network Broadcast(ctx context.Context, in *BroadcastMessage, opts ...grpc.CallOption) (*Null, error) // Propagate a message to the network and notify current receivers Propagate(ctx context.Context, in *PropagateMessage, opts ...grpc.CallOption) (*Null, error) // Send a message to a specific target in the network Send(ctx context.Context, in *SendMessage, opts ...grpc.CallOption) (*Null, error) // Retrieve network nodes considered alive AliveNodes(ctx context.Context, in *AliveNodesRequest, opts ...grpc.CallOption) (*AliveNodesResponse, error) }
NetworkClient is the client API for Network service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewNetworkClient ¶ added in v0.3.1
func NewNetworkClient(cc grpc.ClientConnInterface) NetworkClient
type NetworkServer ¶ added in v0.3.1
type NetworkServer interface { // Receive messages coming from the network Listen(*Null, Network_ListenServer) error // Broadcast a message to the network Broadcast(context.Context, *BroadcastMessage) (*Null, error) // Propagate a message to the network and notify current receivers Propagate(context.Context, *PropagateMessage) (*Null, error) // Send a message to a specific target in the network Send(context.Context, *SendMessage) (*Null, error) // Retrieve network nodes considered alive AliveNodes(context.Context, *AliveNodesRequest) (*AliveNodesResponse, error) }
NetworkServer is the server API for Network service.
type Network_ListenClient ¶ added in v0.3.1
type Network_ListenClient interface { Recv() (*Message, error) grpc.ClientStream }
type Network_ListenServer ¶ added in v0.3.1
type Network_ListenServer interface { Send(*Message) error grpc.ServerStream }
type Note ¶
type Note struct { NoteType Note_NoteType `protobuf:"varint,1,opt,name=note_type,json=noteType,proto3,enum=rusk.Note_NoteType" json:"note_type,omitempty"` ValueCommitment []byte `protobuf:"bytes,2,opt,name=value_commitment,json=valueCommitment,proto3" json:"value_commitment,omitempty"` // JubJubCompressed Nonce []byte `protobuf:"bytes,3,opt,name=nonce,proto3" json:"nonce,omitempty"` // JubJubScalar StealthAddress *StealthAddress `protobuf:"bytes,4,opt,name=stealth_address,json=stealthAddress,proto3" json:"stealth_address,omitempty"` Pos uint64 `protobuf:"fixed64,5,opt,name=pos,proto3" json:"pos,omitempty"` EncryptedData []byte `protobuf:"bytes,6,opt,name=encrypted_data,json=encryptedData,proto3" json:"encrypted_data,omitempty"` // contains filtered or unexported fields }
func (*Note) Descriptor
deprecated
func (*Note) GetEncryptedData ¶ added in v0.2.13
func (*Note) GetNoteType ¶
func (x *Note) GetNoteType() Note_NoteType
func (*Note) GetStealthAddress ¶ added in v0.2.13
func (x *Note) GetStealthAddress() *StealthAddress
func (*Note) GetValueCommitment ¶
func (*Note) ProtoMessage ¶
func (*Note) ProtoMessage()
func (*Note) ProtoReflect ¶ added in v0.2.0
func (x *Note) ProtoReflect() protoreflect.Message
type Note_NoteType ¶ added in v0.2.13
type Note_NoteType int32
const ( Note_TRANSPARENT Note_NoteType = 0 Note_OBFUSCATED Note_NoteType = 1 )
func (Note_NoteType) Descriptor ¶ added in v0.3.1
func (Note_NoteType) Descriptor() protoreflect.EnumDescriptor
func (Note_NoteType) Enum ¶ added in v0.3.1
func (x Note_NoteType) Enum() *Note_NoteType
func (Note_NoteType) EnumDescriptor
deprecated
added in
v0.2.13
func (Note_NoteType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Note_NoteType.Descriptor instead.
func (Note_NoteType) Number ¶ added in v0.3.1
func (x Note_NoteType) Number() protoreflect.EnumNumber
func (Note_NoteType) String ¶ added in v0.2.13
func (x Note_NoteType) String() string
func (Note_NoteType) Type ¶ added in v0.3.1
func (Note_NoteType) Type() protoreflect.EnumType
type Null ¶ added in v0.3.1
type Null struct {
// contains filtered or unexported fields
}
func (*Null) Descriptor
deprecated
added in
v0.3.1
func (*Null) ProtoMessage ¶ added in v0.3.1
func (*Null) ProtoMessage()
func (*Null) ProtoReflect ¶ added in v0.3.1
func (x *Null) ProtoReflect() protoreflect.Message
type PersistRequest ¶ added in v0.3.9
type PersistRequest struct { StateRoot []byte `protobuf:"bytes,1,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty"` // contains filtered or unexported fields }
func (*PersistRequest) Descriptor
deprecated
added in
v0.3.9
func (*PersistRequest) Descriptor() ([]byte, []int)
Deprecated: Use PersistRequest.ProtoReflect.Descriptor instead.
func (*PersistRequest) GetStateRoot ¶ added in v0.3.9
func (x *PersistRequest) GetStateRoot() []byte
func (*PersistRequest) ProtoMessage ¶ added in v0.3.9
func (*PersistRequest) ProtoMessage()
func (*PersistRequest) ProtoReflect ¶ added in v0.3.9
func (x *PersistRequest) ProtoReflect() protoreflect.Message
func (*PersistRequest) Reset ¶ added in v0.3.9
func (x *PersistRequest) Reset()
func (*PersistRequest) String ¶ added in v0.3.9
func (x *PersistRequest) String() string
type PersistResponse ¶ added in v0.3.9
type PersistResponse struct {
// contains filtered or unexported fields
}
func (*PersistResponse) Descriptor
deprecated
added in
v0.3.9
func (*PersistResponse) Descriptor() ([]byte, []int)
Deprecated: Use PersistResponse.ProtoReflect.Descriptor instead.
func (*PersistResponse) ProtoMessage ¶ added in v0.3.9
func (*PersistResponse) ProtoMessage()
func (*PersistResponse) ProtoReflect ¶ added in v0.3.9
func (x *PersistResponse) ProtoReflect() protoreflect.Message
func (*PersistResponse) Reset ¶ added in v0.3.9
func (x *PersistResponse) Reset()
func (*PersistResponse) String ¶ added in v0.3.9
func (x *PersistResponse) String() string
type PreverifyRequest ¶ added in v0.3.3
type PreverifyRequest struct { Tx *Transaction `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"` // contains filtered or unexported fields }
func (*PreverifyRequest) Descriptor
deprecated
added in
v0.3.3
func (*PreverifyRequest) Descriptor() ([]byte, []int)
Deprecated: Use PreverifyRequest.ProtoReflect.Descriptor instead.
func (*PreverifyRequest) GetTx ¶ added in v0.3.3
func (x *PreverifyRequest) GetTx() *Transaction
func (*PreverifyRequest) ProtoMessage ¶ added in v0.3.3
func (*PreverifyRequest) ProtoMessage()
func (*PreverifyRequest) ProtoReflect ¶ added in v0.3.3
func (x *PreverifyRequest) ProtoReflect() protoreflect.Message
func (*PreverifyRequest) Reset ¶ added in v0.3.3
func (x *PreverifyRequest) Reset()
func (*PreverifyRequest) String ¶ added in v0.3.3
func (x *PreverifyRequest) String() string
type PreverifyResponse ¶ added in v0.3.3
type PreverifyResponse struct { TxHash []byte `protobuf:"bytes,1,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` Fee *Fee `protobuf:"bytes,2,opt,name=fee,proto3" json:"fee,omitempty"` // contains filtered or unexported fields }
func (*PreverifyResponse) Descriptor
deprecated
added in
v0.3.3
func (*PreverifyResponse) Descriptor() ([]byte, []int)
Deprecated: Use PreverifyResponse.ProtoReflect.Descriptor instead.
func (*PreverifyResponse) GetFee ¶ added in v0.3.3
func (x *PreverifyResponse) GetFee() *Fee
func (*PreverifyResponse) GetTxHash ¶ added in v0.3.3
func (x *PreverifyResponse) GetTxHash() []byte
func (*PreverifyResponse) ProtoMessage ¶ added in v0.3.3
func (*PreverifyResponse) ProtoMessage()
func (*PreverifyResponse) ProtoReflect ¶ added in v0.3.3
func (x *PreverifyResponse) ProtoReflect() protoreflect.Message
func (*PreverifyResponse) Reset ¶ added in v0.3.3
func (x *PreverifyResponse) Reset()
func (*PreverifyResponse) String ¶ added in v0.3.3
func (x *PreverifyResponse) String() string
type PropagateMessage ¶ added in v0.3.2
type PropagateMessage struct { Message []byte `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*PropagateMessage) Descriptor
deprecated
added in
v0.3.2
func (*PropagateMessage) Descriptor() ([]byte, []int)
Deprecated: Use PropagateMessage.ProtoReflect.Descriptor instead.
func (*PropagateMessage) GetMessage ¶ added in v0.3.2
func (x *PropagateMessage) GetMessage() []byte
func (*PropagateMessage) ProtoMessage ¶ added in v0.3.2
func (*PropagateMessage) ProtoMessage()
func (*PropagateMessage) ProtoReflect ¶ added in v0.3.2
func (x *PropagateMessage) ProtoReflect() protoreflect.Message
func (*PropagateMessage) Reset ¶ added in v0.3.2
func (x *PropagateMessage) Reset()
func (*PropagateMessage) String ¶ added in v0.3.2
func (x *PropagateMessage) String() string
type ProverClient ¶ added in v0.3.2
type ProverClient interface { // Proves the unproven transaction by generating a Plonk proof of the // appropriate circuit. ProveExecute(ctx context.Context, in *ExecuteProverRequest, opts ...grpc.CallOption) (*ExecuteProverResponse, error) // Send to contract transparent proof request. ProveStct(ctx context.Context, in *StctProverRequest, opts ...grpc.CallOption) (*StctProverResponse, error) // Send to contract obfuscated proof request. ProveStco(ctx context.Context, in *StcoProverRequest, opts ...grpc.CallOption) (*StcoProverResponse, error) // Withdraw from contract transparent request. ProveWfct(ctx context.Context, in *WfctProverRequest, opts ...grpc.CallOption) (*WfctProverResponse, error) // Withdraw from contract obfuscated request. ProveWfco(ctx context.Context, in *WfcoProverRequest, opts ...grpc.CallOption) (*WfcoProverResponse, error) }
ProverClient is the client API for Prover service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewProverClient ¶ added in v0.3.2
func NewProverClient(cc grpc.ClientConnInterface) ProverClient
type ProverServer ¶ added in v0.3.2
type ProverServer interface { // Proves the unproven transaction by generating a Plonk proof of the // appropriate circuit. ProveExecute(context.Context, *ExecuteProverRequest) (*ExecuteProverResponse, error) // Send to contract transparent proof request. ProveStct(context.Context, *StctProverRequest) (*StctProverResponse, error) // Send to contract obfuscated proof request. ProveStco(context.Context, *StcoProverRequest) (*StcoProverResponse, error) // Withdraw from contract transparent request. ProveWfct(context.Context, *WfctProverRequest) (*WfctProverResponse, error) // Withdraw from contract obfuscated request. ProveWfco(context.Context, *WfcoProverRequest) (*WfcoProverResponse, error) }
ProverServer is the server API for Prover service.
type Provisioner ¶ added in v0.2.0
type Provisioner struct { PublicKeyBls []byte `protobuf:"bytes,1,opt,name=public_key_bls,json=publicKeyBls,proto3" json:"public_key_bls,omitempty"` RawPublicKeyBls []byte `protobuf:"bytes,2,opt,name=raw_public_key_bls,json=rawPublicKeyBls,proto3" json:"raw_public_key_bls,omitempty"` Stakes []*Stake `protobuf:"bytes,3,rep,name=stakes,proto3" json:"stakes,omitempty"` // contains filtered or unexported fields }
func (*Provisioner) Descriptor
deprecated
added in
v0.2.0
func (*Provisioner) Descriptor() ([]byte, []int)
Deprecated: Use Provisioner.ProtoReflect.Descriptor instead.
func (*Provisioner) GetPublicKeyBls ¶ added in v0.2.10
func (x *Provisioner) GetPublicKeyBls() []byte
func (*Provisioner) GetRawPublicKeyBls ¶ added in v0.2.18
func (x *Provisioner) GetRawPublicKeyBls() []byte
func (*Provisioner) GetStakes ¶ added in v0.2.0
func (x *Provisioner) GetStakes() []*Stake
func (*Provisioner) ProtoMessage ¶ added in v0.2.0
func (*Provisioner) ProtoMessage()
func (*Provisioner) ProtoReflect ¶ added in v0.2.0
func (x *Provisioner) ProtoReflect() protoreflect.Message
func (*Provisioner) Reset ¶ added in v0.2.0
func (x *Provisioner) Reset()
func (*Provisioner) String ¶ added in v0.2.0
func (x *Provisioner) String() string
type PublicKey ¶
type PublicKey struct { Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` // contains filtered or unexported fields }
func (*PublicKey) Descriptor
deprecated
func (*PublicKey) GetPayload ¶ added in v0.3.11
func (*PublicKey) ProtoMessage ¶
func (*PublicKey) ProtoMessage()
func (*PublicKey) ProtoReflect ¶ added in v0.2.0
func (x *PublicKey) ProtoReflect() protoreflect.Message
type RevertRequest ¶ added in v0.3.7
type RevertRequest struct {
// contains filtered or unexported fields
}
func (*RevertRequest) Descriptor
deprecated
added in
v0.3.7
func (*RevertRequest) Descriptor() ([]byte, []int)
Deprecated: Use RevertRequest.ProtoReflect.Descriptor instead.
func (*RevertRequest) ProtoMessage ¶ added in v0.3.7
func (*RevertRequest) ProtoMessage()
func (*RevertRequest) ProtoReflect ¶ added in v0.3.7
func (x *RevertRequest) ProtoReflect() protoreflect.Message
func (*RevertRequest) Reset ¶ added in v0.3.7
func (x *RevertRequest) Reset()
func (*RevertRequest) String ¶ added in v0.3.7
func (x *RevertRequest) String() string
type RevertResponse ¶ added in v0.3.7
type RevertResponse struct { StateRoot []byte `protobuf:"bytes,1,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty"` // contains filtered or unexported fields }
func (*RevertResponse) Descriptor
deprecated
added in
v0.3.7
func (*RevertResponse) Descriptor() ([]byte, []int)
Deprecated: Use RevertResponse.ProtoReflect.Descriptor instead.
func (*RevertResponse) GetStateRoot ¶ added in v0.3.7
func (x *RevertResponse) GetStateRoot() []byte
func (*RevertResponse) ProtoMessage ¶ added in v0.3.7
func (*RevertResponse) ProtoMessage()
func (*RevertResponse) ProtoReflect ¶ added in v0.3.7
func (x *RevertResponse) ProtoReflect() protoreflect.Message
func (*RevertResponse) Reset ¶ added in v0.3.7
func (x *RevertResponse) Reset()
func (*RevertResponse) String ¶ added in v0.3.7
func (x *RevertResponse) String() string
type RewardClient ¶ added in v0.2.13
type RewardClient interface { // Get reward balance of the given provisioner. GetBalance(ctx context.Context, in *BN256Point, opts ...grpc.CallOption) (*GetBalanceResponse, error) // Get height of the last reward withdrawal of a given provisioner. GetWithdrawalTime(ctx context.Context, in *BN256Point, opts ...grpc.CallOption) (*GetWithdrawalTimeResponse, error) }
RewardClient is the client API for Reward service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewRewardClient ¶ added in v0.2.13
func NewRewardClient(cc grpc.ClientConnInterface) RewardClient
type RewardServer ¶ added in v0.2.13
type RewardServer interface { // Get reward balance of the given provisioner. GetBalance(context.Context, *BN256Point) (*GetBalanceResponse, error) // Get height of the last reward withdrawal of a given provisioner. GetWithdrawalTime(context.Context, *BN256Point) (*GetWithdrawalTimeResponse, error) }
RewardServer is the server API for Reward service.
type SecretKey ¶
type SecretKey struct { Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` // contains filtered or unexported fields }
func (*SecretKey) Descriptor
deprecated
func (*SecretKey) GetPayload ¶ added in v0.3.11
func (*SecretKey) ProtoMessage ¶
func (*SecretKey) ProtoMessage()
func (*SecretKey) ProtoReflect ¶ added in v0.2.0
func (x *SecretKey) ProtoReflect() protoreflect.Message
type SendMessage ¶ added in v0.3.1
type SendMessage struct { Message []byte `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` TargetAddress string `protobuf:"bytes,2,opt,name=target_address,json=targetAddress,proto3" json:"target_address,omitempty"` // contains filtered or unexported fields }
func (*SendMessage) Descriptor
deprecated
added in
v0.3.1
func (*SendMessage) Descriptor() ([]byte, []int)
Deprecated: Use SendMessage.ProtoReflect.Descriptor instead.
func (*SendMessage) GetMessage ¶ added in v0.3.1
func (x *SendMessage) GetMessage() []byte
func (*SendMessage) GetTargetAddress ¶ added in v0.3.1
func (x *SendMessage) GetTargetAddress() string
func (*SendMessage) ProtoMessage ¶ added in v0.3.1
func (*SendMessage) ProtoMessage()
func (*SendMessage) ProtoReflect ¶ added in v0.3.1
func (x *SendMessage) ProtoReflect() protoreflect.Message
func (*SendMessage) Reset ¶ added in v0.3.1
func (x *SendMessage) Reset()
func (*SendMessage) String ¶ added in v0.3.1
func (x *SendMessage) String() string
type Stake ¶ added in v0.2.0
type Stake struct { Value uint64 `protobuf:"fixed64,1,opt,name=value,proto3" json:"value,omitempty"` Eligibility uint64 `protobuf:"fixed64,2,opt,name=eligibility,proto3" json:"eligibility,omitempty"` Reward uint64 `protobuf:"fixed64,3,opt,name=reward,proto3" json:"reward,omitempty"` Counter uint64 `protobuf:"fixed64,4,opt,name=counter,proto3" json:"counter,omitempty"` // contains filtered or unexported fields }
func (*Stake) Descriptor
deprecated
added in
v0.2.0
func (*Stake) GetCounter ¶ added in v0.5.1
func (*Stake) GetEligibility ¶ added in v0.3.8
func (*Stake) ProtoMessage ¶ added in v0.2.0
func (*Stake) ProtoMessage()
func (*Stake) ProtoReflect ¶ added in v0.2.0
func (x *Stake) ProtoReflect() protoreflect.Message
type StakeServiceClient ¶ added in v0.2.12
type StakeServiceClient interface { // Generate a new Stake transaction. NewStake(ctx context.Context, in *StakeTransactionRequest, opts ...grpc.CallOption) (*Transaction, error) // Find all stakes related to a provisioner public key. FindStake(ctx context.Context, in *FindStakeRequest, opts ...grpc.CallOption) (*FindStakeResponse, error) }
StakeServiceClient is the client API for StakeService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewStakeServiceClient ¶ added in v0.2.12
func NewStakeServiceClient(cc grpc.ClientConnInterface) StakeServiceClient
type StakeServiceServer ¶ added in v0.2.12
type StakeServiceServer interface { // Generate a new Stake transaction. NewStake(context.Context, *StakeTransactionRequest) (*Transaction, error) // Find all stakes related to a provisioner public key. FindStake(context.Context, *FindStakeRequest) (*FindStakeResponse, error) }
StakeServiceServer is the server API for StakeService service.
type StakeTransactionRequest ¶ added in v0.2.0
type StakeTransactionRequest struct { Value uint64 `protobuf:"fixed64,1,opt,name=value,proto3" json:"value,omitempty"` PublicKeyBls []byte `protobuf:"bytes,2,opt,name=public_key_bls,json=publicKeyBls,proto3" json:"public_key_bls,omitempty"` // BN256Point GasLimit uint64 `protobuf:"fixed64,3,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"` GasPrice uint64 `protobuf:"fixed64,4,opt,name=gas_price,json=gasPrice,proto3" json:"gas_price,omitempty"` // contains filtered or unexported fields }
func (*StakeTransactionRequest) Descriptor
deprecated
added in
v0.2.0
func (*StakeTransactionRequest) Descriptor() ([]byte, []int)
Deprecated: Use StakeTransactionRequest.ProtoReflect.Descriptor instead.
func (*StakeTransactionRequest) GetGasLimit ¶ added in v0.2.13
func (x *StakeTransactionRequest) GetGasLimit() uint64
func (*StakeTransactionRequest) GetGasPrice ¶ added in v0.2.13
func (x *StakeTransactionRequest) GetGasPrice() uint64
func (*StakeTransactionRequest) GetPublicKeyBls ¶ added in v0.2.12
func (x *StakeTransactionRequest) GetPublicKeyBls() []byte
func (*StakeTransactionRequest) GetValue ¶ added in v0.2.12
func (x *StakeTransactionRequest) GetValue() uint64
func (*StakeTransactionRequest) ProtoMessage ¶ added in v0.2.0
func (*StakeTransactionRequest) ProtoMessage()
func (*StakeTransactionRequest) ProtoReflect ¶ added in v0.2.0
func (x *StakeTransactionRequest) ProtoReflect() protoreflect.Message
func (*StakeTransactionRequest) Reset ¶ added in v0.2.0
func (x *StakeTransactionRequest) Reset()
func (*StakeTransactionRequest) String ¶ added in v0.2.0
func (x *StakeTransactionRequest) String() string
type StateClient ¶ added in v0.2.10
type StateClient interface { Echo(ctx context.Context, in *EchoRequest, opts ...grpc.CallOption) (*EchoResponse, error) Preverify(ctx context.Context, in *PreverifyRequest, opts ...grpc.CallOption) (*PreverifyResponse, error) ExecuteStateTransition(ctx context.Context, in *ExecuteStateTransitionRequest, opts ...grpc.CallOption) (*ExecuteStateTransitionResponse, error) VerifyStateTransition(ctx context.Context, in *VerifyStateTransitionRequest, opts ...grpc.CallOption) (*VerifyStateTransitionResponse, error) Accept(ctx context.Context, in *StateTransitionRequest, opts ...grpc.CallOption) (*StateTransitionResponse, error) Finalize(ctx context.Context, in *StateTransitionRequest, opts ...grpc.CallOption) (*StateTransitionResponse, error) Revert(ctx context.Context, in *RevertRequest, opts ...grpc.CallOption) (*RevertResponse, error) Persist(ctx context.Context, in *PersistRequest, opts ...grpc.CallOption) (*PersistResponse, error) GetProvisioners(ctx context.Context, in *GetProvisionersRequest, opts ...grpc.CallOption) (*GetProvisionersResponse, error) GetStateRoot(ctx context.Context, in *GetStateRootRequest, opts ...grpc.CallOption) (*GetStateRootResponse, error) GetNotesOwnedBy(ctx context.Context, in *GetNotesOwnedByRequest, opts ...grpc.CallOption) (*GetNotesOwnedByResponse, error) // Streams notes from a given block height, optionally filtered by the // given view key. If the view key is not present, *all* notes will be // streamed. GetNotes(ctx context.Context, in *GetNotesRequest, opts ...grpc.CallOption) (State_GetNotesClient, error) GetAnchor(ctx context.Context, in *GetAnchorRequest, opts ...grpc.CallOption) (*GetAnchorResponse, error) GetOpening(ctx context.Context, in *GetOpeningRequest, opts ...grpc.CallOption) (*GetOpeningResponse, error) GetStake(ctx context.Context, in *GetStakeRequest, opts ...grpc.CallOption) (*GetStakeResponse, error) FindExistingNullifiers(ctx context.Context, in *FindExistingNullifiersRequest, opts ...grpc.CallOption) (*FindExistingNullifiersResponse, error) }
StateClient is the client API for State service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewStateClient ¶ added in v0.2.10
func NewStateClient(cc grpc.ClientConnInterface) StateClient
type StateServer ¶ added in v0.2.10
type StateServer interface { Echo(context.Context, *EchoRequest) (*EchoResponse, error) Preverify(context.Context, *PreverifyRequest) (*PreverifyResponse, error) ExecuteStateTransition(context.Context, *ExecuteStateTransitionRequest) (*ExecuteStateTransitionResponse, error) VerifyStateTransition(context.Context, *VerifyStateTransitionRequest) (*VerifyStateTransitionResponse, error) Accept(context.Context, *StateTransitionRequest) (*StateTransitionResponse, error) Finalize(context.Context, *StateTransitionRequest) (*StateTransitionResponse, error) Revert(context.Context, *RevertRequest) (*RevertResponse, error) Persist(context.Context, *PersistRequest) (*PersistResponse, error) GetProvisioners(context.Context, *GetProvisionersRequest) (*GetProvisionersResponse, error) GetStateRoot(context.Context, *GetStateRootRequest) (*GetStateRootResponse, error) GetNotesOwnedBy(context.Context, *GetNotesOwnedByRequest) (*GetNotesOwnedByResponse, error) // Streams notes from a given block height, optionally filtered by the // given view key. If the view key is not present, *all* notes will be // streamed. GetNotes(*GetNotesRequest, State_GetNotesServer) error GetAnchor(context.Context, *GetAnchorRequest) (*GetAnchorResponse, error) GetOpening(context.Context, *GetOpeningRequest) (*GetOpeningResponse, error) GetStake(context.Context, *GetStakeRequest) (*GetStakeResponse, error) FindExistingNullifiers(context.Context, *FindExistingNullifiersRequest) (*FindExistingNullifiersResponse, error) }
StateServer is the server API for State service.
type StateTransitionRequest ¶ added in v0.3.3
type StateTransitionRequest struct { Txs []*Transaction `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"` BlockGasLimit uint64 `protobuf:"fixed64,2,opt,name=block_gas_limit,json=blockGasLimit,proto3" json:"block_gas_limit,omitempty"` BlockHeight uint64 `protobuf:"fixed64,3,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` StateRoot []byte `protobuf:"bytes,4,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty"` Generator []byte `protobuf:"bytes,5,opt,name=generator,proto3" json:"generator,omitempty"` // contains filtered or unexported fields }
func (*StateTransitionRequest) Descriptor
deprecated
added in
v0.3.3
func (*StateTransitionRequest) Descriptor() ([]byte, []int)
Deprecated: Use StateTransitionRequest.ProtoReflect.Descriptor instead.
func (*StateTransitionRequest) GetBlockGasLimit ¶ added in v0.3.3
func (x *StateTransitionRequest) GetBlockGasLimit() uint64
func (*StateTransitionRequest) GetBlockHeight ¶ added in v0.3.3
func (x *StateTransitionRequest) GetBlockHeight() uint64
func (*StateTransitionRequest) GetGenerator ¶ added in v0.5.1
func (x *StateTransitionRequest) GetGenerator() []byte
func (*StateTransitionRequest) GetStateRoot ¶ added in v0.3.3
func (x *StateTransitionRequest) GetStateRoot() []byte
func (*StateTransitionRequest) GetTxs ¶ added in v0.3.3
func (x *StateTransitionRequest) GetTxs() []*Transaction
func (*StateTransitionRequest) ProtoMessage ¶ added in v0.3.3
func (*StateTransitionRequest) ProtoMessage()
func (*StateTransitionRequest) ProtoReflect ¶ added in v0.3.3
func (x *StateTransitionRequest) ProtoReflect() protoreflect.Message
func (*StateTransitionRequest) Reset ¶ added in v0.3.3
func (x *StateTransitionRequest) Reset()
func (*StateTransitionRequest) String ¶ added in v0.3.3
func (x *StateTransitionRequest) String() string
type StateTransitionResponse ¶ added in v0.3.3
type StateTransitionResponse struct { Txs []*ExecutedTransaction `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"` StateRoot []byte `protobuf:"bytes,2,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty"` // NOTE: this might require a failure mode // contains filtered or unexported fields }
func (*StateTransitionResponse) Descriptor
deprecated
added in
v0.3.3
func (*StateTransitionResponse) Descriptor() ([]byte, []int)
Deprecated: Use StateTransitionResponse.ProtoReflect.Descriptor instead.
func (*StateTransitionResponse) GetStateRoot ¶ added in v0.3.3
func (x *StateTransitionResponse) GetStateRoot() []byte
func (*StateTransitionResponse) GetTxs ¶ added in v0.3.3
func (x *StateTransitionResponse) GetTxs() []*ExecutedTransaction
func (*StateTransitionResponse) ProtoMessage ¶ added in v0.3.3
func (*StateTransitionResponse) ProtoMessage()
func (*StateTransitionResponse) ProtoReflect ¶ added in v0.3.3
func (x *StateTransitionResponse) ProtoReflect() protoreflect.Message
func (*StateTransitionResponse) Reset ¶ added in v0.3.3
func (x *StateTransitionResponse) Reset()
func (*StateTransitionResponse) String ¶ added in v0.3.3
func (x *StateTransitionResponse) String() string
type State_GetNotesClient ¶ added in v0.5.2
type State_GetNotesClient interface { Recv() (*GetNotesResponse, error) grpc.ClientStream }
type State_GetNotesServer ¶ added in v0.5.2
type State_GetNotesServer interface { Send(*GetNotesResponse) error grpc.ServerStream }
type StcoProverRequest ¶ added in v0.3.2
type StcoProverRequest struct { // Serialized in sequence: // - Value (u64) // - r (JubJubScalar) // - StcoBlinder (JubJubScalar) // - IsPublic (bool as u64 - 0 is false, other is true) // - PublicSpendKey // - pk_r (JubJubAffine) // - Message // - Crossover Blinder (JubJubScalar) // - Crossover // - Fee // - Contract address (BlsScalar) // - Signature CircuitInputs []byte `protobuf:"bytes,1,opt,name=circuit_inputs,json=circuitInputs,proto3" json:"circuit_inputs,omitempty"` // contains filtered or unexported fields }
Request a proof for the STCO circuit.
func (*StcoProverRequest) Descriptor
deprecated
added in
v0.3.2
func (*StcoProverRequest) Descriptor() ([]byte, []int)
Deprecated: Use StcoProverRequest.ProtoReflect.Descriptor instead.
func (*StcoProverRequest) GetCircuitInputs ¶ added in v0.3.2
func (x *StcoProverRequest) GetCircuitInputs() []byte
func (*StcoProverRequest) ProtoMessage ¶ added in v0.3.2
func (*StcoProverRequest) ProtoMessage()
func (*StcoProverRequest) ProtoReflect ¶ added in v0.3.2
func (x *StcoProverRequest) ProtoReflect() protoreflect.Message
func (*StcoProverRequest) Reset ¶ added in v0.3.2
func (x *StcoProverRequest) Reset()
func (*StcoProverRequest) String ¶ added in v0.3.2
func (x *StcoProverRequest) String() string
type StcoProverResponse ¶ added in v0.3.2
type StcoProverResponse struct { Proof []byte `protobuf:"bytes,1,opt,name=proof,proto3" json:"proof,omitempty"` // contains filtered or unexported fields }
A Plonk proof for the STCO circuit.
func (*StcoProverResponse) Descriptor
deprecated
added in
v0.3.2
func (*StcoProverResponse) Descriptor() ([]byte, []int)
Deprecated: Use StcoProverResponse.ProtoReflect.Descriptor instead.
func (*StcoProverResponse) GetProof ¶ added in v0.3.2
func (x *StcoProverResponse) GetProof() []byte
func (*StcoProverResponse) ProtoMessage ¶ added in v0.3.2
func (*StcoProverResponse) ProtoMessage()
func (*StcoProverResponse) ProtoReflect ¶ added in v0.3.2
func (x *StcoProverResponse) ProtoReflect() protoreflect.Message
func (*StcoProverResponse) Reset ¶ added in v0.3.2
func (x *StcoProverResponse) Reset()
func (*StcoProverResponse) String ¶ added in v0.3.2
func (x *StcoProverResponse) String() string
type StctProverRequest ¶ added in v0.3.2
type StctProverRequest struct { // Serialized in sequence: // - Fee // - Crossover // - Crossover value (u64) // - Crossover blinder (JubJubScalar) // - Contract address (BlsScalar) // - Signature CircuitInputs []byte `protobuf:"bytes,1,opt,name=circuit_inputs,json=circuitInputs,proto3" json:"circuit_inputs,omitempty"` // contains filtered or unexported fields }
Request a proof for the STCT circuit.
func (*StctProverRequest) Descriptor
deprecated
added in
v0.3.2
func (*StctProverRequest) Descriptor() ([]byte, []int)
Deprecated: Use StctProverRequest.ProtoReflect.Descriptor instead.
func (*StctProverRequest) GetCircuitInputs ¶ added in v0.3.2
func (x *StctProverRequest) GetCircuitInputs() []byte
func (*StctProverRequest) ProtoMessage ¶ added in v0.3.2
func (*StctProverRequest) ProtoMessage()
func (*StctProverRequest) ProtoReflect ¶ added in v0.3.2
func (x *StctProverRequest) ProtoReflect() protoreflect.Message
func (*StctProverRequest) Reset ¶ added in v0.3.2
func (x *StctProverRequest) Reset()
func (*StctProverRequest) String ¶ added in v0.3.2
func (x *StctProverRequest) String() string
type StctProverResponse ¶ added in v0.3.2
type StctProverResponse struct { Proof []byte `protobuf:"bytes,1,opt,name=proof,proto3" json:"proof,omitempty"` // contains filtered or unexported fields }
A Plonk proof for the STCT circuit.
func (*StctProverResponse) Descriptor
deprecated
added in
v0.3.2
func (*StctProverResponse) Descriptor() ([]byte, []int)
Deprecated: Use StctProverResponse.ProtoReflect.Descriptor instead.
func (*StctProverResponse) GetProof ¶ added in v0.3.2
func (x *StctProverResponse) GetProof() []byte
func (*StctProverResponse) ProtoMessage ¶ added in v0.3.2
func (*StctProverResponse) ProtoMessage()
func (*StctProverResponse) ProtoReflect ¶ added in v0.3.2
func (x *StctProverResponse) ProtoReflect() protoreflect.Message
func (*StctProverResponse) Reset ¶ added in v0.3.2
func (x *StctProverResponse) Reset()
func (*StctProverResponse) String ¶ added in v0.3.2
func (x *StctProverResponse) String() string
type StealthAddress ¶ added in v0.2.10
type StealthAddress struct { Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` // contains filtered or unexported fields }
func (*StealthAddress) Descriptor
deprecated
added in
v0.2.10
func (*StealthAddress) Descriptor() ([]byte, []int)
Deprecated: Use StealthAddress.ProtoReflect.Descriptor instead.
func (*StealthAddress) GetPayload ¶ added in v0.3.11
func (x *StealthAddress) GetPayload() []byte
func (*StealthAddress) ProtoMessage ¶ added in v0.2.10
func (*StealthAddress) ProtoMessage()
func (*StealthAddress) ProtoReflect ¶ added in v0.2.10
func (x *StealthAddress) ProtoReflect() protoreflect.Message
func (*StealthAddress) Reset ¶ added in v0.2.10
func (x *StealthAddress) Reset()
func (*StealthAddress) String ¶ added in v0.2.10
func (x *StealthAddress) String() string
type Transaction ¶
type Transaction struct { Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` Type uint32 `protobuf:"varint,2,opt,name=type,proto3" json:"type,omitempty"` Payload []byte `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"` // contains filtered or unexported fields }
func (*Transaction) Descriptor
deprecated
func (*Transaction) Descriptor() ([]byte, []int)
Deprecated: Use Transaction.ProtoReflect.Descriptor instead.
func (*Transaction) GetPayload ¶ added in v0.2.13
func (x *Transaction) GetPayload() []byte
func (*Transaction) GetType ¶ added in v0.2.10
func (x *Transaction) GetType() uint32
func (*Transaction) GetVersion ¶ added in v0.2.10
func (x *Transaction) GetVersion() uint32
func (*Transaction) ProtoMessage ¶
func (*Transaction) ProtoMessage()
func (*Transaction) ProtoReflect ¶ added in v0.2.0
func (x *Transaction) ProtoReflect() protoreflect.Message
func (*Transaction) Reset ¶
func (x *Transaction) Reset()
func (*Transaction) String ¶
func (x *Transaction) String() string
type TransferClient ¶ added in v0.2.12
type TransferClient interface { // Generate a new Transfer transaction. NewTransfer(ctx context.Context, in *TransferTransactionRequest, opts ...grpc.CallOption) (*Transaction, error) }
TransferClient is the client API for Transfer service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewTransferClient ¶ added in v0.2.12
func NewTransferClient(cc grpc.ClientConnInterface) TransferClient
type TransferServer ¶ added in v0.2.12
type TransferServer interface { // Generate a new Transfer transaction. NewTransfer(context.Context, *TransferTransactionRequest) (*Transaction, error) }
TransferServer is the server API for Transfer service.
type TransferTransactionRequest ¶ added in v0.2.12
type TransferTransactionRequest struct { Value uint64 `protobuf:"fixed64,1,opt,name=value,proto3" json:"value,omitempty"` Recipient []byte `protobuf:"bytes,2,opt,name=recipient,proto3" json:"recipient,omitempty"` // Stealth Address GasLimit uint64 `protobuf:"fixed64,3,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"` GasPrice uint64 `protobuf:"fixed64,4,opt,name=gas_price,json=gasPrice,proto3" json:"gas_price,omitempty"` // contains filtered or unexported fields }
func (*TransferTransactionRequest) Descriptor
deprecated
added in
v0.2.12
func (*TransferTransactionRequest) Descriptor() ([]byte, []int)
Deprecated: Use TransferTransactionRequest.ProtoReflect.Descriptor instead.
func (*TransferTransactionRequest) GetGasLimit ¶ added in v0.2.13
func (x *TransferTransactionRequest) GetGasLimit() uint64
func (*TransferTransactionRequest) GetGasPrice ¶ added in v0.2.13
func (x *TransferTransactionRequest) GetGasPrice() uint64
func (*TransferTransactionRequest) GetRecipient ¶ added in v0.2.12
func (x *TransferTransactionRequest) GetRecipient() []byte
func (*TransferTransactionRequest) GetValue ¶ added in v0.2.12
func (x *TransferTransactionRequest) GetValue() uint64
func (*TransferTransactionRequest) ProtoMessage ¶ added in v0.2.12
func (*TransferTransactionRequest) ProtoMessage()
func (*TransferTransactionRequest) ProtoReflect ¶ added in v0.3.1
func (x *TransferTransactionRequest) ProtoReflect() protoreflect.Message
func (*TransferTransactionRequest) Reset ¶ added in v0.2.12
func (x *TransferTransactionRequest) Reset()
func (*TransferTransactionRequest) String ¶ added in v0.2.12
func (x *TransferTransactionRequest) String() string
type UnimplementedKeysServer ¶ added in v0.2.10
type UnimplementedKeysServer struct { }
UnimplementedKeysServer can be embedded to have forward compatible implementations.
func (*UnimplementedKeysServer) GenerateKeys ¶ added in v0.2.10
func (*UnimplementedKeysServer) GenerateKeys(context.Context, *GenerateKeysRequest) (*GenerateKeysResponse, error)
func (*UnimplementedKeysServer) GenerateStealthAddress ¶ added in v0.2.10
func (*UnimplementedKeysServer) GenerateStealthAddress(context.Context, *PublicKey) (*StealthAddress, error)
type UnimplementedNetworkServer ¶ added in v0.3.1
type UnimplementedNetworkServer struct { }
UnimplementedNetworkServer can be embedded to have forward compatible implementations.
func (*UnimplementedNetworkServer) AliveNodes ¶ added in v0.3.8
func (*UnimplementedNetworkServer) AliveNodes(context.Context, *AliveNodesRequest) (*AliveNodesResponse, error)
func (*UnimplementedNetworkServer) Broadcast ¶ added in v0.3.1
func (*UnimplementedNetworkServer) Broadcast(context.Context, *BroadcastMessage) (*Null, error)
func (*UnimplementedNetworkServer) Listen ¶ added in v0.3.1
func (*UnimplementedNetworkServer) Listen(*Null, Network_ListenServer) error
func (*UnimplementedNetworkServer) Propagate ¶ added in v0.3.2
func (*UnimplementedNetworkServer) Propagate(context.Context, *PropagateMessage) (*Null, error)
func (*UnimplementedNetworkServer) Send ¶ added in v0.3.1
func (*UnimplementedNetworkServer) Send(context.Context, *SendMessage) (*Null, error)
type UnimplementedProverServer ¶ added in v0.3.2
type UnimplementedProverServer struct { }
UnimplementedProverServer can be embedded to have forward compatible implementations.
func (*UnimplementedProverServer) ProveExecute ¶ added in v0.3.2
func (*UnimplementedProverServer) ProveExecute(context.Context, *ExecuteProverRequest) (*ExecuteProverResponse, error)
func (*UnimplementedProverServer) ProveStco ¶ added in v0.3.2
func (*UnimplementedProverServer) ProveStco(context.Context, *StcoProverRequest) (*StcoProverResponse, error)
func (*UnimplementedProverServer) ProveStct ¶ added in v0.3.2
func (*UnimplementedProverServer) ProveStct(context.Context, *StctProverRequest) (*StctProverResponse, error)
func (*UnimplementedProverServer) ProveWfco ¶ added in v0.3.2
func (*UnimplementedProverServer) ProveWfco(context.Context, *WfcoProverRequest) (*WfcoProverResponse, error)
func (*UnimplementedProverServer) ProveWfct ¶ added in v0.3.2
func (*UnimplementedProverServer) ProveWfct(context.Context, *WfctProverRequest) (*WfctProverResponse, error)
type UnimplementedRewardServer ¶ added in v0.2.13
type UnimplementedRewardServer struct { }
UnimplementedRewardServer can be embedded to have forward compatible implementations.
func (*UnimplementedRewardServer) GetBalance ¶ added in v0.2.13
func (*UnimplementedRewardServer) GetBalance(context.Context, *BN256Point) (*GetBalanceResponse, error)
func (*UnimplementedRewardServer) GetWithdrawalTime ¶ added in v0.2.13
func (*UnimplementedRewardServer) GetWithdrawalTime(context.Context, *BN256Point) (*GetWithdrawalTimeResponse, error)
type UnimplementedStakeServiceServer ¶ added in v0.2.12
type UnimplementedStakeServiceServer struct { }
UnimplementedStakeServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedStakeServiceServer) FindStake ¶ added in v0.2.13
func (*UnimplementedStakeServiceServer) FindStake(context.Context, *FindStakeRequest) (*FindStakeResponse, error)
func (*UnimplementedStakeServiceServer) NewStake ¶ added in v0.2.12
func (*UnimplementedStakeServiceServer) NewStake(context.Context, *StakeTransactionRequest) (*Transaction, error)
type UnimplementedStateServer ¶ added in v0.2.10
type UnimplementedStateServer struct { }
UnimplementedStateServer can be embedded to have forward compatible implementations.
func (*UnimplementedStateServer) Accept ¶ added in v0.2.19
func (*UnimplementedStateServer) Accept(context.Context, *StateTransitionRequest) (*StateTransitionResponse, error)
func (*UnimplementedStateServer) Echo ¶ added in v0.2.19
func (*UnimplementedStateServer) Echo(context.Context, *EchoRequest) (*EchoResponse, error)
func (*UnimplementedStateServer) ExecuteStateTransition ¶ added in v0.2.10
func (*UnimplementedStateServer) ExecuteStateTransition(context.Context, *ExecuteStateTransitionRequest) (*ExecuteStateTransitionResponse, error)
func (*UnimplementedStateServer) Finalize ¶ added in v0.2.19
func (*UnimplementedStateServer) Finalize(context.Context, *StateTransitionRequest) (*StateTransitionResponse, error)
func (*UnimplementedStateServer) FindExistingNullifiers ¶ added in v0.3.6
func (*UnimplementedStateServer) FindExistingNullifiers(context.Context, *FindExistingNullifiersRequest) (*FindExistingNullifiersResponse, error)
func (*UnimplementedStateServer) GetAnchor ¶ added in v0.3.2
func (*UnimplementedStateServer) GetAnchor(context.Context, *GetAnchorRequest) (*GetAnchorResponse, error)
func (*UnimplementedStateServer) GetNotes ¶ added in v0.5.2
func (*UnimplementedStateServer) GetNotes(*GetNotesRequest, State_GetNotesServer) error
func (*UnimplementedStateServer) GetNotesOwnedBy ¶ added in v0.3.2
func (*UnimplementedStateServer) GetNotesOwnedBy(context.Context, *GetNotesOwnedByRequest) (*GetNotesOwnedByResponse, error)
func (*UnimplementedStateServer) GetOpening ¶ added in v0.3.2
func (*UnimplementedStateServer) GetOpening(context.Context, *GetOpeningRequest) (*GetOpeningResponse, error)
func (*UnimplementedStateServer) GetProvisioners ¶ added in v0.2.10
func (*UnimplementedStateServer) GetProvisioners(context.Context, *GetProvisionersRequest) (*GetProvisionersResponse, error)
func (*UnimplementedStateServer) GetStake ¶ added in v0.3.2
func (*UnimplementedStateServer) GetStake(context.Context, *GetStakeRequest) (*GetStakeResponse, error)
func (*UnimplementedStateServer) GetStateRoot ¶ added in v0.3.2
func (*UnimplementedStateServer) GetStateRoot(context.Context, *GetStateRootRequest) (*GetStateRootResponse, error)
func (*UnimplementedStateServer) Persist ¶ added in v0.3.9
func (*UnimplementedStateServer) Persist(context.Context, *PersistRequest) (*PersistResponse, error)
func (*UnimplementedStateServer) Preverify ¶ added in v0.3.3
func (*UnimplementedStateServer) Preverify(context.Context, *PreverifyRequest) (*PreverifyResponse, error)
func (*UnimplementedStateServer) Revert ¶ added in v0.3.7
func (*UnimplementedStateServer) Revert(context.Context, *RevertRequest) (*RevertResponse, error)
func (*UnimplementedStateServer) VerifyStateTransition ¶ added in v0.2.10
func (*UnimplementedStateServer) VerifyStateTransition(context.Context, *VerifyStateTransitionRequest) (*VerifyStateTransitionResponse, error)
type UnimplementedTransferServer ¶ added in v0.2.12
type UnimplementedTransferServer struct { }
UnimplementedTransferServer can be embedded to have forward compatible implementations.
func (*UnimplementedTransferServer) NewTransfer ¶ added in v0.2.12
func (*UnimplementedTransferServer) NewTransfer(context.Context, *TransferTransactionRequest) (*Transaction, error)
type VerifyStateTransitionRequest ¶ added in v0.2.10
type VerifyStateTransitionRequest struct { Txs []*Transaction `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"` BlockGasLimit uint64 `protobuf:"fixed64,2,opt,name=block_gas_limit,json=blockGasLimit,proto3" json:"block_gas_limit,omitempty"` BlockHeight uint64 `protobuf:"fixed64,3,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` Generator []byte `protobuf:"bytes,4,opt,name=generator,proto3" json:"generator,omitempty"` // contains filtered or unexported fields }
func (*VerifyStateTransitionRequest) Descriptor
deprecated
added in
v0.2.10
func (*VerifyStateTransitionRequest) Descriptor() ([]byte, []int)
Deprecated: Use VerifyStateTransitionRequest.ProtoReflect.Descriptor instead.
func (*VerifyStateTransitionRequest) GetBlockGasLimit ¶ added in v0.2.19
func (x *VerifyStateTransitionRequest) GetBlockGasLimit() uint64
func (*VerifyStateTransitionRequest) GetBlockHeight ¶ added in v0.2.19
func (x *VerifyStateTransitionRequest) GetBlockHeight() uint64
func (*VerifyStateTransitionRequest) GetGenerator ¶ added in v0.5.1
func (x *VerifyStateTransitionRequest) GetGenerator() []byte
func (*VerifyStateTransitionRequest) GetTxs ¶ added in v0.2.10
func (x *VerifyStateTransitionRequest) GetTxs() []*Transaction
func (*VerifyStateTransitionRequest) ProtoMessage ¶ added in v0.2.10
func (*VerifyStateTransitionRequest) ProtoMessage()
func (*VerifyStateTransitionRequest) ProtoReflect ¶ added in v0.2.10
func (x *VerifyStateTransitionRequest) ProtoReflect() protoreflect.Message
func (*VerifyStateTransitionRequest) Reset ¶ added in v0.2.10
func (x *VerifyStateTransitionRequest) Reset()
func (*VerifyStateTransitionRequest) String ¶ added in v0.2.10
func (x *VerifyStateTransitionRequest) String() string
type VerifyStateTransitionResponse ¶ added in v0.2.10
type VerifyStateTransitionResponse struct { StateRoot []byte `protobuf:"bytes,1,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty"` // contains filtered or unexported fields }
func (*VerifyStateTransitionResponse) Descriptor
deprecated
added in
v0.2.10
func (*VerifyStateTransitionResponse) Descriptor() ([]byte, []int)
Deprecated: Use VerifyStateTransitionResponse.ProtoReflect.Descriptor instead.
func (*VerifyStateTransitionResponse) GetStateRoot ¶ added in v0.5.2
func (x *VerifyStateTransitionResponse) GetStateRoot() []byte
func (*VerifyStateTransitionResponse) ProtoMessage ¶ added in v0.2.10
func (*VerifyStateTransitionResponse) ProtoMessage()
func (*VerifyStateTransitionResponse) ProtoReflect ¶ added in v0.2.10
func (x *VerifyStateTransitionResponse) ProtoReflect() protoreflect.Message
func (*VerifyStateTransitionResponse) Reset ¶ added in v0.2.10
func (x *VerifyStateTransitionResponse) Reset()
func (*VerifyStateTransitionResponse) String ¶ added in v0.2.10
func (x *VerifyStateTransitionResponse) String() string
type ViewKey ¶
type ViewKey struct { Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` // contains filtered or unexported fields }
func (*ViewKey) Descriptor
deprecated
func (*ViewKey) GetPayload ¶ added in v0.3.11
func (*ViewKey) ProtoMessage ¶
func (*ViewKey) ProtoMessage()
func (*ViewKey) ProtoReflect ¶ added in v0.2.0
func (x *ViewKey) ProtoReflect() protoreflect.Message
type WfcoProverRequest ¶ added in v0.3.2
type WfcoProverRequest struct { // Serialized in sequence: // - InputValue (u64) // - InputBlinder (JubJubScalar) // - InputCommitment (JubJubExtended) // - ChangeValue (u64) // - ChangeMessage // - ChangeBlinder (JubJubScalar) // - ChangeR (JubJubScalar) // - IsPublic (bool as u64 - 0 is false, other is true) // - PublicSpendKey // - pk_r (JubJubAffine) // - OutputValue (u64) // - OutputBlinder (JubJubScalar) // - OutputCommitment (JubJubExtended) CircuitInputs []byte `protobuf:"bytes,1,opt,name=circuit_inputs,json=circuitInputs,proto3" json:"circuit_inputs,omitempty"` // contains filtered or unexported fields }
Request a proof for the WFCO circuit.
func (*WfcoProverRequest) Descriptor
deprecated
added in
v0.3.2
func (*WfcoProverRequest) Descriptor() ([]byte, []int)
Deprecated: Use WfcoProverRequest.ProtoReflect.Descriptor instead.
func (*WfcoProverRequest) GetCircuitInputs ¶ added in v0.3.2
func (x *WfcoProverRequest) GetCircuitInputs() []byte
func (*WfcoProverRequest) ProtoMessage ¶ added in v0.3.2
func (*WfcoProverRequest) ProtoMessage()
func (*WfcoProverRequest) ProtoReflect ¶ added in v0.3.2
func (x *WfcoProverRequest) ProtoReflect() protoreflect.Message
func (*WfcoProverRequest) Reset ¶ added in v0.3.2
func (x *WfcoProverRequest) Reset()
func (*WfcoProverRequest) String ¶ added in v0.3.2
func (x *WfcoProverRequest) String() string
type WfcoProverResponse ¶ added in v0.3.2
type WfcoProverResponse struct { Proof []byte `protobuf:"bytes,1,opt,name=proof,proto3" json:"proof,omitempty"` // contains filtered or unexported fields }
A Plonk proof for the WFCO circuit.
func (*WfcoProverResponse) Descriptor
deprecated
added in
v0.3.2
func (*WfcoProverResponse) Descriptor() ([]byte, []int)
Deprecated: Use WfcoProverResponse.ProtoReflect.Descriptor instead.
func (*WfcoProverResponse) GetProof ¶ added in v0.3.2
func (x *WfcoProverResponse) GetProof() []byte
func (*WfcoProverResponse) ProtoMessage ¶ added in v0.3.2
func (*WfcoProverResponse) ProtoMessage()
func (*WfcoProverResponse) ProtoReflect ¶ added in v0.3.2
func (x *WfcoProverResponse) ProtoReflect() protoreflect.Message
func (*WfcoProverResponse) Reset ¶ added in v0.3.2
func (x *WfcoProverResponse) Reset()
func (*WfcoProverResponse) String ¶ added in v0.3.2
func (x *WfcoProverResponse) String() string
type WfctProverRequest ¶ added in v0.3.2
type WfctProverRequest struct { // Serialized in sequence: // - Commitment (JubJubAffine) // - Value (u64) // - Blinder (JubJubScalar) CircuitInputs []byte `protobuf:"bytes,1,opt,name=circuit_inputs,json=circuitInputs,proto3" json:"circuit_inputs,omitempty"` // contains filtered or unexported fields }
Request a proof for the WFCT circuit.
func (*WfctProverRequest) Descriptor
deprecated
added in
v0.3.2
func (*WfctProverRequest) Descriptor() ([]byte, []int)
Deprecated: Use WfctProverRequest.ProtoReflect.Descriptor instead.
func (*WfctProverRequest) GetCircuitInputs ¶ added in v0.3.2
func (x *WfctProverRequest) GetCircuitInputs() []byte
func (*WfctProverRequest) ProtoMessage ¶ added in v0.3.2
func (*WfctProverRequest) ProtoMessage()
func (*WfctProverRequest) ProtoReflect ¶ added in v0.3.2
func (x *WfctProverRequest) ProtoReflect() protoreflect.Message
func (*WfctProverRequest) Reset ¶ added in v0.3.2
func (x *WfctProverRequest) Reset()
func (*WfctProverRequest) String ¶ added in v0.3.2
func (x *WfctProverRequest) String() string
type WfctProverResponse ¶ added in v0.3.2
type WfctProverResponse struct { Proof []byte `protobuf:"bytes,1,opt,name=proof,proto3" json:"proof,omitempty"` // contains filtered or unexported fields }
A Plonk proof for the WFCT circuit.
func (*WfctProverResponse) Descriptor
deprecated
added in
v0.3.2
func (*WfctProverResponse) Descriptor() ([]byte, []int)
Deprecated: Use WfctProverResponse.ProtoReflect.Descriptor instead.
func (*WfctProverResponse) GetProof ¶ added in v0.3.2
func (x *WfctProverResponse) GetProof() []byte
func (*WfctProverResponse) ProtoMessage ¶ added in v0.3.2
func (*WfctProverResponse) ProtoMessage()
func (*WfctProverResponse) ProtoReflect ¶ added in v0.3.2
func (x *WfctProverResponse) ProtoReflect() protoreflect.Message
func (*WfctProverResponse) Reset ¶ added in v0.3.2
func (x *WfctProverResponse) Reset()
func (*WfctProverResponse) String ¶ added in v0.3.2
func (x *WfctProverResponse) String() string