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 RegisterRewardServer(s *grpc.Server, srv RewardServer)
- func RegisterStakeServiceServer(s *grpc.Server, srv StakeServiceServer)
- func RegisterStateServer(s *grpc.Server, srv StateServer)
- func RegisterTransactionServiceServer(s *grpc.Server, srv TransactionServiceServer)
- func RegisterTransferServer(s *grpc.Server, srv TransferServer)
- func RegisterWalletServer(s *grpc.Server, srv WalletServer)
- type BN256Point
- func (*BN256Point) Descriptor() ([]byte, []int)
- func (m *BN256Point) GetData() []byte
- func (*BN256Point) ProtoMessage()
- func (m *BN256Point) Reset()
- func (m *BN256Point) String() string
- func (m *BN256Point) XXX_DiscardUnknown()
- func (m *BN256Point) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BN256Point) XXX_Merge(src proto.Message)
- func (m *BN256Point) XXX_Size() int
- func (m *BN256Point) XXX_Unmarshal(b []byte) error
- type Bid
- func (*Bid) Descriptor() ([]byte, []int)
- func (m *Bid) GetCommitment() []byte
- func (m *Bid) GetElegibility() []byte
- func (m *Bid) GetEncryptedData() []byte
- func (m *Bid) GetExpiration() []byte
- func (m *Bid) GetHashedSecret() []byte
- func (m *Bid) GetNonce() []byte
- func (m *Bid) GetStealthAddress() *StealthAddress
- func (*Bid) ProtoMessage()
- func (m *Bid) Reset()
- func (m *Bid) String() string
- func (m *Bid) XXX_DiscardUnknown()
- func (m *Bid) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Bid) XXX_Merge(src proto.Message)
- func (m *Bid) XXX_Size() int
- func (m *Bid) XXX_Unmarshal(b []byte) error
- type BidList
- func (*BidList) Descriptor() ([]byte, []int)
- func (m *BidList) GetBidHashList() [][]byte
- func (m *BidList) GetBidList() []*Bid
- func (*BidList) ProtoMessage()
- func (m *BidList) Reset()
- func (m *BidList) String() string
- func (m *BidList) XXX_DiscardUnknown()
- func (m *BidList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BidList) XXX_Merge(src proto.Message)
- func (m *BidList) XXX_Size() int
- func (m *BidList) XXX_Unmarshal(b []byte) error
- type BidServiceClient
- type BidServiceMock
- type BidServiceServer
- type BidTransaction
- func (*BidTransaction) Descriptor() ([]byte, []int)
- func (m *BidTransaction) GetBidTreeStorageIndex() uint64
- func (m *BidTransaction) GetTx() *Transaction
- func (*BidTransaction) ProtoMessage()
- func (m *BidTransaction) Reset()
- func (m *BidTransaction) String() string
- func (m *BidTransaction) XXX_DiscardUnknown()
- func (m *BidTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BidTransaction) XXX_Merge(src proto.Message)
- func (m *BidTransaction) XXX_Size() int
- func (m *BidTransaction) XXX_Unmarshal(b []byte) error
- type BidTransactionRequest
- func (*BidTransactionRequest) Descriptor() ([]byte, []int)
- func (m *BidTransactionRequest) GetGasLimit() uint64
- func (m *BidTransactionRequest) GetGasPrice() uint64
- func (m *BidTransactionRequest) GetK() []byte
- func (m *BidTransactionRequest) GetLatestConsensusRound() uint64
- func (m *BidTransactionRequest) GetLatestConsensusStep() uint64
- func (m *BidTransactionRequest) GetSecret() []byte
- func (m *BidTransactionRequest) GetSeed() []byte
- func (m *BidTransactionRequest) GetStealthAddress() *StealthAddress
- func (m *BidTransactionRequest) GetValue() uint64
- func (*BidTransactionRequest) ProtoMessage()
- func (m *BidTransactionRequest) Reset()
- func (m *BidTransactionRequest) String() string
- func (m *BidTransactionRequest) XXX_DiscardUnknown()
- func (m *BidTransactionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BidTransactionRequest) XXX_Merge(src proto.Message)
- func (m *BidTransactionRequest) XXX_Size() int
- func (m *BidTransactionRequest) XXX_Unmarshal(b []byte) error
- type BlindBidServiceClient
- type BlindBidServiceMock
- type BlindBidServiceServer
- type BlsScalar
- func (*BlsScalar) Descriptor() ([]byte, []int)
- func (m *BlsScalar) GetData() []byte
- func (*BlsScalar) ProtoMessage()
- func (m *BlsScalar) Reset()
- func (m *BlsScalar) String() string
- func (m *BlsScalar) XXX_DiscardUnknown()
- func (m *BlsScalar) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlsScalar) XXX_Merge(src proto.Message)
- func (m *BlsScalar) XXX_Size() int
- func (m *BlsScalar) XXX_Unmarshal(b []byte) error
- type Crossover
- func (*Crossover) Descriptor() ([]byte, []int)
- func (m *Crossover) GetEncryptedData() []byte
- func (m *Crossover) GetNonce() []byte
- func (m *Crossover) GetValueCommitment() []byte
- func (*Crossover) ProtoMessage()
- func (m *Crossover) Reset()
- func (m *Crossover) String() string
- func (m *Crossover) XXX_DiscardUnknown()
- func (m *Crossover) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Crossover) XXX_Merge(src proto.Message)
- func (m *Crossover) XXX_Size() int
- func (m *Crossover) XXX_Unmarshal(b []byte) error
- type EchoRequest
- func (*EchoRequest) Descriptor() ([]byte, []int)
- func (m *EchoRequest) GetMessage() string
- func (*EchoRequest) ProtoMessage()
- func (m *EchoRequest) Reset()
- func (m *EchoRequest) String() string
- func (m *EchoRequest) XXX_DiscardUnknown()
- func (m *EchoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EchoRequest) XXX_Merge(src proto.Message)
- func (m *EchoRequest) XXX_Size() int
- func (m *EchoRequest) XXX_Unmarshal(b []byte) error
- type EchoResponse
- func (*EchoResponse) Descriptor() ([]byte, []int)
- func (m *EchoResponse) GetMessage() string
- func (*EchoResponse) ProtoMessage()
- func (m *EchoResponse) Reset()
- func (m *EchoResponse) String() string
- func (m *EchoResponse) XXX_DiscardUnknown()
- func (m *EchoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EchoResponse) XXX_Merge(src proto.Message)
- func (m *EchoResponse) XXX_Size() int
- func (m *EchoResponse) XXX_Unmarshal(b []byte) error
- type EchoerClient
- type EchoerMock
- type EchoerServer
- type ExecuteStateTransitionRequest
- func (*ExecuteStateTransitionRequest) Descriptor() ([]byte, []int)
- func (m *ExecuteStateTransitionRequest) GetHeight() uint64
- func (m *ExecuteStateTransitionRequest) GetSeed() []byte
- func (m *ExecuteStateTransitionRequest) GetTxs() []*Transaction
- func (*ExecuteStateTransitionRequest) ProtoMessage()
- func (m *ExecuteStateTransitionRequest) Reset()
- func (m *ExecuteStateTransitionRequest) String() string
- func (m *ExecuteStateTransitionRequest) XXX_DiscardUnknown()
- func (m *ExecuteStateTransitionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExecuteStateTransitionRequest) XXX_Merge(src proto.Message)
- func (m *ExecuteStateTransitionRequest) XXX_Size() int
- func (m *ExecuteStateTransitionRequest) XXX_Unmarshal(b []byte) error
- type ExecuteStateTransitionResponse
- func (*ExecuteStateTransitionResponse) Descriptor() ([]byte, []int)
- func (m *ExecuteStateTransitionResponse) GetErrorMessage() string
- func (m *ExecuteStateTransitionResponse) GetSuccess() bool
- func (*ExecuteStateTransitionResponse) ProtoMessage()
- func (m *ExecuteStateTransitionResponse) Reset()
- func (m *ExecuteStateTransitionResponse) String() string
- func (m *ExecuteStateTransitionResponse) XXX_DiscardUnknown()
- func (m *ExecuteStateTransitionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExecuteStateTransitionResponse) XXX_Merge(src proto.Message)
- func (m *ExecuteStateTransitionResponse) XXX_Size() int
- func (m *ExecuteStateTransitionResponse) XXX_Unmarshal(b []byte) error
- type Fee
- func (*Fee) Descriptor() ([]byte, []int)
- func (m *Fee) GetGasLimit() uint64
- func (m *Fee) GetGasPrice() uint64
- func (m *Fee) GetStealthAddress() *StealthAddress
- func (*Fee) ProtoMessage()
- func (m *Fee) Reset()
- func (m *Fee) String() string
- func (m *Fee) XXX_DiscardUnknown()
- func (m *Fee) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Fee) XXX_Merge(src proto.Message)
- func (m *Fee) XXX_Size() int
- func (m *Fee) XXX_Unmarshal(b []byte) error
- type FindBidRequest
- func (*FindBidRequest) Descriptor() ([]byte, []int)
- func (m *FindBidRequest) GetStealthAddress() *StealthAddress
- func (*FindBidRequest) ProtoMessage()
- func (m *FindBidRequest) Reset()
- func (m *FindBidRequest) String() string
- func (m *FindBidRequest) XXX_DiscardUnknown()
- func (m *FindBidRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FindBidRequest) XXX_Merge(src proto.Message)
- func (m *FindBidRequest) XXX_Size() int
- func (m *FindBidRequest) XXX_Unmarshal(b []byte) error
- type FindStakeRequest
- func (*FindStakeRequest) Descriptor() ([]byte, []int)
- func (m *FindStakeRequest) GetPk() []byte
- func (*FindStakeRequest) ProtoMessage()
- func (m *FindStakeRequest) Reset()
- func (m *FindStakeRequest) String() string
- func (m *FindStakeRequest) XXX_DiscardUnknown()
- func (m *FindStakeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FindStakeRequest) XXX_Merge(src proto.Message)
- func (m *FindStakeRequest) XXX_Size() int
- func (m *FindStakeRequest) XXX_Unmarshal(b []byte) error
- type FindStakeResponse
- func (*FindStakeResponse) Descriptor() ([]byte, []int)
- func (m *FindStakeResponse) GetStakes() []*Stake
- func (*FindStakeResponse) ProtoMessage()
- func (m *FindStakeResponse) Reset()
- func (m *FindStakeResponse) String() string
- func (m *FindStakeResponse) XXX_DiscardUnknown()
- func (m *FindStakeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FindStakeResponse) XXX_Merge(src proto.Message)
- func (m *FindStakeResponse) XXX_Size() int
- func (m *FindStakeResponse) XXX_Unmarshal(b []byte) error
- type GenerateKeysRequest
- func (*GenerateKeysRequest) Descriptor() ([]byte, []int)
- func (*GenerateKeysRequest) ProtoMessage()
- func (m *GenerateKeysRequest) Reset()
- func (m *GenerateKeysRequest) String() string
- func (m *GenerateKeysRequest) XXX_DiscardUnknown()
- func (m *GenerateKeysRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenerateKeysRequest) XXX_Merge(src proto.Message)
- func (m *GenerateKeysRequest) XXX_Size() int
- func (m *GenerateKeysRequest) XXX_Unmarshal(b []byte) error
- type GenerateKeysResponse
- func (*GenerateKeysResponse) Descriptor() ([]byte, []int)
- func (m *GenerateKeysResponse) GetPk() *PublicKey
- func (m *GenerateKeysResponse) GetSk() *SecretKey
- func (m *GenerateKeysResponse) GetVk() *ViewKey
- func (*GenerateKeysResponse) ProtoMessage()
- func (m *GenerateKeysResponse) Reset()
- func (m *GenerateKeysResponse) String() string
- func (m *GenerateKeysResponse) XXX_DiscardUnknown()
- func (m *GenerateKeysResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenerateKeysResponse) XXX_Merge(src proto.Message)
- func (m *GenerateKeysResponse) XXX_Size() int
- func (m *GenerateKeysResponse) XXX_Unmarshal(b []byte) error
- type GenerateScoreRequest
- func (*GenerateScoreRequest) Descriptor() ([]byte, []int)
- func (m *GenerateScoreRequest) GetIndexStoredBid() uint64
- func (m *GenerateScoreRequest) GetK() []byte
- func (m *GenerateScoreRequest) GetRound() uint32
- func (m *GenerateScoreRequest) GetSecret() []byte
- func (m *GenerateScoreRequest) GetSeed() []byte
- func (m *GenerateScoreRequest) GetStep() uint32
- func (*GenerateScoreRequest) ProtoMessage()
- func (m *GenerateScoreRequest) Reset()
- func (m *GenerateScoreRequest) String() string
- func (m *GenerateScoreRequest) XXX_DiscardUnknown()
- func (m *GenerateScoreRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenerateScoreRequest) XXX_Merge(src proto.Message)
- func (m *GenerateScoreRequest) XXX_Size() int
- func (m *GenerateScoreRequest) XXX_Unmarshal(b []byte) error
- type GenerateScoreResponse
- func (*GenerateScoreResponse) Descriptor() ([]byte, []int)
- func (m *GenerateScoreResponse) GetBlindbidProof() []byte
- func (m *GenerateScoreResponse) GetProverIdentity() []byte
- func (m *GenerateScoreResponse) GetScore() []byte
- func (*GenerateScoreResponse) ProtoMessage()
- func (m *GenerateScoreResponse) Reset()
- func (m *GenerateScoreResponse) String() string
- func (m *GenerateScoreResponse) XXX_DiscardUnknown()
- func (m *GenerateScoreResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenerateScoreResponse) XXX_Merge(src proto.Message)
- func (m *GenerateScoreResponse) XXX_Size() int
- func (m *GenerateScoreResponse) XXX_Unmarshal(b []byte) error
- type GetBalanceRequest
- func (*GetBalanceRequest) Descriptor() ([]byte, []int)
- func (m *GetBalanceRequest) GetVk() *ViewKey
- func (*GetBalanceRequest) ProtoMessage()
- func (m *GetBalanceRequest) Reset()
- func (m *GetBalanceRequest) String() string
- func (m *GetBalanceRequest) XXX_DiscardUnknown()
- func (m *GetBalanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetBalanceRequest) XXX_Merge(src proto.Message)
- func (m *GetBalanceRequest) XXX_Size() int
- func (m *GetBalanceRequest) XXX_Unmarshal(b []byte) error
- type GetBalanceResponse
- func (*GetBalanceResponse) Descriptor() ([]byte, []int)
- func (m *GetBalanceResponse) GetBalance() uint64
- func (*GetBalanceResponse) ProtoMessage()
- func (m *GetBalanceResponse) Reset()
- func (m *GetBalanceResponse) String() string
- func (m *GetBalanceResponse) XXX_DiscardUnknown()
- func (m *GetBalanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetBalanceResponse) XXX_Merge(src proto.Message)
- func (m *GetBalanceResponse) XXX_Size() int
- func (m *GetBalanceResponse) XXX_Unmarshal(b []byte) error
- type GetProvisionersRequest
- func (*GetProvisionersRequest) Descriptor() ([]byte, []int)
- func (*GetProvisionersRequest) ProtoMessage()
- func (m *GetProvisionersRequest) Reset()
- func (m *GetProvisionersRequest) String() string
- func (m *GetProvisionersRequest) XXX_DiscardUnknown()
- func (m *GetProvisionersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetProvisionersRequest) XXX_Merge(src proto.Message)
- func (m *GetProvisionersRequest) XXX_Size() int
- func (m *GetProvisionersRequest) XXX_Unmarshal(b []byte) error
- type GetProvisionersResponse
- func (*GetProvisionersResponse) Descriptor() ([]byte, []int)
- func (m *GetProvisionersResponse) GetProvisioners() []*Provisioner
- func (*GetProvisionersResponse) ProtoMessage()
- func (m *GetProvisionersResponse) Reset()
- func (m *GetProvisionersResponse) String() string
- func (m *GetProvisionersResponse) XXX_DiscardUnknown()
- func (m *GetProvisionersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetProvisionersResponse) XXX_Merge(src proto.Message)
- func (m *GetProvisionersResponse) XXX_Size() int
- func (m *GetProvisionersResponse) XXX_Unmarshal(b []byte) error
- type GetWalletBalanceResponse
- func (*GetWalletBalanceResponse) Descriptor() ([]byte, []int)
- func (m *GetWalletBalanceResponse) GetLockedBalance() uint64
- func (m *GetWalletBalanceResponse) GetUnlockedBalance() uint64
- func (*GetWalletBalanceResponse) ProtoMessage()
- func (m *GetWalletBalanceResponse) Reset()
- func (m *GetWalletBalanceResponse) String() string
- func (m *GetWalletBalanceResponse) XXX_DiscardUnknown()
- func (m *GetWalletBalanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetWalletBalanceResponse) XXX_Merge(src proto.Message)
- func (m *GetWalletBalanceResponse) XXX_Size() int
- func (m *GetWalletBalanceResponse) XXX_Unmarshal(b []byte) error
- type GetWithdrawalTimeResponse
- func (*GetWithdrawalTimeResponse) Descriptor() ([]byte, []int)
- func (m *GetWithdrawalTimeResponse) GetHeight() uint64
- func (*GetWithdrawalTimeResponse) ProtoMessage()
- func (m *GetWithdrawalTimeResponse) Reset()
- func (m *GetWithdrawalTimeResponse) String() string
- func (m *GetWithdrawalTimeResponse) XXX_DiscardUnknown()
- func (m *GetWithdrawalTimeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetWithdrawalTimeResponse) XXX_Merge(src proto.Message)
- func (m *GetWithdrawalTimeResponse) XXX_Size() int
- func (m *GetWithdrawalTimeResponse) XXX_Unmarshal(b []byte) error
- type JubJubCompressed
- func (*JubJubCompressed) Descriptor() ([]byte, []int)
- func (m *JubJubCompressed) GetData() []byte
- func (*JubJubCompressed) ProtoMessage()
- func (m *JubJubCompressed) Reset()
- func (m *JubJubCompressed) String() string
- func (m *JubJubCompressed) XXX_DiscardUnknown()
- func (m *JubJubCompressed) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *JubJubCompressed) XXX_Merge(src proto.Message)
- func (m *JubJubCompressed) XXX_Size() int
- func (m *JubJubCompressed) XXX_Unmarshal(b []byte) error
- type JubJubScalar
- func (*JubJubScalar) Descriptor() ([]byte, []int)
- func (m *JubJubScalar) GetData() []byte
- func (*JubJubScalar) ProtoMessage()
- func (m *JubJubScalar) Reset()
- func (m *JubJubScalar) String() string
- func (m *JubJubScalar) XXX_DiscardUnknown()
- func (m *JubJubScalar) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *JubJubScalar) XXX_Merge(src proto.Message)
- func (m *JubJubScalar) XXX_Size() int
- func (m *JubJubScalar) XXX_Unmarshal(b []byte) error
- type KeysClient
- type KeysMock
- type KeysServer
- type Note
- func (*Note) Descriptor() ([]byte, []int)
- func (m *Note) GetEncryptedData() []byte
- func (m *Note) GetNonce() []byte
- func (m *Note) GetNoteType() Note_NoteType
- func (m *Note) GetPos() uint64
- func (m *Note) GetStealthAddress() *StealthAddress
- func (m *Note) GetValueCommitment() []byte
- func (*Note) ProtoMessage()
- func (m *Note) Reset()
- func (m *Note) String() string
- func (m *Note) XXX_DiscardUnknown()
- func (m *Note) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Note) XXX_Merge(src proto.Message)
- func (m *Note) XXX_Size() int
- func (m *Note) XXX_Unmarshal(b []byte) error
- type Note_NoteType
- type PoseidonCipher
- func (*PoseidonCipher) Descriptor() ([]byte, []int)
- func (m *PoseidonCipher) GetData() []byte
- func (*PoseidonCipher) ProtoMessage()
- func (m *PoseidonCipher) Reset()
- func (m *PoseidonCipher) String() string
- func (m *PoseidonCipher) XXX_DiscardUnknown()
- func (m *PoseidonCipher) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PoseidonCipher) XXX_Merge(src proto.Message)
- func (m *PoseidonCipher) XXX_Size() int
- func (m *PoseidonCipher) XXX_Unmarshal(b []byte) error
- type Proof
- func (*Proof) Descriptor() ([]byte, []int)
- func (m *Proof) GetData() []byte
- func (*Proof) ProtoMessage()
- func (m *Proof) Reset()
- func (m *Proof) String() string
- func (m *Proof) XXX_DiscardUnknown()
- func (m *Proof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Proof) XXX_Merge(src proto.Message)
- func (m *Proof) XXX_Size() int
- func (m *Proof) XXX_Unmarshal(b []byte) error
- type Provisioner
- func (*Provisioner) Descriptor() ([]byte, []int)
- func (m *Provisioner) GetPublicKeyBls() []byte
- func (m *Provisioner) GetStakes() []*Stake
- func (*Provisioner) ProtoMessage()
- func (m *Provisioner) Reset()
- func (m *Provisioner) String() string
- func (m *Provisioner) XXX_DiscardUnknown()
- func (m *Provisioner) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Provisioner) XXX_Merge(src proto.Message)
- func (m *Provisioner) XXX_Size() int
- func (m *Provisioner) XXX_Unmarshal(b []byte) error
- type PublicKey
- func (*PublicKey) Descriptor() ([]byte, []int)
- func (m *PublicKey) GetAG() []byte
- func (m *PublicKey) GetBG() []byte
- func (*PublicKey) ProtoMessage()
- func (m *PublicKey) Reset()
- func (m *PublicKey) String() string
- func (m *PublicKey) XXX_DiscardUnknown()
- func (m *PublicKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PublicKey) XXX_Merge(src proto.Message)
- func (m *PublicKey) XXX_Size() int
- func (m *PublicKey) XXX_Unmarshal(b []byte) error
- type RewardClient
- type RewardMock
- type RewardServer
- type SecretKey
- func (*SecretKey) Descriptor() ([]byte, []int)
- func (m *SecretKey) GetA() []byte
- func (m *SecretKey) GetB() []byte
- func (*SecretKey) ProtoMessage()
- func (m *SecretKey) Reset()
- func (m *SecretKey) String() string
- func (m *SecretKey) XXX_DiscardUnknown()
- func (m *SecretKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SecretKey) XXX_Merge(src proto.Message)
- func (m *SecretKey) XXX_Size() int
- func (m *SecretKey) XXX_Unmarshal(b []byte) error
- type Stake
- func (*Stake) Descriptor() ([]byte, []int)
- func (m *Stake) GetAmount() uint64
- func (m *Stake) GetEndHeight() uint64
- func (m *Stake) GetStartHeight() uint64
- func (*Stake) ProtoMessage()
- func (m *Stake) Reset()
- func (m *Stake) String() string
- func (m *Stake) XXX_DiscardUnknown()
- func (m *Stake) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Stake) XXX_Merge(src proto.Message)
- func (m *Stake) XXX_Size() int
- func (m *Stake) XXX_Unmarshal(b []byte) error
- type StakeServiceClient
- type StakeServiceMock
- type StakeServiceServer
- type StakeTransactionRequest
- func (*StakeTransactionRequest) Descriptor() ([]byte, []int)
- func (m *StakeTransactionRequest) GetGasLimit() uint64
- func (m *StakeTransactionRequest) GetGasPrice() uint64
- func (m *StakeTransactionRequest) GetPublicKeyBls() []byte
- func (m *StakeTransactionRequest) GetValue() uint64
- func (*StakeTransactionRequest) ProtoMessage()
- func (m *StakeTransactionRequest) Reset()
- func (m *StakeTransactionRequest) String() string
- func (m *StakeTransactionRequest) XXX_DiscardUnknown()
- func (m *StakeTransactionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StakeTransactionRequest) XXX_Merge(src proto.Message)
- func (m *StakeTransactionRequest) XXX_Size() int
- func (m *StakeTransactionRequest) XXX_Unmarshal(b []byte) error
- type StateClient
- type StateMock
- func (m *StateMock) ExecuteStateTransition(ctx context.Context, req *ExecuteStateTransitionRequest) (*ExecuteStateTransitionResponse, error)
- func (m *StateMock) GetProvisioners(ctx context.Context, req *GetProvisionersRequest) (*GetProvisionersResponse, error)
- func (m *StateMock) VerifyStateTransition(ctx context.Context, req *VerifyStateTransitionRequest) (*VerifyStateTransitionResponse, error)
- type StateServer
- type StealthAddress
- func (*StealthAddress) Descriptor() ([]byte, []int)
- func (m *StealthAddress) GetPkR() []byte
- func (m *StealthAddress) GetRG() []byte
- func (*StealthAddress) ProtoMessage()
- func (m *StealthAddress) Reset()
- func (m *StealthAddress) String() string
- func (m *StealthAddress) XXX_DiscardUnknown()
- func (m *StealthAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StealthAddress) XXX_Merge(src proto.Message)
- func (m *StealthAddress) XXX_Size() int
- func (m *StealthAddress) XXX_Unmarshal(b []byte) error
- type Transaction
- func (*Transaction) Descriptor() ([]byte, []int)
- func (m *Transaction) GetPayload() []byte
- func (m *Transaction) GetType() uint32
- func (m *Transaction) GetVersion() uint32
- func (*Transaction) ProtoMessage()
- func (m *Transaction) Reset()
- func (m *Transaction) String() string
- func (m *Transaction) XXX_DiscardUnknown()
- func (m *Transaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Transaction) XXX_Merge(src proto.Message)
- func (m *Transaction) XXX_Size() int
- func (m *Transaction) XXX_Unmarshal(b []byte) error
- type TransactionRequest
- func (*TransactionRequest) Descriptor() ([]byte, []int)
- func (m *TransactionRequest) GetArguments() []byte
- func (m *TransactionRequest) GetContractAddress() []byte
- func (m *TransactionRequest) GetFee() *Fee
- func (m *TransactionRequest) GetOpCode() uint32
- func (*TransactionRequest) ProtoMessage()
- func (m *TransactionRequest) Reset()
- func (m *TransactionRequest) String() string
- func (m *TransactionRequest) XXX_DiscardUnknown()
- func (m *TransactionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TransactionRequest) XXX_Merge(src proto.Message)
- func (m *TransactionRequest) XXX_Size() int
- func (m *TransactionRequest) XXX_Unmarshal(b []byte) error
- type TransactionServiceClient
- type TransactionServiceMock
- type TransactionServiceServer
- type TransferClient
- type TransferMock
- type TransferServer
- type TransferTransactionRequest
- func (*TransferTransactionRequest) Descriptor() ([]byte, []int)
- func (m *TransferTransactionRequest) GetGasLimit() uint64
- func (m *TransferTransactionRequest) GetGasPrice() uint64
- func (m *TransferTransactionRequest) GetRecipient() []byte
- func (m *TransferTransactionRequest) GetValue() uint64
- func (*TransferTransactionRequest) ProtoMessage()
- func (m *TransferTransactionRequest) Reset()
- func (m *TransferTransactionRequest) String() string
- func (m *TransferTransactionRequest) XXX_DiscardUnknown()
- func (m *TransferTransactionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TransferTransactionRequest) XXX_Merge(src proto.Message)
- func (m *TransferTransactionRequest) XXX_Size() int
- func (m *TransferTransactionRequest) XXX_Unmarshal(b []byte) error
- type UnimplementedBidServiceServer
- type UnimplementedBlindBidServiceServer
- type UnimplementedEchoerServer
- type UnimplementedKeysServer
- type UnimplementedRewardServer
- type UnimplementedStakeServiceServer
- type UnimplementedStateServer
- func (*UnimplementedStateServer) ExecuteStateTransition(ctx context.Context, req *ExecuteStateTransitionRequest) (*ExecuteStateTransitionResponse, error)
- func (*UnimplementedStateServer) GetProvisioners(ctx context.Context, req *GetProvisionersRequest) (*GetProvisionersResponse, error)
- func (*UnimplementedStateServer) VerifyStateTransition(ctx context.Context, req *VerifyStateTransitionRequest) (*VerifyStateTransitionResponse, error)
- type UnimplementedTransactionServiceServer
- type UnimplementedTransferServer
- type UnimplementedWalletServer
- type VerifyScoreRequest
- func (*VerifyScoreRequest) Descriptor() ([]byte, []int)
- func (m *VerifyScoreRequest) GetIndexStoredBid() uint64
- func (m *VerifyScoreRequest) GetProof() []byte
- func (m *VerifyScoreRequest) GetProverId() []byte
- func (m *VerifyScoreRequest) GetRound() uint64
- func (m *VerifyScoreRequest) GetScore() []byte
- func (m *VerifyScoreRequest) GetSeed() []byte
- func (m *VerifyScoreRequest) GetStep() uint32
- func (*VerifyScoreRequest) ProtoMessage()
- func (m *VerifyScoreRequest) Reset()
- func (m *VerifyScoreRequest) String() string
- func (m *VerifyScoreRequest) XXX_DiscardUnknown()
- func (m *VerifyScoreRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VerifyScoreRequest) XXX_Merge(src proto.Message)
- func (m *VerifyScoreRequest) XXX_Size() int
- func (m *VerifyScoreRequest) XXX_Unmarshal(b []byte) error
- type VerifyScoreResponse
- func (*VerifyScoreResponse) Descriptor() ([]byte, []int)
- func (m *VerifyScoreResponse) GetSuccess() bool
- func (*VerifyScoreResponse) ProtoMessage()
- func (m *VerifyScoreResponse) Reset()
- func (m *VerifyScoreResponse) String() string
- func (m *VerifyScoreResponse) XXX_DiscardUnknown()
- func (m *VerifyScoreResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VerifyScoreResponse) XXX_Merge(src proto.Message)
- func (m *VerifyScoreResponse) XXX_Size() int
- func (m *VerifyScoreResponse) XXX_Unmarshal(b []byte) error
- type VerifyStateTransitionRequest
- func (*VerifyStateTransitionRequest) Descriptor() ([]byte, []int)
- func (m *VerifyStateTransitionRequest) GetHeight() uint64
- func (m *VerifyStateTransitionRequest) GetSeed() []byte
- func (m *VerifyStateTransitionRequest) GetTxs() []*Transaction
- func (*VerifyStateTransitionRequest) ProtoMessage()
- func (m *VerifyStateTransitionRequest) Reset()
- func (m *VerifyStateTransitionRequest) String() string
- func (m *VerifyStateTransitionRequest) XXX_DiscardUnknown()
- func (m *VerifyStateTransitionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VerifyStateTransitionRequest) XXX_Merge(src proto.Message)
- func (m *VerifyStateTransitionRequest) XXX_Size() int
- func (m *VerifyStateTransitionRequest) XXX_Unmarshal(b []byte) error
- type VerifyStateTransitionResponse
- func (*VerifyStateTransitionResponse) Descriptor() ([]byte, []int)
- func (m *VerifyStateTransitionResponse) GetFailedCalls() []uint64
- func (*VerifyStateTransitionResponse) ProtoMessage()
- func (m *VerifyStateTransitionResponse) Reset()
- func (m *VerifyStateTransitionResponse) String() string
- func (m *VerifyStateTransitionResponse) XXX_DiscardUnknown()
- func (m *VerifyStateTransitionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VerifyStateTransitionResponse) XXX_Merge(src proto.Message)
- func (m *VerifyStateTransitionResponse) XXX_Size() int
- func (m *VerifyStateTransitionResponse) XXX_Unmarshal(b []byte) error
- type ViewKey
- func (*ViewKey) Descriptor() ([]byte, []int)
- func (m *ViewKey) GetA() []byte
- func (m *ViewKey) GetBG() []byte
- func (*ViewKey) ProtoMessage()
- func (m *ViewKey) Reset()
- func (m *ViewKey) String() string
- func (m *ViewKey) XXX_DiscardUnknown()
- func (m *ViewKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ViewKey) XXX_Merge(src proto.Message)
- func (m *ViewKey) XXX_Size() int
- func (m *ViewKey) XXX_Unmarshal(b []byte) error
- type WalletClient
- type WalletMock
- type WalletServer
Constants ¶
This section is empty.
Variables ¶
var Note_NoteType_name = map[int32]string{
0: "TRANSPARENT",
1: "OBFUSCATED",
}
var Note_NoteType_value = map[string]int32{
"TRANSPARENT": 0,
"OBFUSCATED": 1,
}
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 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 RegisterTransactionServiceServer ¶ added in v0.2.13
func RegisterTransactionServiceServer(s *grpc.Server, srv TransactionServiceServer)
func RegisterTransferServer ¶ added in v0.2.12
func RegisterTransferServer(s *grpc.Server, srv TransferServer)
func RegisterWalletServer ¶ added in v0.2.14
func RegisterWalletServer(s *grpc.Server, srv WalletServer)
Types ¶
type BN256Point ¶ added in v0.2.13
type BN256Point struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BN256Point) Descriptor ¶ added in v0.2.13
func (*BN256Point) Descriptor() ([]byte, []int)
func (*BN256Point) GetData ¶ added in v0.2.13
func (m *BN256Point) GetData() []byte
func (*BN256Point) ProtoMessage ¶ added in v0.2.13
func (*BN256Point) ProtoMessage()
func (*BN256Point) Reset ¶ added in v0.2.13
func (m *BN256Point) Reset()
func (*BN256Point) String ¶ added in v0.2.13
func (m *BN256Point) String() string
func (*BN256Point) XXX_DiscardUnknown ¶ added in v0.2.13
func (m *BN256Point) XXX_DiscardUnknown()
func (*BN256Point) XXX_Marshal ¶ added in v0.2.13
func (m *BN256Point) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BN256Point) XXX_Merge ¶ added in v0.2.13
func (m *BN256Point) XXX_Merge(src proto.Message)
func (*BN256Point) XXX_Size ¶ added in v0.2.13
func (m *BN256Point) XXX_Size() int
func (*BN256Point) XXX_Unmarshal ¶ added in v0.2.13
func (m *BN256Point) XXX_Unmarshal(b []byte) error
type Bid ¶ added in v0.2.10
type Bid struct { EncryptedData []byte `protobuf:"bytes,1,opt,name=encrypted_data,json=encryptedData,proto3" json:"encrypted_data,omitempty"` HashedSecret []byte `protobuf:"bytes,2,opt,name=hashed_secret,json=hashedSecret,proto3" json:"hashed_secret,omitempty"` Nonce []byte `protobuf:"bytes,3,opt,name=nonce,proto3" json:"nonce,omitempty"` StealthAddress *StealthAddress `protobuf:"bytes,4,opt,name=stealth_address,json=stealthAddress,proto3" json:"stealth_address,omitempty"` Commitment []byte `protobuf:"bytes,5,opt,name=commitment,proto3" json:"commitment,omitempty"` Elegibility []byte `protobuf:"bytes,6,opt,name=elegibility,proto3" json:"elegibility,omitempty"` Expiration []byte `protobuf:"bytes,7,opt,name=expiration,proto3" json:"expiration,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Bid representation
func (*Bid) Descriptor ¶ added in v0.2.10
func (*Bid) GetCommitment ¶ added in v0.2.10
func (*Bid) GetElegibility ¶ added in v0.2.13
func (*Bid) GetEncryptedData ¶ added in v0.2.10
func (*Bid) GetExpiration ¶ added in v0.2.13
func (*Bid) GetHashedSecret ¶ added in v0.2.10
func (*Bid) GetStealthAddress ¶ added in v0.2.13
func (m *Bid) GetStealthAddress() *StealthAddress
func (*Bid) ProtoMessage ¶ added in v0.2.10
func (*Bid) ProtoMessage()
func (*Bid) XXX_DiscardUnknown ¶ added in v0.2.11
func (m *Bid) XXX_DiscardUnknown()
func (*Bid) XXX_Marshal ¶ added in v0.2.11
func (*Bid) XXX_Unmarshal ¶ added in v0.2.11
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 [][]byte `protobuf:"bytes,2,rep,name=bid_hash_list,json=bidHashList,proto3" json:"bid_hash_list,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BidList) Descriptor ¶ 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) XXX_DiscardUnknown ¶ added in v0.2.4
func (m *BidList) XXX_DiscardUnknown()
func (*BidList) XXX_Marshal ¶ added in v0.2.4
func (*BidList) XXX_Unmarshal ¶ added in v0.2.4
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.ClientConn) BidServiceClient
type BidServiceMock ¶ added in v0.2.11
type BidServiceMock struct{}
func (*BidServiceMock) FindBid ¶ added in v0.2.11
func (m *BidServiceMock) FindBid(ctx context.Context, req *FindBidRequest) (*BidList, error)
func (*BidServiceMock) NewBid ¶ added in v0.2.11
func (m *BidServiceMock) NewBid(ctx context.Context, req *BidTransactionRequest) (*BidTransaction, error)
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 { BidTreeStorageIndex uint64 `protobuf:"varint,1,opt,name=bid_tree_storage_index,json=bidTreeStorageIndex,proto3" json:"bid_tree_storage_index,omitempty"` Tx *Transaction `protobuf:"bytes,2,opt,name=tx,proto3" json:"tx,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BidTransaction) Descriptor ¶ added in v0.2.0
func (*BidTransaction) Descriptor() ([]byte, []int)
func (*BidTransaction) GetBidTreeStorageIndex ¶ added in v0.2.12
func (m *BidTransaction) GetBidTreeStorageIndex() uint64
func (*BidTransaction) GetTx ¶ added in v0.2.0
func (m *BidTransaction) GetTx() *Transaction
func (*BidTransaction) ProtoMessage ¶ added in v0.2.0
func (*BidTransaction) ProtoMessage()
func (*BidTransaction) Reset ¶ added in v0.2.0
func (m *BidTransaction) Reset()
func (*BidTransaction) String ¶ added in v0.2.0
func (m *BidTransaction) String() string
func (*BidTransaction) XXX_DiscardUnknown ¶ added in v0.2.4
func (m *BidTransaction) XXX_DiscardUnknown()
func (*BidTransaction) XXX_Marshal ¶ added in v0.2.4
func (m *BidTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BidTransaction) XXX_Merge ¶ added in v0.2.4
func (m *BidTransaction) XXX_Merge(src proto.Message)
func (*BidTransaction) XXX_Size ¶ added in v0.2.4
func (m *BidTransaction) XXX_Size() int
func (*BidTransaction) XXX_Unmarshal ¶ added in v0.2.4
func (m *BidTransaction) XXX_Unmarshal(b []byte) error
type BidTransactionRequest ¶ added in v0.2.0
type BidTransactionRequest struct { K []byte `protobuf:"bytes,1,opt,name=k,proto3" json:"k,omitempty"` Value uint64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"` Secret []byte `protobuf:"bytes,3,opt,name=secret,proto3" json:"secret,omitempty"` StealthAddress *StealthAddress `protobuf:"bytes,4,opt,name=stealth_address,json=stealthAddress,proto3" json:"stealth_address,omitempty"` Seed []byte `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"` GasLimit uint64 `protobuf:"fixed64,8,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"` GasPrice uint64 `protobuf:"fixed64,9,opt,name=gas_price,json=gasPrice,proto3" json:"gas_price,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Used to Request the creation of a Bid
func (*BidTransactionRequest) Descriptor ¶ added in v0.2.0
func (*BidTransactionRequest) Descriptor() ([]byte, []int)
func (*BidTransactionRequest) GetGasLimit ¶ added in v0.2.13
func (m *BidTransactionRequest) GetGasLimit() uint64
func (*BidTransactionRequest) GetGasPrice ¶ added in v0.2.13
func (m *BidTransactionRequest) GetGasPrice() uint64
func (*BidTransactionRequest) GetK ¶ added in v0.2.0
func (m *BidTransactionRequest) GetK() []byte
func (*BidTransactionRequest) GetLatestConsensusRound ¶ added in v0.2.10
func (m *BidTransactionRequest) GetLatestConsensusRound() uint64
func (*BidTransactionRequest) GetLatestConsensusStep ¶ added in v0.2.10
func (m *BidTransactionRequest) GetLatestConsensusStep() uint64
func (*BidTransactionRequest) GetSecret ¶ added in v0.2.10
func (m *BidTransactionRequest) GetSecret() []byte
func (*BidTransactionRequest) GetSeed ¶ added in v0.2.0
func (m *BidTransactionRequest) GetSeed() []byte
func (*BidTransactionRequest) GetStealthAddress ¶ added in v0.2.13
func (m *BidTransactionRequest) GetStealthAddress() *StealthAddress
func (*BidTransactionRequest) GetValue ¶ added in v0.2.10
func (m *BidTransactionRequest) GetValue() uint64
func (*BidTransactionRequest) ProtoMessage ¶ added in v0.2.0
func (*BidTransactionRequest) ProtoMessage()
func (*BidTransactionRequest) Reset ¶ added in v0.2.0
func (m *BidTransactionRequest) Reset()
func (*BidTransactionRequest) String ¶ added in v0.2.0
func (m *BidTransactionRequest) String() string
func (*BidTransactionRequest) XXX_DiscardUnknown ¶ added in v0.2.4
func (m *BidTransactionRequest) XXX_DiscardUnknown()
func (*BidTransactionRequest) XXX_Marshal ¶ added in v0.2.4
func (m *BidTransactionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BidTransactionRequest) XXX_Merge ¶ added in v0.2.4
func (m *BidTransactionRequest) XXX_Merge(src proto.Message)
func (*BidTransactionRequest) XXX_Size ¶ added in v0.2.4
func (m *BidTransactionRequest) XXX_Size() int
func (*BidTransactionRequest) XXX_Unmarshal ¶ added in v0.2.4
func (m *BidTransactionRequest) XXX_Unmarshal(b []byte) error
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.ClientConn) BlindBidServiceClient
type BlindBidServiceMock ¶ added in v0.2.11
type BlindBidServiceMock struct{}
func (*BlindBidServiceMock) GenerateScore ¶ added in v0.2.11
func (m *BlindBidServiceMock) GenerateScore(ctx context.Context, req *GenerateScoreRequest) (*GenerateScoreResponse, error)
func (*BlindBidServiceMock) VerifyScore ¶ added in v0.2.11
func (m *BlindBidServiceMock) VerifyScore(ctx context.Context, req *VerifyScoreRequest) (*VerifyScoreResponse, error)
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BlsScalar) Descriptor ¶ added in v0.2.10
func (*BlsScalar) ProtoMessage ¶ added in v0.2.10
func (*BlsScalar) ProtoMessage()
func (*BlsScalar) XXX_DiscardUnknown ¶ added in v0.2.11
func (m *BlsScalar) XXX_DiscardUnknown()
func (*BlsScalar) XXX_Marshal ¶ added in v0.2.11
func (*BlsScalar) XXX_Unmarshal ¶ added in v0.2.11
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"` Nonce []byte `protobuf:"bytes,2,opt,name=nonce,proto3" json:"nonce,omitempty"` EncryptedData []byte `protobuf:"bytes,3,opt,name=encrypted_data,json=encryptedData,proto3" json:"encrypted_data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Crossover) Descriptor ¶ 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) XXX_DiscardUnknown ¶ added in v0.2.11
func (m *Crossover) XXX_DiscardUnknown()
func (*Crossover) XXX_Marshal ¶ added in v0.2.11
func (*Crossover) XXX_Unmarshal ¶ added in v0.2.11
type EchoRequest ¶
type EchoRequest struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*EchoRequest) Descriptor ¶
func (*EchoRequest) Descriptor() ([]byte, []int)
func (*EchoRequest) GetMessage ¶ added in v0.2.10
func (m *EchoRequest) GetMessage() string
func (*EchoRequest) ProtoMessage ¶
func (*EchoRequest) ProtoMessage()
func (*EchoRequest) Reset ¶
func (m *EchoRequest) Reset()
func (*EchoRequest) String ¶
func (m *EchoRequest) String() string
func (*EchoRequest) XXX_DiscardUnknown ¶
func (m *EchoRequest) XXX_DiscardUnknown()
func (*EchoRequest) XXX_Marshal ¶
func (m *EchoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EchoRequest) XXX_Merge ¶
func (m *EchoRequest) XXX_Merge(src proto.Message)
func (*EchoRequest) XXX_Size ¶
func (m *EchoRequest) XXX_Size() int
func (*EchoRequest) XXX_Unmarshal ¶
func (m *EchoRequest) XXX_Unmarshal(b []byte) error
type EchoResponse ¶
type EchoResponse struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*EchoResponse) Descriptor ¶
func (*EchoResponse) Descriptor() ([]byte, []int)
func (*EchoResponse) GetMessage ¶ added in v0.2.10
func (m *EchoResponse) GetMessage() string
func (*EchoResponse) ProtoMessage ¶
func (*EchoResponse) ProtoMessage()
func (*EchoResponse) Reset ¶
func (m *EchoResponse) Reset()
func (*EchoResponse) String ¶
func (m *EchoResponse) String() string
func (*EchoResponse) XXX_DiscardUnknown ¶
func (m *EchoResponse) XXX_DiscardUnknown()
func (*EchoResponse) XXX_Marshal ¶
func (m *EchoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EchoResponse) XXX_Merge ¶
func (m *EchoResponse) XXX_Merge(src proto.Message)
func (*EchoResponse) XXX_Size ¶
func (m *EchoResponse) XXX_Size() int
func (*EchoResponse) XXX_Unmarshal ¶
func (m *EchoResponse) XXX_Unmarshal(b []byte) error
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.ClientConn) EchoerClient
type EchoerMock ¶ added in v0.2.11
type EchoerMock struct{}
func (*EchoerMock) Echo ¶ added in v0.2.11
func (m *EchoerMock) Echo(ctx context.Context, req *EchoRequest) (*EchoResponse, error)
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ExecuteStateTransitionRequest) Descriptor ¶
func (*ExecuteStateTransitionRequest) Descriptor() ([]byte, []int)
func (*ExecuteStateTransitionRequest) GetHeight ¶ added in v0.2.8
func (m *ExecuteStateTransitionRequest) GetHeight() uint64
func (*ExecuteStateTransitionRequest) GetSeed ¶ added in v0.2.10
func (m *ExecuteStateTransitionRequest) GetSeed() []byte
func (*ExecuteStateTransitionRequest) GetTxs ¶ added in v0.2.10
func (m *ExecuteStateTransitionRequest) GetTxs() []*Transaction
func (*ExecuteStateTransitionRequest) ProtoMessage ¶
func (*ExecuteStateTransitionRequest) ProtoMessage()
func (*ExecuteStateTransitionRequest) Reset ¶
func (m *ExecuteStateTransitionRequest) Reset()
func (*ExecuteStateTransitionRequest) String ¶
func (m *ExecuteStateTransitionRequest) String() string
func (*ExecuteStateTransitionRequest) XXX_DiscardUnknown ¶
func (m *ExecuteStateTransitionRequest) XXX_DiscardUnknown()
func (*ExecuteStateTransitionRequest) XXX_Marshal ¶
func (m *ExecuteStateTransitionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExecuteStateTransitionRequest) XXX_Merge ¶
func (m *ExecuteStateTransitionRequest) XXX_Merge(src proto.Message)
func (*ExecuteStateTransitionRequest) XXX_Size ¶
func (m *ExecuteStateTransitionRequest) XXX_Size() int
func (*ExecuteStateTransitionRequest) XXX_Unmarshal ¶
func (m *ExecuteStateTransitionRequest) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ExecuteStateTransitionResponse) Descriptor ¶
func (*ExecuteStateTransitionResponse) Descriptor() ([]byte, []int)
func (*ExecuteStateTransitionResponse) GetErrorMessage ¶ added in v0.2.10
func (m *ExecuteStateTransitionResponse) GetErrorMessage() string
func (*ExecuteStateTransitionResponse) GetSuccess ¶ added in v0.2.0
func (m *ExecuteStateTransitionResponse) GetSuccess() bool
func (*ExecuteStateTransitionResponse) ProtoMessage ¶
func (*ExecuteStateTransitionResponse) ProtoMessage()
func (*ExecuteStateTransitionResponse) Reset ¶
func (m *ExecuteStateTransitionResponse) Reset()
func (*ExecuteStateTransitionResponse) String ¶
func (m *ExecuteStateTransitionResponse) String() string
func (*ExecuteStateTransitionResponse) XXX_DiscardUnknown ¶
func (m *ExecuteStateTransitionResponse) XXX_DiscardUnknown()
func (*ExecuteStateTransitionResponse) XXX_Marshal ¶
func (m *ExecuteStateTransitionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExecuteStateTransitionResponse) XXX_Merge ¶
func (m *ExecuteStateTransitionResponse) XXX_Merge(src proto.Message)
func (*ExecuteStateTransitionResponse) XXX_Size ¶
func (m *ExecuteStateTransitionResponse) XXX_Size() int
func (*ExecuteStateTransitionResponse) XXX_Unmarshal ¶
func (m *ExecuteStateTransitionResponse) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Fee) Descriptor ¶ 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 (m *Fee) GetStealthAddress() *StealthAddress
func (*Fee) ProtoMessage ¶ added in v0.2.10
func (*Fee) ProtoMessage()
func (*Fee) XXX_DiscardUnknown ¶ added in v0.2.11
func (m *Fee) XXX_DiscardUnknown()
func (*Fee) XXX_Marshal ¶ added in v0.2.11
func (*Fee) XXX_Unmarshal ¶ added in v0.2.11
type FindBidRequest ¶ added in v0.2.10
type FindBidRequest struct { StealthAddress *StealthAddress `protobuf:"bytes,1,opt,name=stealth_address,json=stealthAddress,proto3" json:"stealth_address,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*FindBidRequest) Descriptor ¶ added in v0.2.10
func (*FindBidRequest) Descriptor() ([]byte, []int)
func (*FindBidRequest) GetStealthAddress ¶ added in v0.2.13
func (m *FindBidRequest) GetStealthAddress() *StealthAddress
func (*FindBidRequest) ProtoMessage ¶ added in v0.2.10
func (*FindBidRequest) ProtoMessage()
func (*FindBidRequest) Reset ¶ added in v0.2.10
func (m *FindBidRequest) Reset()
func (*FindBidRequest) String ¶ added in v0.2.10
func (m *FindBidRequest) String() string
func (*FindBidRequest) XXX_DiscardUnknown ¶ added in v0.2.11
func (m *FindBidRequest) XXX_DiscardUnknown()
func (*FindBidRequest) XXX_Marshal ¶ added in v0.2.11
func (m *FindBidRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FindBidRequest) XXX_Merge ¶ added in v0.2.11
func (m *FindBidRequest) XXX_Merge(src proto.Message)
func (*FindBidRequest) XXX_Size ¶ added in v0.2.11
func (m *FindBidRequest) XXX_Size() int
func (*FindBidRequest) XXX_Unmarshal ¶ added in v0.2.11
func (m *FindBidRequest) XXX_Unmarshal(b []byte) error
type FindStakeRequest ¶ added in v0.2.13
type FindStakeRequest struct { Pk []byte `protobuf:"bytes,1,opt,name=pk,proto3" json:"pk,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*FindStakeRequest) Descriptor ¶ added in v0.2.13
func (*FindStakeRequest) Descriptor() ([]byte, []int)
func (*FindStakeRequest) GetPk ¶ added in v0.2.13
func (m *FindStakeRequest) GetPk() []byte
func (*FindStakeRequest) ProtoMessage ¶ added in v0.2.13
func (*FindStakeRequest) ProtoMessage()
func (*FindStakeRequest) Reset ¶ added in v0.2.13
func (m *FindStakeRequest) Reset()
func (*FindStakeRequest) String ¶ added in v0.2.13
func (m *FindStakeRequest) String() string
func (*FindStakeRequest) XXX_DiscardUnknown ¶ added in v0.2.13
func (m *FindStakeRequest) XXX_DiscardUnknown()
func (*FindStakeRequest) XXX_Marshal ¶ added in v0.2.13
func (m *FindStakeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FindStakeRequest) XXX_Merge ¶ added in v0.2.13
func (m *FindStakeRequest) XXX_Merge(src proto.Message)
func (*FindStakeRequest) XXX_Size ¶ added in v0.2.13
func (m *FindStakeRequest) XXX_Size() int
func (*FindStakeRequest) XXX_Unmarshal ¶ added in v0.2.13
func (m *FindStakeRequest) XXX_Unmarshal(b []byte) error
type FindStakeResponse ¶ added in v0.2.13
type FindStakeResponse struct { Stakes []*Stake `protobuf:"bytes,1,rep,name=stakes,proto3" json:"stakes,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*FindStakeResponse) Descriptor ¶ added in v0.2.13
func (*FindStakeResponse) Descriptor() ([]byte, []int)
func (*FindStakeResponse) GetStakes ¶ added in v0.2.13
func (m *FindStakeResponse) GetStakes() []*Stake
func (*FindStakeResponse) ProtoMessage ¶ added in v0.2.13
func (*FindStakeResponse) ProtoMessage()
func (*FindStakeResponse) Reset ¶ added in v0.2.13
func (m *FindStakeResponse) Reset()
func (*FindStakeResponse) String ¶ added in v0.2.13
func (m *FindStakeResponse) String() string
func (*FindStakeResponse) XXX_DiscardUnknown ¶ added in v0.2.13
func (m *FindStakeResponse) XXX_DiscardUnknown()
func (*FindStakeResponse) XXX_Marshal ¶ added in v0.2.13
func (m *FindStakeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FindStakeResponse) XXX_Merge ¶ added in v0.2.13
func (m *FindStakeResponse) XXX_Merge(src proto.Message)
func (*FindStakeResponse) XXX_Size ¶ added in v0.2.13
func (m *FindStakeResponse) XXX_Size() int
func (*FindStakeResponse) XXX_Unmarshal ¶ added in v0.2.13
func (m *FindStakeResponse) XXX_Unmarshal(b []byte) error
type GenerateKeysRequest ¶ added in v0.2.10
type GenerateKeysRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GenerateKeysRequest) Descriptor ¶ added in v0.2.10
func (*GenerateKeysRequest) Descriptor() ([]byte, []int)
func (*GenerateKeysRequest) ProtoMessage ¶ added in v0.2.10
func (*GenerateKeysRequest) ProtoMessage()
func (*GenerateKeysRequest) Reset ¶ added in v0.2.10
func (m *GenerateKeysRequest) Reset()
func (*GenerateKeysRequest) String ¶ added in v0.2.10
func (m *GenerateKeysRequest) String() string
func (*GenerateKeysRequest) XXX_DiscardUnknown ¶ added in v0.2.11
func (m *GenerateKeysRequest) XXX_DiscardUnknown()
func (*GenerateKeysRequest) XXX_Marshal ¶ added in v0.2.11
func (m *GenerateKeysRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenerateKeysRequest) XXX_Merge ¶ added in v0.2.11
func (m *GenerateKeysRequest) XXX_Merge(src proto.Message)
func (*GenerateKeysRequest) XXX_Size ¶ added in v0.2.11
func (m *GenerateKeysRequest) XXX_Size() int
func (*GenerateKeysRequest) XXX_Unmarshal ¶ added in v0.2.11
func (m *GenerateKeysRequest) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GenerateKeysResponse) Descriptor ¶ added in v0.2.10
func (*GenerateKeysResponse) Descriptor() ([]byte, []int)
func (*GenerateKeysResponse) GetPk ¶ added in v0.2.10
func (m *GenerateKeysResponse) GetPk() *PublicKey
func (*GenerateKeysResponse) GetSk ¶ added in v0.2.10
func (m *GenerateKeysResponse) GetSk() *SecretKey
func (*GenerateKeysResponse) GetVk ¶ added in v0.2.10
func (m *GenerateKeysResponse) GetVk() *ViewKey
func (*GenerateKeysResponse) ProtoMessage ¶ added in v0.2.10
func (*GenerateKeysResponse) ProtoMessage()
func (*GenerateKeysResponse) Reset ¶ added in v0.2.10
func (m *GenerateKeysResponse) Reset()
func (*GenerateKeysResponse) String ¶ added in v0.2.10
func (m *GenerateKeysResponse) String() string
func (*GenerateKeysResponse) XXX_DiscardUnknown ¶ added in v0.2.11
func (m *GenerateKeysResponse) XXX_DiscardUnknown()
func (*GenerateKeysResponse) XXX_Marshal ¶ added in v0.2.11
func (m *GenerateKeysResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenerateKeysResponse) XXX_Merge ¶ added in v0.2.11
func (m *GenerateKeysResponse) XXX_Merge(src proto.Message)
func (*GenerateKeysResponse) XXX_Size ¶ added in v0.2.11
func (m *GenerateKeysResponse) XXX_Size() int
func (*GenerateKeysResponse) XXX_Unmarshal ¶ added in v0.2.11
func (m *GenerateKeysResponse) XXX_Unmarshal(b []byte) error
type GenerateScoreRequest ¶
type GenerateScoreRequest struct { K []byte `protobuf:"bytes,1,opt,name=k,proto3" json:"k,omitempty"` Seed []byte `protobuf:"bytes,2,opt,name=seed,proto3" json:"seed,omitempty"` Secret []byte `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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GenerateScoreRequest) Descriptor ¶
func (*GenerateScoreRequest) Descriptor() ([]byte, []int)
func (*GenerateScoreRequest) GetIndexStoredBid ¶ added in v0.2.10
func (m *GenerateScoreRequest) GetIndexStoredBid() uint64
func (*GenerateScoreRequest) GetK ¶
func (m *GenerateScoreRequest) GetK() []byte
func (*GenerateScoreRequest) GetRound ¶ added in v0.2.0
func (m *GenerateScoreRequest) GetRound() uint32
func (*GenerateScoreRequest) GetSecret ¶ added in v0.2.10
func (m *GenerateScoreRequest) GetSecret() []byte
func (*GenerateScoreRequest) GetSeed ¶
func (m *GenerateScoreRequest) GetSeed() []byte
func (*GenerateScoreRequest) GetStep ¶ added in v0.2.0
func (m *GenerateScoreRequest) GetStep() uint32
func (*GenerateScoreRequest) ProtoMessage ¶
func (*GenerateScoreRequest) ProtoMessage()
func (*GenerateScoreRequest) Reset ¶
func (m *GenerateScoreRequest) Reset()
func (*GenerateScoreRequest) String ¶
func (m *GenerateScoreRequest) String() string
func (*GenerateScoreRequest) XXX_DiscardUnknown ¶
func (m *GenerateScoreRequest) XXX_DiscardUnknown()
func (*GenerateScoreRequest) XXX_Marshal ¶
func (m *GenerateScoreRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenerateScoreRequest) XXX_Merge ¶
func (m *GenerateScoreRequest) XXX_Merge(src proto.Message)
func (*GenerateScoreRequest) XXX_Size ¶
func (m *GenerateScoreRequest) XXX_Size() int
func (*GenerateScoreRequest) XXX_Unmarshal ¶
func (m *GenerateScoreRequest) XXX_Unmarshal(b []byte) error
type GenerateScoreResponse ¶
type GenerateScoreResponse struct { BlindbidProof []byte `protobuf:"bytes,1,opt,name=blindbid_proof,json=blindbidProof,proto3" json:"blindbid_proof,omitempty"` Score []byte `protobuf:"bytes,2,opt,name=score,proto3" json:"score,omitempty"` ProverIdentity []byte `protobuf:"bytes,4,opt,name=prover_identity,json=proverIdentity,proto3" json:"prover_identity,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GenerateScoreResponse) Descriptor ¶
func (*GenerateScoreResponse) Descriptor() ([]byte, []int)
func (*GenerateScoreResponse) GetBlindbidProof ¶ added in v0.2.10
func (m *GenerateScoreResponse) GetBlindbidProof() []byte
func (*GenerateScoreResponse) GetProverIdentity ¶ added in v0.2.10
func (m *GenerateScoreResponse) GetProverIdentity() []byte
func (*GenerateScoreResponse) GetScore ¶
func (m *GenerateScoreResponse) GetScore() []byte
func (*GenerateScoreResponse) ProtoMessage ¶
func (*GenerateScoreResponse) ProtoMessage()
func (*GenerateScoreResponse) Reset ¶
func (m *GenerateScoreResponse) Reset()
func (*GenerateScoreResponse) String ¶
func (m *GenerateScoreResponse) String() string
func (*GenerateScoreResponse) XXX_DiscardUnknown ¶
func (m *GenerateScoreResponse) XXX_DiscardUnknown()
func (*GenerateScoreResponse) XXX_Marshal ¶
func (m *GenerateScoreResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenerateScoreResponse) XXX_Merge ¶
func (m *GenerateScoreResponse) XXX_Merge(src proto.Message)
func (*GenerateScoreResponse) XXX_Size ¶
func (m *GenerateScoreResponse) XXX_Size() int
func (*GenerateScoreResponse) XXX_Unmarshal ¶
func (m *GenerateScoreResponse) XXX_Unmarshal(b []byte) error
type GetBalanceRequest ¶ added in v0.2.0
type GetBalanceRequest struct { Vk *ViewKey `protobuf:"bytes,1,opt,name=vk,proto3" json:"vk,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetBalanceRequest) Descriptor ¶ added in v0.2.0
func (*GetBalanceRequest) Descriptor() ([]byte, []int)
func (*GetBalanceRequest) GetVk ¶ added in v0.2.0
func (m *GetBalanceRequest) GetVk() *ViewKey
func (*GetBalanceRequest) ProtoMessage ¶ added in v0.2.0
func (*GetBalanceRequest) ProtoMessage()
func (*GetBalanceRequest) Reset ¶ added in v0.2.0
func (m *GetBalanceRequest) Reset()
func (*GetBalanceRequest) String ¶ added in v0.2.0
func (m *GetBalanceRequest) String() string
func (*GetBalanceRequest) XXX_DiscardUnknown ¶ added in v0.2.4
func (m *GetBalanceRequest) XXX_DiscardUnknown()
func (*GetBalanceRequest) XXX_Marshal ¶ added in v0.2.4
func (m *GetBalanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBalanceRequest) XXX_Merge ¶ added in v0.2.4
func (m *GetBalanceRequest) XXX_Merge(src proto.Message)
func (*GetBalanceRequest) XXX_Size ¶ added in v0.2.4
func (m *GetBalanceRequest) XXX_Size() int
func (*GetBalanceRequest) XXX_Unmarshal ¶ added in v0.2.4
func (m *GetBalanceRequest) XXX_Unmarshal(b []byte) error
type GetBalanceResponse ¶ added in v0.2.0
type GetBalanceResponse struct { Balance uint64 `protobuf:"fixed64,1,opt,name=balance,proto3" json:"balance,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetBalanceResponse) Descriptor ¶ added in v0.2.0
func (*GetBalanceResponse) Descriptor() ([]byte, []int)
func (*GetBalanceResponse) GetBalance ¶ added in v0.2.0
func (m *GetBalanceResponse) GetBalance() uint64
func (*GetBalanceResponse) ProtoMessage ¶ added in v0.2.0
func (*GetBalanceResponse) ProtoMessage()
func (*GetBalanceResponse) Reset ¶ added in v0.2.0
func (m *GetBalanceResponse) Reset()
func (*GetBalanceResponse) String ¶ added in v0.2.0
func (m *GetBalanceResponse) String() string
func (*GetBalanceResponse) XXX_DiscardUnknown ¶ added in v0.2.4
func (m *GetBalanceResponse) XXX_DiscardUnknown()
func (*GetBalanceResponse) XXX_Marshal ¶ added in v0.2.4
func (m *GetBalanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBalanceResponse) XXX_Merge ¶ added in v0.2.4
func (m *GetBalanceResponse) XXX_Merge(src proto.Message)
func (*GetBalanceResponse) XXX_Size ¶ added in v0.2.4
func (m *GetBalanceResponse) XXX_Size() int
func (*GetBalanceResponse) XXX_Unmarshal ¶ added in v0.2.4
func (m *GetBalanceResponse) XXX_Unmarshal(b []byte) error
type GetProvisionersRequest ¶ added in v0.2.10
type GetProvisionersRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetProvisionersRequest) Descriptor ¶ added in v0.2.10
func (*GetProvisionersRequest) Descriptor() ([]byte, []int)
func (*GetProvisionersRequest) ProtoMessage ¶ added in v0.2.10
func (*GetProvisionersRequest) ProtoMessage()
func (*GetProvisionersRequest) Reset ¶ added in v0.2.10
func (m *GetProvisionersRequest) Reset()
func (*GetProvisionersRequest) String ¶ added in v0.2.10
func (m *GetProvisionersRequest) String() string
func (*GetProvisionersRequest) XXX_DiscardUnknown ¶ added in v0.2.11
func (m *GetProvisionersRequest) XXX_DiscardUnknown()
func (*GetProvisionersRequest) XXX_Marshal ¶ added in v0.2.11
func (m *GetProvisionersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetProvisionersRequest) XXX_Merge ¶ added in v0.2.11
func (m *GetProvisionersRequest) XXX_Merge(src proto.Message)
func (*GetProvisionersRequest) XXX_Size ¶ added in v0.2.11
func (m *GetProvisionersRequest) XXX_Size() int
func (*GetProvisionersRequest) XXX_Unmarshal ¶ added in v0.2.11
func (m *GetProvisionersRequest) XXX_Unmarshal(b []byte) error
type GetProvisionersResponse ¶ added in v0.2.10
type GetProvisionersResponse struct { Provisioners []*Provisioner `protobuf:"bytes,1,rep,name=provisioners,proto3" json:"provisioners,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetProvisionersResponse) Descriptor ¶ added in v0.2.10
func (*GetProvisionersResponse) Descriptor() ([]byte, []int)
func (*GetProvisionersResponse) GetProvisioners ¶ added in v0.2.10
func (m *GetProvisionersResponse) GetProvisioners() []*Provisioner
func (*GetProvisionersResponse) ProtoMessage ¶ added in v0.2.10
func (*GetProvisionersResponse) ProtoMessage()
func (*GetProvisionersResponse) Reset ¶ added in v0.2.10
func (m *GetProvisionersResponse) Reset()
func (*GetProvisionersResponse) String ¶ added in v0.2.10
func (m *GetProvisionersResponse) String() string
func (*GetProvisionersResponse) XXX_DiscardUnknown ¶ added in v0.2.11
func (m *GetProvisionersResponse) XXX_DiscardUnknown()
func (*GetProvisionersResponse) XXX_Marshal ¶ added in v0.2.11
func (m *GetProvisionersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetProvisionersResponse) XXX_Merge ¶ added in v0.2.11
func (m *GetProvisionersResponse) XXX_Merge(src proto.Message)
func (*GetProvisionersResponse) XXX_Size ¶ added in v0.2.11
func (m *GetProvisionersResponse) XXX_Size() int
func (*GetProvisionersResponse) XXX_Unmarshal ¶ added in v0.2.11
func (m *GetProvisionersResponse) XXX_Unmarshal(b []byte) error
type GetWalletBalanceResponse ¶ added in v0.2.14
type GetWalletBalanceResponse struct { UnlockedBalance uint64 `protobuf:"fixed64,1,opt,name=unlocked_balance,json=unlockedBalance,proto3" json:"unlocked_balance,omitempty"` LockedBalance uint64 `protobuf:"fixed64,2,opt,name=locked_balance,json=lockedBalance,proto3" json:"locked_balance,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetWalletBalanceResponse) Descriptor ¶ added in v0.2.14
func (*GetWalletBalanceResponse) Descriptor() ([]byte, []int)
func (*GetWalletBalanceResponse) GetLockedBalance ¶ added in v0.2.14
func (m *GetWalletBalanceResponse) GetLockedBalance() uint64
func (*GetWalletBalanceResponse) GetUnlockedBalance ¶ added in v0.2.14
func (m *GetWalletBalanceResponse) GetUnlockedBalance() uint64
func (*GetWalletBalanceResponse) ProtoMessage ¶ added in v0.2.14
func (*GetWalletBalanceResponse) ProtoMessage()
func (*GetWalletBalanceResponse) Reset ¶ added in v0.2.14
func (m *GetWalletBalanceResponse) Reset()
func (*GetWalletBalanceResponse) String ¶ added in v0.2.14
func (m *GetWalletBalanceResponse) String() string
func (*GetWalletBalanceResponse) XXX_DiscardUnknown ¶ added in v0.2.14
func (m *GetWalletBalanceResponse) XXX_DiscardUnknown()
func (*GetWalletBalanceResponse) XXX_Marshal ¶ added in v0.2.14
func (m *GetWalletBalanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetWalletBalanceResponse) XXX_Merge ¶ added in v0.2.14
func (m *GetWalletBalanceResponse) XXX_Merge(src proto.Message)
func (*GetWalletBalanceResponse) XXX_Size ¶ added in v0.2.14
func (m *GetWalletBalanceResponse) XXX_Size() int
func (*GetWalletBalanceResponse) XXX_Unmarshal ¶ added in v0.2.14
func (m *GetWalletBalanceResponse) XXX_Unmarshal(b []byte) error
type GetWithdrawalTimeResponse ¶ added in v0.2.13
type GetWithdrawalTimeResponse struct { Height uint64 `protobuf:"fixed64,1,opt,name=height,proto3" json:"height,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetWithdrawalTimeResponse) Descriptor ¶ added in v0.2.13
func (*GetWithdrawalTimeResponse) Descriptor() ([]byte, []int)
func (*GetWithdrawalTimeResponse) GetHeight ¶ added in v0.2.13
func (m *GetWithdrawalTimeResponse) GetHeight() uint64
func (*GetWithdrawalTimeResponse) ProtoMessage ¶ added in v0.2.13
func (*GetWithdrawalTimeResponse) ProtoMessage()
func (*GetWithdrawalTimeResponse) Reset ¶ added in v0.2.13
func (m *GetWithdrawalTimeResponse) Reset()
func (*GetWithdrawalTimeResponse) String ¶ added in v0.2.13
func (m *GetWithdrawalTimeResponse) String() string
func (*GetWithdrawalTimeResponse) XXX_DiscardUnknown ¶ added in v0.2.13
func (m *GetWithdrawalTimeResponse) XXX_DiscardUnknown()
func (*GetWithdrawalTimeResponse) XXX_Marshal ¶ added in v0.2.13
func (m *GetWithdrawalTimeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetWithdrawalTimeResponse) XXX_Merge ¶ added in v0.2.13
func (m *GetWithdrawalTimeResponse) XXX_Merge(src proto.Message)
func (*GetWithdrawalTimeResponse) XXX_Size ¶ added in v0.2.13
func (m *GetWithdrawalTimeResponse) XXX_Size() int
func (*GetWithdrawalTimeResponse) XXX_Unmarshal ¶ added in v0.2.13
func (m *GetWithdrawalTimeResponse) XXX_Unmarshal(b []byte) error
type JubJubCompressed ¶ added in v0.2.10
type JubJubCompressed struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*JubJubCompressed) Descriptor ¶ added in v0.2.10
func (*JubJubCompressed) Descriptor() ([]byte, []int)
func (*JubJubCompressed) GetData ¶ added in v0.2.10
func (m *JubJubCompressed) GetData() []byte
func (*JubJubCompressed) ProtoMessage ¶ added in v0.2.10
func (*JubJubCompressed) ProtoMessage()
func (*JubJubCompressed) Reset ¶ added in v0.2.10
func (m *JubJubCompressed) Reset()
func (*JubJubCompressed) String ¶ added in v0.2.10
func (m *JubJubCompressed) String() string
func (*JubJubCompressed) XXX_DiscardUnknown ¶ added in v0.2.11
func (m *JubJubCompressed) XXX_DiscardUnknown()
func (*JubJubCompressed) XXX_Marshal ¶ added in v0.2.11
func (m *JubJubCompressed) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*JubJubCompressed) XXX_Merge ¶ added in v0.2.11
func (m *JubJubCompressed) XXX_Merge(src proto.Message)
func (*JubJubCompressed) XXX_Size ¶ added in v0.2.11
func (m *JubJubCompressed) XXX_Size() int
func (*JubJubCompressed) XXX_Unmarshal ¶ added in v0.2.11
func (m *JubJubCompressed) XXX_Unmarshal(b []byte) error
type JubJubScalar ¶ added in v0.2.10
type JubJubScalar struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*JubJubScalar) Descriptor ¶ added in v0.2.10
func (*JubJubScalar) Descriptor() ([]byte, []int)
func (*JubJubScalar) GetData ¶ added in v0.2.10
func (m *JubJubScalar) GetData() []byte
func (*JubJubScalar) ProtoMessage ¶ added in v0.2.10
func (*JubJubScalar) ProtoMessage()
func (*JubJubScalar) Reset ¶ added in v0.2.10
func (m *JubJubScalar) Reset()
func (*JubJubScalar) String ¶ added in v0.2.10
func (m *JubJubScalar) String() string
func (*JubJubScalar) XXX_DiscardUnknown ¶ added in v0.2.11
func (m *JubJubScalar) XXX_DiscardUnknown()
func (*JubJubScalar) XXX_Marshal ¶ added in v0.2.11
func (m *JubJubScalar) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*JubJubScalar) XXX_Merge ¶ added in v0.2.11
func (m *JubJubScalar) XXX_Merge(src proto.Message)
func (*JubJubScalar) XXX_Size ¶ added in v0.2.11
func (m *JubJubScalar) XXX_Size() int
func (*JubJubScalar) XXX_Unmarshal ¶ added in v0.2.11
func (m *JubJubScalar) XXX_Unmarshal(b []byte) error
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.ClientConn) KeysClient
type KeysMock ¶ added in v0.2.11
type KeysMock struct{}
func (*KeysMock) GenerateKeys ¶ added in v0.2.11
func (m *KeysMock) GenerateKeys(ctx context.Context, req *GenerateKeysRequest) (*GenerateKeysResponse, error)
func (*KeysMock) GenerateStealthAddress ¶ added in v0.2.11
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 { 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"` Nonce []byte `protobuf:"bytes,3,opt,name=nonce,proto3" json:"nonce,omitempty"` 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Note) Descriptor ¶
func (*Note) GetEncryptedData ¶ added in v0.2.13
func (*Note) GetNoteType ¶
func (m *Note) GetNoteType() Note_NoteType
func (*Note) GetStealthAddress ¶ added in v0.2.13
func (m *Note) GetStealthAddress() *StealthAddress
func (*Note) GetValueCommitment ¶
func (*Note) ProtoMessage ¶
func (*Note) ProtoMessage()
func (*Note) XXX_DiscardUnknown ¶
func (m *Note) XXX_DiscardUnknown()
func (*Note) XXX_Unmarshal ¶
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) EnumDescriptor ¶ added in v0.2.13
func (Note_NoteType) EnumDescriptor() ([]byte, []int)
func (Note_NoteType) String ¶ added in v0.2.13
func (x Note_NoteType) String() string
type PoseidonCipher ¶ added in v0.2.10
type PoseidonCipher struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PoseidonCipher) Descriptor ¶ added in v0.2.10
func (*PoseidonCipher) Descriptor() ([]byte, []int)
func (*PoseidonCipher) GetData ¶ added in v0.2.10
func (m *PoseidonCipher) GetData() []byte
func (*PoseidonCipher) ProtoMessage ¶ added in v0.2.10
func (*PoseidonCipher) ProtoMessage()
func (*PoseidonCipher) Reset ¶ added in v0.2.10
func (m *PoseidonCipher) Reset()
func (*PoseidonCipher) String ¶ added in v0.2.10
func (m *PoseidonCipher) String() string
func (*PoseidonCipher) XXX_DiscardUnknown ¶ added in v0.2.11
func (m *PoseidonCipher) XXX_DiscardUnknown()
func (*PoseidonCipher) XXX_Marshal ¶ added in v0.2.11
func (m *PoseidonCipher) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PoseidonCipher) XXX_Merge ¶ added in v0.2.11
func (m *PoseidonCipher) XXX_Merge(src proto.Message)
func (*PoseidonCipher) XXX_Size ¶ added in v0.2.11
func (m *PoseidonCipher) XXX_Size() int
func (*PoseidonCipher) XXX_Unmarshal ¶ added in v0.2.11
func (m *PoseidonCipher) XXX_Unmarshal(b []byte) error
type Proof ¶ added in v0.2.10
type Proof struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Proof) Descriptor ¶ added in v0.2.10
func (*Proof) ProtoMessage ¶ added in v0.2.10
func (*Proof) ProtoMessage()
func (*Proof) XXX_DiscardUnknown ¶ added in v0.2.11
func (m *Proof) XXX_DiscardUnknown()
func (*Proof) XXX_Marshal ¶ added in v0.2.11
func (*Proof) XXX_Unmarshal ¶ added in v0.2.11
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Provisioner) Descriptor ¶ added in v0.2.0
func (*Provisioner) Descriptor() ([]byte, []int)
func (*Provisioner) GetPublicKeyBls ¶ added in v0.2.10
func (m *Provisioner) GetPublicKeyBls() []byte
func (*Provisioner) GetStakes ¶ added in v0.2.0
func (m *Provisioner) GetStakes() []*Stake
func (*Provisioner) ProtoMessage ¶ added in v0.2.0
func (*Provisioner) ProtoMessage()
func (*Provisioner) Reset ¶ added in v0.2.0
func (m *Provisioner) Reset()
func (*Provisioner) String ¶ added in v0.2.0
func (m *Provisioner) String() string
func (*Provisioner) XXX_DiscardUnknown ¶ added in v0.2.4
func (m *Provisioner) XXX_DiscardUnknown()
func (*Provisioner) XXX_Marshal ¶ added in v0.2.4
func (m *Provisioner) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Provisioner) XXX_Merge ¶ added in v0.2.4
func (m *Provisioner) XXX_Merge(src proto.Message)
func (*Provisioner) XXX_Size ¶ added in v0.2.4
func (m *Provisioner) XXX_Size() int
func (*Provisioner) XXX_Unmarshal ¶ added in v0.2.4
func (m *Provisioner) XXX_Unmarshal(b []byte) error
type PublicKey ¶
type PublicKey struct { AG []byte `protobuf:"bytes,1,opt,name=a_g,json=aG,proto3" json:"a_g,omitempty"` BG []byte `protobuf:"bytes,2,opt,name=b_g,json=bG,proto3" json:"b_g,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PublicKey) Descriptor ¶
func (*PublicKey) ProtoMessage ¶
func (*PublicKey) ProtoMessage()
func (*PublicKey) XXX_DiscardUnknown ¶
func (m *PublicKey) XXX_DiscardUnknown()
func (*PublicKey) XXX_Marshal ¶
func (*PublicKey) XXX_Unmarshal ¶
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.ClientConn) RewardClient
type RewardMock ¶ added in v0.2.13
type RewardMock struct{}
func (*RewardMock) GetBalance ¶ added in v0.2.13
func (m *RewardMock) GetBalance(ctx context.Context, req *BN256Point) (*GetBalanceResponse, error)
func (*RewardMock) GetWithdrawalTime ¶ added in v0.2.13
func (m *RewardMock) GetWithdrawalTime(ctx context.Context, req *BN256Point) (*GetWithdrawalTimeResponse, error)
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 { A []byte `protobuf:"bytes,1,opt,name=a,proto3" json:"a,omitempty"` B []byte `protobuf:"bytes,2,opt,name=b,proto3" json:"b,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SecretKey) Descriptor ¶
func (*SecretKey) ProtoMessage ¶
func (*SecretKey) ProtoMessage()
func (*SecretKey) XXX_DiscardUnknown ¶
func (m *SecretKey) XXX_DiscardUnknown()
func (*SecretKey) XXX_Marshal ¶
func (*SecretKey) XXX_Unmarshal ¶
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Stake) Descriptor ¶ 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) XXX_DiscardUnknown ¶ added in v0.2.4
func (m *Stake) XXX_DiscardUnknown()
func (*Stake) XXX_Marshal ¶ added in v0.2.4
func (*Stake) XXX_Unmarshal ¶ added in v0.2.4
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.ClientConn) StakeServiceClient
type StakeServiceMock ¶ added in v0.2.12
type StakeServiceMock struct{}
func (*StakeServiceMock) FindStake ¶ added in v0.2.13
func (m *StakeServiceMock) FindStake(ctx context.Context, req *FindStakeRequest) (*FindStakeResponse, error)
func (*StakeServiceMock) NewStake ¶ added in v0.2.12
func (m *StakeServiceMock) NewStake(ctx context.Context, req *StakeTransactionRequest) (*Transaction, error)
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"` 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StakeTransactionRequest) Descriptor ¶ added in v0.2.0
func (*StakeTransactionRequest) Descriptor() ([]byte, []int)
func (*StakeTransactionRequest) GetGasLimit ¶ added in v0.2.13
func (m *StakeTransactionRequest) GetGasLimit() uint64
func (*StakeTransactionRequest) GetGasPrice ¶ added in v0.2.13
func (m *StakeTransactionRequest) GetGasPrice() uint64
func (*StakeTransactionRequest) GetPublicKeyBls ¶ added in v0.2.12
func (m *StakeTransactionRequest) GetPublicKeyBls() []byte
func (*StakeTransactionRequest) GetValue ¶ added in v0.2.12
func (m *StakeTransactionRequest) GetValue() uint64
func (*StakeTransactionRequest) ProtoMessage ¶ added in v0.2.0
func (*StakeTransactionRequest) ProtoMessage()
func (*StakeTransactionRequest) Reset ¶ added in v0.2.0
func (m *StakeTransactionRequest) Reset()
func (*StakeTransactionRequest) String ¶ added in v0.2.0
func (m *StakeTransactionRequest) String() string
func (*StakeTransactionRequest) XXX_DiscardUnknown ¶ added in v0.2.4
func (m *StakeTransactionRequest) XXX_DiscardUnknown()
func (*StakeTransactionRequest) XXX_Marshal ¶ added in v0.2.4
func (m *StakeTransactionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StakeTransactionRequest) XXX_Merge ¶ added in v0.2.4
func (m *StakeTransactionRequest) XXX_Merge(src proto.Message)
func (*StakeTransactionRequest) XXX_Size ¶ added in v0.2.4
func (m *StakeTransactionRequest) XXX_Size() int
func (*StakeTransactionRequest) XXX_Unmarshal ¶ added in v0.2.4
func (m *StakeTransactionRequest) XXX_Unmarshal(b []byte) error
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.ClientConn) StateClient
type StateMock ¶ added in v0.2.11
type StateMock struct{}
func (*StateMock) ExecuteStateTransition ¶ added in v0.2.11
func (m *StateMock) ExecuteStateTransition(ctx context.Context, req *ExecuteStateTransitionRequest) (*ExecuteStateTransitionResponse, error)
func (*StateMock) GetProvisioners ¶ added in v0.2.11
func (m *StateMock) GetProvisioners(ctx context.Context, req *GetProvisionersRequest) (*GetProvisionersResponse, error)
func (*StateMock) VerifyStateTransition ¶ added in v0.2.11
func (m *StateMock) VerifyStateTransition(ctx context.Context, req *VerifyStateTransitionRequest) (*VerifyStateTransitionResponse, error)
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 []byte `protobuf:"bytes,1,opt,name=r_g,json=rG,proto3" json:"r_g,omitempty"` PkR []byte `protobuf:"bytes,2,opt,name=pk_r,json=pkR,proto3" json:"pk_r,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StealthAddress) Descriptor ¶ added in v0.2.10
func (*StealthAddress) Descriptor() ([]byte, []int)
func (*StealthAddress) GetPkR ¶ added in v0.2.10
func (m *StealthAddress) GetPkR() []byte
func (*StealthAddress) GetRG ¶ added in v0.2.10
func (m *StealthAddress) GetRG() []byte
func (*StealthAddress) ProtoMessage ¶ added in v0.2.10
func (*StealthAddress) ProtoMessage()
func (*StealthAddress) Reset ¶ added in v0.2.10
func (m *StealthAddress) Reset()
func (*StealthAddress) String ¶ added in v0.2.10
func (m *StealthAddress) String() string
func (*StealthAddress) XXX_DiscardUnknown ¶ added in v0.2.11
func (m *StealthAddress) XXX_DiscardUnknown()
func (*StealthAddress) XXX_Marshal ¶ added in v0.2.11
func (m *StealthAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StealthAddress) XXX_Merge ¶ added in v0.2.11
func (m *StealthAddress) XXX_Merge(src proto.Message)
func (*StealthAddress) XXX_Size ¶ added in v0.2.11
func (m *StealthAddress) XXX_Size() int
func (*StealthAddress) XXX_Unmarshal ¶ added in v0.2.11
func (m *StealthAddress) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Transaction) Descriptor ¶
func (*Transaction) Descriptor() ([]byte, []int)
func (*Transaction) GetPayload ¶ added in v0.2.13
func (m *Transaction) GetPayload() []byte
func (*Transaction) GetType ¶ added in v0.2.10
func (m *Transaction) GetType() uint32
func (*Transaction) GetVersion ¶ added in v0.2.10
func (m *Transaction) GetVersion() uint32
func (*Transaction) ProtoMessage ¶
func (*Transaction) ProtoMessage()
func (*Transaction) Reset ¶
func (m *Transaction) Reset()
func (*Transaction) String ¶
func (m *Transaction) String() string
func (*Transaction) XXX_DiscardUnknown ¶
func (m *Transaction) XXX_DiscardUnknown()
func (*Transaction) XXX_Marshal ¶
func (m *Transaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Transaction) XXX_Merge ¶
func (m *Transaction) XXX_Merge(src proto.Message)
func (*Transaction) XXX_Size ¶
func (m *Transaction) XXX_Size() int
func (*Transaction) XXX_Unmarshal ¶
func (m *Transaction) XXX_Unmarshal(b []byte) error
type TransactionRequest ¶ added in v0.2.13
type TransactionRequest struct { ContractAddress []byte `protobuf:"bytes,1,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` OpCode uint32 `protobuf:"varint,2,opt,name=op_code,json=opCode,proto3" json:"op_code,omitempty"` Arguments []byte `protobuf:"bytes,3,opt,name=arguments,proto3" json:"arguments,omitempty"` Fee *Fee `protobuf:"bytes,4,opt,name=fee,proto3" json:"fee,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TransactionRequest) Descriptor ¶ added in v0.2.13
func (*TransactionRequest) Descriptor() ([]byte, []int)
func (*TransactionRequest) GetArguments ¶ added in v0.2.13
func (m *TransactionRequest) GetArguments() []byte
func (*TransactionRequest) GetContractAddress ¶ added in v0.2.13
func (m *TransactionRequest) GetContractAddress() []byte
func (*TransactionRequest) GetFee ¶ added in v0.2.13
func (m *TransactionRequest) GetFee() *Fee
func (*TransactionRequest) GetOpCode ¶ added in v0.2.13
func (m *TransactionRequest) GetOpCode() uint32
func (*TransactionRequest) ProtoMessage ¶ added in v0.2.13
func (*TransactionRequest) ProtoMessage()
func (*TransactionRequest) Reset ¶ added in v0.2.13
func (m *TransactionRequest) Reset()
func (*TransactionRequest) String ¶ added in v0.2.13
func (m *TransactionRequest) String() string
func (*TransactionRequest) XXX_DiscardUnknown ¶ added in v0.2.13
func (m *TransactionRequest) XXX_DiscardUnknown()
func (*TransactionRequest) XXX_Marshal ¶ added in v0.2.13
func (m *TransactionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TransactionRequest) XXX_Merge ¶ added in v0.2.13
func (m *TransactionRequest) XXX_Merge(src proto.Message)
func (*TransactionRequest) XXX_Size ¶ added in v0.2.13
func (m *TransactionRequest) XXX_Size() int
func (*TransactionRequest) XXX_Unmarshal ¶ added in v0.2.13
func (m *TransactionRequest) XXX_Unmarshal(b []byte) error
type TransactionServiceClient ¶ added in v0.2.13
type TransactionServiceClient interface { // A generic method to create a transaction which requires // no special fields (no crossover, outputs, or specific proofs). NewTransaction(ctx context.Context, in *TransactionRequest, opts ...grpc.CallOption) (*Transaction, error) }
TransactionServiceClient is the client API for TransactionService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewTransactionServiceClient ¶ added in v0.2.13
func NewTransactionServiceClient(cc *grpc.ClientConn) TransactionServiceClient
type TransactionServiceMock ¶ added in v0.2.13
type TransactionServiceMock struct{}
func (*TransactionServiceMock) NewTransaction ¶ added in v0.2.13
func (m *TransactionServiceMock) NewTransaction(ctx context.Context, req *TransactionRequest) (*Transaction, error)
type TransactionServiceServer ¶ added in v0.2.13
type TransactionServiceServer interface { // A generic method to create a transaction which requires // no special fields (no crossover, outputs, or specific proofs). NewTransaction(context.Context, *TransactionRequest) (*Transaction, error) }
TransactionServiceServer is the server API for TransactionService service.
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.ClientConn) TransferClient
type TransferMock ¶ added in v0.2.12
type TransferMock struct{}
func (*TransferMock) NewTransfer ¶ added in v0.2.12
func (m *TransferMock) NewTransfer(ctx context.Context, req *TransferTransactionRequest) (*Transaction, error)
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"` 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TransferTransactionRequest) Descriptor ¶ added in v0.2.12
func (*TransferTransactionRequest) Descriptor() ([]byte, []int)
func (*TransferTransactionRequest) GetGasLimit ¶ added in v0.2.13
func (m *TransferTransactionRequest) GetGasLimit() uint64
func (*TransferTransactionRequest) GetGasPrice ¶ added in v0.2.13
func (m *TransferTransactionRequest) GetGasPrice() uint64
func (*TransferTransactionRequest) GetRecipient ¶ added in v0.2.12
func (m *TransferTransactionRequest) GetRecipient() []byte
func (*TransferTransactionRequest) GetValue ¶ added in v0.2.12
func (m *TransferTransactionRequest) GetValue() uint64
func (*TransferTransactionRequest) ProtoMessage ¶ added in v0.2.12
func (*TransferTransactionRequest) ProtoMessage()
func (*TransferTransactionRequest) Reset ¶ added in v0.2.12
func (m *TransferTransactionRequest) Reset()
func (*TransferTransactionRequest) String ¶ added in v0.2.12
func (m *TransferTransactionRequest) String() string
func (*TransferTransactionRequest) XXX_DiscardUnknown ¶ added in v0.2.12
func (m *TransferTransactionRequest) XXX_DiscardUnknown()
func (*TransferTransactionRequest) XXX_Marshal ¶ added in v0.2.12
func (m *TransferTransactionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TransferTransactionRequest) XXX_Merge ¶ added in v0.2.12
func (m *TransferTransactionRequest) XXX_Merge(src proto.Message)
func (*TransferTransactionRequest) XXX_Size ¶ added in v0.2.12
func (m *TransferTransactionRequest) XXX_Size() int
func (*TransferTransactionRequest) XXX_Unmarshal ¶ added in v0.2.12
func (m *TransferTransactionRequest) XXX_Unmarshal(b []byte) error
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(ctx context.Context, req *FindBidRequest) (*BidList, error)
func (*UnimplementedBidServiceServer) NewBid ¶ added in v0.2.10
func (*UnimplementedBidServiceServer) NewBid(ctx context.Context, req *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(ctx context.Context, req *GenerateScoreRequest) (*GenerateScoreResponse, error)
func (*UnimplementedBlindBidServiceServer) VerifyScore ¶ added in v0.2.10
func (*UnimplementedBlindBidServiceServer) VerifyScore(ctx context.Context, req *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(ctx context.Context, req *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(ctx context.Context, req *GenerateKeysRequest) (*GenerateKeysResponse, error)
func (*UnimplementedKeysServer) GenerateStealthAddress ¶ added in v0.2.10
func (*UnimplementedKeysServer) GenerateStealthAddress(ctx context.Context, req *PublicKey) (*StealthAddress, 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(ctx context.Context, req *BN256Point) (*GetBalanceResponse, error)
func (*UnimplementedRewardServer) GetWithdrawalTime ¶ added in v0.2.13
func (*UnimplementedRewardServer) GetWithdrawalTime(ctx context.Context, req *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(ctx context.Context, req *FindStakeRequest) (*FindStakeResponse, error)
func (*UnimplementedStakeServiceServer) NewStake ¶ added in v0.2.12
func (*UnimplementedStakeServiceServer) NewStake(ctx context.Context, req *StakeTransactionRequest) (*Transaction, 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(ctx context.Context, req *ExecuteStateTransitionRequest) (*ExecuteStateTransitionResponse, error)
func (*UnimplementedStateServer) GetProvisioners ¶ added in v0.2.10
func (*UnimplementedStateServer) GetProvisioners(ctx context.Context, req *GetProvisionersRequest) (*GetProvisionersResponse, error)
func (*UnimplementedStateServer) VerifyStateTransition ¶ added in v0.2.10
func (*UnimplementedStateServer) VerifyStateTransition(ctx context.Context, req *VerifyStateTransitionRequest) (*VerifyStateTransitionResponse, error)
type UnimplementedTransactionServiceServer ¶ added in v0.2.13
type UnimplementedTransactionServiceServer struct { }
UnimplementedTransactionServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedTransactionServiceServer) NewTransaction ¶ added in v0.2.13
func (*UnimplementedTransactionServiceServer) NewTransaction(ctx context.Context, req *TransactionRequest) (*Transaction, 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(ctx context.Context, req *TransferTransactionRequest) (*Transaction, error)
type UnimplementedWalletServer ¶ added in v0.2.14
type UnimplementedWalletServer struct { }
UnimplementedWalletServer can be embedded to have forward compatible implementations.
func (*UnimplementedWalletServer) GetBalance ¶ added in v0.2.14
func (*UnimplementedWalletServer) GetBalance(ctx context.Context, req *GetBalanceRequest) (*GetWalletBalanceResponse, error)
type VerifyScoreRequest ¶ added in v0.2.0
type VerifyScoreRequest struct { Proof []byte `protobuf:"bytes,1,opt,name=proof,proto3" json:"proof,omitempty"` Score []byte `protobuf:"bytes,2,opt,name=score,proto3" json:"score,omitempty"` Seed []byte `protobuf:"bytes,3,opt,name=seed,proto3" json:"seed,omitempty"` ProverId []byte `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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*VerifyScoreRequest) Descriptor ¶ added in v0.2.0
func (*VerifyScoreRequest) Descriptor() ([]byte, []int)
func (*VerifyScoreRequest) GetIndexStoredBid ¶ added in v0.2.10
func (m *VerifyScoreRequest) GetIndexStoredBid() uint64
func (*VerifyScoreRequest) GetProof ¶ added in v0.2.0
func (m *VerifyScoreRequest) GetProof() []byte
func (*VerifyScoreRequest) GetProverId ¶ added in v0.2.10
func (m *VerifyScoreRequest) GetProverId() []byte
func (*VerifyScoreRequest) GetRound ¶ added in v0.2.0
func (m *VerifyScoreRequest) GetRound() uint64
func (*VerifyScoreRequest) GetScore ¶ added in v0.2.0
func (m *VerifyScoreRequest) GetScore() []byte
func (*VerifyScoreRequest) GetSeed ¶ added in v0.2.0
func (m *VerifyScoreRequest) GetSeed() []byte
func (*VerifyScoreRequest) GetStep ¶ added in v0.2.0
func (m *VerifyScoreRequest) GetStep() uint32
func (*VerifyScoreRequest) ProtoMessage ¶ added in v0.2.0
func (*VerifyScoreRequest) ProtoMessage()
func (*VerifyScoreRequest) Reset ¶ added in v0.2.0
func (m *VerifyScoreRequest) Reset()
func (*VerifyScoreRequest) String ¶ added in v0.2.0
func (m *VerifyScoreRequest) String() string
func (*VerifyScoreRequest) XXX_DiscardUnknown ¶ added in v0.2.4
func (m *VerifyScoreRequest) XXX_DiscardUnknown()
func (*VerifyScoreRequest) XXX_Marshal ¶ added in v0.2.4
func (m *VerifyScoreRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VerifyScoreRequest) XXX_Merge ¶ added in v0.2.4
func (m *VerifyScoreRequest) XXX_Merge(src proto.Message)
func (*VerifyScoreRequest) XXX_Size ¶ added in v0.2.4
func (m *VerifyScoreRequest) XXX_Size() int
func (*VerifyScoreRequest) XXX_Unmarshal ¶ added in v0.2.4
func (m *VerifyScoreRequest) XXX_Unmarshal(b []byte) error
type VerifyScoreResponse ¶ added in v0.2.0
type VerifyScoreResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*VerifyScoreResponse) Descriptor ¶ added in v0.2.0
func (*VerifyScoreResponse) Descriptor() ([]byte, []int)
func (*VerifyScoreResponse) GetSuccess ¶ added in v0.2.0
func (m *VerifyScoreResponse) GetSuccess() bool
func (*VerifyScoreResponse) ProtoMessage ¶ added in v0.2.0
func (*VerifyScoreResponse) ProtoMessage()
func (*VerifyScoreResponse) Reset ¶ added in v0.2.0
func (m *VerifyScoreResponse) Reset()
func (*VerifyScoreResponse) String ¶ added in v0.2.0
func (m *VerifyScoreResponse) String() string
func (*VerifyScoreResponse) XXX_DiscardUnknown ¶ added in v0.2.4
func (m *VerifyScoreResponse) XXX_DiscardUnknown()
func (*VerifyScoreResponse) XXX_Marshal ¶ added in v0.2.4
func (m *VerifyScoreResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VerifyScoreResponse) XXX_Merge ¶ added in v0.2.4
func (m *VerifyScoreResponse) XXX_Merge(src proto.Message)
func (*VerifyScoreResponse) XXX_Size ¶ added in v0.2.4
func (m *VerifyScoreResponse) XXX_Size() int
func (*VerifyScoreResponse) XXX_Unmarshal ¶ added in v0.2.4
func (m *VerifyScoreResponse) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*VerifyStateTransitionRequest) Descriptor ¶ added in v0.2.10
func (*VerifyStateTransitionRequest) Descriptor() ([]byte, []int)
func (*VerifyStateTransitionRequest) GetHeight ¶ added in v0.2.10
func (m *VerifyStateTransitionRequest) GetHeight() uint64
func (*VerifyStateTransitionRequest) GetSeed ¶ added in v0.2.10
func (m *VerifyStateTransitionRequest) GetSeed() []byte
func (*VerifyStateTransitionRequest) GetTxs ¶ added in v0.2.10
func (m *VerifyStateTransitionRequest) GetTxs() []*Transaction
func (*VerifyStateTransitionRequest) ProtoMessage ¶ added in v0.2.10
func (*VerifyStateTransitionRequest) ProtoMessage()
func (*VerifyStateTransitionRequest) Reset ¶ added in v0.2.10
func (m *VerifyStateTransitionRequest) Reset()
func (*VerifyStateTransitionRequest) String ¶ added in v0.2.10
func (m *VerifyStateTransitionRequest) String() string
func (*VerifyStateTransitionRequest) XXX_DiscardUnknown ¶ added in v0.2.11
func (m *VerifyStateTransitionRequest) XXX_DiscardUnknown()
func (*VerifyStateTransitionRequest) XXX_Marshal ¶ added in v0.2.11
func (m *VerifyStateTransitionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VerifyStateTransitionRequest) XXX_Merge ¶ added in v0.2.11
func (m *VerifyStateTransitionRequest) XXX_Merge(src proto.Message)
func (*VerifyStateTransitionRequest) XXX_Size ¶ added in v0.2.11
func (m *VerifyStateTransitionRequest) XXX_Size() int
func (*VerifyStateTransitionRequest) XXX_Unmarshal ¶ added in v0.2.11
func (m *VerifyStateTransitionRequest) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*VerifyStateTransitionResponse) Descriptor ¶ added in v0.2.10
func (*VerifyStateTransitionResponse) Descriptor() ([]byte, []int)
func (*VerifyStateTransitionResponse) GetFailedCalls ¶ added in v0.2.10
func (m *VerifyStateTransitionResponse) GetFailedCalls() []uint64
func (*VerifyStateTransitionResponse) ProtoMessage ¶ added in v0.2.10
func (*VerifyStateTransitionResponse) ProtoMessage()
func (*VerifyStateTransitionResponse) Reset ¶ added in v0.2.10
func (m *VerifyStateTransitionResponse) Reset()
func (*VerifyStateTransitionResponse) String ¶ added in v0.2.10
func (m *VerifyStateTransitionResponse) String() string
func (*VerifyStateTransitionResponse) XXX_DiscardUnknown ¶ added in v0.2.11
func (m *VerifyStateTransitionResponse) XXX_DiscardUnknown()
func (*VerifyStateTransitionResponse) XXX_Marshal ¶ added in v0.2.11
func (m *VerifyStateTransitionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VerifyStateTransitionResponse) XXX_Merge ¶ added in v0.2.11
func (m *VerifyStateTransitionResponse) XXX_Merge(src proto.Message)
func (*VerifyStateTransitionResponse) XXX_Size ¶ added in v0.2.11
func (m *VerifyStateTransitionResponse) XXX_Size() int
func (*VerifyStateTransitionResponse) XXX_Unmarshal ¶ added in v0.2.11
func (m *VerifyStateTransitionResponse) XXX_Unmarshal(b []byte) error
type ViewKey ¶
type ViewKey struct { A []byte `protobuf:"bytes,1,opt,name=a,proto3" json:"a,omitempty"` BG []byte `protobuf:"bytes,2,opt,name=b_g,json=bG,proto3" json:"b_g,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ViewKey) Descriptor ¶
func (*ViewKey) ProtoMessage ¶
func (*ViewKey) ProtoMessage()
func (*ViewKey) XXX_DiscardUnknown ¶
func (m *ViewKey) XXX_DiscardUnknown()
func (*ViewKey) XXX_Marshal ¶
func (*ViewKey) XXX_Unmarshal ¶
type WalletClient ¶ added in v0.2.14
type WalletClient interface { // Get Wallet balance GetBalance(ctx context.Context, in *GetBalanceRequest, opts ...grpc.CallOption) (*GetWalletBalanceResponse, error) }
WalletClient is the client API for Wallet service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewWalletClient ¶ added in v0.2.14
func NewWalletClient(cc *grpc.ClientConn) WalletClient
type WalletMock ¶ added in v0.2.14
type WalletMock struct{}
func (*WalletMock) GetBalance ¶ added in v0.2.14
func (m *WalletMock) GetBalance(ctx context.Context, req *GetBalanceRequest) (*GetWalletBalanceResponse, error)
type WalletServer ¶ added in v0.2.14
type WalletServer interface { // Get Wallet balance GetBalance(context.Context, *GetBalanceRequest) (*GetWalletBalanceResponse, error) }
WalletServer is the server API for Wallet service.