Documentation ¶
Index ¶
- Variables
- func RegisterCryptoServer(s *grpc.Server, srv CryptoServer)
- func RegisterRuskServer(s *grpc.Server, srv RuskServer)
- type BidList
- type BidTransaction
- func (*BidTransaction) Descriptor() ([]byte, []int)deprecated
- func (x *BidTransaction) GetCommitment() []byte
- func (x *BidTransaction) GetExpirationHeight() uint64
- func (x *BidTransaction) GetM() []byte
- func (x *BidTransaction) GetPk() []byte
- func (x *BidTransaction) GetR() []byte
- func (x *BidTransaction) GetSeed() []byte
- func (x *BidTransaction) GetTx() *Transaction
- func (*BidTransaction) ProtoMessage()
- func (x *BidTransaction) ProtoReflect() protoreflect.Message
- func (x *BidTransaction) Reset()
- func (x *BidTransaction) String() string
- type BidTransactionRequest
- func (*BidTransactionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BidTransactionRequest) GetEdPk() []byte
- func (x *BidTransactionRequest) GetExpirationHeight() uint64
- func (x *BidTransactionRequest) GetK() []byte
- func (x *BidTransactionRequest) GetSeed() []byte
- func (x *BidTransactionRequest) GetTx() *NewTransactionRequest
- func (*BidTransactionRequest) ProtoMessage()
- func (x *BidTransactionRequest) ProtoReflect() protoreflect.Message
- func (x *BidTransactionRequest) Reset()
- func (x *BidTransactionRequest) String() string
- type BinaryHashRequest
- type CompressedPoint
- type ContractCallTx
- func (*ContractCallTx) Descriptor() ([]byte, []int)deprecated
- func (x *ContractCallTx) GetBid() *BidTransaction
- func (m *ContractCallTx) GetContractCall() isContractCallTx_ContractCall
- func (x *ContractCallTx) GetDistribute() *DistributeTransaction
- func (x *ContractCallTx) GetSlash() *SlashTransaction
- func (x *ContractCallTx) GetStake() *StakeTransaction
- func (x *ContractCallTx) GetTx() *Transaction
- func (x *ContractCallTx) GetWithdraw() *WithdrawFeesTransaction
- func (x *ContractCallTx) GetWithdrawBid() *WithdrawBidTransaction
- func (x *ContractCallTx) GetWithdrawStake() *WithdrawStakeTransaction
- func (*ContractCallTx) ProtoMessage()
- func (x *ContractCallTx) ProtoReflect() protoreflect.Message
- func (x *ContractCallTx) Reset()
- func (x *ContractCallTx) String() string
- type ContractCallTx_Bid
- type ContractCallTx_Distribute
- type ContractCallTx_Slash
- type ContractCallTx_Stake
- type ContractCallTx_Tx
- type ContractCallTx_Withdraw
- type ContractCallTx_WithdrawBid
- type ContractCallTx_WithdrawStake
- type CryptoClient
- type CryptoMock
- type CryptoServer
- type DecryptedNote
- func (*DecryptedNote) Descriptor() ([]byte, []int)deprecated
- func (x *DecryptedNote) GetBlindingFactor() *Scalar
- func (x *DecryptedNote) GetEncryptedBlindingFactor() []byte
- func (x *DecryptedNote) GetEncryptedValue() []byte
- func (x *DecryptedNote) GetNonce() *Nonce
- func (x *DecryptedNote) GetNoteType() NoteType
- func (x *DecryptedNote) GetPkR() *CompressedPoint
- func (x *DecryptedNote) GetPos() uint64
- func (x *DecryptedNote) GetRG() *CompressedPoint
- func (m *DecryptedNote) GetRawBlindingFactor() isDecryptedNote_RawBlindingFactor
- func (m *DecryptedNote) GetRawValue() isDecryptedNote_RawValue
- func (x *DecryptedNote) GetTransparentBlindingFactor() *Scalar
- func (x *DecryptedNote) GetTransparentValue() uint64
- func (x *DecryptedNote) GetValue() uint64
- func (x *DecryptedNote) GetValueCommitment() *Scalar
- func (*DecryptedNote) ProtoMessage()
- func (x *DecryptedNote) ProtoReflect() protoreflect.Message
- func (x *DecryptedNote) Reset()
- func (x *DecryptedNote) String() string
- type DecryptedNote_EncryptedBlindingFactor
- type DecryptedNote_EncryptedValue
- type DecryptedNote_TransparentBlindingFactor
- type DecryptedNote_TransparentValue
- type DistributeTransaction
- func (*DistributeTransaction) Descriptor() ([]byte, []int)deprecated
- func (x *DistributeTransaction) GetBgPk() *PublicKey
- func (x *DistributeTransaction) GetProvisionersAddresses() [][]byte
- func (x *DistributeTransaction) GetTx() *Transaction
- func (*DistributeTransaction) ProtoMessage()
- func (x *DistributeTransaction) ProtoReflect() protoreflect.Message
- func (x *DistributeTransaction) Reset()
- func (x *DistributeTransaction) String() string
- type DistributeTransactionRequest
- func (*DistributeTransactionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DistributeTransactionRequest) GetBgPk() *PublicKey
- func (x *DistributeTransactionRequest) GetProvisionersAddresses() [][]byte
- func (x *DistributeTransactionRequest) GetTotalReward() uint64
- func (x *DistributeTransactionRequest) GetTx() *NewTransactionRequest
- func (*DistributeTransactionRequest) ProtoMessage()
- func (x *DistributeTransactionRequest) ProtoReflect() protoreflect.Message
- func (x *DistributeTransactionRequest) Reset()
- func (x *DistributeTransactionRequest) String() string
- type EchoRequest
- type EchoResponse
- type ExecuteStateTransitionRequest
- func (*ExecuteStateTransitionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExecuteStateTransitionRequest) GetCalls() []*ContractCallTx
- func (*ExecuteStateTransitionRequest) ProtoMessage()
- func (x *ExecuteStateTransitionRequest) ProtoReflect() protoreflect.Message
- func (x *ExecuteStateTransitionRequest) Reset()
- func (x *ExecuteStateTransitionRequest) String() string
- type ExecuteStateTransitionResponse
- func (*ExecuteStateTransitionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ExecuteStateTransitionResponse) GetCommittee() []*Provisioner
- func (x *ExecuteStateTransitionResponse) GetCurrentHeight() uint64
- func (x *ExecuteStateTransitionResponse) GetSuccess() bool
- func (*ExecuteStateTransitionResponse) ProtoMessage()
- func (x *ExecuteStateTransitionResponse) ProtoReflect() protoreflect.Message
- func (x *ExecuteStateTransitionResponse) Reset()
- func (x *ExecuteStateTransitionResponse) String() string
- type GenerateScoreRequest
- func (*GenerateScoreRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GenerateScoreRequest) GetD() []byte
- func (x *GenerateScoreRequest) GetEdPk() []byte
- func (x *GenerateScoreRequest) GetK() []byte
- func (x *GenerateScoreRequest) GetRound() uint64
- func (x *GenerateScoreRequest) GetSeed() []byte
- func (x *GenerateScoreRequest) GetStep() uint32
- func (*GenerateScoreRequest) ProtoMessage()
- func (x *GenerateScoreRequest) ProtoReflect() protoreflect.Message
- func (x *GenerateScoreRequest) Reset()
- func (x *GenerateScoreRequest) String() string
- type GenerateScoreResponse
- func (*GenerateScoreResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GenerateScoreResponse) GetIdentity() []byte
- func (x *GenerateScoreResponse) GetProof() []byte
- func (x *GenerateScoreResponse) GetScore() []byte
- func (x *GenerateScoreResponse) GetSeed() []byte
- func (*GenerateScoreResponse) ProtoMessage()
- func (x *GenerateScoreResponse) ProtoReflect() protoreflect.Message
- func (x *GenerateScoreResponse) Reset()
- func (x *GenerateScoreResponse) String() string
- type GenerateSecretKeyRequest
- func (*GenerateSecretKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GenerateSecretKeyRequest) GetB() []byte
- func (*GenerateSecretKeyRequest) ProtoMessage()
- func (x *GenerateSecretKeyRequest) ProtoReflect() protoreflect.Message
- func (x *GenerateSecretKeyRequest) Reset()
- func (x *GenerateSecretKeyRequest) String() string
- type GenerateSecretKeyResponse
- func (*GenerateSecretKeyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GenerateSecretKeyResponse) GetPk() *PublicKey
- func (x *GenerateSecretKeyResponse) GetSk() *SecretKey
- func (x *GenerateSecretKeyResponse) GetVk() *ViewKey
- func (*GenerateSecretKeyResponse) ProtoMessage()
- func (x *GenerateSecretKeyResponse) ProtoReflect() protoreflect.Message
- func (x *GenerateSecretKeyResponse) Reset()
- func (x *GenerateSecretKeyResponse) String() string
- type GetBalanceRequest
- type GetBalanceResponse
- func (*GetBalanceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetBalanceResponse) GetBalance() uint64
- func (*GetBalanceResponse) ProtoMessage()
- func (x *GetBalanceResponse) ProtoReflect() protoreflect.Message
- func (x *GetBalanceResponse) Reset()
- func (x *GetBalanceResponse) String() string
- type HashRequest
- func (*HashRequest) Descriptor() ([]byte, []int)deprecated
- func (x *HashRequest) GetBinInputs() *BinaryHashRequest
- func (m *HashRequest) GetRequest() isHashRequest_Request
- func (x *HashRequest) GetTxInputs() *TransactionHashRequest
- func (*HashRequest) ProtoMessage()
- func (x *HashRequest) ProtoReflect() protoreflect.Message
- func (x *HashRequest) Reset()
- func (x *HashRequest) String() string
- type HashRequest_BinInputs
- type HashRequest_TxInputs
- type HashResponse
- type KeysResponse
- func (*KeysResponse) Descriptor() ([]byte, []int)deprecated
- func (x *KeysResponse) GetPk() *PublicKey
- func (x *KeysResponse) GetVk() *ViewKey
- func (*KeysResponse) ProtoMessage()
- func (x *KeysResponse) ProtoReflect() protoreflect.Message
- func (x *KeysResponse) Reset()
- func (x *KeysResponse) String() string
- type NewTransactionRequest
- func (*NewTransactionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NewTransactionRequest) GetFee() uint64
- func (x *NewTransactionRequest) GetObfuscated() bool
- func (x *NewTransactionRequest) GetRecipient() *PublicKey
- func (x *NewTransactionRequest) GetSk() *SecretKey
- func (x *NewTransactionRequest) GetValue() uint64
- func (*NewTransactionRequest) ProtoMessage()
- func (x *NewTransactionRequest) ProtoReflect() protoreflect.Message
- func (x *NewTransactionRequest) Reset()
- func (x *NewTransactionRequest) String() string
- type Nonce
- type Note
- func (*Note) Descriptor() ([]byte, []int)deprecated
- func (m *Note) GetBlindingFactor() isNote_BlindingFactor
- func (x *Note) GetEncryptedBlindingFactor() []byte
- func (x *Note) GetEncryptedValue() []byte
- func (x *Note) GetNonce() *Nonce
- func (x *Note) GetNoteType() NoteType
- func (x *Note) GetPkR() *CompressedPoint
- func (x *Note) GetPos() uint64
- func (x *Note) GetRG() *CompressedPoint
- func (x *Note) GetTransparentBlindingFactor() *Scalar
- func (x *Note) GetTransparentValue() uint64
- func (m *Note) GetValue() isNote_Value
- func (x *Note) GetValueCommitment() *Scalar
- func (*Note) ProtoMessage()
- func (x *Note) ProtoReflect() protoreflect.Message
- func (x *Note) Reset()
- func (x *Note) String() string
- type NoteType
- type Note_EncryptedBlindingFactor
- type Note_EncryptedValue
- type Note_TransparentBlindingFactor
- type Note_TransparentValue
- type Nullifier
- type OwnedNotesResponse
- func (*OwnedNotesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *OwnedNotesResponse) GetNotes() []*DecryptedNote
- func (*OwnedNotesResponse) ProtoMessage()
- func (x *OwnedNotesResponse) ProtoReflect() protoreflect.Message
- func (x *OwnedNotesResponse) Reset()
- func (x *OwnedNotesResponse) String() string
- type Provisioner
- func (*Provisioner) Descriptor() ([]byte, []int)deprecated
- func (x *Provisioner) GetBlsKey() []byte
- func (x *Provisioner) GetStakes() []*Stake
- func (*Provisioner) ProtoMessage()
- func (x *Provisioner) ProtoReflect() protoreflect.Message
- func (x *Provisioner) Reset()
- func (x *Provisioner) String() string
- type PublicKey
- type RuskClient
- type RuskMock
- func (m *RuskMock) Echo(ctx context.Context, req *EchoRequest) (*EchoResponse, error)
- func (m *RuskMock) ExecuteStateTransition(ctx context.Context, req *ExecuteStateTransitionRequest) (*ExecuteStateTransitionResponse, error)
- func (m *RuskMock) FullScanOwnedNotes(ctx context.Context, req *ViewKey) (*OwnedNotesResponse, error)
- func (m *RuskMock) GenerateScore(ctx context.Context, req *GenerateScoreRequest) (*GenerateScoreResponse, error)
- func (m *RuskMock) GenerateSecretKey(ctx context.Context, req *GenerateSecretKeyRequest) (*GenerateSecretKeyResponse, error)
- func (m *RuskMock) GetBalance(ctx context.Context, req *GetBalanceRequest) (*GetBalanceResponse, error)
- func (m *RuskMock) Keys(ctx context.Context, req *SecretKey) (*KeysResponse, error)
- func (m *RuskMock) NewBid(ctx context.Context, req *BidTransactionRequest) (*BidTransaction, error)
- func (m *RuskMock) NewDistribute(ctx context.Context, req *DistributeTransactionRequest) (*DistributeTransaction, error)
- func (m *RuskMock) NewSlash(ctx context.Context, req *SlashTransactionRequest) (*SlashTransaction, error)
- func (m *RuskMock) NewStake(ctx context.Context, req *StakeTransactionRequest) (*StakeTransaction, error)
- func (m *RuskMock) NewTransaction(ctx context.Context, req *NewTransactionRequest) (*Transaction, error)
- func (m *RuskMock) NewWithdrawBid(ctx context.Context, req *WithdrawBidTransactionRequest) (*WithdrawBidTransaction, error)
- func (m *RuskMock) NewWithdrawFees(ctx context.Context, req *WithdrawFeesTransactionRequest) (*WithdrawFeesTransaction, error)
- func (m *RuskMock) NewWithdrawStake(ctx context.Context, req *WithdrawStakeTransactionRequest) (*WithdrawStakeTransaction, error)
- func (m *RuskMock) ValidateStateTransition(ctx context.Context, req *ValidateStateTransitionRequest) (*ValidateStateTransitionResponse, error)
- func (m *RuskMock) VerifyScore(ctx context.Context, req *VerifyScoreRequest) (*VerifyScoreResponse, error)
- func (m *RuskMock) VerifyStake(ctx context.Context, req *StakeTransaction) (*VerifyTransactionResponse, error)
- func (m *RuskMock) VerifyTransaction(ctx context.Context, req *ContractCallTx) (*VerifyTransactionResponse, error)
- type RuskServer
- type Scalar
- type SecretKey
- type SlashTransaction
- func (*SlashTransaction) Descriptor() ([]byte, []int)deprecated
- func (x *SlashTransaction) GetBlsKey() []byte
- func (x *SlashTransaction) GetFirstMsg() []byte
- func (x *SlashTransaction) GetFirstSig() []byte
- func (x *SlashTransaction) GetRound() uint64
- func (x *SlashTransaction) GetSecondMsg() []byte
- func (x *SlashTransaction) GetSecondSig() []byte
- func (x *SlashTransaction) GetStep() uint32
- func (x *SlashTransaction) GetTx() *Transaction
- func (*SlashTransaction) ProtoMessage()
- func (x *SlashTransaction) ProtoReflect() protoreflect.Message
- func (x *SlashTransaction) Reset()
- func (x *SlashTransaction) String() string
- type SlashTransactionRequest
- func (*SlashTransactionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SlashTransactionRequest) GetBlsKey() []byte
- func (x *SlashTransactionRequest) GetFirstMsg() []byte
- func (x *SlashTransactionRequest) GetFirstSig() []byte
- func (x *SlashTransactionRequest) GetRound() uint64
- func (x *SlashTransactionRequest) GetSecondMsg() []byte
- func (x *SlashTransactionRequest) GetSecondSig() []byte
- func (x *SlashTransactionRequest) GetStep() uint32
- func (x *SlashTransactionRequest) GetTx() *NewTransactionRequest
- func (*SlashTransactionRequest) ProtoMessage()
- func (x *SlashTransactionRequest) ProtoReflect() protoreflect.Message
- func (x *SlashTransactionRequest) Reset()
- func (x *SlashTransactionRequest) String() string
- type Stake
- func (*Stake) Descriptor() ([]byte, []int)deprecated
- func (x *Stake) GetAmount() uint64
- func (x *Stake) GetEndHeight() uint64
- func (x *Stake) GetStartHeight() uint64
- func (*Stake) ProtoMessage()
- func (x *Stake) ProtoReflect() protoreflect.Message
- func (x *Stake) Reset()
- func (x *Stake) String() string
- type StakeTransaction
- func (*StakeTransaction) Descriptor() ([]byte, []int)deprecated
- func (x *StakeTransaction) GetBlsKey() []byte
- func (x *StakeTransaction) GetExpirationHeight() uint64
- func (x *StakeTransaction) GetTx() *Transaction
- func (*StakeTransaction) ProtoMessage()
- func (x *StakeTransaction) ProtoReflect() protoreflect.Message
- func (x *StakeTransaction) Reset()
- func (x *StakeTransaction) String() string
- type StakeTransactionRequest
- func (*StakeTransactionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StakeTransactionRequest) GetBlsKey() []byte
- func (x *StakeTransactionRequest) GetExpirationHeight() uint64
- func (x *StakeTransactionRequest) GetTx() *NewTransactionRequest
- func (*StakeTransactionRequest) ProtoMessage()
- func (x *StakeTransactionRequest) ProtoReflect() protoreflect.Message
- func (x *StakeTransactionRequest) Reset()
- func (x *StakeTransactionRequest) String() string
- type Transaction
- func (*Transaction) Descriptor() ([]byte, []int)deprecated
- func (x *Transaction) GetFee() *TransactionOutput
- func (x *Transaction) GetInputs() []*TransactionInput
- func (x *Transaction) GetOutputs() []*TransactionOutput
- func (x *Transaction) GetProof() []byte
- func (*Transaction) ProtoMessage()
- func (x *Transaction) ProtoReflect() protoreflect.Message
- func (x *Transaction) Reset()
- func (x *Transaction) String() string
- type TransactionHashRequest
- func (*TransactionHashRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionHashRequest) GetTxs() []*Transaction
- func (*TransactionHashRequest) ProtoMessage()
- func (x *TransactionHashRequest) ProtoReflect() protoreflect.Message
- func (x *TransactionHashRequest) Reset()
- func (x *TransactionHashRequest) String() string
- type TransactionInput
- func (*TransactionInput) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionInput) GetMerkleRoot() *Scalar
- func (x *TransactionInput) GetNullifier() *Nullifier
- func (*TransactionInput) ProtoMessage()
- func (x *TransactionInput) ProtoReflect() protoreflect.Message
- func (x *TransactionInput) Reset()
- func (x *TransactionInput) String() string
- type TransactionOutput
- func (*TransactionOutput) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionOutput) GetBlindingFactor() *Scalar
- func (x *TransactionOutput) GetNote() *Note
- func (x *TransactionOutput) GetPk() *PublicKey
- func (x *TransactionOutput) GetValue() uint64
- func (*TransactionOutput) ProtoMessage()
- func (x *TransactionOutput) ProtoReflect() protoreflect.Message
- func (x *TransactionOutput) Reset()
- func (x *TransactionOutput) String() string
- type UnimplementedCryptoServer
- type UnimplementedRuskServer
- func (*UnimplementedRuskServer) Echo(context.Context, *EchoRequest) (*EchoResponse, error)
- func (*UnimplementedRuskServer) ExecuteStateTransition(context.Context, *ExecuteStateTransitionRequest) (*ExecuteStateTransitionResponse, error)
- func (*UnimplementedRuskServer) FullScanOwnedNotes(context.Context, *ViewKey) (*OwnedNotesResponse, error)
- func (*UnimplementedRuskServer) GenerateScore(context.Context, *GenerateScoreRequest) (*GenerateScoreResponse, error)
- func (*UnimplementedRuskServer) GenerateSecretKey(context.Context, *GenerateSecretKeyRequest) (*GenerateSecretKeyResponse, error)
- func (*UnimplementedRuskServer) GetBalance(context.Context, *GetBalanceRequest) (*GetBalanceResponse, error)
- func (*UnimplementedRuskServer) Keys(context.Context, *SecretKey) (*KeysResponse, error)
- func (*UnimplementedRuskServer) NewBid(context.Context, *BidTransactionRequest) (*BidTransaction, error)
- func (*UnimplementedRuskServer) NewDistribute(context.Context, *DistributeTransactionRequest) (*DistributeTransaction, error)
- func (*UnimplementedRuskServer) NewSlash(context.Context, *SlashTransactionRequest) (*SlashTransaction, error)
- func (*UnimplementedRuskServer) NewStake(context.Context, *StakeTransactionRequest) (*StakeTransaction, error)
- func (*UnimplementedRuskServer) NewTransaction(context.Context, *NewTransactionRequest) (*Transaction, error)
- func (*UnimplementedRuskServer) NewWithdrawBid(context.Context, *WithdrawBidTransactionRequest) (*WithdrawBidTransaction, error)
- func (*UnimplementedRuskServer) NewWithdrawFees(context.Context, *WithdrawFeesTransactionRequest) (*WithdrawFeesTransaction, error)
- func (*UnimplementedRuskServer) NewWithdrawStake(context.Context, *WithdrawStakeTransactionRequest) (*WithdrawStakeTransaction, error)
- func (*UnimplementedRuskServer) ValidateStateTransition(context.Context, *ValidateStateTransitionRequest) (*ValidateStateTransitionResponse, error)
- func (*UnimplementedRuskServer) VerifyScore(context.Context, *VerifyScoreRequest) (*VerifyScoreResponse, error)
- func (*UnimplementedRuskServer) VerifyStake(context.Context, *StakeTransaction) (*VerifyTransactionResponse, error)
- func (*UnimplementedRuskServer) VerifyTransaction(context.Context, *ContractCallTx) (*VerifyTransactionResponse, error)
- type ValidateStateTransitionRequest
- func (*ValidateStateTransitionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateStateTransitionRequest) GetCalls() []*ContractCallTx
- func (x *ValidateStateTransitionRequest) GetCurrentHeight() uint64
- func (*ValidateStateTransitionRequest) ProtoMessage()
- func (x *ValidateStateTransitionRequest) ProtoReflect() protoreflect.Message
- func (x *ValidateStateTransitionRequest) Reset()
- func (x *ValidateStateTransitionRequest) String() string
- type ValidateStateTransitionResponse
- func (*ValidateStateTransitionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateStateTransitionResponse) GetSuccessfulCalls() []int32
- func (*ValidateStateTransitionResponse) ProtoMessage()
- func (x *ValidateStateTransitionResponse) ProtoReflect() protoreflect.Message
- func (x *ValidateStateTransitionResponse) Reset()
- func (x *ValidateStateTransitionResponse) String() string
- type VerifyScoreRequest
- func (*VerifyScoreRequest) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyScoreRequest) GetIdentity() []byte
- func (x *VerifyScoreRequest) GetProof() []byte
- func (x *VerifyScoreRequest) GetRound() uint64
- func (x *VerifyScoreRequest) GetScore() []byte
- func (x *VerifyScoreRequest) GetSeed() []byte
- func (x *VerifyScoreRequest) GetStep() uint32
- func (*VerifyScoreRequest) ProtoMessage()
- func (x *VerifyScoreRequest) ProtoReflect() protoreflect.Message
- func (x *VerifyScoreRequest) Reset()
- func (x *VerifyScoreRequest) String() string
- type VerifyScoreResponse
- func (*VerifyScoreResponse) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyScoreResponse) GetSuccess() bool
- func (*VerifyScoreResponse) ProtoMessage()
- func (x *VerifyScoreResponse) ProtoReflect() protoreflect.Message
- func (x *VerifyScoreResponse) Reset()
- func (x *VerifyScoreResponse) String() string
- type VerifyTransactionResponse
- func (*VerifyTransactionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyTransactionResponse) GetVerified() bool
- func (*VerifyTransactionResponse) ProtoMessage()
- func (x *VerifyTransactionResponse) ProtoReflect() protoreflect.Message
- func (x *VerifyTransactionResponse) Reset()
- func (x *VerifyTransactionResponse) String() string
- type ViewKey
- type WithdrawBidTransaction
- func (*WithdrawBidTransaction) Descriptor() ([]byte, []int)deprecated
- func (x *WithdrawBidTransaction) GetCommitment() []byte
- func (x *WithdrawBidTransaction) GetEdPk() []byte
- func (x *WithdrawBidTransaction) GetSig() []byte
- func (x *WithdrawBidTransaction) GetTx() *Transaction
- func (*WithdrawBidTransaction) ProtoMessage()
- func (x *WithdrawBidTransaction) ProtoReflect() protoreflect.Message
- func (x *WithdrawBidTransaction) Reset()
- func (x *WithdrawBidTransaction) String() string
- type WithdrawBidTransactionRequest
- func (*WithdrawBidTransactionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WithdrawBidTransactionRequest) GetEdPk() []byte
- func (x *WithdrawBidTransactionRequest) GetSig() []byte
- func (x *WithdrawBidTransactionRequest) GetTx() *NewTransactionRequest
- func (*WithdrawBidTransactionRequest) ProtoMessage()
- func (x *WithdrawBidTransactionRequest) ProtoReflect() protoreflect.Message
- func (x *WithdrawBidTransactionRequest) Reset()
- func (x *WithdrawBidTransactionRequest) String() string
- type WithdrawFeesTransaction
- func (*WithdrawFeesTransaction) Descriptor() ([]byte, []int)deprecated
- func (x *WithdrawFeesTransaction) GetBlsKey() []byte
- func (x *WithdrawFeesTransaction) GetMsg() []byte
- func (x *WithdrawFeesTransaction) GetSig() []byte
- func (x *WithdrawFeesTransaction) GetTx() *Transaction
- func (*WithdrawFeesTransaction) ProtoMessage()
- func (x *WithdrawFeesTransaction) ProtoReflect() protoreflect.Message
- func (x *WithdrawFeesTransaction) Reset()
- func (x *WithdrawFeesTransaction) String() string
- type WithdrawFeesTransactionRequest
- func (*WithdrawFeesTransactionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WithdrawFeesTransactionRequest) GetBlsKey() []byte
- func (x *WithdrawFeesTransactionRequest) GetMsg() []byte
- func (x *WithdrawFeesTransactionRequest) GetSig() []byte
- func (x *WithdrawFeesTransactionRequest) GetTx() *NewTransactionRequest
- func (*WithdrawFeesTransactionRequest) ProtoMessage()
- func (x *WithdrawFeesTransactionRequest) ProtoReflect() protoreflect.Message
- func (x *WithdrawFeesTransactionRequest) Reset()
- func (x *WithdrawFeesTransactionRequest) String() string
- type WithdrawStakeTransaction
- func (*WithdrawStakeTransaction) Descriptor() ([]byte, []int)deprecated
- func (x *WithdrawStakeTransaction) GetBlsKey() []byte
- func (x *WithdrawStakeTransaction) GetSig() []byte
- func (x *WithdrawStakeTransaction) GetTx() *Transaction
- func (*WithdrawStakeTransaction) ProtoMessage()
- func (x *WithdrawStakeTransaction) ProtoReflect() protoreflect.Message
- func (x *WithdrawStakeTransaction) Reset()
- func (x *WithdrawStakeTransaction) String() string
- type WithdrawStakeTransactionRequest
- func (*WithdrawStakeTransactionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WithdrawStakeTransactionRequest) GetBlsKey() []byte
- func (x *WithdrawStakeTransactionRequest) GetSig() []byte
- func (x *WithdrawStakeTransactionRequest) GetTx() *NewTransactionRequest
- func (*WithdrawStakeTransactionRequest) ProtoMessage()
- func (x *WithdrawStakeTransactionRequest) ProtoReflect() protoreflect.Message
- func (x *WithdrawStakeTransactionRequest) Reset()
- func (x *WithdrawStakeTransactionRequest) String() string
Constants ¶
This section is empty.
Variables ¶
var ( NoteType_name = map[int32]string{ 0: "TRANSPARENT", 1: "OBFUSCATED", } NoteType_value = map[string]int32{ "TRANSPARENT": 0, "OBFUSCATED": 1, } )
Enum value maps for NoteType.
var File_consensus_proto protoreflect.FileDescriptor
var File_field_proto protoreflect.FileDescriptor
var File_keys_proto protoreflect.FileDescriptor
var File_note_proto protoreflect.FileDescriptor
var File_rusk_proto protoreflect.FileDescriptor
var File_transaction_proto protoreflect.FileDescriptor
Functions ¶
func RegisterCryptoServer ¶ added in v0.2.0
func RegisterCryptoServer(s *grpc.Server, srv CryptoServer)
func RegisterRuskServer ¶
func RegisterRuskServer(s *grpc.Server, srv RuskServer)
Types ¶
type BidList ¶ added in v0.2.0
type BidList struct { BidList [][]byte `protobuf:"bytes,1,rep,name=bid_list,json=bidList,proto3" json:"bid_list,omitempty"` // contains filtered or unexported fields }
func (*BidList) Descriptor
deprecated
added in
v0.2.0
func (*BidList) GetBidList ¶ added in v0.2.0
func (*BidList) ProtoMessage ¶ added in v0.2.0
func (*BidList) ProtoMessage()
func (*BidList) ProtoReflect ¶ added in v0.2.0
func (x *BidList) ProtoReflect() protoreflect.Message
type BidTransaction ¶ added in v0.2.0
type BidTransaction struct { M []byte `protobuf:"bytes,1,opt,name=m,proto3" json:"m,omitempty"` Commitment []byte `protobuf:"bytes,2,opt,name=commitment,proto3" json:"commitment,omitempty"` ExpirationHeight uint64 `protobuf:"fixed64,3,opt,name=expiration_height,json=expirationHeight,proto3" json:"expiration_height,omitempty"` Pk []byte `protobuf:"bytes,4,opt,name=pk,proto3" json:"pk,omitempty"` R []byte `protobuf:"bytes,5,opt,name=r,proto3" json:"r,omitempty"` Seed []byte `protobuf:"bytes,6,opt,name=seed,proto3" json:"seed,omitempty"` Tx *Transaction `protobuf:"bytes,7,opt,name=tx,proto3" json:"tx,omitempty"` // contains filtered or unexported fields }
BidTransaction is the transaction for the Bid used by the Block Generator to create a Score
func (*BidTransaction) Descriptor
deprecated
added in
v0.2.0
func (*BidTransaction) Descriptor() ([]byte, []int)
Deprecated: Use BidTransaction.ProtoReflect.Descriptor instead.
func (*BidTransaction) GetCommitment ¶ added in v0.2.0
func (x *BidTransaction) GetCommitment() []byte
func (*BidTransaction) GetExpirationHeight ¶ added in v0.2.0
func (x *BidTransaction) GetExpirationHeight() uint64
func (*BidTransaction) GetM ¶ added in v0.2.0
func (x *BidTransaction) GetM() []byte
func (*BidTransaction) GetPk ¶ added in v0.2.0
func (x *BidTransaction) GetPk() []byte
func (*BidTransaction) GetR ¶ added in v0.2.0
func (x *BidTransaction) GetR() []byte
func (*BidTransaction) GetSeed ¶ added in v0.2.0
func (x *BidTransaction) GetSeed() []byte
func (*BidTransaction) GetTx ¶ added in v0.2.0
func (x *BidTransaction) GetTx() *Transaction
func (*BidTransaction) ProtoMessage ¶ added in v0.2.0
func (*BidTransaction) ProtoMessage()
func (*BidTransaction) ProtoReflect ¶ added in v0.2.0
func (x *BidTransaction) ProtoReflect() protoreflect.Message
func (*BidTransaction) Reset ¶ added in v0.2.0
func (x *BidTransaction) Reset()
func (*BidTransaction) String ¶ added in v0.2.0
func (x *BidTransaction) String() string
type BidTransactionRequest ¶ added in v0.2.0
type BidTransactionRequest struct { K []byte `protobuf:"bytes,1,opt,name=K,proto3" json:"K,omitempty"` EdPk []byte `protobuf:"bytes,2,opt,name=ed_pk,json=edPk,proto3" json:"ed_pk,omitempty"` Seed []byte `protobuf:"bytes,3,opt,name=seed,proto3" json:"seed,omitempty"` ExpirationHeight uint64 `protobuf:"fixed64,4,opt,name=expiration_height,json=expirationHeight,proto3" json:"expiration_height,omitempty"` Tx *NewTransactionRequest `protobuf:"bytes,5,opt,name=tx,proto3" json:"tx,omitempty"` // contains filtered or unexported fields }
Used to Request the creation of a Bid
func (*BidTransactionRequest) Descriptor
deprecated
added in
v0.2.0
func (*BidTransactionRequest) Descriptor() ([]byte, []int)
Deprecated: Use BidTransactionRequest.ProtoReflect.Descriptor instead.
func (*BidTransactionRequest) GetEdPk ¶ added in v0.2.0
func (x *BidTransactionRequest) GetEdPk() []byte
func (*BidTransactionRequest) GetExpirationHeight ¶ added in v0.2.0
func (x *BidTransactionRequest) GetExpirationHeight() uint64
func (*BidTransactionRequest) GetK ¶ added in v0.2.0
func (x *BidTransactionRequest) GetK() []byte
func (*BidTransactionRequest) GetSeed ¶ added in v0.2.0
func (x *BidTransactionRequest) GetSeed() []byte
func (*BidTransactionRequest) GetTx ¶ added in v0.2.0
func (x *BidTransactionRequest) GetTx() *NewTransactionRequest
func (*BidTransactionRequest) ProtoMessage ¶ added in v0.2.0
func (*BidTransactionRequest) ProtoMessage()
func (*BidTransactionRequest) ProtoReflect ¶ added in v0.2.0
func (x *BidTransactionRequest) ProtoReflect() protoreflect.Message
func (*BidTransactionRequest) Reset ¶ added in v0.2.0
func (x *BidTransactionRequest) Reset()
func (*BidTransactionRequest) String ¶ added in v0.2.0
func (x *BidTransactionRequest) String() string
type BinaryHashRequest ¶ added in v0.2.0
type BinaryHashRequest struct { Inputs [][]byte `protobuf:"bytes,1,rep,name=inputs,proto3" json:"inputs,omitempty"` // contains filtered or unexported fields }
func (*BinaryHashRequest) Descriptor
deprecated
added in
v0.2.0
func (*BinaryHashRequest) Descriptor() ([]byte, []int)
Deprecated: Use BinaryHashRequest.ProtoReflect.Descriptor instead.
func (*BinaryHashRequest) GetInputs ¶ added in v0.2.0
func (x *BinaryHashRequest) GetInputs() [][]byte
func (*BinaryHashRequest) ProtoMessage ¶ added in v0.2.0
func (*BinaryHashRequest) ProtoMessage()
func (*BinaryHashRequest) ProtoReflect ¶ added in v0.2.0
func (x *BinaryHashRequest) ProtoReflect() protoreflect.Message
func (*BinaryHashRequest) Reset ¶ added in v0.2.0
func (x *BinaryHashRequest) Reset()
func (*BinaryHashRequest) String ¶ added in v0.2.0
func (x *BinaryHashRequest) String() string
type CompressedPoint ¶
type CompressedPoint struct { Y []byte `protobuf:"bytes,1,opt,name=y,proto3" json:"y,omitempty"` // contains filtered or unexported fields }
func (*CompressedPoint) Descriptor
deprecated
func (*CompressedPoint) Descriptor() ([]byte, []int)
Deprecated: Use CompressedPoint.ProtoReflect.Descriptor instead.
func (*CompressedPoint) GetY ¶
func (x *CompressedPoint) GetY() []byte
func (*CompressedPoint) ProtoMessage ¶
func (*CompressedPoint) ProtoMessage()
func (*CompressedPoint) ProtoReflect ¶ added in v0.2.0
func (x *CompressedPoint) ProtoReflect() protoreflect.Message
func (*CompressedPoint) Reset ¶
func (x *CompressedPoint) Reset()
func (*CompressedPoint) String ¶
func (x *CompressedPoint) String() string
type ContractCallTx ¶ added in v0.2.0
type ContractCallTx struct { // Types that are assignable to ContractCall: // *ContractCallTx_Tx // *ContractCallTx_Withdraw // *ContractCallTx_Stake // *ContractCallTx_Bid // *ContractCallTx_Slash // *ContractCallTx_Distribute // *ContractCallTx_WithdrawStake // *ContractCallTx_WithdrawBid ContractCall isContractCallTx_ContractCall `protobuf_oneof:"contract_call"` // contains filtered or unexported fields }
func (*ContractCallTx) Descriptor
deprecated
added in
v0.2.0
func (*ContractCallTx) Descriptor() ([]byte, []int)
Deprecated: Use ContractCallTx.ProtoReflect.Descriptor instead.
func (*ContractCallTx) GetBid ¶ added in v0.2.0
func (x *ContractCallTx) GetBid() *BidTransaction
func (*ContractCallTx) GetContractCall ¶ added in v0.2.0
func (m *ContractCallTx) GetContractCall() isContractCallTx_ContractCall
func (*ContractCallTx) GetDistribute ¶ added in v0.2.0
func (x *ContractCallTx) GetDistribute() *DistributeTransaction
func (*ContractCallTx) GetSlash ¶ added in v0.2.0
func (x *ContractCallTx) GetSlash() *SlashTransaction
func (*ContractCallTx) GetStake ¶ added in v0.2.0
func (x *ContractCallTx) GetStake() *StakeTransaction
func (*ContractCallTx) GetTx ¶ added in v0.2.0
func (x *ContractCallTx) GetTx() *Transaction
func (*ContractCallTx) GetWithdraw ¶ added in v0.2.0
func (x *ContractCallTx) GetWithdraw() *WithdrawFeesTransaction
func (*ContractCallTx) GetWithdrawBid ¶ added in v0.2.0
func (x *ContractCallTx) GetWithdrawBid() *WithdrawBidTransaction
func (*ContractCallTx) GetWithdrawStake ¶ added in v0.2.0
func (x *ContractCallTx) GetWithdrawStake() *WithdrawStakeTransaction
func (*ContractCallTx) ProtoMessage ¶ added in v0.2.0
func (*ContractCallTx) ProtoMessage()
func (*ContractCallTx) ProtoReflect ¶ added in v0.2.0
func (x *ContractCallTx) ProtoReflect() protoreflect.Message
func (*ContractCallTx) Reset ¶ added in v0.2.0
func (x *ContractCallTx) Reset()
func (*ContractCallTx) String ¶ added in v0.2.0
func (x *ContractCallTx) String() string
type ContractCallTx_Bid ¶ added in v0.2.0
type ContractCallTx_Bid struct {
Bid *BidTransaction `protobuf:"bytes,4,opt,name=bid,proto3,oneof"`
}
type ContractCallTx_Distribute ¶ added in v0.2.0
type ContractCallTx_Distribute struct {
Distribute *DistributeTransaction `protobuf:"bytes,6,opt,name=distribute,proto3,oneof"`
}
type ContractCallTx_Slash ¶ added in v0.2.0
type ContractCallTx_Slash struct {
Slash *SlashTransaction `protobuf:"bytes,5,opt,name=slash,proto3,oneof"`
}
type ContractCallTx_Stake ¶ added in v0.2.0
type ContractCallTx_Stake struct {
Stake *StakeTransaction `protobuf:"bytes,3,opt,name=stake,proto3,oneof"`
}
type ContractCallTx_Tx ¶ added in v0.2.0
type ContractCallTx_Tx struct {
Tx *Transaction `protobuf:"bytes,1,opt,name=tx,proto3,oneof"`
}
type ContractCallTx_Withdraw ¶ added in v0.2.0
type ContractCallTx_Withdraw struct {
Withdraw *WithdrawFeesTransaction `protobuf:"bytes,2,opt,name=withdraw,proto3,oneof"`
}
type ContractCallTx_WithdrawBid ¶ added in v0.2.0
type ContractCallTx_WithdrawBid struct {
WithdrawBid *WithdrawBidTransaction `protobuf:"bytes,8,opt,name=withdraw_bid,json=withdrawBid,proto3,oneof"`
}
type ContractCallTx_WithdrawStake ¶ added in v0.2.0
type ContractCallTx_WithdrawStake struct {
WithdrawStake *WithdrawStakeTransaction `protobuf:"bytes,7,opt,name=withdraw_stake,json=withdrawStake,proto3,oneof"`
}
type CryptoClient ¶ added in v0.2.0
type CryptoClient interface { // Hash performs a Poseidon hashing and returns a scalar Hash(ctx context.Context, in *HashRequest, opts ...grpc.CallOption) (*HashResponse, error) }
CryptoClient is the client API for Crypto service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewCryptoClient ¶ added in v0.2.0
func NewCryptoClient(cc grpc.ClientConnInterface) CryptoClient
type CryptoMock ¶ added in v0.2.0
type CryptoMock struct{}
func (*CryptoMock) Hash ¶ added in v0.2.0
func (m *CryptoMock) Hash(ctx context.Context, req *HashRequest) (*HashResponse, error)
type CryptoServer ¶ added in v0.2.0
type CryptoServer interface { // Hash performs a Poseidon hashing and returns a scalar Hash(context.Context, *HashRequest) (*HashResponse, error) }
CryptoServer is the server API for Crypto service.
type DecryptedNote ¶
type DecryptedNote struct { NoteType NoteType `protobuf:"varint,1,opt,name=note_type,json=noteType,proto3,enum=rusk.NoteType" json:"note_type,omitempty"` Pos uint64 `protobuf:"fixed64,2,opt,name=pos,proto3" json:"pos,omitempty"` Value uint64 `protobuf:"fixed64,3,opt,name=value,proto3" json:"value,omitempty"` Nonce *Nonce `protobuf:"bytes,4,opt,name=nonce,proto3" json:"nonce,omitempty"` RG *CompressedPoint `protobuf:"bytes,5,opt,name=r_g,json=rG,proto3" json:"r_g,omitempty"` PkR *CompressedPoint `protobuf:"bytes,6,opt,name=pk_r,json=pkR,proto3" json:"pk_r,omitempty"` ValueCommitment *Scalar `protobuf:"bytes,7,opt,name=value_commitment,json=valueCommitment,proto3" json:"value_commitment,omitempty"` BlindingFactor *Scalar `protobuf:"bytes,8,opt,name=blinding_factor,json=blindingFactor,proto3" json:"blinding_factor,omitempty"` // Types that are assignable to RawBlindingFactor: // *DecryptedNote_TransparentBlindingFactor // *DecryptedNote_EncryptedBlindingFactor RawBlindingFactor isDecryptedNote_RawBlindingFactor `protobuf_oneof:"rawBlindingFactor"` // Types that are assignable to RawValue: // *DecryptedNote_TransparentValue // *DecryptedNote_EncryptedValue RawValue isDecryptedNote_RawValue `protobuf_oneof:"rawValue"` // contains filtered or unexported fields }
func (*DecryptedNote) Descriptor
deprecated
func (*DecryptedNote) Descriptor() ([]byte, []int)
Deprecated: Use DecryptedNote.ProtoReflect.Descriptor instead.
func (*DecryptedNote) GetBlindingFactor ¶
func (x *DecryptedNote) GetBlindingFactor() *Scalar
func (*DecryptedNote) GetEncryptedBlindingFactor ¶
func (x *DecryptedNote) GetEncryptedBlindingFactor() []byte
func (*DecryptedNote) GetEncryptedValue ¶
func (x *DecryptedNote) GetEncryptedValue() []byte
func (*DecryptedNote) GetNonce ¶
func (x *DecryptedNote) GetNonce() *Nonce
func (*DecryptedNote) GetNoteType ¶
func (x *DecryptedNote) GetNoteType() NoteType
func (*DecryptedNote) GetPkR ¶
func (x *DecryptedNote) GetPkR() *CompressedPoint
func (*DecryptedNote) GetPos ¶
func (x *DecryptedNote) GetPos() uint64
func (*DecryptedNote) GetRG ¶
func (x *DecryptedNote) GetRG() *CompressedPoint
func (*DecryptedNote) GetRawBlindingFactor ¶
func (m *DecryptedNote) GetRawBlindingFactor() isDecryptedNote_RawBlindingFactor
func (*DecryptedNote) GetRawValue ¶
func (m *DecryptedNote) GetRawValue() isDecryptedNote_RawValue
func (*DecryptedNote) GetTransparentBlindingFactor ¶
func (x *DecryptedNote) GetTransparentBlindingFactor() *Scalar
func (*DecryptedNote) GetTransparentValue ¶
func (x *DecryptedNote) GetTransparentValue() uint64
func (*DecryptedNote) GetValue ¶
func (x *DecryptedNote) GetValue() uint64
func (*DecryptedNote) GetValueCommitment ¶
func (x *DecryptedNote) GetValueCommitment() *Scalar
func (*DecryptedNote) ProtoMessage ¶
func (*DecryptedNote) ProtoMessage()
func (*DecryptedNote) ProtoReflect ¶ added in v0.2.0
func (x *DecryptedNote) ProtoReflect() protoreflect.Message
func (*DecryptedNote) Reset ¶
func (x *DecryptedNote) Reset()
func (*DecryptedNote) String ¶
func (x *DecryptedNote) String() string
type DecryptedNote_EncryptedBlindingFactor ¶
type DecryptedNote_EncryptedBlindingFactor struct {
EncryptedBlindingFactor []byte `protobuf:"bytes,10,opt,name=encrypted_blinding_factor,json=encryptedBlindingFactor,proto3,oneof"`
}
type DecryptedNote_EncryptedValue ¶
type DecryptedNote_EncryptedValue struct {
EncryptedValue []byte `protobuf:"bytes,12,opt,name=encrypted_value,json=encryptedValue,proto3,oneof"`
}
type DecryptedNote_TransparentBlindingFactor ¶
type DecryptedNote_TransparentBlindingFactor struct {
TransparentBlindingFactor *Scalar `protobuf:"bytes,9,opt,name=transparent_blinding_factor,json=transparentBlindingFactor,proto3,oneof"`
}
type DecryptedNote_TransparentValue ¶
type DecryptedNote_TransparentValue struct {
TransparentValue uint64 `protobuf:"fixed64,11,opt,name=transparent_value,json=transparentValue,proto3,oneof"`
}
type DistributeTransaction ¶ added in v0.2.0
type DistributeTransaction struct { ProvisionersAddresses [][]byte `protobuf:"bytes,1,rep,name=provisioners_addresses,json=provisionersAddresses,proto3" json:"provisioners_addresses,omitempty"` BgPk *PublicKey `protobuf:"bytes,2,opt,name=bg_pk,json=bgPk,proto3" json:"bg_pk,omitempty"` Tx *Transaction `protobuf:"bytes,3,opt,name=tx,proto3" json:"tx,omitempty"` // contains filtered or unexported fields }
Call during block generation
func (*DistributeTransaction) Descriptor
deprecated
added in
v0.2.0
func (*DistributeTransaction) Descriptor() ([]byte, []int)
Deprecated: Use DistributeTransaction.ProtoReflect.Descriptor instead.
func (*DistributeTransaction) GetBgPk ¶ added in v0.2.0
func (x *DistributeTransaction) GetBgPk() *PublicKey
func (*DistributeTransaction) GetProvisionersAddresses ¶ added in v0.2.0
func (x *DistributeTransaction) GetProvisionersAddresses() [][]byte
func (*DistributeTransaction) GetTx ¶ added in v0.2.0
func (x *DistributeTransaction) GetTx() *Transaction
func (*DistributeTransaction) ProtoMessage ¶ added in v0.2.0
func (*DistributeTransaction) ProtoMessage()
func (*DistributeTransaction) ProtoReflect ¶ added in v0.2.0
func (x *DistributeTransaction) ProtoReflect() protoreflect.Message
func (*DistributeTransaction) Reset ¶ added in v0.2.0
func (x *DistributeTransaction) Reset()
func (*DistributeTransaction) String ¶ added in v0.2.0
func (x *DistributeTransaction) String() string
type DistributeTransactionRequest ¶ added in v0.2.0
type DistributeTransactionRequest struct { TotalReward uint64 `protobuf:"fixed64,1,opt,name=total_reward,json=totalReward,proto3" json:"total_reward,omitempty"` ProvisionersAddresses [][]byte `protobuf:"bytes,2,rep,name=provisioners_addresses,json=provisionersAddresses,proto3" json:"provisioners_addresses,omitempty"` BgPk *PublicKey `protobuf:"bytes,3,opt,name=bg_pk,json=bgPk,proto3" json:"bg_pk,omitempty"` Tx *NewTransactionRequest `protobuf:"bytes,4,opt,name=tx,proto3" json:"tx,omitempty"` // contains filtered or unexported fields }
Used to request the reward allocation for consensus nodes
func (*DistributeTransactionRequest) Descriptor
deprecated
added in
v0.2.0
func (*DistributeTransactionRequest) Descriptor() ([]byte, []int)
Deprecated: Use DistributeTransactionRequest.ProtoReflect.Descriptor instead.
func (*DistributeTransactionRequest) GetBgPk ¶ added in v0.2.0
func (x *DistributeTransactionRequest) GetBgPk() *PublicKey
func (*DistributeTransactionRequest) GetProvisionersAddresses ¶ added in v0.2.0
func (x *DistributeTransactionRequest) GetProvisionersAddresses() [][]byte
func (*DistributeTransactionRequest) GetTotalReward ¶ added in v0.2.0
func (x *DistributeTransactionRequest) GetTotalReward() uint64
func (*DistributeTransactionRequest) GetTx ¶ added in v0.2.0
func (x *DistributeTransactionRequest) GetTx() *NewTransactionRequest
func (*DistributeTransactionRequest) ProtoMessage ¶ added in v0.2.0
func (*DistributeTransactionRequest) ProtoMessage()
func (*DistributeTransactionRequest) ProtoReflect ¶ added in v0.2.0
func (x *DistributeTransactionRequest) ProtoReflect() protoreflect.Message
func (*DistributeTransactionRequest) Reset ¶ added in v0.2.0
func (x *DistributeTransactionRequest) Reset()
func (*DistributeTransactionRequest) String ¶ added in v0.2.0
func (x *DistributeTransactionRequest) String() string
type EchoRequest ¶
type EchoRequest struct {
// contains filtered or unexported fields
}
func (*EchoRequest) Descriptor
deprecated
func (*EchoRequest) Descriptor() ([]byte, []int)
Deprecated: Use EchoRequest.ProtoReflect.Descriptor instead.
func (*EchoRequest) ProtoMessage ¶
func (*EchoRequest) ProtoMessage()
func (*EchoRequest) ProtoReflect ¶ added in v0.2.0
func (x *EchoRequest) ProtoReflect() protoreflect.Message
func (*EchoRequest) Reset ¶
func (x *EchoRequest) Reset()
func (*EchoRequest) String ¶
func (x *EchoRequest) String() string
type EchoResponse ¶
type EchoResponse struct {
// contains filtered or unexported fields
}
func (*EchoResponse) Descriptor
deprecated
func (*EchoResponse) Descriptor() ([]byte, []int)
Deprecated: Use EchoResponse.ProtoReflect.Descriptor instead.
func (*EchoResponse) ProtoMessage ¶
func (*EchoResponse) ProtoMessage()
func (*EchoResponse) ProtoReflect ¶ added in v0.2.0
func (x *EchoResponse) ProtoReflect() protoreflect.Message
func (*EchoResponse) Reset ¶
func (x *EchoResponse) Reset()
func (*EchoResponse) String ¶
func (x *EchoResponse) String() string
type ExecuteStateTransitionRequest ¶
type ExecuteStateTransitionRequest struct { Calls []*ContractCallTx `protobuf:"bytes,1,rep,name=calls,proto3" json:"calls,omitempty"` // contains filtered or unexported fields }
func (*ExecuteStateTransitionRequest) Descriptor
deprecated
func (*ExecuteStateTransitionRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExecuteStateTransitionRequest.ProtoReflect.Descriptor instead.
func (*ExecuteStateTransitionRequest) GetCalls ¶ added in v0.2.0
func (x *ExecuteStateTransitionRequest) GetCalls() []*ContractCallTx
func (*ExecuteStateTransitionRequest) ProtoMessage ¶
func (*ExecuteStateTransitionRequest) ProtoMessage()
func (*ExecuteStateTransitionRequest) ProtoReflect ¶ added in v0.2.0
func (x *ExecuteStateTransitionRequest) ProtoReflect() protoreflect.Message
func (*ExecuteStateTransitionRequest) Reset ¶
func (x *ExecuteStateTransitionRequest) Reset()
func (*ExecuteStateTransitionRequest) String ¶
func (x *ExecuteStateTransitionRequest) String() string
type ExecuteStateTransitionResponse ¶
type ExecuteStateTransitionResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` CurrentHeight uint64 `protobuf:"fixed64,2,opt,name=current_height,json=currentHeight,proto3" json:"current_height,omitempty"` Committee []*Provisioner `protobuf:"bytes,3,rep,name=committee,proto3" json:"committee,omitempty"` // contains filtered or unexported fields }
func (*ExecuteStateTransitionResponse) Descriptor
deprecated
func (*ExecuteStateTransitionResponse) Descriptor() ([]byte, []int)
Deprecated: Use ExecuteStateTransitionResponse.ProtoReflect.Descriptor instead.
func (*ExecuteStateTransitionResponse) GetCommittee ¶ added in v0.2.0
func (x *ExecuteStateTransitionResponse) GetCommittee() []*Provisioner
func (*ExecuteStateTransitionResponse) GetCurrentHeight ¶ added in v0.2.0
func (x *ExecuteStateTransitionResponse) GetCurrentHeight() uint64
func (*ExecuteStateTransitionResponse) GetSuccess ¶ added in v0.2.0
func (x *ExecuteStateTransitionResponse) GetSuccess() bool
func (*ExecuteStateTransitionResponse) ProtoMessage ¶
func (*ExecuteStateTransitionResponse) ProtoMessage()
func (*ExecuteStateTransitionResponse) ProtoReflect ¶ added in v0.2.0
func (x *ExecuteStateTransitionResponse) ProtoReflect() protoreflect.Message
func (*ExecuteStateTransitionResponse) Reset ¶
func (x *ExecuteStateTransitionResponse) Reset()
func (*ExecuteStateTransitionResponse) String ¶
func (x *ExecuteStateTransitionResponse) String() string
type GenerateScoreRequest ¶
type GenerateScoreRequest struct { D []byte `protobuf:"bytes,1,opt,name=d,proto3" json:"d,omitempty"` K []byte `protobuf:"bytes,2,opt,name=k,proto3" json:"k,omitempty"` Seed []byte `protobuf:"bytes,3,opt,name=seed,proto3" json:"seed,omitempty"` EdPk []byte `protobuf:"bytes,4,opt,name=ed_pk,json=edPk,proto3" json:"ed_pk,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"` // contains filtered or unexported fields }
func (*GenerateScoreRequest) Descriptor
deprecated
func (*GenerateScoreRequest) Descriptor() ([]byte, []int)
Deprecated: Use GenerateScoreRequest.ProtoReflect.Descriptor instead.
func (*GenerateScoreRequest) GetD ¶
func (x *GenerateScoreRequest) GetD() []byte
func (*GenerateScoreRequest) GetEdPk ¶ added in v0.2.0
func (x *GenerateScoreRequest) GetEdPk() []byte
func (*GenerateScoreRequest) GetK ¶
func (x *GenerateScoreRequest) GetK() []byte
func (*GenerateScoreRequest) GetRound ¶ added in v0.2.0
func (x *GenerateScoreRequest) GetRound() uint64
func (*GenerateScoreRequest) GetSeed ¶
func (x *GenerateScoreRequest) GetSeed() []byte
func (*GenerateScoreRequest) GetStep ¶ added in v0.2.0
func (x *GenerateScoreRequest) GetStep() uint32
func (*GenerateScoreRequest) ProtoMessage ¶
func (*GenerateScoreRequest) ProtoMessage()
func (*GenerateScoreRequest) ProtoReflect ¶ added in v0.2.0
func (x *GenerateScoreRequest) ProtoReflect() protoreflect.Message
func (*GenerateScoreRequest) Reset ¶
func (x *GenerateScoreRequest) Reset()
func (*GenerateScoreRequest) String ¶
func (x *GenerateScoreRequest) String() string
type GenerateScoreResponse ¶
type GenerateScoreResponse struct { 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"` Identity []byte `protobuf:"bytes,4,opt,name=identity,proto3" json:"identity,omitempty"` // contains filtered or unexported fields }
func (*GenerateScoreResponse) Descriptor
deprecated
func (*GenerateScoreResponse) Descriptor() ([]byte, []int)
Deprecated: Use GenerateScoreResponse.ProtoReflect.Descriptor instead.
func (*GenerateScoreResponse) GetIdentity ¶ added in v0.2.0
func (x *GenerateScoreResponse) GetIdentity() []byte
func (*GenerateScoreResponse) GetProof ¶
func (x *GenerateScoreResponse) GetProof() []byte
func (*GenerateScoreResponse) GetScore ¶
func (x *GenerateScoreResponse) GetScore() []byte
func (*GenerateScoreResponse) GetSeed ¶ added in v0.2.0
func (x *GenerateScoreResponse) GetSeed() []byte
func (*GenerateScoreResponse) ProtoMessage ¶
func (*GenerateScoreResponse) ProtoMessage()
func (*GenerateScoreResponse) ProtoReflect ¶ added in v0.2.0
func (x *GenerateScoreResponse) ProtoReflect() protoreflect.Message
func (*GenerateScoreResponse) Reset ¶
func (x *GenerateScoreResponse) Reset()
func (*GenerateScoreResponse) String ¶
func (x *GenerateScoreResponse) String() string
type GenerateSecretKeyRequest ¶
type GenerateSecretKeyRequest struct { B []byte `protobuf:"bytes,1,opt,name=b,proto3" json:"b,omitempty"` // contains filtered or unexported fields }
func (*GenerateSecretKeyRequest) Descriptor
deprecated
func (*GenerateSecretKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use GenerateSecretKeyRequest.ProtoReflect.Descriptor instead.
func (*GenerateSecretKeyRequest) GetB ¶
func (x *GenerateSecretKeyRequest) GetB() []byte
func (*GenerateSecretKeyRequest) ProtoMessage ¶
func (*GenerateSecretKeyRequest) ProtoMessage()
func (*GenerateSecretKeyRequest) ProtoReflect ¶ added in v0.2.0
func (x *GenerateSecretKeyRequest) ProtoReflect() protoreflect.Message
func (*GenerateSecretKeyRequest) Reset ¶
func (x *GenerateSecretKeyRequest) Reset()
func (*GenerateSecretKeyRequest) String ¶
func (x *GenerateSecretKeyRequest) String() string
type GenerateSecretKeyResponse ¶ added in v0.2.0
type GenerateSecretKeyResponse struct { Sk *SecretKey `protobuf:"bytes,1,opt,name=sk,proto3" json:"sk,omitempty"` Vk *ViewKey `protobuf:"bytes,2,opt,name=vk,proto3" json:"vk,omitempty"` Pk *PublicKey `protobuf:"bytes,3,opt,name=pk,proto3" json:"pk,omitempty"` // contains filtered or unexported fields }
func (*GenerateSecretKeyResponse) Descriptor
deprecated
added in
v0.2.0
func (*GenerateSecretKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use GenerateSecretKeyResponse.ProtoReflect.Descriptor instead.
func (*GenerateSecretKeyResponse) GetPk ¶ added in v0.2.0
func (x *GenerateSecretKeyResponse) GetPk() *PublicKey
func (*GenerateSecretKeyResponse) GetSk ¶ added in v0.2.0
func (x *GenerateSecretKeyResponse) GetSk() *SecretKey
func (*GenerateSecretKeyResponse) GetVk ¶ added in v0.2.0
func (x *GenerateSecretKeyResponse) GetVk() *ViewKey
func (*GenerateSecretKeyResponse) ProtoMessage ¶ added in v0.2.0
func (*GenerateSecretKeyResponse) ProtoMessage()
func (*GenerateSecretKeyResponse) ProtoReflect ¶ added in v0.2.0
func (x *GenerateSecretKeyResponse) ProtoReflect() protoreflect.Message
func (*GenerateSecretKeyResponse) Reset ¶ added in v0.2.0
func (x *GenerateSecretKeyResponse) Reset()
func (*GenerateSecretKeyResponse) String ¶ added in v0.2.0
func (x *GenerateSecretKeyResponse) String() string
type GetBalanceRequest ¶ added in v0.2.0
type GetBalanceRequest struct { Vk *ViewKey `protobuf:"bytes,1,opt,name=vk,proto3" json:"vk,omitempty"` // contains filtered or unexported fields }
func (*GetBalanceRequest) Descriptor
deprecated
added in
v0.2.0
func (*GetBalanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBalanceRequest.ProtoReflect.Descriptor instead.
func (*GetBalanceRequest) GetVk ¶ added in v0.2.0
func (x *GetBalanceRequest) GetVk() *ViewKey
func (*GetBalanceRequest) ProtoMessage ¶ added in v0.2.0
func (*GetBalanceRequest) ProtoMessage()
func (*GetBalanceRequest) ProtoReflect ¶ added in v0.2.0
func (x *GetBalanceRequest) ProtoReflect() protoreflect.Message
func (*GetBalanceRequest) Reset ¶ added in v0.2.0
func (x *GetBalanceRequest) Reset()
func (*GetBalanceRequest) String ¶ added in v0.2.0
func (x *GetBalanceRequest) String() string
type GetBalanceResponse ¶ added in v0.2.0
type GetBalanceResponse struct { Balance uint64 `protobuf:"fixed64,1,opt,name=balance,proto3" json:"balance,omitempty"` // contains filtered or unexported fields }
func (*GetBalanceResponse) Descriptor
deprecated
added in
v0.2.0
func (*GetBalanceResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetBalanceResponse.ProtoReflect.Descriptor instead.
func (*GetBalanceResponse) GetBalance ¶ added in v0.2.0
func (x *GetBalanceResponse) GetBalance() uint64
func (*GetBalanceResponse) ProtoMessage ¶ added in v0.2.0
func (*GetBalanceResponse) ProtoMessage()
func (*GetBalanceResponse) ProtoReflect ¶ added in v0.2.0
func (x *GetBalanceResponse) ProtoReflect() protoreflect.Message
func (*GetBalanceResponse) Reset ¶ added in v0.2.0
func (x *GetBalanceResponse) Reset()
func (*GetBalanceResponse) String ¶ added in v0.2.0
func (x *GetBalanceResponse) String() string
type HashRequest ¶ added in v0.2.0
type HashRequest struct { // Types that are assignable to Request: // *HashRequest_BinInputs // *HashRequest_TxInputs Request isHashRequest_Request `protobuf_oneof:"request"` // contains filtered or unexported fields }
HashRequest carries the input for the hashing which can be an array of arrays of bytes or a transaction.
func (*HashRequest) Descriptor
deprecated
added in
v0.2.0
func (*HashRequest) Descriptor() ([]byte, []int)
Deprecated: Use HashRequest.ProtoReflect.Descriptor instead.
func (*HashRequest) GetBinInputs ¶ added in v0.2.0
func (x *HashRequest) GetBinInputs() *BinaryHashRequest
func (*HashRequest) GetRequest ¶ added in v0.2.0
func (m *HashRequest) GetRequest() isHashRequest_Request
func (*HashRequest) GetTxInputs ¶ added in v0.2.0
func (x *HashRequest) GetTxInputs() *TransactionHashRequest
func (*HashRequest) ProtoMessage ¶ added in v0.2.0
func (*HashRequest) ProtoMessage()
func (*HashRequest) ProtoReflect ¶ added in v0.2.0
func (x *HashRequest) ProtoReflect() protoreflect.Message
func (*HashRequest) Reset ¶ added in v0.2.0
func (x *HashRequest) Reset()
func (*HashRequest) String ¶ added in v0.2.0
func (x *HashRequest) String() string
type HashRequest_BinInputs ¶ added in v0.2.0
type HashRequest_BinInputs struct {
BinInputs *BinaryHashRequest `protobuf:"bytes,1,opt,name=bin_inputs,json=binInputs,proto3,oneof"`
}
type HashRequest_TxInputs ¶ added in v0.2.0
type HashRequest_TxInputs struct {
TxInputs *TransactionHashRequest `protobuf:"bytes,2,opt,name=tx_inputs,json=txInputs,proto3,oneof"`
}
type HashResponse ¶ added in v0.2.0
type HashResponse struct { Hash *Scalar `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` // contains filtered or unexported fields }
HashResponse carries the scalar calculated by the hashing function
func (*HashResponse) Descriptor
deprecated
added in
v0.2.0
func (*HashResponse) Descriptor() ([]byte, []int)
Deprecated: Use HashResponse.ProtoReflect.Descriptor instead.
func (*HashResponse) GetHash ¶ added in v0.2.0
func (x *HashResponse) GetHash() *Scalar
func (*HashResponse) ProtoMessage ¶ added in v0.2.0
func (*HashResponse) ProtoMessage()
func (*HashResponse) ProtoReflect ¶ added in v0.2.0
func (x *HashResponse) ProtoReflect() protoreflect.Message
func (*HashResponse) Reset ¶ added in v0.2.0
func (x *HashResponse) Reset()
func (*HashResponse) String ¶ added in v0.2.0
func (x *HashResponse) String() string
type KeysResponse ¶
type KeysResponse struct { Vk *ViewKey `protobuf:"bytes,1,opt,name=vk,proto3" json:"vk,omitempty"` Pk *PublicKey `protobuf:"bytes,2,opt,name=pk,proto3" json:"pk,omitempty"` // contains filtered or unexported fields }
func (*KeysResponse) Descriptor
deprecated
func (*KeysResponse) Descriptor() ([]byte, []int)
Deprecated: Use KeysResponse.ProtoReflect.Descriptor instead.
func (*KeysResponse) GetPk ¶
func (x *KeysResponse) GetPk() *PublicKey
func (*KeysResponse) GetVk ¶
func (x *KeysResponse) GetVk() *ViewKey
func (*KeysResponse) ProtoMessage ¶
func (*KeysResponse) ProtoMessage()
func (*KeysResponse) ProtoReflect ¶ added in v0.2.0
func (x *KeysResponse) ProtoReflect() protoreflect.Message
func (*KeysResponse) Reset ¶
func (x *KeysResponse) Reset()
func (*KeysResponse) String ¶
func (x *KeysResponse) String() string
type NewTransactionRequest ¶
type NewTransactionRequest struct { Sk *SecretKey `protobuf:"bytes,1,opt,name=sk,proto3" json:"sk,omitempty"` Recipient *PublicKey `protobuf:"bytes,2,opt,name=recipient,proto3" json:"recipient,omitempty"` Value uint64 `protobuf:"fixed64,3,opt,name=value,proto3" json:"value,omitempty"` Fee uint64 `protobuf:"fixed64,4,opt,name=fee,proto3" json:"fee,omitempty"` Obfuscated bool `protobuf:"varint,5,opt,name=obfuscated,proto3" json:"obfuscated,omitempty"` // contains filtered or unexported fields }
Call from CLI directly
func (*NewTransactionRequest) Descriptor
deprecated
func (*NewTransactionRequest) Descriptor() ([]byte, []int)
Deprecated: Use NewTransactionRequest.ProtoReflect.Descriptor instead.
func (*NewTransactionRequest) GetFee ¶
func (x *NewTransactionRequest) GetFee() uint64
func (*NewTransactionRequest) GetObfuscated ¶
func (x *NewTransactionRequest) GetObfuscated() bool
func (*NewTransactionRequest) GetRecipient ¶
func (x *NewTransactionRequest) GetRecipient() *PublicKey
func (*NewTransactionRequest) GetSk ¶
func (x *NewTransactionRequest) GetSk() *SecretKey
func (*NewTransactionRequest) GetValue ¶
func (x *NewTransactionRequest) GetValue() uint64
func (*NewTransactionRequest) ProtoMessage ¶
func (*NewTransactionRequest) ProtoMessage()
func (*NewTransactionRequest) ProtoReflect ¶ added in v0.2.0
func (x *NewTransactionRequest) ProtoReflect() protoreflect.Message
func (*NewTransactionRequest) Reset ¶
func (x *NewTransactionRequest) Reset()
func (*NewTransactionRequest) String ¶
func (x *NewTransactionRequest) String() string
type Nonce ¶
type Nonce struct { Bs []byte `protobuf:"bytes,1,opt,name=bs,proto3" json:"bs,omitempty"` // contains filtered or unexported fields }
func (*Nonce) Descriptor
deprecated
func (*Nonce) ProtoMessage ¶
func (*Nonce) ProtoMessage()
func (*Nonce) ProtoReflect ¶ added in v0.2.0
func (x *Nonce) ProtoReflect() protoreflect.Message
type Note ¶
type Note struct { NoteType NoteType `protobuf:"varint,1,opt,name=note_type,json=noteType,proto3,enum=rusk.NoteType" json:"note_type,omitempty"` Pos uint64 `protobuf:"fixed64,2,opt,name=pos,proto3" json:"pos,omitempty"` Nonce *Nonce `protobuf:"bytes,3,opt,name=nonce,proto3" json:"nonce,omitempty"` RG *CompressedPoint `protobuf:"bytes,4,opt,name=r_g,json=rG,proto3" json:"r_g,omitempty"` PkR *CompressedPoint `protobuf:"bytes,5,opt,name=pk_r,json=pkR,proto3" json:"pk_r,omitempty"` ValueCommitment *Scalar `protobuf:"bytes,6,opt,name=value_commitment,json=valueCommitment,proto3" json:"value_commitment,omitempty"` // Types that are assignable to BlindingFactor: // *Note_TransparentBlindingFactor // *Note_EncryptedBlindingFactor BlindingFactor isNote_BlindingFactor `protobuf_oneof:"blinding_factor"` // Types that are assignable to Value: // *Note_TransparentValue // *Note_EncryptedValue Value isNote_Value `protobuf_oneof:"value"` // contains filtered or unexported fields }
func (*Note) Descriptor
deprecated
func (*Note) GetBlindingFactor ¶
func (m *Note) GetBlindingFactor() isNote_BlindingFactor
func (*Note) GetEncryptedBlindingFactor ¶
func (*Note) GetEncryptedValue ¶
func (*Note) GetNoteType ¶
func (*Note) GetPkR ¶
func (x *Note) GetPkR() *CompressedPoint
func (*Note) GetRG ¶
func (x *Note) GetRG() *CompressedPoint
func (*Note) GetTransparentBlindingFactor ¶
func (*Note) GetTransparentValue ¶
func (*Note) GetValueCommitment ¶
func (*Note) ProtoMessage ¶
func (*Note) ProtoMessage()
func (*Note) ProtoReflect ¶ added in v0.2.0
func (x *Note) ProtoReflect() protoreflect.Message
type NoteType ¶
type NoteType int32
func (NoteType) Descriptor ¶ added in v0.2.0
func (NoteType) Descriptor() protoreflect.EnumDescriptor
func (NoteType) EnumDescriptor
deprecated
func (NoteType) Number ¶ added in v0.2.0
func (x NoteType) Number() protoreflect.EnumNumber
func (NoteType) Type ¶ added in v0.2.0
func (NoteType) Type() protoreflect.EnumType
type Note_EncryptedBlindingFactor ¶
type Note_EncryptedBlindingFactor struct {
EncryptedBlindingFactor []byte `protobuf:"bytes,8,opt,name=encrypted_blinding_factor,json=encryptedBlindingFactor,proto3,oneof"`
}
type Note_EncryptedValue ¶
type Note_EncryptedValue struct {
EncryptedValue []byte `protobuf:"bytes,10,opt,name=encrypted_value,json=encryptedValue,proto3,oneof"`
}
type Note_TransparentBlindingFactor ¶
type Note_TransparentBlindingFactor struct {
TransparentBlindingFactor *Scalar `protobuf:"bytes,7,opt,name=transparent_blinding_factor,json=transparentBlindingFactor,proto3,oneof"`
}
type Note_TransparentValue ¶
type Note_TransparentValue struct {
TransparentValue uint64 `protobuf:"fixed64,9,opt,name=transparent_value,json=transparentValue,proto3,oneof"`
}
type Nullifier ¶
type Nullifier struct { H *Scalar `protobuf:"bytes,1,opt,name=h,proto3" json:"h,omitempty"` // contains filtered or unexported fields }
func (*Nullifier) Descriptor
deprecated
func (*Nullifier) ProtoMessage ¶
func (*Nullifier) ProtoMessage()
func (*Nullifier) ProtoReflect ¶ added in v0.2.0
func (x *Nullifier) ProtoReflect() protoreflect.Message
type OwnedNotesResponse ¶
type OwnedNotesResponse struct { Notes []*DecryptedNote `protobuf:"bytes,1,rep,name=notes,proto3" json:"notes,omitempty"` // contains filtered or unexported fields }
Used for scanning unspent input set
func (*OwnedNotesResponse) Descriptor
deprecated
func (*OwnedNotesResponse) Descriptor() ([]byte, []int)
Deprecated: Use OwnedNotesResponse.ProtoReflect.Descriptor instead.
func (*OwnedNotesResponse) GetNotes ¶
func (x *OwnedNotesResponse) GetNotes() []*DecryptedNote
func (*OwnedNotesResponse) ProtoMessage ¶
func (*OwnedNotesResponse) ProtoMessage()
func (*OwnedNotesResponse) ProtoReflect ¶ added in v0.2.0
func (x *OwnedNotesResponse) ProtoReflect() protoreflect.Message
func (*OwnedNotesResponse) Reset ¶
func (x *OwnedNotesResponse) Reset()
func (*OwnedNotesResponse) String ¶
func (x *OwnedNotesResponse) String() string
type Provisioner ¶ added in v0.2.0
type Provisioner struct { BlsKey []byte `protobuf:"bytes,1,opt,name=bls_key,json=blsKey,proto3" json:"bls_key,omitempty"` Stakes []*Stake `protobuf:"bytes,2,rep,name=stakes,proto3" json:"stakes,omitempty"` // contains filtered or unexported fields }
func (*Provisioner) Descriptor
deprecated
added in
v0.2.0
func (*Provisioner) Descriptor() ([]byte, []int)
Deprecated: Use Provisioner.ProtoReflect.Descriptor instead.
func (*Provisioner) GetBlsKey ¶ added in v0.2.0
func (x *Provisioner) GetBlsKey() []byte
func (*Provisioner) GetStakes ¶ added in v0.2.0
func (x *Provisioner) GetStakes() []*Stake
func (*Provisioner) ProtoMessage ¶ added in v0.2.0
func (*Provisioner) ProtoMessage()
func (*Provisioner) ProtoReflect ¶ added in v0.2.0
func (x *Provisioner) ProtoReflect() protoreflect.Message
func (*Provisioner) Reset ¶ added in v0.2.0
func (x *Provisioner) Reset()
func (*Provisioner) String ¶ added in v0.2.0
func (x *Provisioner) String() string
type PublicKey ¶
type PublicKey struct { AG *CompressedPoint `protobuf:"bytes,1,opt,name=a_g,json=aG,proto3" json:"a_g,omitempty"` BG *CompressedPoint `protobuf:"bytes,2,opt,name=b_g,json=bG,proto3" json:"b_g,omitempty"` // contains filtered or unexported fields }
func (*PublicKey) Descriptor
deprecated
func (*PublicKey) GetAG ¶
func (x *PublicKey) GetAG() *CompressedPoint
func (*PublicKey) GetBG ¶
func (x *PublicKey) GetBG() *CompressedPoint
func (*PublicKey) ProtoMessage ¶
func (*PublicKey) ProtoMessage()
func (*PublicKey) ProtoReflect ¶ added in v0.2.0
func (x *PublicKey) ProtoReflect() protoreflect.Message
type RuskClient ¶
type RuskClient interface { // Simple echo request Echo(ctx context.Context, in *EchoRequest, opts ...grpc.CallOption) (*EchoResponse, error) // Validate a set of contract calls, returning false if at least one of the // listed transactions is inconsistent ValidateStateTransition(ctx context.Context, in *ValidateStateTransitionRequest, opts ...grpc.CallOption) (*ValidateStateTransitionResponse, error) // Execute a set of contract calls, resulting in a mutation of the contract // storage. ExecuteStateTransition(ctx context.Context, in *ExecuteStateTransitionRequest, opts ...grpc.CallOption) (*ExecuteStateTransitionResponse, error) // 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) // Phoenix stuff GenerateSecretKey(ctx context.Context, in *GenerateSecretKeyRequest, opts ...grpc.CallOption) (*GenerateSecretKeyResponse, error) Keys(ctx context.Context, in *SecretKey, opts ...grpc.CallOption) (*KeysResponse, error) FullScanOwnedNotes(ctx context.Context, in *ViewKey, opts ...grpc.CallOption) (*OwnedNotesResponse, error) NewTransaction(ctx context.Context, in *NewTransactionRequest, opts ...grpc.CallOption) (*Transaction, error) GetBalance(ctx context.Context, in *GetBalanceRequest, opts ...grpc.CallOption) (*GetBalanceResponse, error) VerifyTransaction(ctx context.Context, in *ContractCallTx, opts ...grpc.CallOption) (*VerifyTransactionResponse, error) // Stake NewStake(ctx context.Context, in *StakeTransactionRequest, opts ...grpc.CallOption) (*StakeTransaction, error) VerifyStake(ctx context.Context, in *StakeTransaction, opts ...grpc.CallOption) (*VerifyTransactionResponse, error) NewWithdrawStake(ctx context.Context, in *WithdrawStakeTransactionRequest, opts ...grpc.CallOption) (*WithdrawStakeTransaction, error) // Bid NewBid(ctx context.Context, in *BidTransactionRequest, opts ...grpc.CallOption) (*BidTransaction, error) NewWithdrawBid(ctx context.Context, in *WithdrawBidTransactionRequest, opts ...grpc.CallOption) (*WithdrawBidTransaction, error) // Distribute NewDistribute(ctx context.Context, in *DistributeTransactionRequest, opts ...grpc.CallOption) (*DistributeTransaction, error) // WithdrawFee NewWithdrawFees(ctx context.Context, in *WithdrawFeesTransactionRequest, opts ...grpc.CallOption) (*WithdrawFeesTransaction, error) // Slash NewSlash(ctx context.Context, in *SlashTransactionRequest, opts ...grpc.CallOption) (*SlashTransaction, error) }
RuskClient is the client API for Rusk service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewRuskClient ¶
func NewRuskClient(cc grpc.ClientConnInterface) RuskClient
type RuskMock ¶ added in v0.2.0
type RuskMock struct{}
func (*RuskMock) Echo ¶ added in v0.2.0
func (m *RuskMock) Echo(ctx context.Context, req *EchoRequest) (*EchoResponse, error)
func (*RuskMock) ExecuteStateTransition ¶ added in v0.2.0
func (m *RuskMock) ExecuteStateTransition(ctx context.Context, req *ExecuteStateTransitionRequest) (*ExecuteStateTransitionResponse, error)
func (*RuskMock) FullScanOwnedNotes ¶ added in v0.2.0
func (*RuskMock) GenerateScore ¶ added in v0.2.0
func (m *RuskMock) GenerateScore(ctx context.Context, req *GenerateScoreRequest) (*GenerateScoreResponse, error)
func (*RuskMock) GenerateSecretKey ¶ added in v0.2.0
func (m *RuskMock) GenerateSecretKey(ctx context.Context, req *GenerateSecretKeyRequest) (*GenerateSecretKeyResponse, error)
func (*RuskMock) GetBalance ¶ added in v0.2.0
func (m *RuskMock) GetBalance(ctx context.Context, req *GetBalanceRequest) (*GetBalanceResponse, error)
func (*RuskMock) NewBid ¶ added in v0.2.0
func (m *RuskMock) NewBid(ctx context.Context, req *BidTransactionRequest) (*BidTransaction, error)
func (*RuskMock) NewDistribute ¶ added in v0.2.0
func (m *RuskMock) NewDistribute(ctx context.Context, req *DistributeTransactionRequest) (*DistributeTransaction, error)
func (*RuskMock) NewSlash ¶ added in v0.2.0
func (m *RuskMock) NewSlash(ctx context.Context, req *SlashTransactionRequest) (*SlashTransaction, error)
func (*RuskMock) NewStake ¶ added in v0.2.0
func (m *RuskMock) NewStake(ctx context.Context, req *StakeTransactionRequest) (*StakeTransaction, error)
func (*RuskMock) NewTransaction ¶ added in v0.2.0
func (m *RuskMock) NewTransaction(ctx context.Context, req *NewTransactionRequest) (*Transaction, error)
func (*RuskMock) NewWithdrawBid ¶ added in v0.2.0
func (m *RuskMock) NewWithdrawBid(ctx context.Context, req *WithdrawBidTransactionRequest) (*WithdrawBidTransaction, error)
func (*RuskMock) NewWithdrawFees ¶ added in v0.2.0
func (m *RuskMock) NewWithdrawFees(ctx context.Context, req *WithdrawFeesTransactionRequest) (*WithdrawFeesTransaction, error)
func (*RuskMock) NewWithdrawStake ¶ added in v0.2.0
func (m *RuskMock) NewWithdrawStake(ctx context.Context, req *WithdrawStakeTransactionRequest) (*WithdrawStakeTransaction, error)
func (*RuskMock) ValidateStateTransition ¶ added in v0.2.0
func (m *RuskMock) ValidateStateTransition(ctx context.Context, req *ValidateStateTransitionRequest) (*ValidateStateTransitionResponse, error)
func (*RuskMock) VerifyScore ¶ added in v0.2.0
func (m *RuskMock) VerifyScore(ctx context.Context, req *VerifyScoreRequest) (*VerifyScoreResponse, error)
func (*RuskMock) VerifyStake ¶ added in v0.2.0
func (m *RuskMock) VerifyStake(ctx context.Context, req *StakeTransaction) (*VerifyTransactionResponse, error)
func (*RuskMock) VerifyTransaction ¶ added in v0.2.0
func (m *RuskMock) VerifyTransaction(ctx context.Context, req *ContractCallTx) (*VerifyTransactionResponse, error)
type RuskServer ¶
type RuskServer interface { // Simple echo request Echo(context.Context, *EchoRequest) (*EchoResponse, error) // Validate a set of contract calls, returning false if at least one of the // listed transactions is inconsistent ValidateStateTransition(context.Context, *ValidateStateTransitionRequest) (*ValidateStateTransitionResponse, error) // Execute a set of contract calls, resulting in a mutation of the contract // storage. ExecuteStateTransition(context.Context, *ExecuteStateTransitionRequest) (*ExecuteStateTransitionResponse, error) // 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) // Phoenix stuff GenerateSecretKey(context.Context, *GenerateSecretKeyRequest) (*GenerateSecretKeyResponse, error) Keys(context.Context, *SecretKey) (*KeysResponse, error) FullScanOwnedNotes(context.Context, *ViewKey) (*OwnedNotesResponse, error) NewTransaction(context.Context, *NewTransactionRequest) (*Transaction, error) GetBalance(context.Context, *GetBalanceRequest) (*GetBalanceResponse, error) VerifyTransaction(context.Context, *ContractCallTx) (*VerifyTransactionResponse, error) // Stake NewStake(context.Context, *StakeTransactionRequest) (*StakeTransaction, error) VerifyStake(context.Context, *StakeTransaction) (*VerifyTransactionResponse, error) NewWithdrawStake(context.Context, *WithdrawStakeTransactionRequest) (*WithdrawStakeTransaction, error) // Bid NewBid(context.Context, *BidTransactionRequest) (*BidTransaction, error) NewWithdrawBid(context.Context, *WithdrawBidTransactionRequest) (*WithdrawBidTransaction, error) // Distribute NewDistribute(context.Context, *DistributeTransactionRequest) (*DistributeTransaction, error) // WithdrawFee NewWithdrawFees(context.Context, *WithdrawFeesTransactionRequest) (*WithdrawFeesTransaction, error) // Slash NewSlash(context.Context, *SlashTransactionRequest) (*SlashTransaction, error) }
RuskServer is the server API for Rusk service.
type Scalar ¶
type Scalar struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*Scalar) Descriptor
deprecated
func (*Scalar) ProtoMessage ¶
func (*Scalar) ProtoMessage()
func (*Scalar) ProtoReflect ¶ added in v0.2.0
func (x *Scalar) ProtoReflect() protoreflect.Message
type SecretKey ¶
type SecretKey struct { A *Scalar `protobuf:"bytes,1,opt,name=a,proto3" json:"a,omitempty"` B *Scalar `protobuf:"bytes,2,opt,name=b,proto3" json:"b,omitempty"` // contains filtered or unexported fields }
func (*SecretKey) Descriptor
deprecated
func (*SecretKey) ProtoMessage ¶
func (*SecretKey) ProtoMessage()
func (*SecretKey) ProtoReflect ¶ added in v0.2.0
func (x *SecretKey) ProtoReflect() protoreflect.Message
type SlashTransaction ¶ added in v0.2.0
type SlashTransaction struct { BlsKey []byte `protobuf:"bytes,1,opt,name=bls_key,json=blsKey,proto3" json:"bls_key,omitempty"` Step uint32 `protobuf:"varint,2,opt,name=step,proto3" json:"step,omitempty"` Round uint64 `protobuf:"fixed64,3,opt,name=round,proto3" json:"round,omitempty"` FirstMsg []byte `protobuf:"bytes,4,opt,name=first_msg,json=firstMsg,proto3" json:"first_msg,omitempty"` FirstSig []byte `protobuf:"bytes,5,opt,name=first_sig,json=firstSig,proto3" json:"first_sig,omitempty"` SecondMsg []byte `protobuf:"bytes,6,opt,name=second_msg,json=secondMsg,proto3" json:"second_msg,omitempty"` SecondSig []byte `protobuf:"bytes,7,opt,name=second_sig,json=secondSig,proto3" json:"second_sig,omitempty"` Tx *Transaction `protobuf:"bytes,8,opt,name=tx,proto3" json:"tx,omitempty"` // contains filtered or unexported fields }
Call from consensus
func (*SlashTransaction) Descriptor
deprecated
added in
v0.2.0
func (*SlashTransaction) Descriptor() ([]byte, []int)
Deprecated: Use SlashTransaction.ProtoReflect.Descriptor instead.
func (*SlashTransaction) GetBlsKey ¶ added in v0.2.0
func (x *SlashTransaction) GetBlsKey() []byte
func (*SlashTransaction) GetFirstMsg ¶ added in v0.2.0
func (x *SlashTransaction) GetFirstMsg() []byte
func (*SlashTransaction) GetFirstSig ¶ added in v0.2.0
func (x *SlashTransaction) GetFirstSig() []byte
func (*SlashTransaction) GetRound ¶ added in v0.2.0
func (x *SlashTransaction) GetRound() uint64
func (*SlashTransaction) GetSecondMsg ¶ added in v0.2.0
func (x *SlashTransaction) GetSecondMsg() []byte
func (*SlashTransaction) GetSecondSig ¶ added in v0.2.0
func (x *SlashTransaction) GetSecondSig() []byte
func (*SlashTransaction) GetStep ¶ added in v0.2.0
func (x *SlashTransaction) GetStep() uint32
func (*SlashTransaction) GetTx ¶ added in v0.2.0
func (x *SlashTransaction) GetTx() *Transaction
func (*SlashTransaction) ProtoMessage ¶ added in v0.2.0
func (*SlashTransaction) ProtoMessage()
func (*SlashTransaction) ProtoReflect ¶ added in v0.2.0
func (x *SlashTransaction) ProtoReflect() protoreflect.Message
func (*SlashTransaction) Reset ¶ added in v0.2.0
func (x *SlashTransaction) Reset()
func (*SlashTransaction) String ¶ added in v0.2.0
func (x *SlashTransaction) String() string
type SlashTransactionRequest ¶ added in v0.2.0
type SlashTransactionRequest struct { BlsKey []byte `protobuf:"bytes,1,opt,name=bls_key,json=blsKey,proto3" json:"bls_key,omitempty"` Step uint32 `protobuf:"varint,2,opt,name=step,proto3" json:"step,omitempty"` Round uint64 `protobuf:"fixed64,3,opt,name=round,proto3" json:"round,omitempty"` FirstMsg []byte `protobuf:"bytes,4,opt,name=first_msg,json=firstMsg,proto3" json:"first_msg,omitempty"` FirstSig []byte `protobuf:"bytes,5,opt,name=first_sig,json=firstSig,proto3" json:"first_sig,omitempty"` SecondMsg []byte `protobuf:"bytes,6,opt,name=second_msg,json=secondMsg,proto3" json:"second_msg,omitempty"` SecondSig []byte `protobuf:"bytes,7,opt,name=second_sig,json=secondSig,proto3" json:"second_sig,omitempty"` Tx *NewTransactionRequest `protobuf:"bytes,8,opt,name=tx,proto3" json:"tx,omitempty"` // contains filtered or unexported fields }
Used to request the Slash of a stake
func (*SlashTransactionRequest) Descriptor
deprecated
added in
v0.2.0
func (*SlashTransactionRequest) Descriptor() ([]byte, []int)
Deprecated: Use SlashTransactionRequest.ProtoReflect.Descriptor instead.
func (*SlashTransactionRequest) GetBlsKey ¶ added in v0.2.0
func (x *SlashTransactionRequest) GetBlsKey() []byte
func (*SlashTransactionRequest) GetFirstMsg ¶ added in v0.2.0
func (x *SlashTransactionRequest) GetFirstMsg() []byte
func (*SlashTransactionRequest) GetFirstSig ¶ added in v0.2.0
func (x *SlashTransactionRequest) GetFirstSig() []byte
func (*SlashTransactionRequest) GetRound ¶ added in v0.2.0
func (x *SlashTransactionRequest) GetRound() uint64
func (*SlashTransactionRequest) GetSecondMsg ¶ added in v0.2.0
func (x *SlashTransactionRequest) GetSecondMsg() []byte
func (*SlashTransactionRequest) GetSecondSig ¶ added in v0.2.0
func (x *SlashTransactionRequest) GetSecondSig() []byte
func (*SlashTransactionRequest) GetStep ¶ added in v0.2.0
func (x *SlashTransactionRequest) GetStep() uint32
func (*SlashTransactionRequest) GetTx ¶ added in v0.2.0
func (x *SlashTransactionRequest) GetTx() *NewTransactionRequest
func (*SlashTransactionRequest) ProtoMessage ¶ added in v0.2.0
func (*SlashTransactionRequest) ProtoMessage()
func (*SlashTransactionRequest) ProtoReflect ¶ added in v0.2.0
func (x *SlashTransactionRequest) ProtoReflect() protoreflect.Message
func (*SlashTransactionRequest) Reset ¶ added in v0.2.0
func (x *SlashTransactionRequest) Reset()
func (*SlashTransactionRequest) String ¶ added in v0.2.0
func (x *SlashTransactionRequest) String() string
type Stake ¶ added in v0.2.0
type Stake struct { Amount uint64 `protobuf:"fixed64,1,opt,name=amount,proto3" json:"amount,omitempty"` StartHeight uint64 `protobuf:"fixed64,2,opt,name=start_height,json=startHeight,proto3" json:"start_height,omitempty"` EndHeight uint64 `protobuf:"fixed64,3,opt,name=end_height,json=endHeight,proto3" json:"end_height,omitempty"` // contains filtered or unexported fields }
func (*Stake) Descriptor
deprecated
added in
v0.2.0
func (*Stake) GetEndHeight ¶ added in v0.2.0
func (*Stake) GetStartHeight ¶ added in v0.2.0
func (*Stake) ProtoMessage ¶ added in v0.2.0
func (*Stake) ProtoMessage()
func (*Stake) ProtoReflect ¶ added in v0.2.0
func (x *Stake) ProtoReflect() protoreflect.Message
type StakeTransaction ¶ added in v0.2.0
type StakeTransaction struct { BlsKey []byte `protobuf:"bytes,1,opt,name=bls_key,json=blsKey,proto3" json:"bls_key,omitempty"` ExpirationHeight uint64 `protobuf:"fixed64,2,opt,name=expiration_height,json=expirationHeight,proto3" json:"expiration_height,omitempty"` Tx *Transaction `protobuf:"bytes,4,opt,name=tx,proto3" json:"tx,omitempty"` // contains filtered or unexported fields }
StakeTransaction is the transaction for the Stake used by the Provisioners to engage in committees
func (*StakeTransaction) Descriptor
deprecated
added in
v0.2.0
func (*StakeTransaction) Descriptor() ([]byte, []int)
Deprecated: Use StakeTransaction.ProtoReflect.Descriptor instead.
func (*StakeTransaction) GetBlsKey ¶ added in v0.2.0
func (x *StakeTransaction) GetBlsKey() []byte
func (*StakeTransaction) GetExpirationHeight ¶ added in v0.2.0
func (x *StakeTransaction) GetExpirationHeight() uint64
func (*StakeTransaction) GetTx ¶ added in v0.2.0
func (x *StakeTransaction) GetTx() *Transaction
func (*StakeTransaction) ProtoMessage ¶ added in v0.2.0
func (*StakeTransaction) ProtoMessage()
func (*StakeTransaction) ProtoReflect ¶ added in v0.2.0
func (x *StakeTransaction) ProtoReflect() protoreflect.Message
func (*StakeTransaction) Reset ¶ added in v0.2.0
func (x *StakeTransaction) Reset()
func (*StakeTransaction) String ¶ added in v0.2.0
func (x *StakeTransaction) String() string
type StakeTransactionRequest ¶ added in v0.2.0
type StakeTransactionRequest struct { BlsKey []byte `protobuf:"bytes,1,opt,name=bls_key,json=blsKey,proto3" json:"bls_key,omitempty"` ExpirationHeight uint64 `protobuf:"fixed64,2,opt,name=expiration_height,json=expirationHeight,proto3" json:"expiration_height,omitempty"` Tx *NewTransactionRequest `protobuf:"bytes,3,opt,name=tx,proto3" json:"tx,omitempty"` // contains filtered or unexported fields }
Used to request the creation of a Stake
func (*StakeTransactionRequest) Descriptor
deprecated
added in
v0.2.0
func (*StakeTransactionRequest) Descriptor() ([]byte, []int)
Deprecated: Use StakeTransactionRequest.ProtoReflect.Descriptor instead.
func (*StakeTransactionRequest) GetBlsKey ¶ added in v0.2.0
func (x *StakeTransactionRequest) GetBlsKey() []byte
func (*StakeTransactionRequest) GetExpirationHeight ¶ added in v0.2.0
func (x *StakeTransactionRequest) GetExpirationHeight() uint64
func (*StakeTransactionRequest) GetTx ¶ added in v0.2.0
func (x *StakeTransactionRequest) GetTx() *NewTransactionRequest
func (*StakeTransactionRequest) ProtoMessage ¶ added in v0.2.0
func (*StakeTransactionRequest) ProtoMessage()
func (*StakeTransactionRequest) ProtoReflect ¶ added in v0.2.0
func (x *StakeTransactionRequest) ProtoReflect() protoreflect.Message
func (*StakeTransactionRequest) Reset ¶ added in v0.2.0
func (x *StakeTransactionRequest) Reset()
func (*StakeTransactionRequest) String ¶ added in v0.2.0
func (x *StakeTransactionRequest) String() string
type Transaction ¶
type Transaction struct { Inputs []*TransactionInput `protobuf:"bytes,1,rep,name=inputs,proto3" json:"inputs,omitempty"` Outputs []*TransactionOutput `protobuf:"bytes,2,rep,name=outputs,proto3" json:"outputs,omitempty"` Fee *TransactionOutput `protobuf:"bytes,3,opt,name=fee,proto3" json:"fee,omitempty"` Proof []byte `protobuf:"bytes,4,opt,name=proof,proto3" json:"proof,omitempty"` // contains filtered or unexported fields }
func (*Transaction) Descriptor
deprecated
func (*Transaction) Descriptor() ([]byte, []int)
Deprecated: Use Transaction.ProtoReflect.Descriptor instead.
func (*Transaction) GetFee ¶
func (x *Transaction) GetFee() *TransactionOutput
func (*Transaction) GetInputs ¶
func (x *Transaction) GetInputs() []*TransactionInput
func (*Transaction) GetOutputs ¶
func (x *Transaction) GetOutputs() []*TransactionOutput
func (*Transaction) GetProof ¶
func (x *Transaction) GetProof() []byte
func (*Transaction) ProtoMessage ¶
func (*Transaction) ProtoMessage()
func (*Transaction) ProtoReflect ¶ added in v0.2.0
func (x *Transaction) ProtoReflect() protoreflect.Message
func (*Transaction) Reset ¶
func (x *Transaction) Reset()
func (*Transaction) String ¶
func (x *Transaction) String() string
type TransactionHashRequest ¶ added in v0.2.0
type TransactionHashRequest struct { Txs []*Transaction `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"` // contains filtered or unexported fields }
func (*TransactionHashRequest) Descriptor
deprecated
added in
v0.2.0
func (*TransactionHashRequest) Descriptor() ([]byte, []int)
Deprecated: Use TransactionHashRequest.ProtoReflect.Descriptor instead.
func (*TransactionHashRequest) GetTxs ¶ added in v0.2.0
func (x *TransactionHashRequest) GetTxs() []*Transaction
func (*TransactionHashRequest) ProtoMessage ¶ added in v0.2.0
func (*TransactionHashRequest) ProtoMessage()
func (*TransactionHashRequest) ProtoReflect ¶ added in v0.2.0
func (x *TransactionHashRequest) ProtoReflect() protoreflect.Message
func (*TransactionHashRequest) Reset ¶ added in v0.2.0
func (x *TransactionHashRequest) Reset()
func (*TransactionHashRequest) String ¶ added in v0.2.0
func (x *TransactionHashRequest) String() string
type TransactionInput ¶
type TransactionInput struct { Nullifier *Nullifier `protobuf:"bytes,1,opt,name=nullifier,proto3" json:"nullifier,omitempty"` MerkleRoot *Scalar `protobuf:"bytes,2,opt,name=merkle_root,json=merkleRoot,proto3" json:"merkle_root,omitempty"` // contains filtered or unexported fields }
func (*TransactionInput) Descriptor
deprecated
func (*TransactionInput) Descriptor() ([]byte, []int)
Deprecated: Use TransactionInput.ProtoReflect.Descriptor instead.
func (*TransactionInput) GetMerkleRoot ¶
func (x *TransactionInput) GetMerkleRoot() *Scalar
func (*TransactionInput) GetNullifier ¶
func (x *TransactionInput) GetNullifier() *Nullifier
func (*TransactionInput) ProtoMessage ¶
func (*TransactionInput) ProtoMessage()
func (*TransactionInput) ProtoReflect ¶ added in v0.2.0
func (x *TransactionInput) ProtoReflect() protoreflect.Message
func (*TransactionInput) Reset ¶
func (x *TransactionInput) Reset()
func (*TransactionInput) String ¶
func (x *TransactionInput) String() string
type TransactionOutput ¶
type TransactionOutput struct { Note *Note `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"` Pk *PublicKey `protobuf:"bytes,2,opt,name=pk,proto3" json:"pk,omitempty"` Value uint64 `protobuf:"fixed64,3,opt,name=value,proto3" json:"value,omitempty"` BlindingFactor *Scalar `protobuf:"bytes,4,opt,name=blinding_factor,json=blindingFactor,proto3" json:"blinding_factor,omitempty"` // contains filtered or unexported fields }
func (*TransactionOutput) Descriptor
deprecated
func (*TransactionOutput) Descriptor() ([]byte, []int)
Deprecated: Use TransactionOutput.ProtoReflect.Descriptor instead.
func (*TransactionOutput) GetBlindingFactor ¶
func (x *TransactionOutput) GetBlindingFactor() *Scalar
func (*TransactionOutput) GetNote ¶
func (x *TransactionOutput) GetNote() *Note
func (*TransactionOutput) GetPk ¶
func (x *TransactionOutput) GetPk() *PublicKey
func (*TransactionOutput) GetValue ¶
func (x *TransactionOutput) GetValue() uint64
func (*TransactionOutput) ProtoMessage ¶
func (*TransactionOutput) ProtoMessage()
func (*TransactionOutput) ProtoReflect ¶ added in v0.2.0
func (x *TransactionOutput) ProtoReflect() protoreflect.Message
func (*TransactionOutput) Reset ¶
func (x *TransactionOutput) Reset()
func (*TransactionOutput) String ¶
func (x *TransactionOutput) String() string
type UnimplementedCryptoServer ¶ added in v0.2.0
type UnimplementedCryptoServer struct { }
UnimplementedCryptoServer can be embedded to have forward compatible implementations.
func (*UnimplementedCryptoServer) Hash ¶ added in v0.2.0
func (*UnimplementedCryptoServer) Hash(context.Context, *HashRequest) (*HashResponse, error)
type UnimplementedRuskServer ¶
type UnimplementedRuskServer struct { }
UnimplementedRuskServer can be embedded to have forward compatible implementations.
func (*UnimplementedRuskServer) Echo ¶
func (*UnimplementedRuskServer) Echo(context.Context, *EchoRequest) (*EchoResponse, error)
func (*UnimplementedRuskServer) ExecuteStateTransition ¶
func (*UnimplementedRuskServer) ExecuteStateTransition(context.Context, *ExecuteStateTransitionRequest) (*ExecuteStateTransitionResponse, error)
func (*UnimplementedRuskServer) FullScanOwnedNotes ¶
func (*UnimplementedRuskServer) FullScanOwnedNotes(context.Context, *ViewKey) (*OwnedNotesResponse, error)
func (*UnimplementedRuskServer) GenerateScore ¶
func (*UnimplementedRuskServer) GenerateScore(context.Context, *GenerateScoreRequest) (*GenerateScoreResponse, error)
func (*UnimplementedRuskServer) GenerateSecretKey ¶
func (*UnimplementedRuskServer) GenerateSecretKey(context.Context, *GenerateSecretKeyRequest) (*GenerateSecretKeyResponse, error)
func (*UnimplementedRuskServer) GetBalance ¶ added in v0.2.0
func (*UnimplementedRuskServer) GetBalance(context.Context, *GetBalanceRequest) (*GetBalanceResponse, error)
func (*UnimplementedRuskServer) Keys ¶
func (*UnimplementedRuskServer) Keys(context.Context, *SecretKey) (*KeysResponse, error)
func (*UnimplementedRuskServer) NewBid ¶ added in v0.2.0
func (*UnimplementedRuskServer) NewBid(context.Context, *BidTransactionRequest) (*BidTransaction, error)
func (*UnimplementedRuskServer) NewDistribute ¶ added in v0.2.0
func (*UnimplementedRuskServer) NewDistribute(context.Context, *DistributeTransactionRequest) (*DistributeTransaction, error)
func (*UnimplementedRuskServer) NewSlash ¶ added in v0.2.0
func (*UnimplementedRuskServer) NewSlash(context.Context, *SlashTransactionRequest) (*SlashTransaction, error)
func (*UnimplementedRuskServer) NewStake ¶ added in v0.2.0
func (*UnimplementedRuskServer) NewStake(context.Context, *StakeTransactionRequest) (*StakeTransaction, error)
func (*UnimplementedRuskServer) NewTransaction ¶
func (*UnimplementedRuskServer) NewTransaction(context.Context, *NewTransactionRequest) (*Transaction, error)
func (*UnimplementedRuskServer) NewWithdrawBid ¶ added in v0.2.0
func (*UnimplementedRuskServer) NewWithdrawBid(context.Context, *WithdrawBidTransactionRequest) (*WithdrawBidTransaction, error)
func (*UnimplementedRuskServer) NewWithdrawFees ¶ added in v0.2.0
func (*UnimplementedRuskServer) NewWithdrawFees(context.Context, *WithdrawFeesTransactionRequest) (*WithdrawFeesTransaction, error)
func (*UnimplementedRuskServer) NewWithdrawStake ¶ added in v0.2.0
func (*UnimplementedRuskServer) NewWithdrawStake(context.Context, *WithdrawStakeTransactionRequest) (*WithdrawStakeTransaction, error)
func (*UnimplementedRuskServer) ValidateStateTransition ¶
func (*UnimplementedRuskServer) ValidateStateTransition(context.Context, *ValidateStateTransitionRequest) (*ValidateStateTransitionResponse, error)
func (*UnimplementedRuskServer) VerifyScore ¶ added in v0.2.0
func (*UnimplementedRuskServer) VerifyScore(context.Context, *VerifyScoreRequest) (*VerifyScoreResponse, error)
func (*UnimplementedRuskServer) VerifyStake ¶ added in v0.2.0
func (*UnimplementedRuskServer) VerifyStake(context.Context, *StakeTransaction) (*VerifyTransactionResponse, error)
func (*UnimplementedRuskServer) VerifyTransaction ¶
func (*UnimplementedRuskServer) VerifyTransaction(context.Context, *ContractCallTx) (*VerifyTransactionResponse, error)
type ValidateStateTransitionRequest ¶
type ValidateStateTransitionRequest struct { Calls []*ContractCallTx `protobuf:"bytes,1,rep,name=calls,proto3" json:"calls,omitempty"` CurrentHeight uint64 `protobuf:"fixed64,2,opt,name=current_height,json=currentHeight,proto3" json:"current_height,omitempty"` // contains filtered or unexported fields }
List of transactions to be validated
func (*ValidateStateTransitionRequest) Descriptor
deprecated
func (*ValidateStateTransitionRequest) Descriptor() ([]byte, []int)
Deprecated: Use ValidateStateTransitionRequest.ProtoReflect.Descriptor instead.
func (*ValidateStateTransitionRequest) GetCalls ¶
func (x *ValidateStateTransitionRequest) GetCalls() []*ContractCallTx
func (*ValidateStateTransitionRequest) GetCurrentHeight ¶ added in v0.2.0
func (x *ValidateStateTransitionRequest) GetCurrentHeight() uint64
func (*ValidateStateTransitionRequest) ProtoMessage ¶
func (*ValidateStateTransitionRequest) ProtoMessage()
func (*ValidateStateTransitionRequest) ProtoReflect ¶ added in v0.2.0
func (x *ValidateStateTransitionRequest) ProtoReflect() protoreflect.Message
func (*ValidateStateTransitionRequest) Reset ¶
func (x *ValidateStateTransitionRequest) Reset()
func (*ValidateStateTransitionRequest) String ¶
func (x *ValidateStateTransitionRequest) String() string
type ValidateStateTransitionResponse ¶
type ValidateStateTransitionResponse struct { SuccessfulCalls []int32 `protobuf:"varint,1,rep,packed,name=successful_calls,json=successfulCalls,proto3" json:"successful_calls,omitempty"` // contains filtered or unexported fields }
func (*ValidateStateTransitionResponse) Descriptor
deprecated
func (*ValidateStateTransitionResponse) Descriptor() ([]byte, []int)
Deprecated: Use ValidateStateTransitionResponse.ProtoReflect.Descriptor instead.
func (*ValidateStateTransitionResponse) GetSuccessfulCalls ¶
func (x *ValidateStateTransitionResponse) GetSuccessfulCalls() []int32
func (*ValidateStateTransitionResponse) ProtoMessage ¶
func (*ValidateStateTransitionResponse) ProtoMessage()
func (*ValidateStateTransitionResponse) ProtoReflect ¶ added in v0.2.0
func (x *ValidateStateTransitionResponse) ProtoReflect() protoreflect.Message
func (*ValidateStateTransitionResponse) Reset ¶
func (x *ValidateStateTransitionResponse) Reset()
func (*ValidateStateTransitionResponse) String ¶
func (x *ValidateStateTransitionResponse) String() string
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"` Identity []byte `protobuf:"bytes,4,opt,name=identity,proto3" json:"identity,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"` // contains filtered or unexported fields }
func (*VerifyScoreRequest) Descriptor
deprecated
added in
v0.2.0
func (*VerifyScoreRequest) Descriptor() ([]byte, []int)
Deprecated: Use VerifyScoreRequest.ProtoReflect.Descriptor instead.
func (*VerifyScoreRequest) GetIdentity ¶ added in v0.2.0
func (x *VerifyScoreRequest) GetIdentity() []byte
func (*VerifyScoreRequest) GetProof ¶ added in v0.2.0
func (x *VerifyScoreRequest) GetProof() []byte
func (*VerifyScoreRequest) GetRound ¶ added in v0.2.0
func (x *VerifyScoreRequest) GetRound() uint64
func (*VerifyScoreRequest) GetScore ¶ added in v0.2.0
func (x *VerifyScoreRequest) GetScore() []byte
func (*VerifyScoreRequest) GetSeed ¶ added in v0.2.0
func (x *VerifyScoreRequest) GetSeed() []byte
func (*VerifyScoreRequest) GetStep ¶ added in v0.2.0
func (x *VerifyScoreRequest) GetStep() uint32
func (*VerifyScoreRequest) ProtoMessage ¶ added in v0.2.0
func (*VerifyScoreRequest) ProtoMessage()
func (*VerifyScoreRequest) ProtoReflect ¶ added in v0.2.0
func (x *VerifyScoreRequest) ProtoReflect() protoreflect.Message
func (*VerifyScoreRequest) Reset ¶ added in v0.2.0
func (x *VerifyScoreRequest) Reset()
func (*VerifyScoreRequest) String ¶ added in v0.2.0
func (x *VerifyScoreRequest) String() string
type VerifyScoreResponse ¶ added in v0.2.0
type VerifyScoreResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // contains filtered or unexported fields }
func (*VerifyScoreResponse) Descriptor
deprecated
added in
v0.2.0
func (*VerifyScoreResponse) Descriptor() ([]byte, []int)
Deprecated: Use VerifyScoreResponse.ProtoReflect.Descriptor instead.
func (*VerifyScoreResponse) GetSuccess ¶ added in v0.2.0
func (x *VerifyScoreResponse) GetSuccess() bool
func (*VerifyScoreResponse) ProtoMessage ¶ added in v0.2.0
func (*VerifyScoreResponse) ProtoMessage()
func (*VerifyScoreResponse) ProtoReflect ¶ added in v0.2.0
func (x *VerifyScoreResponse) ProtoReflect() protoreflect.Message
func (*VerifyScoreResponse) Reset ¶ added in v0.2.0
func (x *VerifyScoreResponse) Reset()
func (*VerifyScoreResponse) String ¶ added in v0.2.0
func (x *VerifyScoreResponse) String() string
type VerifyTransactionResponse ¶
type VerifyTransactionResponse struct { Verified bool `protobuf:"varint,1,opt,name=verified,proto3" json:"verified,omitempty"` // contains filtered or unexported fields }
func (*VerifyTransactionResponse) Descriptor
deprecated
func (*VerifyTransactionResponse) Descriptor() ([]byte, []int)
Deprecated: Use VerifyTransactionResponse.ProtoReflect.Descriptor instead.
func (*VerifyTransactionResponse) GetVerified ¶
func (x *VerifyTransactionResponse) GetVerified() bool
func (*VerifyTransactionResponse) ProtoMessage ¶
func (*VerifyTransactionResponse) ProtoMessage()
func (*VerifyTransactionResponse) ProtoReflect ¶ added in v0.2.0
func (x *VerifyTransactionResponse) ProtoReflect() protoreflect.Message
func (*VerifyTransactionResponse) Reset ¶
func (x *VerifyTransactionResponse) Reset()
func (*VerifyTransactionResponse) String ¶
func (x *VerifyTransactionResponse) String() string
type ViewKey ¶
type ViewKey struct { A *Scalar `protobuf:"bytes,1,opt,name=a,proto3" json:"a,omitempty"` BG *CompressedPoint `protobuf:"bytes,2,opt,name=b_g,json=bG,proto3" json:"b_g,omitempty"` // contains filtered or unexported fields }
func (*ViewKey) Descriptor
deprecated
func (*ViewKey) GetBG ¶
func (x *ViewKey) GetBG() *CompressedPoint
func (*ViewKey) ProtoMessage ¶
func (*ViewKey) ProtoMessage()
func (*ViewKey) ProtoReflect ¶ added in v0.2.0
func (x *ViewKey) ProtoReflect() protoreflect.Message
type WithdrawBidTransaction ¶ added in v0.2.0
type WithdrawBidTransaction struct { Commitment []byte `protobuf:"bytes,1,opt,name=commitment,proto3" json:"commitment,omitempty"` Sig []byte `protobuf:"bytes,2,opt,name=sig,proto3" json:"sig,omitempty"` EdPk []byte `protobuf:"bytes,3,opt,name=ed_pk,json=edPk,proto3" json:"ed_pk,omitempty"` Tx *Transaction `protobuf:"bytes,4,opt,name=tx,proto3" json:"tx,omitempty"` // contains filtered or unexported fields }
WithdrawBidTransaction is the transaction to withdraw a bid
func (*WithdrawBidTransaction) Descriptor
deprecated
added in
v0.2.0
func (*WithdrawBidTransaction) Descriptor() ([]byte, []int)
Deprecated: Use WithdrawBidTransaction.ProtoReflect.Descriptor instead.
func (*WithdrawBidTransaction) GetCommitment ¶ added in v0.2.0
func (x *WithdrawBidTransaction) GetCommitment() []byte
func (*WithdrawBidTransaction) GetEdPk ¶ added in v0.2.0
func (x *WithdrawBidTransaction) GetEdPk() []byte
func (*WithdrawBidTransaction) GetSig ¶ added in v0.2.0
func (x *WithdrawBidTransaction) GetSig() []byte
func (*WithdrawBidTransaction) GetTx ¶ added in v0.2.0
func (x *WithdrawBidTransaction) GetTx() *Transaction
func (*WithdrawBidTransaction) ProtoMessage ¶ added in v0.2.0
func (*WithdrawBidTransaction) ProtoMessage()
func (*WithdrawBidTransaction) ProtoReflect ¶ added in v0.2.0
func (x *WithdrawBidTransaction) ProtoReflect() protoreflect.Message
func (*WithdrawBidTransaction) Reset ¶ added in v0.2.0
func (x *WithdrawBidTransaction) Reset()
func (*WithdrawBidTransaction) String ¶ added in v0.2.0
func (x *WithdrawBidTransaction) String() string
type WithdrawBidTransactionRequest ¶ added in v0.2.0
type WithdrawBidTransactionRequest struct { Sig []byte `protobuf:"bytes,1,opt,name=sig,proto3" json:"sig,omitempty"` EdPk []byte `protobuf:"bytes,2,opt,name=ed_pk,json=edPk,proto3" json:"ed_pk,omitempty"` Tx *NewTransactionRequest `protobuf:"bytes,3,opt,name=tx,proto3" json:"tx,omitempty"` // contains filtered or unexported fields }
Used to request the withdrawal of a Bid
func (*WithdrawBidTransactionRequest) Descriptor
deprecated
added in
v0.2.0
func (*WithdrawBidTransactionRequest) Descriptor() ([]byte, []int)
Deprecated: Use WithdrawBidTransactionRequest.ProtoReflect.Descriptor instead.
func (*WithdrawBidTransactionRequest) GetEdPk ¶ added in v0.2.0
func (x *WithdrawBidTransactionRequest) GetEdPk() []byte
func (*WithdrawBidTransactionRequest) GetSig ¶ added in v0.2.0
func (x *WithdrawBidTransactionRequest) GetSig() []byte
func (*WithdrawBidTransactionRequest) GetTx ¶ added in v0.2.0
func (x *WithdrawBidTransactionRequest) GetTx() *NewTransactionRequest
func (*WithdrawBidTransactionRequest) ProtoMessage ¶ added in v0.2.0
func (*WithdrawBidTransactionRequest) ProtoMessage()
func (*WithdrawBidTransactionRequest) ProtoReflect ¶ added in v0.2.0
func (x *WithdrawBidTransactionRequest) ProtoReflect() protoreflect.Message
func (*WithdrawBidTransactionRequest) Reset ¶ added in v0.2.0
func (x *WithdrawBidTransactionRequest) Reset()
func (*WithdrawBidTransactionRequest) String ¶ added in v0.2.0
func (x *WithdrawBidTransactionRequest) String() string
type WithdrawFeesTransaction ¶ added in v0.2.0
type WithdrawFeesTransaction struct { BlsKey []byte `protobuf:"bytes,1,opt,name=bls_key,json=blsKey,proto3" json:"bls_key,omitempty"` Sig []byte `protobuf:"bytes,2,opt,name=sig,proto3" json:"sig,omitempty"` Msg []byte `protobuf:"bytes,3,opt,name=msg,proto3" json:"msg,omitempty"` Tx *Transaction `protobuf:"bytes,4,opt,name=tx,proto3" json:"tx,omitempty"` // contains filtered or unexported fields }
WithdrawFeesTransaction is the transaction for a Provisioner to withdraw the fees using the smart contract
func (*WithdrawFeesTransaction) Descriptor
deprecated
added in
v0.2.0
func (*WithdrawFeesTransaction) Descriptor() ([]byte, []int)
Deprecated: Use WithdrawFeesTransaction.ProtoReflect.Descriptor instead.
func (*WithdrawFeesTransaction) GetBlsKey ¶ added in v0.2.0
func (x *WithdrawFeesTransaction) GetBlsKey() []byte
func (*WithdrawFeesTransaction) GetMsg ¶ added in v0.2.0
func (x *WithdrawFeesTransaction) GetMsg() []byte
func (*WithdrawFeesTransaction) GetSig ¶ added in v0.2.0
func (x *WithdrawFeesTransaction) GetSig() []byte
func (*WithdrawFeesTransaction) GetTx ¶ added in v0.2.0
func (x *WithdrawFeesTransaction) GetTx() *Transaction
func (*WithdrawFeesTransaction) ProtoMessage ¶ added in v0.2.0
func (*WithdrawFeesTransaction) ProtoMessage()
func (*WithdrawFeesTransaction) ProtoReflect ¶ added in v0.2.0
func (x *WithdrawFeesTransaction) ProtoReflect() protoreflect.Message
func (*WithdrawFeesTransaction) Reset ¶ added in v0.2.0
func (x *WithdrawFeesTransaction) Reset()
func (*WithdrawFeesTransaction) String ¶ added in v0.2.0
func (x *WithdrawFeesTransaction) String() string
type WithdrawFeesTransactionRequest ¶ added in v0.2.0
type WithdrawFeesTransactionRequest struct { BlsKey []byte `protobuf:"bytes,1,opt,name=bls_key,json=blsKey,proto3" json:"bls_key,omitempty"` Sig []byte `protobuf:"bytes,2,opt,name=sig,proto3" json:"sig,omitempty"` Msg []byte `protobuf:"bytes,3,opt,name=msg,proto3" json:"msg,omitempty"` Tx *NewTransactionRequest `protobuf:"bytes,4,opt,name=tx,proto3" json:"tx,omitempty"` // contains filtered or unexported fields }
Used to request the withdrawal of fees from a Provisioner
func (*WithdrawFeesTransactionRequest) Descriptor
deprecated
added in
v0.2.0
func (*WithdrawFeesTransactionRequest) Descriptor() ([]byte, []int)
Deprecated: Use WithdrawFeesTransactionRequest.ProtoReflect.Descriptor instead.
func (*WithdrawFeesTransactionRequest) GetBlsKey ¶ added in v0.2.0
func (x *WithdrawFeesTransactionRequest) GetBlsKey() []byte
func (*WithdrawFeesTransactionRequest) GetMsg ¶ added in v0.2.0
func (x *WithdrawFeesTransactionRequest) GetMsg() []byte
func (*WithdrawFeesTransactionRequest) GetSig ¶ added in v0.2.0
func (x *WithdrawFeesTransactionRequest) GetSig() []byte
func (*WithdrawFeesTransactionRequest) GetTx ¶ added in v0.2.0
func (x *WithdrawFeesTransactionRequest) GetTx() *NewTransactionRequest
func (*WithdrawFeesTransactionRequest) ProtoMessage ¶ added in v0.2.0
func (*WithdrawFeesTransactionRequest) ProtoMessage()
func (*WithdrawFeesTransactionRequest) ProtoReflect ¶ added in v0.2.0
func (x *WithdrawFeesTransactionRequest) ProtoReflect() protoreflect.Message
func (*WithdrawFeesTransactionRequest) Reset ¶ added in v0.2.0
func (x *WithdrawFeesTransactionRequest) Reset()
func (*WithdrawFeesTransactionRequest) String ¶ added in v0.2.0
func (x *WithdrawFeesTransactionRequest) String() string
type WithdrawStakeTransaction ¶ added in v0.2.0
type WithdrawStakeTransaction struct { BlsKey []byte `protobuf:"bytes,1,opt,name=bls_key,json=blsKey,proto3" json:"bls_key,omitempty"` Sig []byte `protobuf:"bytes,2,opt,name=sig,proto3" json:"sig,omitempty"` Tx *Transaction `protobuf:"bytes,3,opt,name=tx,proto3" json:"tx,omitempty"` // contains filtered or unexported fields }
WithdrawStakeTransaction is the transaction to withdraw a stake
func (*WithdrawStakeTransaction) Descriptor
deprecated
added in
v0.2.0
func (*WithdrawStakeTransaction) Descriptor() ([]byte, []int)
Deprecated: Use WithdrawStakeTransaction.ProtoReflect.Descriptor instead.
func (*WithdrawStakeTransaction) GetBlsKey ¶ added in v0.2.0
func (x *WithdrawStakeTransaction) GetBlsKey() []byte
func (*WithdrawStakeTransaction) GetSig ¶ added in v0.2.0
func (x *WithdrawStakeTransaction) GetSig() []byte
func (*WithdrawStakeTransaction) GetTx ¶ added in v0.2.0
func (x *WithdrawStakeTransaction) GetTx() *Transaction
func (*WithdrawStakeTransaction) ProtoMessage ¶ added in v0.2.0
func (*WithdrawStakeTransaction) ProtoMessage()
func (*WithdrawStakeTransaction) ProtoReflect ¶ added in v0.2.0
func (x *WithdrawStakeTransaction) ProtoReflect() protoreflect.Message
func (*WithdrawStakeTransaction) Reset ¶ added in v0.2.0
func (x *WithdrawStakeTransaction) Reset()
func (*WithdrawStakeTransaction) String ¶ added in v0.2.0
func (x *WithdrawStakeTransaction) String() string
type WithdrawStakeTransactionRequest ¶ added in v0.2.0
type WithdrawStakeTransactionRequest struct { BlsKey []byte `protobuf:"bytes,1,opt,name=bls_key,json=blsKey,proto3" json:"bls_key,omitempty"` Sig []byte `protobuf:"bytes,2,opt,name=sig,proto3" json:"sig,omitempty"` Tx *NewTransactionRequest `protobuf:"bytes,3,opt,name=tx,proto3" json:"tx,omitempty"` // contains filtered or unexported fields }
Used to request the withdrawal of a Stake
func (*WithdrawStakeTransactionRequest) Descriptor
deprecated
added in
v0.2.0
func (*WithdrawStakeTransactionRequest) Descriptor() ([]byte, []int)
Deprecated: Use WithdrawStakeTransactionRequest.ProtoReflect.Descriptor instead.
func (*WithdrawStakeTransactionRequest) GetBlsKey ¶ added in v0.2.0
func (x *WithdrawStakeTransactionRequest) GetBlsKey() []byte
func (*WithdrawStakeTransactionRequest) GetSig ¶ added in v0.2.0
func (x *WithdrawStakeTransactionRequest) GetSig() []byte
func (*WithdrawStakeTransactionRequest) GetTx ¶ added in v0.2.0
func (x *WithdrawStakeTransactionRequest) GetTx() *NewTransactionRequest
func (*WithdrawStakeTransactionRequest) ProtoMessage ¶ added in v0.2.0
func (*WithdrawStakeTransactionRequest) ProtoMessage()
func (*WithdrawStakeTransactionRequest) ProtoReflect ¶ added in v0.2.0
func (x *WithdrawStakeTransactionRequest) ProtoReflect() protoreflect.Message
func (*WithdrawStakeTransactionRequest) Reset ¶ added in v0.2.0
func (x *WithdrawStakeTransactionRequest) Reset()
func (*WithdrawStakeTransactionRequest) String ¶ added in v0.2.0
func (x *WithdrawStakeTransactionRequest) String() string