Documentation ¶
Index ¶
- Variables
- func RegisterBidServiceServer(s *grpc.Server, srv BidServiceServer)
- func RegisterBlindBidServiceServer(s *grpc.Server, srv BlindBidServiceServer)
- func RegisterEchoerServer(s *grpc.Server, srv EchoerServer)
- func RegisterKeysServer(s *grpc.Server, srv KeysServer)
- func RegisterStateServer(s *grpc.Server, srv StateServer)
- type Bid
- func (*Bid) Descriptor() ([]byte, []int)deprecated
- func (x *Bid) GetBidTreeStorageIndex() uint64
- func (x *Bid) GetCommitment() *JubJubCompressed
- func (x *Bid) GetElegibilityTs() *BlsScalar
- func (x *Bid) GetEncryptedData() *PoseidonCipher
- func (x *Bid) GetExpirationTs() *BlsScalar
- func (x *Bid) GetHashedSecret() *BlsScalar
- func (x *Bid) GetNonce() *BlsScalar
- func (x *Bid) GetPkR() *StealthAddress
- func (*Bid) ProtoMessage()
- func (x *Bid) ProtoReflect() protoreflect.Message
- func (x *Bid) Reset()
- func (x *Bid) String() string
- type BidList
- type BidServiceClient
- type BidServiceServer
- type BidTransaction
- func (*BidTransaction) Descriptor() ([]byte, []int)deprecated
- func (x *BidTransaction) GetBid() *Bid
- func (x *BidTransaction) GetBidHash() *BlsScalar
- func (*BidTransaction) ProtoMessage()
- func (x *BidTransaction) ProtoReflect() protoreflect.Message
- func (x *BidTransaction) Reset()
- func (x *BidTransaction) String() string
- type BidTransactionRequest
- func (*BidTransactionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BidTransactionRequest) GetK() *BlsScalar
- func (x *BidTransactionRequest) GetLatestConsensusRound() uint64
- func (x *BidTransactionRequest) GetLatestConsensusStep() uint64
- func (x *BidTransactionRequest) GetPkR() *StealthAddress
- func (x *BidTransactionRequest) GetSecret() *JubJubCompressed
- func (x *BidTransactionRequest) GetSeed() *BlsScalar
- func (x *BidTransactionRequest) GetValue() uint64
- func (*BidTransactionRequest) ProtoMessage()
- func (x *BidTransactionRequest) ProtoReflect() protoreflect.Message
- func (x *BidTransactionRequest) Reset()
- func (x *BidTransactionRequest) String() string
- type BlindBidServiceClient
- type BlindBidServiceServer
- type BlsScalar
- type Crossover
- func (*Crossover) Descriptor() ([]byte, []int)deprecated
- func (x *Crossover) GetEncyptedData() *PoseidonCipher
- func (x *Crossover) GetNonce() *BlsScalar
- func (x *Crossover) GetValueComm() *JubJubCompressed
- func (*Crossover) ProtoMessage()
- func (x *Crossover) ProtoReflect() protoreflect.Message
- func (x *Crossover) Reset()
- func (x *Crossover) String() string
- type EchoRequest
- type EchoResponse
- type EchoerClient
- type EchoerServer
- type ExecuteStateTransitionRequest
- func (*ExecuteStateTransitionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExecuteStateTransitionRequest) GetHeight() uint64
- func (x *ExecuteStateTransitionRequest) GetSeed() []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) GetErrorMessage() string
- func (x *ExecuteStateTransitionResponse) GetSuccess() bool
- func (*ExecuteStateTransitionResponse) ProtoMessage()
- func (x *ExecuteStateTransitionResponse) ProtoReflect() protoreflect.Message
- func (x *ExecuteStateTransitionResponse) Reset()
- func (x *ExecuteStateTransitionResponse) String() string
- type Fee
- func (*Fee) Descriptor() ([]byte, []int)deprecated
- func (x *Fee) GetGasLimit() uint64
- func (x *Fee) GetGasPrice() uint64
- func (x *Fee) GetPkR() *JubJubCompressed
- func (x *Fee) GetR() *JubJubCompressed
- func (*Fee) ProtoMessage()
- func (x *Fee) ProtoReflect() protoreflect.Message
- func (x *Fee) Reset()
- func (x *Fee) String() string
- type FindBidRequest
- 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 GenerateScoreRequest
- func (*GenerateScoreRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GenerateScoreRequest) GetIndexStoredBid() uint64
- func (x *GenerateScoreRequest) GetK() *BlsScalar
- func (x *GenerateScoreRequest) GetRound() uint32
- func (x *GenerateScoreRequest) GetSecret() *JubJubCompressed
- func (x *GenerateScoreRequest) GetSeed() *BlsScalar
- func (x *GenerateScoreRequest) GetStep() uint32
- func (*GenerateScoreRequest) ProtoMessage()
- func (x *GenerateScoreRequest) ProtoReflect() protoreflect.Message
- func (x *GenerateScoreRequest) Reset()
- func (x *GenerateScoreRequest) String() string
- type GenerateScoreResponse
- func (*GenerateScoreResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GenerateScoreResponse) GetBlindbidProof() *Proof
- func (x *GenerateScoreResponse) GetProverIdentity() *BlsScalar
- func (x *GenerateScoreResponse) GetScore() *BlsScalar
- func (*GenerateScoreResponse) ProtoMessage()
- func (x *GenerateScoreResponse) ProtoReflect() protoreflect.Message
- func (x *GenerateScoreResponse) Reset()
- func (x *GenerateScoreResponse) 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 JubJubCompressed
- type JubJubScalar
- type KeysClient
- type KeysServer
- type Note
- func (*Note) Descriptor() ([]byte, []int)deprecated
- func (x *Note) GetCommitment() *JubJubCompressed
- func (x *Note) GetEncyptedData() *PoseidonCipher
- func (x *Note) GetNonce() *BlsScalar
- func (x *Note) GetPkR() *JubJubCompressed
- func (x *Note) GetRandomness() *JubJubCompressed
- func (*Note) ProtoMessage()
- func (x *Note) ProtoReflect() protoreflect.Message
- func (x *Note) Reset()
- func (x *Note) String() string
- type PoseidonCipher
- type Proof
- type Provisioner
- func (*Provisioner) Descriptor() ([]byte, []int)deprecated
- func (x *Provisioner) GetPublicKeyBls() []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
- func (*PublicKey) Descriptor() ([]byte, []int)deprecated
- func (x *PublicKey) GetAG() *JubJubCompressed
- func (x *PublicKey) GetBG() *JubJubCompressed
- func (*PublicKey) ProtoMessage()
- func (x *PublicKey) ProtoReflect() protoreflect.Message
- func (x *PublicKey) Reset()
- func (x *PublicKey) String() string
- type SecretKey
- type Stake
- func (*Stake) Descriptor() ([]byte, []int)deprecated
- func (x *Stake) GetAmount() uint64
- func (x *Stake) GetEndHeight() uint64
- func (x *Stake) GetStartHeight() uint64
- func (*Stake) ProtoMessage()
- func (x *Stake) ProtoReflect() protoreflect.Message
- func (x *Stake) Reset()
- func (x *Stake) String() string
- type StateClient
- type StateServer
- type StealthAddress
- func (*StealthAddress) Descriptor() ([]byte, []int)deprecated
- func (x *StealthAddress) GetPkR() *JubJubCompressed
- func (x *StealthAddress) GetRG() *JubJubCompressed
- func (*StealthAddress) ProtoMessage()
- func (x *StealthAddress) ProtoReflect() protoreflect.Message
- func (x *StealthAddress) Reset()
- func (x *StealthAddress) String() string
- type Transaction
- func (*Transaction) Descriptor() ([]byte, []int)deprecated
- func (x *Transaction) GetTxPayload() *TransactionPayload
- 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 TransactionPayload
- func (*TransactionPayload) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionPayload) GetAnchor() *BlsScalar
- func (x *TransactionPayload) GetCallData() []byte
- func (x *TransactionPayload) GetCrossover() *Crossover
- func (x *TransactionPayload) GetFee() *Fee
- func (x *TransactionPayload) GetNotes() []*Note
- func (x *TransactionPayload) GetNullifier() []*BlsScalar
- func (x *TransactionPayload) GetSpendingProof() *Proof
- func (*TransactionPayload) ProtoMessage()
- func (x *TransactionPayload) ProtoReflect() protoreflect.Message
- func (x *TransactionPayload) Reset()
- func (x *TransactionPayload) String() string
- type UnimplementedBidServiceServer
- type UnimplementedBlindBidServiceServer
- type UnimplementedEchoerServer
- type UnimplementedKeysServer
- type UnimplementedStateServer
- func (*UnimplementedStateServer) ExecuteStateTransition(context.Context, *ExecuteStateTransitionRequest) (*ExecuteStateTransitionResponse, error)
- func (*UnimplementedStateServer) GetProvisioners(context.Context, *GetProvisionersRequest) (*GetProvisionersResponse, error)
- func (*UnimplementedStateServer) VerifyStateTransition(context.Context, *VerifyStateTransitionRequest) (*VerifyStateTransitionResponse, error)
- type VerifyScoreRequest
- func (*VerifyScoreRequest) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyScoreRequest) GetIndexStoredBid() uint64
- func (x *VerifyScoreRequest) GetProof() *Proof
- func (x *VerifyScoreRequest) GetProverId() *BlsScalar
- func (x *VerifyScoreRequest) GetRound() uint64
- func (x *VerifyScoreRequest) GetScore() *BlsScalar
- func (x *VerifyScoreRequest) GetSeed() *BlsScalar
- func (x *VerifyScoreRequest) GetStep() uint32
- func (*VerifyScoreRequest) ProtoMessage()
- func (x *VerifyScoreRequest) ProtoReflect() protoreflect.Message
- func (x *VerifyScoreRequest) Reset()
- func (x *VerifyScoreRequest) String() string
- type VerifyScoreResponse
- func (*VerifyScoreResponse) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyScoreResponse) GetSuccess() bool
- func (*VerifyScoreResponse) ProtoMessage()
- func (x *VerifyScoreResponse) ProtoReflect() protoreflect.Message
- func (x *VerifyScoreResponse) Reset()
- func (x *VerifyScoreResponse) String() string
- type VerifyStateTransitionRequest
- func (*VerifyStateTransitionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyStateTransitionRequest) GetHeight() uint64
- func (x *VerifyStateTransitionRequest) GetSeed() []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) GetFailedCalls() []uint64
- func (*VerifyStateTransitionResponse) ProtoMessage()
- func (x *VerifyStateTransitionResponse) ProtoReflect() protoreflect.Message
- func (x *VerifyStateTransitionResponse) Reset()
- func (x *VerifyStateTransitionResponse) String() string
- type ViewKey
Constants ¶
This section is empty.
Variables ¶
var File_basic_fields_proto protoreflect.FileDescriptor
var File_bid_proto protoreflect.FileDescriptor
var File_blindbid_proto protoreflect.FileDescriptor
var File_echo_proto protoreflect.FileDescriptor
var File_keys_proto protoreflect.FileDescriptor
var File_rusk_proto protoreflect.FileDescriptor
var File_transaction_proto protoreflect.FileDescriptor
Functions ¶
func RegisterBidServiceServer ¶ added in v0.2.10
func RegisterBidServiceServer(s *grpc.Server, srv BidServiceServer)
func RegisterBlindBidServiceServer ¶ added in v0.2.10
func RegisterBlindBidServiceServer(s *grpc.Server, srv BlindBidServiceServer)
func RegisterEchoerServer ¶ added in v0.2.10
func RegisterEchoerServer(s *grpc.Server, srv EchoerServer)
func RegisterKeysServer ¶ added in v0.2.10
func RegisterKeysServer(s *grpc.Server, srv KeysServer)
func RegisterStateServer ¶ added in v0.2.10
func RegisterStateServer(s *grpc.Server, srv StateServer)
Types ¶
type Bid ¶ added in v0.2.10
type Bid struct { EncryptedData *PoseidonCipher `protobuf:"bytes,1,opt,name=encrypted_data,json=encryptedData,proto3" json:"encrypted_data,omitempty"` HashedSecret *BlsScalar `protobuf:"bytes,2,opt,name=hashed_secret,json=hashedSecret,proto3" json:"hashed_secret,omitempty"` Nonce *BlsScalar `protobuf:"bytes,3,opt,name=nonce,proto3" json:"nonce,omitempty"` PkR *StealthAddress `protobuf:"bytes,4,opt,name=pk_r,json=pkR,proto3" json:"pk_r,omitempty"` Commitment *JubJubCompressed `protobuf:"bytes,5,opt,name=commitment,proto3" json:"commitment,omitempty"` ElegibilityTs *BlsScalar `protobuf:"bytes,6,opt,name=elegibility_ts,json=elegibilityTs,proto3" json:"elegibility_ts,omitempty"` ExpirationTs *BlsScalar `protobuf:"bytes,7,opt,name=expiration_ts,json=expirationTs,proto3" json:"expiration_ts,omitempty"` BidTreeStorageIndex uint64 `protobuf:"varint,8,opt,name=bid_tree_storage_index,json=bidTreeStorageIndex,proto3" json:"bid_tree_storage_index,omitempty"` // contains filtered or unexported fields }
Bid representation
func (*Bid) Descriptor
deprecated
added in
v0.2.10
func (*Bid) GetBidTreeStorageIndex ¶ added in v0.2.10
func (*Bid) GetCommitment ¶ added in v0.2.10
func (x *Bid) GetCommitment() *JubJubCompressed
func (*Bid) GetElegibilityTs ¶ added in v0.2.10
func (*Bid) GetEncryptedData ¶ added in v0.2.10
func (x *Bid) GetEncryptedData() *PoseidonCipher
func (*Bid) GetExpirationTs ¶ added in v0.2.10
func (*Bid) GetHashedSecret ¶ added in v0.2.10
func (*Bid) GetPkR ¶ added in v0.2.10
func (x *Bid) GetPkR() *StealthAddress
func (*Bid) ProtoMessage ¶ added in v0.2.10
func (*Bid) ProtoMessage()
func (*Bid) ProtoReflect ¶ added in v0.2.10
func (x *Bid) ProtoReflect() protoreflect.Message
type BidList ¶ added in v0.2.0
type BidList struct { BidList []*Bid `protobuf:"bytes,1,rep,name=bid_list,json=bidList,proto3" json:"bid_list,omitempty"` BidHashList []*BlsScalar `protobuf:"bytes,2,rep,name=bid_hash_list,json=bidHashList,proto3" json:"bid_hash_list,omitempty"` // contains filtered or unexported fields }
func (*BidList) Descriptor
deprecated
added in
v0.2.0
func (*BidList) GetBidHashList ¶ added in v0.2.10
func (*BidList) GetBidList ¶ added in v0.2.0
func (*BidList) ProtoMessage ¶ added in v0.2.0
func (*BidList) ProtoMessage()
func (*BidList) ProtoReflect ¶ added in v0.2.0
func (x *BidList) ProtoReflect() protoreflect.Message
type BidServiceClient ¶ added in v0.2.10
type BidServiceClient interface { // Generate a new Bid and a proof of it's correctness. NewBid(ctx context.Context, in *BidTransactionRequest, opts ...grpc.CallOption) (*BidTransaction, error) // Look for your owned Bids and return a list of them and it's hash repr FindBid(ctx context.Context, in *FindBidRequest, opts ...grpc.CallOption) (*BidList, error) }
BidServiceClient is the client API for BidService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewBidServiceClient ¶ added in v0.2.10
func NewBidServiceClient(cc grpc.ClientConnInterface) BidServiceClient
type BidServiceServer ¶ added in v0.2.10
type BidServiceServer interface { // Generate a new Bid and a proof of it's correctness. NewBid(context.Context, *BidTransactionRequest) (*BidTransaction, error) // Look for your owned Bids and return a list of them and it's hash repr FindBid(context.Context, *FindBidRequest) (*BidList, error) }
BidServiceServer is the server API for BidService service.
type BidTransaction ¶ added in v0.2.0
type BidTransaction struct { Bid *Bid `protobuf:"bytes,1,opt,name=bid,proto3" json:"bid,omitempty"` BidHash *BlsScalar `protobuf:"bytes,2,opt,name=bid_hash,json=bidHash,proto3" json:"bid_hash,omitempty"` // rusk.Transaction tx = 3; // contains filtered or unexported fields }
func (*BidTransaction) Descriptor
deprecated
added in
v0.2.0
func (*BidTransaction) Descriptor() ([]byte, []int)
Deprecated: Use BidTransaction.ProtoReflect.Descriptor instead.
func (*BidTransaction) GetBid ¶ added in v0.2.10
func (x *BidTransaction) GetBid() *Bid
func (*BidTransaction) GetBidHash ¶ added in v0.2.10
func (x *BidTransaction) GetBidHash() *BlsScalar
func (*BidTransaction) ProtoMessage ¶ added in v0.2.0
func (*BidTransaction) ProtoMessage()
func (*BidTransaction) ProtoReflect ¶ added in v0.2.0
func (x *BidTransaction) ProtoReflect() protoreflect.Message
func (*BidTransaction) Reset ¶ added in v0.2.0
func (x *BidTransaction) Reset()
func (*BidTransaction) String ¶ added in v0.2.0
func (x *BidTransaction) String() string
type BidTransactionRequest ¶ added in v0.2.0
type BidTransactionRequest struct { K *BlsScalar `protobuf:"bytes,1,opt,name=k,proto3" json:"k,omitempty"` Value uint64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"` Secret *JubJubCompressed `protobuf:"bytes,3,opt,name=secret,proto3" json:"secret,omitempty"` PkR *StealthAddress `protobuf:"bytes,4,opt,name=pk_r,json=pkR,proto3" json:"pk_r,omitempty"` Seed *BlsScalar `protobuf:"bytes,5,opt,name=seed,proto3" json:"seed,omitempty"` LatestConsensusRound uint64 `protobuf:"fixed64,6,opt,name=latest_consensus_round,json=latestConsensusRound,proto3" json:"latest_consensus_round,omitempty"` LatestConsensusStep uint64 `protobuf:"fixed64,7,opt,name=latest_consensus_step,json=latestConsensusStep,proto3" json:"latest_consensus_step,omitempty"` //rusk.Transaction tx = 8; // contains filtered or unexported fields }
Used to Request the creation of a Bid
func (*BidTransactionRequest) Descriptor
deprecated
added in
v0.2.0
func (*BidTransactionRequest) Descriptor() ([]byte, []int)
Deprecated: Use BidTransactionRequest.ProtoReflect.Descriptor instead.
func (*BidTransactionRequest) GetK ¶ added in v0.2.0
func (x *BidTransactionRequest) GetK() *BlsScalar
func (*BidTransactionRequest) GetLatestConsensusRound ¶ added in v0.2.10
func (x *BidTransactionRequest) GetLatestConsensusRound() uint64
func (*BidTransactionRequest) GetLatestConsensusStep ¶ added in v0.2.10
func (x *BidTransactionRequest) GetLatestConsensusStep() uint64
func (*BidTransactionRequest) GetPkR ¶ added in v0.2.10
func (x *BidTransactionRequest) GetPkR() *StealthAddress
func (*BidTransactionRequest) GetSecret ¶ added in v0.2.10
func (x *BidTransactionRequest) GetSecret() *JubJubCompressed
func (*BidTransactionRequest) GetSeed ¶ added in v0.2.0
func (x *BidTransactionRequest) GetSeed() *BlsScalar
func (*BidTransactionRequest) GetValue ¶ added in v0.2.10
func (x *BidTransactionRequest) GetValue() uint64
func (*BidTransactionRequest) ProtoMessage ¶ added in v0.2.0
func (*BidTransactionRequest) ProtoMessage()
func (*BidTransactionRequest) ProtoReflect ¶ added in v0.2.0
func (x *BidTransactionRequest) ProtoReflect() protoreflect.Message
func (*BidTransactionRequest) Reset ¶ added in v0.2.0
func (x *BidTransactionRequest) Reset()
func (*BidTransactionRequest) String ¶ added in v0.2.0
func (x *BidTransactionRequest) String() string
type BlindBidServiceClient ¶ added in v0.2.10
type BlindBidServiceClient interface { // Generate a proof of blind bid, and a score. GenerateScore(ctx context.Context, in *GenerateScoreRequest, opts ...grpc.CallOption) (*GenerateScoreResponse, error) // Verify a proof of blind bid, and the associated score. VerifyScore(ctx context.Context, in *VerifyScoreRequest, opts ...grpc.CallOption) (*VerifyScoreResponse, error) }
BlindBidServiceClient is the client API for BlindBidService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewBlindBidServiceClient ¶ added in v0.2.10
func NewBlindBidServiceClient(cc grpc.ClientConnInterface) BlindBidServiceClient
type BlindBidServiceServer ¶ added in v0.2.10
type BlindBidServiceServer interface { // Generate a proof of blind bid, and a score. GenerateScore(context.Context, *GenerateScoreRequest) (*GenerateScoreResponse, error) // Verify a proof of blind bid, and the associated score. VerifyScore(context.Context, *VerifyScoreRequest) (*VerifyScoreResponse, error) }
BlindBidServiceServer is the server API for BlindBidService service.
type BlsScalar ¶ added in v0.2.10
type BlsScalar struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*BlsScalar) Descriptor
deprecated
added in
v0.2.10
func (*BlsScalar) ProtoMessage ¶ added in v0.2.10
func (*BlsScalar) ProtoMessage()
func (*BlsScalar) ProtoReflect ¶ added in v0.2.10
func (x *BlsScalar) ProtoReflect() protoreflect.Message
type Crossover ¶ added in v0.2.10
type Crossover struct { ValueComm *JubJubCompressed `protobuf:"bytes,1,opt,name=value_comm,json=valueComm,proto3" json:"value_comm,omitempty"` Nonce *BlsScalar `protobuf:"bytes,2,opt,name=nonce,proto3" json:"nonce,omitempty"` EncyptedData *PoseidonCipher `protobuf:"bytes,3,opt,name=encypted_data,json=encyptedData,proto3" json:"encypted_data,omitempty"` // contains filtered or unexported fields }
func (*Crossover) Descriptor
deprecated
added in
v0.2.10
func (*Crossover) GetEncyptedData ¶ added in v0.2.10
func (x *Crossover) GetEncyptedData() *PoseidonCipher
func (*Crossover) GetValueComm ¶ added in v0.2.10
func (x *Crossover) GetValueComm() *JubJubCompressed
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 EchoerClient ¶ added in v0.2.10
type EchoerClient interface {
Echo(ctx context.Context, in *EchoRequest, opts ...grpc.CallOption) (*EchoResponse, error)
}
EchoerClient is the client API for Echoer service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewEchoerClient ¶ added in v0.2.10
func NewEchoerClient(cc grpc.ClientConnInterface) EchoerClient
type EchoerServer ¶ added in v0.2.10
type EchoerServer interface {
Echo(context.Context, *EchoRequest) (*EchoResponse, error)
}
EchoerServer is the server API for Echoer service.
type ExecuteStateTransitionRequest ¶
type ExecuteStateTransitionRequest struct { Txs []*Transaction `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"` Height uint64 `protobuf:"fixed64,2,opt,name=height,proto3" json:"height,omitempty"` Seed []byte `protobuf:"bytes,3,opt,name=seed,proto3" json:"seed,omitempty"` // contains filtered or unexported fields }
func (*ExecuteStateTransitionRequest) Descriptor
deprecated
func (*ExecuteStateTransitionRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExecuteStateTransitionRequest.ProtoReflect.Descriptor instead.
func (*ExecuteStateTransitionRequest) GetHeight ¶ added in v0.2.8
func (x *ExecuteStateTransitionRequest) GetHeight() uint64
func (*ExecuteStateTransitionRequest) GetSeed ¶ added in v0.2.10
func (x *ExecuteStateTransitionRequest) GetSeed() []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 { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` // contains filtered or unexported fields }
func (*ExecuteStateTransitionResponse) Descriptor
deprecated
func (*ExecuteStateTransitionResponse) Descriptor() ([]byte, []int)
Deprecated: Use ExecuteStateTransitionResponse.ProtoReflect.Descriptor instead.
func (*ExecuteStateTransitionResponse) GetErrorMessage ¶ added in v0.2.10
func (x *ExecuteStateTransitionResponse) GetErrorMessage() string
func (*ExecuteStateTransitionResponse) GetSuccess ¶ added in v0.2.0
func (x *ExecuteStateTransitionResponse) GetSuccess() bool
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 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"` R *JubJubCompressed `protobuf:"bytes,3,opt,name=R,proto3" json:"R,omitempty"` PkR *JubJubCompressed `protobuf:"bytes,4,opt,name=pk_r,json=pkR,proto3" json:"pk_r,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) GetPkR ¶ added in v0.2.10
func (x *Fee) GetPkR() *JubJubCompressed
func (*Fee) GetR ¶ added in v0.2.10
func (x *Fee) GetR() *JubJubCompressed
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 FindBidRequest ¶ added in v0.2.10
type FindBidRequest struct { Addr *StealthAddress `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"` // contains filtered or unexported fields }
func (*FindBidRequest) Descriptor
deprecated
added in
v0.2.10
func (*FindBidRequest) Descriptor() ([]byte, []int)
Deprecated: Use FindBidRequest.ProtoReflect.Descriptor instead.
func (*FindBidRequest) GetAddr ¶ added in v0.2.10
func (x *FindBidRequest) GetAddr() *StealthAddress
func (*FindBidRequest) ProtoMessage ¶ added in v0.2.10
func (*FindBidRequest) ProtoMessage()
func (*FindBidRequest) ProtoReflect ¶ added in v0.2.10
func (x *FindBidRequest) ProtoReflect() protoreflect.Message
func (*FindBidRequest) Reset ¶ added in v0.2.10
func (x *FindBidRequest) Reset()
func (*FindBidRequest) String ¶ added in v0.2.10
func (x *FindBidRequest) 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 GenerateScoreRequest ¶
type GenerateScoreRequest struct { K *BlsScalar `protobuf:"bytes,1,opt,name=k,proto3" json:"k,omitempty"` Seed *BlsScalar `protobuf:"bytes,2,opt,name=seed,proto3" json:"seed,omitempty"` Secret *JubJubCompressed `protobuf:"bytes,3,opt,name=secret,proto3" json:"secret,omitempty"` Round uint32 `protobuf:"varint,4,opt,name=round,proto3" json:"round,omitempty"` Step uint32 `protobuf:"varint,5,opt,name=step,proto3" json:"step,omitempty"` IndexStoredBid uint64 `protobuf:"varint,6,opt,name=index_stored_bid,json=indexStoredBid,proto3" json:"index_stored_bid,omitempty"` // contains filtered or unexported fields }
func (*GenerateScoreRequest) Descriptor
deprecated
func (*GenerateScoreRequest) Descriptor() ([]byte, []int)
Deprecated: Use GenerateScoreRequest.ProtoReflect.Descriptor instead.
func (*GenerateScoreRequest) GetIndexStoredBid ¶ added in v0.2.10
func (x *GenerateScoreRequest) GetIndexStoredBid() uint64
func (*GenerateScoreRequest) GetK ¶
func (x *GenerateScoreRequest) GetK() *BlsScalar
func (*GenerateScoreRequest) GetRound ¶ added in v0.2.0
func (x *GenerateScoreRequest) GetRound() uint32
func (*GenerateScoreRequest) GetSecret ¶ added in v0.2.10
func (x *GenerateScoreRequest) GetSecret() *JubJubCompressed
func (*GenerateScoreRequest) GetSeed ¶
func (x *GenerateScoreRequest) GetSeed() *BlsScalar
func (*GenerateScoreRequest) GetStep ¶ added in v0.2.0
func (x *GenerateScoreRequest) GetStep() uint32
func (*GenerateScoreRequest) ProtoMessage ¶
func (*GenerateScoreRequest) ProtoMessage()
func (*GenerateScoreRequest) ProtoReflect ¶ added in v0.2.0
func (x *GenerateScoreRequest) ProtoReflect() protoreflect.Message
func (*GenerateScoreRequest) Reset ¶
func (x *GenerateScoreRequest) Reset()
func (*GenerateScoreRequest) String ¶
func (x *GenerateScoreRequest) String() string
type GenerateScoreResponse ¶
type GenerateScoreResponse struct { BlindbidProof *Proof `protobuf:"bytes,1,opt,name=blindbid_proof,json=blindbidProof,proto3" json:"blindbid_proof,omitempty"` Score *BlsScalar `protobuf:"bytes,2,opt,name=score,proto3" json:"score,omitempty"` ProverIdentity *BlsScalar `protobuf:"bytes,4,opt,name=prover_identity,json=proverIdentity,proto3" json:"prover_identity,omitempty"` // contains filtered or unexported fields }
func (*GenerateScoreResponse) Descriptor
deprecated
func (*GenerateScoreResponse) Descriptor() ([]byte, []int)
Deprecated: Use GenerateScoreResponse.ProtoReflect.Descriptor instead.
func (*GenerateScoreResponse) GetBlindbidProof ¶ added in v0.2.10
func (x *GenerateScoreResponse) GetBlindbidProof() *Proof
func (*GenerateScoreResponse) GetProverIdentity ¶ added in v0.2.10
func (x *GenerateScoreResponse) GetProverIdentity() *BlsScalar
func (*GenerateScoreResponse) GetScore ¶
func (x *GenerateScoreResponse) GetScore() *BlsScalar
func (*GenerateScoreResponse) ProtoMessage ¶
func (*GenerateScoreResponse) ProtoMessage()
func (*GenerateScoreResponse) ProtoReflect ¶ added in v0.2.0
func (x *GenerateScoreResponse) ProtoReflect() protoreflect.Message
func (*GenerateScoreResponse) Reset ¶
func (x *GenerateScoreResponse) Reset()
func (*GenerateScoreResponse) String ¶
func (x *GenerateScoreResponse) 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 JubJubCompressed ¶ added in v0.2.10
type JubJubCompressed struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*JubJubCompressed) Descriptor
deprecated
added in
v0.2.10
func (*JubJubCompressed) Descriptor() ([]byte, []int)
Deprecated: Use JubJubCompressed.ProtoReflect.Descriptor instead.
func (*JubJubCompressed) GetData ¶ added in v0.2.10
func (x *JubJubCompressed) GetData() []byte
func (*JubJubCompressed) ProtoMessage ¶ added in v0.2.10
func (*JubJubCompressed) ProtoMessage()
func (*JubJubCompressed) ProtoReflect ¶ added in v0.2.10
func (x *JubJubCompressed) ProtoReflect() protoreflect.Message
func (*JubJubCompressed) Reset ¶ added in v0.2.10
func (x *JubJubCompressed) Reset()
func (*JubJubCompressed) String ¶ added in v0.2.10
func (x *JubJubCompressed) String() string
type JubJubScalar ¶ added in v0.2.10
type JubJubScalar struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*JubJubScalar) Descriptor
deprecated
added in
v0.2.10
func (*JubJubScalar) Descriptor() ([]byte, []int)
Deprecated: Use JubJubScalar.ProtoReflect.Descriptor instead.
func (*JubJubScalar) GetData ¶ added in v0.2.10
func (x *JubJubScalar) GetData() []byte
func (*JubJubScalar) ProtoMessage ¶ added in v0.2.10
func (*JubJubScalar) ProtoMessage()
func (*JubJubScalar) ProtoReflect ¶ added in v0.2.10
func (x *JubJubScalar) ProtoReflect() protoreflect.Message
func (*JubJubScalar) Reset ¶ added in v0.2.10
func (x *JubJubScalar) Reset()
func (*JubJubScalar) String ¶ added in v0.2.10
func (x *JubJubScalar) 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 Note ¶
type Note struct { Randomness *JubJubCompressed `protobuf:"bytes,1,opt,name=randomness,proto3" json:"randomness,omitempty"` PkR *JubJubCompressed `protobuf:"bytes,2,opt,name=pk_r,json=pkR,proto3" json:"pk_r,omitempty"` Commitment *JubJubCompressed `protobuf:"bytes,3,opt,name=commitment,proto3" json:"commitment,omitempty"` Nonce *BlsScalar `protobuf:"bytes,4,opt,name=nonce,proto3" json:"nonce,omitempty"` EncyptedData *PoseidonCipher `protobuf:"bytes,5,opt,name=encypted_data,json=encyptedData,proto3" json:"encypted_data,omitempty"` // contains filtered or unexported fields }
func (*Note) Descriptor
deprecated
func (*Note) GetCommitment ¶ added in v0.2.10
func (x *Note) GetCommitment() *JubJubCompressed
func (*Note) GetEncyptedData ¶ added in v0.2.10
func (x *Note) GetEncyptedData() *PoseidonCipher
func (*Note) GetPkR ¶
func (x *Note) GetPkR() *JubJubCompressed
func (*Note) GetRandomness ¶ added in v0.2.10
func (x *Note) GetRandomness() *JubJubCompressed
func (*Note) ProtoMessage ¶
func (*Note) ProtoMessage()
func (*Note) ProtoReflect ¶ added in v0.2.0
func (x *Note) ProtoReflect() protoreflect.Message
type PoseidonCipher ¶ added in v0.2.10
type PoseidonCipher struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*PoseidonCipher) Descriptor
deprecated
added in
v0.2.10
func (*PoseidonCipher) Descriptor() ([]byte, []int)
Deprecated: Use PoseidonCipher.ProtoReflect.Descriptor instead.
func (*PoseidonCipher) GetData ¶ added in v0.2.10
func (x *PoseidonCipher) GetData() []byte
func (*PoseidonCipher) ProtoMessage ¶ added in v0.2.10
func (*PoseidonCipher) ProtoMessage()
func (*PoseidonCipher) ProtoReflect ¶ added in v0.2.10
func (x *PoseidonCipher) ProtoReflect() protoreflect.Message
func (*PoseidonCipher) Reset ¶ added in v0.2.10
func (x *PoseidonCipher) Reset()
func (*PoseidonCipher) String ¶ added in v0.2.10
func (x *PoseidonCipher) String() string
type Proof ¶ added in v0.2.10
type Proof struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*Proof) Descriptor
deprecated
added in
v0.2.10
func (*Proof) ProtoMessage ¶ added in v0.2.10
func (*Proof) ProtoMessage()
func (*Proof) ProtoReflect ¶ added in v0.2.10
func (x *Proof) ProtoReflect() protoreflect.Message
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"` Stakes []*Stake `protobuf:"bytes,2,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) 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 { AG *JubJubCompressed `protobuf:"bytes,1,opt,name=a_g,json=aG,proto3" json:"a_g,omitempty"` BG *JubJubCompressed `protobuf:"bytes,2,opt,name=b_g,json=bG,proto3" json:"b_g,omitempty"` // contains filtered or unexported fields }
func (*PublicKey) Descriptor
deprecated
func (*PublicKey) GetAG ¶
func (x *PublicKey) GetAG() *JubJubCompressed
func (*PublicKey) GetBG ¶
func (x *PublicKey) GetBG() *JubJubCompressed
func (*PublicKey) ProtoMessage ¶
func (*PublicKey) ProtoMessage()
func (*PublicKey) ProtoReflect ¶ added in v0.2.0
func (x *PublicKey) ProtoReflect() protoreflect.Message
type SecretKey ¶
type SecretKey struct { A *JubJubScalar `protobuf:"bytes,1,opt,name=a,proto3" json:"a,omitempty"` B *JubJubScalar `protobuf:"bytes,2,opt,name=b,proto3" json:"b,omitempty"` // contains filtered or unexported fields }
func (*SecretKey) Descriptor
deprecated
func (*SecretKey) GetA ¶
func (x *SecretKey) GetA() *JubJubScalar
func (*SecretKey) GetB ¶
func (x *SecretKey) GetB() *JubJubScalar
func (*SecretKey) ProtoMessage ¶
func (*SecretKey) ProtoMessage()
func (*SecretKey) ProtoReflect ¶ added in v0.2.0
func (x *SecretKey) ProtoReflect() protoreflect.Message
type Stake ¶ added in v0.2.0
type Stake struct { Amount uint64 `protobuf:"fixed64,1,opt,name=amount,proto3" json:"amount,omitempty"` StartHeight uint64 `protobuf:"fixed64,2,opt,name=start_height,json=startHeight,proto3" json:"start_height,omitempty"` EndHeight uint64 `protobuf:"fixed64,3,opt,name=end_height,json=endHeight,proto3" json:"end_height,omitempty"` // contains filtered or unexported fields }
func (*Stake) Descriptor
deprecated
added in
v0.2.0
func (*Stake) GetEndHeight ¶ added in v0.2.0
func (*Stake) GetStartHeight ¶ added in v0.2.0
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 StateClient ¶ added in v0.2.10
type StateClient interface { VerifyStateTransition(ctx context.Context, in *VerifyStateTransitionRequest, opts ...grpc.CallOption) (*VerifyStateTransitionResponse, error) ExecuteStateTransition(ctx context.Context, in *ExecuteStateTransitionRequest, opts ...grpc.CallOption) (*ExecuteStateTransitionResponse, error) GetProvisioners(ctx context.Context, in *GetProvisionersRequest, opts ...grpc.CallOption) (*GetProvisionersResponse, 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 { VerifyStateTransition(context.Context, *VerifyStateTransitionRequest) (*VerifyStateTransitionResponse, error) ExecuteStateTransition(context.Context, *ExecuteStateTransitionRequest) (*ExecuteStateTransitionResponse, error) GetProvisioners(context.Context, *GetProvisionersRequest) (*GetProvisionersResponse, error) }
StateServer is the server API for State service.
type StealthAddress ¶ added in v0.2.10
type StealthAddress struct { RG *JubJubCompressed `protobuf:"bytes,1,opt,name=r_g,json=rG,proto3" json:"r_g,omitempty"` PkR *JubJubCompressed `protobuf:"bytes,2,opt,name=pk_r,json=pkR,proto3" json:"pk_r,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) GetPkR ¶ added in v0.2.10
func (x *StealthAddress) GetPkR() *JubJubCompressed
func (*StealthAddress) GetRG ¶ added in v0.2.10
func (x *StealthAddress) GetRG() *JubJubCompressed
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"` TxPayload *TransactionPayload `protobuf:"bytes,3,opt,name=tx_payload,json=txPayload,proto3" json:"tx_payload,omitempty"` // contains filtered or unexported fields }
func (*Transaction) Descriptor
deprecated
func (*Transaction) Descriptor() ([]byte, []int)
Deprecated: Use Transaction.ProtoReflect.Descriptor instead.
func (*Transaction) GetTxPayload ¶ added in v0.2.10
func (x *Transaction) GetTxPayload() *TransactionPayload
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 TransactionPayload ¶ added in v0.2.10
type TransactionPayload struct { Anchor *BlsScalar `protobuf:"bytes,1,opt,name=anchor,proto3" json:"anchor,omitempty"` Nullifier []*BlsScalar `protobuf:"bytes,2,rep,name=nullifier,proto3" json:"nullifier,omitempty"` Crossover *Crossover `protobuf:"bytes,3,opt,name=crossover,proto3" json:"crossover,omitempty"` Notes []*Note `protobuf:"bytes,4,rep,name=notes,proto3" json:"notes,omitempty"` Fee *Fee `protobuf:"bytes,5,opt,name=fee,proto3" json:"fee,omitempty"` SpendingProof *Proof `protobuf:"bytes,6,opt,name=spending_proof,json=spendingProof,proto3" json:"spending_proof,omitempty"` CallData []byte `protobuf:"bytes,7,opt,name=call_data,json=callData,proto3" json:"call_data,omitempty"` // contains filtered or unexported fields }
func (*TransactionPayload) Descriptor
deprecated
added in
v0.2.10
func (*TransactionPayload) Descriptor() ([]byte, []int)
Deprecated: Use TransactionPayload.ProtoReflect.Descriptor instead.
func (*TransactionPayload) GetAnchor ¶ added in v0.2.10
func (x *TransactionPayload) GetAnchor() *BlsScalar
func (*TransactionPayload) GetCallData ¶ added in v0.2.10
func (x *TransactionPayload) GetCallData() []byte
func (*TransactionPayload) GetCrossover ¶ added in v0.2.10
func (x *TransactionPayload) GetCrossover() *Crossover
func (*TransactionPayload) GetFee ¶ added in v0.2.10
func (x *TransactionPayload) GetFee() *Fee
func (*TransactionPayload) GetNotes ¶ added in v0.2.10
func (x *TransactionPayload) GetNotes() []*Note
func (*TransactionPayload) GetNullifier ¶ added in v0.2.10
func (x *TransactionPayload) GetNullifier() []*BlsScalar
func (*TransactionPayload) GetSpendingProof ¶ added in v0.2.10
func (x *TransactionPayload) GetSpendingProof() *Proof
func (*TransactionPayload) ProtoMessage ¶ added in v0.2.10
func (*TransactionPayload) ProtoMessage()
func (*TransactionPayload) ProtoReflect ¶ added in v0.2.10
func (x *TransactionPayload) ProtoReflect() protoreflect.Message
func (*TransactionPayload) Reset ¶ added in v0.2.10
func (x *TransactionPayload) Reset()
func (*TransactionPayload) String ¶ added in v0.2.10
func (x *TransactionPayload) String() string
type UnimplementedBidServiceServer ¶ added in v0.2.10
type UnimplementedBidServiceServer struct { }
UnimplementedBidServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedBidServiceServer) FindBid ¶ added in v0.2.10
func (*UnimplementedBidServiceServer) FindBid(context.Context, *FindBidRequest) (*BidList, error)
func (*UnimplementedBidServiceServer) NewBid ¶ added in v0.2.10
func (*UnimplementedBidServiceServer) NewBid(context.Context, *BidTransactionRequest) (*BidTransaction, error)
type UnimplementedBlindBidServiceServer ¶ added in v0.2.10
type UnimplementedBlindBidServiceServer struct { }
UnimplementedBlindBidServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedBlindBidServiceServer) GenerateScore ¶ added in v0.2.10
func (*UnimplementedBlindBidServiceServer) GenerateScore(context.Context, *GenerateScoreRequest) (*GenerateScoreResponse, error)
func (*UnimplementedBlindBidServiceServer) VerifyScore ¶ added in v0.2.10
func (*UnimplementedBlindBidServiceServer) VerifyScore(context.Context, *VerifyScoreRequest) (*VerifyScoreResponse, error)
type UnimplementedEchoerServer ¶ added in v0.2.10
type UnimplementedEchoerServer struct { }
UnimplementedEchoerServer can be embedded to have forward compatible implementations.
func (*UnimplementedEchoerServer) Echo ¶ added in v0.2.10
func (*UnimplementedEchoerServer) Echo(context.Context, *EchoRequest) (*EchoResponse, error)
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 UnimplementedStateServer ¶ added in v0.2.10
type UnimplementedStateServer struct { }
UnimplementedStateServer can be embedded to have forward compatible implementations.
func (*UnimplementedStateServer) ExecuteStateTransition ¶ added in v0.2.10
func (*UnimplementedStateServer) ExecuteStateTransition(context.Context, *ExecuteStateTransitionRequest) (*ExecuteStateTransitionResponse, error)
func (*UnimplementedStateServer) GetProvisioners ¶ added in v0.2.10
func (*UnimplementedStateServer) GetProvisioners(context.Context, *GetProvisionersRequest) (*GetProvisionersResponse, error)
func (*UnimplementedStateServer) VerifyStateTransition ¶ added in v0.2.10
func (*UnimplementedStateServer) VerifyStateTransition(context.Context, *VerifyStateTransitionRequest) (*VerifyStateTransitionResponse, error)
type VerifyScoreRequest ¶ added in v0.2.0
type VerifyScoreRequest struct { Proof *Proof `protobuf:"bytes,1,opt,name=proof,proto3" json:"proof,omitempty"` Score *BlsScalar `protobuf:"bytes,2,opt,name=score,proto3" json:"score,omitempty"` Seed *BlsScalar `protobuf:"bytes,3,opt,name=seed,proto3" json:"seed,omitempty"` ProverId *BlsScalar `protobuf:"bytes,4,opt,name=prover_id,json=proverId,proto3" json:"prover_id,omitempty"` Round uint64 `protobuf:"fixed64,5,opt,name=round,proto3" json:"round,omitempty"` Step uint32 `protobuf:"varint,6,opt,name=step,proto3" json:"step,omitempty"` IndexStoredBid uint64 `protobuf:"varint,7,opt,name=index_stored_bid,json=indexStoredBid,proto3" json:"index_stored_bid,omitempty"` // contains filtered or unexported fields }
func (*VerifyScoreRequest) Descriptor
deprecated
added in
v0.2.0
func (*VerifyScoreRequest) Descriptor() ([]byte, []int)
Deprecated: Use VerifyScoreRequest.ProtoReflect.Descriptor instead.
func (*VerifyScoreRequest) GetIndexStoredBid ¶ added in v0.2.10
func (x *VerifyScoreRequest) GetIndexStoredBid() uint64
func (*VerifyScoreRequest) GetProof ¶ added in v0.2.0
func (x *VerifyScoreRequest) GetProof() *Proof
func (*VerifyScoreRequest) GetProverId ¶ added in v0.2.10
func (x *VerifyScoreRequest) GetProverId() *BlsScalar
func (*VerifyScoreRequest) GetRound ¶ added in v0.2.0
func (x *VerifyScoreRequest) GetRound() uint64
func (*VerifyScoreRequest) GetScore ¶ added in v0.2.0
func (x *VerifyScoreRequest) GetScore() *BlsScalar
func (*VerifyScoreRequest) GetSeed ¶ added in v0.2.0
func (x *VerifyScoreRequest) GetSeed() *BlsScalar
func (*VerifyScoreRequest) GetStep ¶ added in v0.2.0
func (x *VerifyScoreRequest) GetStep() uint32
func (*VerifyScoreRequest) ProtoMessage ¶ added in v0.2.0
func (*VerifyScoreRequest) ProtoMessage()
func (*VerifyScoreRequest) ProtoReflect ¶ added in v0.2.0
func (x *VerifyScoreRequest) ProtoReflect() protoreflect.Message
func (*VerifyScoreRequest) Reset ¶ added in v0.2.0
func (x *VerifyScoreRequest) Reset()
func (*VerifyScoreRequest) String ¶ added in v0.2.0
func (x *VerifyScoreRequest) String() string
type VerifyScoreResponse ¶ added in v0.2.0
type VerifyScoreResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // contains filtered or unexported fields }
func (*VerifyScoreResponse) Descriptor
deprecated
added in
v0.2.0
func (*VerifyScoreResponse) Descriptor() ([]byte, []int)
Deprecated: Use VerifyScoreResponse.ProtoReflect.Descriptor instead.
func (*VerifyScoreResponse) GetSuccess ¶ added in v0.2.0
func (x *VerifyScoreResponse) GetSuccess() bool
func (*VerifyScoreResponse) ProtoMessage ¶ added in v0.2.0
func (*VerifyScoreResponse) ProtoMessage()
func (*VerifyScoreResponse) ProtoReflect ¶ added in v0.2.0
func (x *VerifyScoreResponse) ProtoReflect() protoreflect.Message
func (*VerifyScoreResponse) Reset ¶ added in v0.2.0
func (x *VerifyScoreResponse) Reset()
func (*VerifyScoreResponse) String ¶ added in v0.2.0
func (x *VerifyScoreResponse) String() string
type VerifyStateTransitionRequest ¶ added in v0.2.10
type VerifyStateTransitionRequest struct { Txs []*Transaction `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"` Height uint64 `protobuf:"fixed64,2,opt,name=height,proto3" json:"height,omitempty"` Seed []byte `protobuf:"bytes,3,opt,name=seed,proto3" json:"seed,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) GetHeight ¶ added in v0.2.10
func (x *VerifyStateTransitionRequest) GetHeight() uint64
func (*VerifyStateTransitionRequest) GetSeed ¶ added in v0.2.10
func (x *VerifyStateTransitionRequest) GetSeed() []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 { FailedCalls []uint64 `protobuf:"fixed64,1,rep,packed,name=failed_calls,json=failedCalls,proto3" json:"failed_calls,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) GetFailedCalls ¶ added in v0.2.10
func (x *VerifyStateTransitionResponse) GetFailedCalls() []uint64
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 { A *JubJubScalar `protobuf:"bytes,1,opt,name=a,proto3" json:"a,omitempty"` BG *JubJubCompressed `protobuf:"bytes,2,opt,name=b_g,json=bG,proto3" json:"b_g,omitempty"` // contains filtered or unexported fields }
func (*ViewKey) Descriptor
deprecated
func (*ViewKey) GetA ¶
func (x *ViewKey) GetA() *JubJubScalar
func (*ViewKey) GetBG ¶
func (x *ViewKey) GetBG() *JubJubCompressed
func (*ViewKey) ProtoMessage ¶
func (*ViewKey) ProtoMessage()
func (*ViewKey) ProtoReflect ¶ added in v0.2.0
func (x *ViewKey) ProtoReflect() protoreflect.Message