Documentation ¶
Index ¶
- Variables
- func RegisterCryptoServer(s *grpc.Server, srv CryptoServer)
- func RegisterRuskServer(s *grpc.Server, srv RuskServer)
- type BidList
- func (*BidList) Descriptor() ([]byte, []int)
- func (m *BidList) GetBidList() [][]byte
- func (*BidList) ProtoMessage()
- func (m *BidList) Reset()
- func (m *BidList) String() string
- func (m *BidList) XXX_DiscardUnknown()
- func (m *BidList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BidList) XXX_Merge(src proto.Message)
- func (m *BidList) XXX_Size() int
- func (m *BidList) XXX_Unmarshal(b []byte) error
- type BidTransaction
- func (*BidTransaction) Descriptor() ([]byte, []int)
- func (m *BidTransaction) GetCommitment() []byte
- func (m *BidTransaction) GetExpirationHeight() uint64
- func (m *BidTransaction) GetM() []byte
- func (m *BidTransaction) GetPk() []byte
- func (m *BidTransaction) GetR() []byte
- func (m *BidTransaction) GetSeed() []byte
- func (m *BidTransaction) GetTx() *Transaction
- func (*BidTransaction) ProtoMessage()
- func (m *BidTransaction) Reset()
- func (m *BidTransaction) String() string
- func (m *BidTransaction) XXX_DiscardUnknown()
- func (m *BidTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BidTransaction) XXX_Merge(src proto.Message)
- func (m *BidTransaction) XXX_Size() int
- func (m *BidTransaction) XXX_Unmarshal(b []byte) error
- type BidTransactionRequest
- func (*BidTransactionRequest) Descriptor() ([]byte, []int)
- func (m *BidTransactionRequest) GetEdPk() []byte
- func (m *BidTransactionRequest) GetExpirationHeight() uint64
- func (m *BidTransactionRequest) GetK() []byte
- func (m *BidTransactionRequest) GetSeed() []byte
- func (m *BidTransactionRequest) GetTx() *NewTransactionRequest
- func (*BidTransactionRequest) ProtoMessage()
- func (m *BidTransactionRequest) Reset()
- func (m *BidTransactionRequest) String() string
- func (m *BidTransactionRequest) XXX_DiscardUnknown()
- func (m *BidTransactionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BidTransactionRequest) XXX_Merge(src proto.Message)
- func (m *BidTransactionRequest) XXX_Size() int
- func (m *BidTransactionRequest) XXX_Unmarshal(b []byte) error
- type BinaryHashRequest
- func (*BinaryHashRequest) Descriptor() ([]byte, []int)
- func (m *BinaryHashRequest) GetInputs() [][]byte
- func (*BinaryHashRequest) ProtoMessage()
- func (m *BinaryHashRequest) Reset()
- func (m *BinaryHashRequest) String() string
- func (m *BinaryHashRequest) XXX_DiscardUnknown()
- func (m *BinaryHashRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BinaryHashRequest) XXX_Merge(src proto.Message)
- func (m *BinaryHashRequest) XXX_Size() int
- func (m *BinaryHashRequest) XXX_Unmarshal(b []byte) error
- type CalculateMempoolBalanceRequest
- func (*CalculateMempoolBalanceRequest) Descriptor() ([]byte, []int)
- func (m *CalculateMempoolBalanceRequest) GetTxs() []*ContractCallTx
- func (m *CalculateMempoolBalanceRequest) GetVk() *ViewKey
- func (*CalculateMempoolBalanceRequest) ProtoMessage()
- func (m *CalculateMempoolBalanceRequest) Reset()
- func (m *CalculateMempoolBalanceRequest) String() string
- func (m *CalculateMempoolBalanceRequest) XXX_DiscardUnknown()
- func (m *CalculateMempoolBalanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CalculateMempoolBalanceRequest) XXX_Merge(src proto.Message)
- func (m *CalculateMempoolBalanceRequest) XXX_Size() int
- func (m *CalculateMempoolBalanceRequest) XXX_Unmarshal(b []byte) error
- type CompressedPoint
- func (*CompressedPoint) Descriptor() ([]byte, []int)
- func (m *CompressedPoint) GetY() []byte
- func (*CompressedPoint) ProtoMessage()
- func (m *CompressedPoint) Reset()
- func (m *CompressedPoint) String() string
- func (m *CompressedPoint) XXX_DiscardUnknown()
- func (m *CompressedPoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CompressedPoint) XXX_Merge(src proto.Message)
- func (m *CompressedPoint) XXX_Size() int
- func (m *CompressedPoint) XXX_Unmarshal(b []byte) error
- type ContractCallTx
- func (*ContractCallTx) Descriptor() ([]byte, []int)
- func (m *ContractCallTx) GetBid() *BidTransaction
- func (m *ContractCallTx) GetContractCall() isContractCallTx_ContractCall
- func (m *ContractCallTx) GetDistribute() *DistributeTransaction
- func (m *ContractCallTx) GetSlash() *SlashTransaction
- func (m *ContractCallTx) GetStake() *StakeTransaction
- func (m *ContractCallTx) GetTx() *Transaction
- func (m *ContractCallTx) GetWithdraw() *WithdrawFeesTransaction
- func (m *ContractCallTx) GetWithdrawBid() *WithdrawBidTransaction
- func (m *ContractCallTx) GetWithdrawStake() *WithdrawStakeTransaction
- func (*ContractCallTx) ProtoMessage()
- func (m *ContractCallTx) Reset()
- func (m *ContractCallTx) String() string
- func (m *ContractCallTx) XXX_DiscardUnknown()
- func (m *ContractCallTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ContractCallTx) XXX_Merge(src proto.Message)
- func (*ContractCallTx) XXX_OneofWrappers() []interface{}
- func (m *ContractCallTx) XXX_Size() int
- func (m *ContractCallTx) XXX_Unmarshal(b []byte) error
- 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)
- func (m *DecryptedNote) GetBlindingFactor() *Scalar
- func (m *DecryptedNote) GetEncryptedBlindingFactor() []byte
- func (m *DecryptedNote) GetEncryptedValue() []byte
- func (m *DecryptedNote) GetNonce() *Nonce
- func (m *DecryptedNote) GetNoteType() NoteType
- func (m *DecryptedNote) GetPkR() *CompressedPoint
- func (m *DecryptedNote) GetPos() uint64
- func (m *DecryptedNote) GetRG() *CompressedPoint
- func (m *DecryptedNote) GetRawBlindingFactor() isDecryptedNote_RawBlindingFactor
- func (m *DecryptedNote) GetRawValue() isDecryptedNote_RawValue
- func (m *DecryptedNote) GetTransparentBlindingFactor() *Scalar
- func (m *DecryptedNote) GetTransparentValue() uint64
- func (m *DecryptedNote) GetValue() uint64
- func (m *DecryptedNote) GetValueCommitment() *Scalar
- func (*DecryptedNote) ProtoMessage()
- func (m *DecryptedNote) Reset()
- func (m *DecryptedNote) String() string
- func (m *DecryptedNote) XXX_DiscardUnknown()
- func (m *DecryptedNote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DecryptedNote) XXX_Merge(src proto.Message)
- func (*DecryptedNote) XXX_OneofWrappers() []interface{}
- func (m *DecryptedNote) XXX_Size() int
- func (m *DecryptedNote) XXX_Unmarshal(b []byte) error
- type DecryptedNote_EncryptedBlindingFactor
- type DecryptedNote_EncryptedValue
- type DecryptedNote_TransparentBlindingFactor
- type DecryptedNote_TransparentValue
- type DistributeTransaction
- func (*DistributeTransaction) Descriptor() ([]byte, []int)
- func (m *DistributeTransaction) GetBgPk() *PublicKey
- func (m *DistributeTransaction) GetProvisionersAddresses() [][]byte
- func (m *DistributeTransaction) GetTx() *Transaction
- func (*DistributeTransaction) ProtoMessage()
- func (m *DistributeTransaction) Reset()
- func (m *DistributeTransaction) String() string
- func (m *DistributeTransaction) XXX_DiscardUnknown()
- func (m *DistributeTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DistributeTransaction) XXX_Merge(src proto.Message)
- func (m *DistributeTransaction) XXX_Size() int
- func (m *DistributeTransaction) XXX_Unmarshal(b []byte) error
- type EchoRequest
- func (*EchoRequest) Descriptor() ([]byte, []int)
- func (*EchoRequest) ProtoMessage()
- func (m *EchoRequest) Reset()
- func (m *EchoRequest) String() string
- func (m *EchoRequest) XXX_DiscardUnknown()
- func (m *EchoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EchoRequest) XXX_Merge(src proto.Message)
- func (m *EchoRequest) XXX_Size() int
- func (m *EchoRequest) XXX_Unmarshal(b []byte) error
- type EchoResponse
- func (*EchoResponse) Descriptor() ([]byte, []int)
- func (*EchoResponse) ProtoMessage()
- func (m *EchoResponse) Reset()
- func (m *EchoResponse) String() string
- func (m *EchoResponse) XXX_DiscardUnknown()
- func (m *EchoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EchoResponse) XXX_Merge(src proto.Message)
- func (m *EchoResponse) XXX_Size() int
- func (m *EchoResponse) XXX_Unmarshal(b []byte) error
- type ExecuteStateTransitionRequest
- func (*ExecuteStateTransitionRequest) Descriptor() ([]byte, []int)
- func (m *ExecuteStateTransitionRequest) GetCalls() []*ContractCallTx
- func (*ExecuteStateTransitionRequest) ProtoMessage()
- func (m *ExecuteStateTransitionRequest) Reset()
- func (m *ExecuteStateTransitionRequest) String() string
- func (m *ExecuteStateTransitionRequest) XXX_DiscardUnknown()
- func (m *ExecuteStateTransitionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExecuteStateTransitionRequest) XXX_Merge(src proto.Message)
- func (m *ExecuteStateTransitionRequest) XXX_Size() int
- func (m *ExecuteStateTransitionRequest) XXX_Unmarshal(b []byte) error
- type ExecuteStateTransitionResponse
- func (*ExecuteStateTransitionResponse) Descriptor() ([]byte, []int)
- func (m *ExecuteStateTransitionResponse) GetCommittee() []*Provisioner
- func (m *ExecuteStateTransitionResponse) GetCurrentHeight() uint64
- func (m *ExecuteStateTransitionResponse) GetSuccess() bool
- func (*ExecuteStateTransitionResponse) ProtoMessage()
- func (m *ExecuteStateTransitionResponse) Reset()
- func (m *ExecuteStateTransitionResponse) String() string
- func (m *ExecuteStateTransitionResponse) XXX_DiscardUnknown()
- func (m *ExecuteStateTransitionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExecuteStateTransitionResponse) XXX_Merge(src proto.Message)
- func (m *ExecuteStateTransitionResponse) XXX_Size() int
- func (m *ExecuteStateTransitionResponse) XXX_Unmarshal(b []byte) error
- type GenerateScoreRequest
- func (*GenerateScoreRequest) Descriptor() ([]byte, []int)
- func (m *GenerateScoreRequest) GetD() []byte
- func (m *GenerateScoreRequest) GetEdPk() []byte
- func (m *GenerateScoreRequest) GetK() []byte
- func (m *GenerateScoreRequest) GetRound() uint64
- func (m *GenerateScoreRequest) GetSeed() []byte
- func (m *GenerateScoreRequest) GetStep() uint32
- func (*GenerateScoreRequest) ProtoMessage()
- func (m *GenerateScoreRequest) Reset()
- func (m *GenerateScoreRequest) String() string
- func (m *GenerateScoreRequest) XXX_DiscardUnknown()
- func (m *GenerateScoreRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenerateScoreRequest) XXX_Merge(src proto.Message)
- func (m *GenerateScoreRequest) XXX_Size() int
- func (m *GenerateScoreRequest) XXX_Unmarshal(b []byte) error
- type GenerateScoreResponse
- func (*GenerateScoreResponse) Descriptor() ([]byte, []int)
- func (m *GenerateScoreResponse) GetIdentity() []byte
- func (m *GenerateScoreResponse) GetProof() []byte
- func (m *GenerateScoreResponse) GetScore() []byte
- func (m *GenerateScoreResponse) GetSeed() []byte
- func (*GenerateScoreResponse) ProtoMessage()
- func (m *GenerateScoreResponse) Reset()
- func (m *GenerateScoreResponse) String() string
- func (m *GenerateScoreResponse) XXX_DiscardUnknown()
- func (m *GenerateScoreResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenerateScoreResponse) XXX_Merge(src proto.Message)
- func (m *GenerateScoreResponse) XXX_Size() int
- func (m *GenerateScoreResponse) XXX_Unmarshal(b []byte) error
- type GenerateSecretKeyRequest
- func (*GenerateSecretKeyRequest) Descriptor() ([]byte, []int)
- func (m *GenerateSecretKeyRequest) GetB() []byte
- func (*GenerateSecretKeyRequest) ProtoMessage()
- func (m *GenerateSecretKeyRequest) Reset()
- func (m *GenerateSecretKeyRequest) String() string
- func (m *GenerateSecretKeyRequest) XXX_DiscardUnknown()
- func (m *GenerateSecretKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenerateSecretKeyRequest) XXX_Merge(src proto.Message)
- func (m *GenerateSecretKeyRequest) XXX_Size() int
- func (m *GenerateSecretKeyRequest) XXX_Unmarshal(b []byte) error
- type GenerateSecretKeyResponse
- func (*GenerateSecretKeyResponse) Descriptor() ([]byte, []int)
- func (m *GenerateSecretKeyResponse) GetPk() *PublicKey
- func (m *GenerateSecretKeyResponse) GetSk() *SecretKey
- func (m *GenerateSecretKeyResponse) GetVk() *ViewKey
- func (*GenerateSecretKeyResponse) ProtoMessage()
- func (m *GenerateSecretKeyResponse) Reset()
- func (m *GenerateSecretKeyResponse) String() string
- func (m *GenerateSecretKeyResponse) XXX_DiscardUnknown()
- func (m *GenerateSecretKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenerateSecretKeyResponse) XXX_Merge(src proto.Message)
- func (m *GenerateSecretKeyResponse) XXX_Size() int
- func (m *GenerateSecretKeyResponse) XXX_Unmarshal(b []byte) error
- type GetBalanceRequest
- func (*GetBalanceRequest) Descriptor() ([]byte, []int)
- func (m *GetBalanceRequest) GetVk() *ViewKey
- func (*GetBalanceRequest) ProtoMessage()
- func (m *GetBalanceRequest) Reset()
- func (m *GetBalanceRequest) String() string
- func (m *GetBalanceRequest) XXX_DiscardUnknown()
- func (m *GetBalanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetBalanceRequest) XXX_Merge(src proto.Message)
- func (m *GetBalanceRequest) XXX_Size() int
- func (m *GetBalanceRequest) XXX_Unmarshal(b []byte) error
- type GetBalanceResponse
- func (*GetBalanceResponse) Descriptor() ([]byte, []int)
- func (m *GetBalanceResponse) GetBalance() uint64
- func (*GetBalanceResponse) ProtoMessage()
- func (m *GetBalanceResponse) Reset()
- func (m *GetBalanceResponse) String() string
- func (m *GetBalanceResponse) XXX_DiscardUnknown()
- func (m *GetBalanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetBalanceResponse) XXX_Merge(src proto.Message)
- func (m *GetBalanceResponse) XXX_Size() int
- func (m *GetBalanceResponse) XXX_Unmarshal(b []byte) error
- type HashRequest
- func (*HashRequest) Descriptor() ([]byte, []int)
- func (m *HashRequest) GetBinInputs() *BinaryHashRequest
- func (m *HashRequest) GetRequest() isHashRequest_Request
- func (m *HashRequest) GetTxInputs() *TransactionHashRequest
- func (*HashRequest) ProtoMessage()
- func (m *HashRequest) Reset()
- func (m *HashRequest) String() string
- func (m *HashRequest) XXX_DiscardUnknown()
- func (m *HashRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HashRequest) XXX_Merge(src proto.Message)
- func (*HashRequest) XXX_OneofWrappers() []interface{}
- func (m *HashRequest) XXX_Size() int
- func (m *HashRequest) XXX_Unmarshal(b []byte) error
- type HashRequest_BinInputs
- type HashRequest_TxInputs
- type HashResponse
- func (*HashResponse) Descriptor() ([]byte, []int)
- func (m *HashResponse) GetHash() *Scalar
- func (*HashResponse) ProtoMessage()
- func (m *HashResponse) Reset()
- func (m *HashResponse) String() string
- func (m *HashResponse) XXX_DiscardUnknown()
- func (m *HashResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HashResponse) XXX_Merge(src proto.Message)
- func (m *HashResponse) XXX_Size() int
- func (m *HashResponse) XXX_Unmarshal(b []byte) error
- type KeysResponse
- func (*KeysResponse) Descriptor() ([]byte, []int)
- func (m *KeysResponse) GetPk() *PublicKey
- func (m *KeysResponse) GetVk() *ViewKey
- func (*KeysResponse) ProtoMessage()
- func (m *KeysResponse) Reset()
- func (m *KeysResponse) String() string
- func (m *KeysResponse) XXX_DiscardUnknown()
- func (m *KeysResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *KeysResponse) XXX_Merge(src proto.Message)
- func (m *KeysResponse) XXX_Size() int
- func (m *KeysResponse) XXX_Unmarshal(b []byte) error
- type NewTransactionRequest
- func (*NewTransactionRequest) Descriptor() ([]byte, []int)
- func (m *NewTransactionRequest) GetData() []byte
- func (m *NewTransactionRequest) GetFee() uint64
- func (m *NewTransactionRequest) GetObfuscated() bool
- func (m *NewTransactionRequest) GetRecipient() *PublicKey
- func (m *NewTransactionRequest) GetSk() *SecretKey
- func (m *NewTransactionRequest) GetValue() uint64
- func (*NewTransactionRequest) ProtoMessage()
- func (m *NewTransactionRequest) Reset()
- func (m *NewTransactionRequest) String() string
- func (m *NewTransactionRequest) XXX_DiscardUnknown()
- func (m *NewTransactionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NewTransactionRequest) XXX_Merge(src proto.Message)
- func (m *NewTransactionRequest) XXX_Size() int
- func (m *NewTransactionRequest) XXX_Unmarshal(b []byte) error
- type Nonce
- func (*Nonce) Descriptor() ([]byte, []int)
- func (m *Nonce) GetBs() []byte
- func (*Nonce) ProtoMessage()
- func (m *Nonce) Reset()
- func (m *Nonce) String() string
- func (m *Nonce) XXX_DiscardUnknown()
- func (m *Nonce) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Nonce) XXX_Merge(src proto.Message)
- func (m *Nonce) XXX_Size() int
- func (m *Nonce) XXX_Unmarshal(b []byte) error
- type Note
- func (*Note) Descriptor() ([]byte, []int)
- func (m *Note) GetBlindingFactor() isNote_BlindingFactor
- func (m *Note) GetEncryptedBlindingFactor() []byte
- func (m *Note) GetEncryptedValue() []byte
- func (m *Note) GetNonce() *Nonce
- func (m *Note) GetNoteType() NoteType
- func (m *Note) GetPkR() *CompressedPoint
- func (m *Note) GetPos() uint64
- func (m *Note) GetRG() *CompressedPoint
- func (m *Note) GetTransparentBlindingFactor() *Scalar
- func (m *Note) GetTransparentValue() uint64
- func (m *Note) GetValue() isNote_Value
- func (m *Note) GetValueCommitment() *Scalar
- func (*Note) ProtoMessage()
- func (m *Note) Reset()
- func (m *Note) String() string
- func (m *Note) XXX_DiscardUnknown()
- func (m *Note) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Note) XXX_Merge(src proto.Message)
- func (*Note) XXX_OneofWrappers() []interface{}
- func (m *Note) XXX_Size() int
- func (m *Note) XXX_Unmarshal(b []byte) error
- type NoteType
- type Note_EncryptedBlindingFactor
- type Note_EncryptedValue
- type Note_TransparentBlindingFactor
- type Note_TransparentValue
- type Nullifier
- func (*Nullifier) Descriptor() ([]byte, []int)
- func (m *Nullifier) GetH() *Scalar
- func (*Nullifier) ProtoMessage()
- func (m *Nullifier) Reset()
- func (m *Nullifier) String() string
- func (m *Nullifier) XXX_DiscardUnknown()
- func (m *Nullifier) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Nullifier) XXX_Merge(src proto.Message)
- func (m *Nullifier) XXX_Size() int
- func (m *Nullifier) XXX_Unmarshal(b []byte) error
- type OwnedNotesResponse
- func (*OwnedNotesResponse) Descriptor() ([]byte, []int)
- func (m *OwnedNotesResponse) GetNotes() []*DecryptedNote
- func (*OwnedNotesResponse) ProtoMessage()
- func (m *OwnedNotesResponse) Reset()
- func (m *OwnedNotesResponse) String() string
- func (m *OwnedNotesResponse) XXX_DiscardUnknown()
- func (m *OwnedNotesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OwnedNotesResponse) XXX_Merge(src proto.Message)
- func (m *OwnedNotesResponse) XXX_Size() int
- func (m *OwnedNotesResponse) XXX_Unmarshal(b []byte) error
- type Provisioner
- func (*Provisioner) Descriptor() ([]byte, []int)
- func (m *Provisioner) GetBlsKey() []byte
- func (m *Provisioner) GetStakes() []*Stake
- func (*Provisioner) ProtoMessage()
- func (m *Provisioner) Reset()
- func (m *Provisioner) String() string
- func (m *Provisioner) XXX_DiscardUnknown()
- func (m *Provisioner) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Provisioner) XXX_Merge(src proto.Message)
- func (m *Provisioner) XXX_Size() int
- func (m *Provisioner) XXX_Unmarshal(b []byte) error
- type PublicKey
- func (*PublicKey) Descriptor() ([]byte, []int)
- func (m *PublicKey) GetAG() *CompressedPoint
- func (m *PublicKey) GetBG() *CompressedPoint
- func (*PublicKey) ProtoMessage()
- func (m *PublicKey) Reset()
- func (m *PublicKey) String() string
- func (m *PublicKey) XXX_DiscardUnknown()
- func (m *PublicKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PublicKey) XXX_Merge(src proto.Message)
- func (m *PublicKey) XXX_Size() int
- func (m *PublicKey) XXX_Unmarshal(b []byte) error
- type RuskClient
- type RuskMock
- func (m *RuskMock) CalculateMempoolBalance(ctx context.Context, req *CalculateMempoolBalanceRequest) (*GetBalanceResponse, error)
- 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) 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
- func (*Scalar) Descriptor() ([]byte, []int)
- func (m *Scalar) GetData() []byte
- func (*Scalar) ProtoMessage()
- func (m *Scalar) Reset()
- func (m *Scalar) String() string
- func (m *Scalar) XXX_DiscardUnknown()
- func (m *Scalar) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Scalar) XXX_Merge(src proto.Message)
- func (m *Scalar) XXX_Size() int
- func (m *Scalar) XXX_Unmarshal(b []byte) error
- type SecretKey
- func (*SecretKey) Descriptor() ([]byte, []int)
- func (m *SecretKey) GetA() *Scalar
- func (m *SecretKey) GetB() *Scalar
- func (*SecretKey) ProtoMessage()
- func (m *SecretKey) Reset()
- func (m *SecretKey) String() string
- func (m *SecretKey) XXX_DiscardUnknown()
- func (m *SecretKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SecretKey) XXX_Merge(src proto.Message)
- func (m *SecretKey) XXX_Size() int
- func (m *SecretKey) XXX_Unmarshal(b []byte) error
- type SlashTransaction
- func (*SlashTransaction) Descriptor() ([]byte, []int)
- func (m *SlashTransaction) GetBlsKey() []byte
- func (m *SlashTransaction) GetFirstMsg() []byte
- func (m *SlashTransaction) GetFirstSig() []byte
- func (m *SlashTransaction) GetRound() uint64
- func (m *SlashTransaction) GetSecondMsg() []byte
- func (m *SlashTransaction) GetSecondSig() []byte
- func (m *SlashTransaction) GetStep() uint32
- func (m *SlashTransaction) GetTx() *Transaction
- func (*SlashTransaction) ProtoMessage()
- func (m *SlashTransaction) Reset()
- func (m *SlashTransaction) String() string
- func (m *SlashTransaction) XXX_DiscardUnknown()
- func (m *SlashTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SlashTransaction) XXX_Merge(src proto.Message)
- func (m *SlashTransaction) XXX_Size() int
- func (m *SlashTransaction) XXX_Unmarshal(b []byte) error
- type SlashTransactionRequest
- func (*SlashTransactionRequest) Descriptor() ([]byte, []int)
- func (m *SlashTransactionRequest) GetBlsKey() []byte
- func (m *SlashTransactionRequest) GetFirstMsg() []byte
- func (m *SlashTransactionRequest) GetFirstSig() []byte
- func (m *SlashTransactionRequest) GetRound() uint64
- func (m *SlashTransactionRequest) GetSecondMsg() []byte
- func (m *SlashTransactionRequest) GetSecondSig() []byte
- func (m *SlashTransactionRequest) GetStep() uint32
- func (m *SlashTransactionRequest) GetTx() *NewTransactionRequest
- func (*SlashTransactionRequest) ProtoMessage()
- func (m *SlashTransactionRequest) Reset()
- func (m *SlashTransactionRequest) String() string
- func (m *SlashTransactionRequest) XXX_DiscardUnknown()
- func (m *SlashTransactionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SlashTransactionRequest) XXX_Merge(src proto.Message)
- func (m *SlashTransactionRequest) XXX_Size() int
- func (m *SlashTransactionRequest) XXX_Unmarshal(b []byte) error
- type Stake
- func (*Stake) Descriptor() ([]byte, []int)
- func (m *Stake) GetAmount() uint64
- func (m *Stake) GetEndHeight() uint64
- func (m *Stake) GetStartHeight() uint64
- func (*Stake) ProtoMessage()
- func (m *Stake) Reset()
- func (m *Stake) String() string
- func (m *Stake) XXX_DiscardUnknown()
- func (m *Stake) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Stake) XXX_Merge(src proto.Message)
- func (m *Stake) XXX_Size() int
- func (m *Stake) XXX_Unmarshal(b []byte) error
- type StakeTransaction
- func (*StakeTransaction) Descriptor() ([]byte, []int)
- func (m *StakeTransaction) GetBlsKey() []byte
- func (m *StakeTransaction) GetExpirationHeight() uint64
- func (m *StakeTransaction) GetTx() *Transaction
- func (*StakeTransaction) ProtoMessage()
- func (m *StakeTransaction) Reset()
- func (m *StakeTransaction) String() string
- func (m *StakeTransaction) XXX_DiscardUnknown()
- func (m *StakeTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StakeTransaction) XXX_Merge(src proto.Message)
- func (m *StakeTransaction) XXX_Size() int
- func (m *StakeTransaction) XXX_Unmarshal(b []byte) error
- type StakeTransactionRequest
- func (*StakeTransactionRequest) Descriptor() ([]byte, []int)
- func (m *StakeTransactionRequest) GetBlsKey() []byte
- func (m *StakeTransactionRequest) GetExpirationHeight() uint64
- func (m *StakeTransactionRequest) GetTx() *NewTransactionRequest
- func (*StakeTransactionRequest) ProtoMessage()
- func (m *StakeTransactionRequest) Reset()
- func (m *StakeTransactionRequest) String() string
- func (m *StakeTransactionRequest) XXX_DiscardUnknown()
- func (m *StakeTransactionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StakeTransactionRequest) XXX_Merge(src proto.Message)
- func (m *StakeTransactionRequest) XXX_Size() int
- func (m *StakeTransactionRequest) XXX_Unmarshal(b []byte) error
- type Transaction
- func (*Transaction) Descriptor() ([]byte, []int)
- func (m *Transaction) GetData() []byte
- func (m *Transaction) GetFee() *TransactionOutput
- func (m *Transaction) GetInputs() []*TransactionInput
- func (m *Transaction) GetOutputs() []*TransactionOutput
- func (m *Transaction) GetProof() []byte
- func (*Transaction) ProtoMessage()
- func (m *Transaction) Reset()
- func (m *Transaction) String() string
- func (m *Transaction) XXX_DiscardUnknown()
- func (m *Transaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Transaction) XXX_Merge(src proto.Message)
- func (m *Transaction) XXX_Size() int
- func (m *Transaction) XXX_Unmarshal(b []byte) error
- type TransactionHashRequest
- func (*TransactionHashRequest) Descriptor() ([]byte, []int)
- func (m *TransactionHashRequest) GetTxs() []*Transaction
- func (*TransactionHashRequest) ProtoMessage()
- func (m *TransactionHashRequest) Reset()
- func (m *TransactionHashRequest) String() string
- func (m *TransactionHashRequest) XXX_DiscardUnknown()
- func (m *TransactionHashRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TransactionHashRequest) XXX_Merge(src proto.Message)
- func (m *TransactionHashRequest) XXX_Size() int
- func (m *TransactionHashRequest) XXX_Unmarshal(b []byte) error
- type TransactionInput
- func (*TransactionInput) Descriptor() ([]byte, []int)
- func (m *TransactionInput) GetMerkleRoot() *Scalar
- func (m *TransactionInput) GetNullifier() *Nullifier
- func (*TransactionInput) ProtoMessage()
- func (m *TransactionInput) Reset()
- func (m *TransactionInput) String() string
- func (m *TransactionInput) XXX_DiscardUnknown()
- func (m *TransactionInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TransactionInput) XXX_Merge(src proto.Message)
- func (m *TransactionInput) XXX_Size() int
- func (m *TransactionInput) XXX_Unmarshal(b []byte) error
- type TransactionOutput
- func (*TransactionOutput) Descriptor() ([]byte, []int)
- func (m *TransactionOutput) GetBlindingFactor() *Scalar
- func (m *TransactionOutput) GetNote() *Note
- func (m *TransactionOutput) GetPk() *PublicKey
- func (m *TransactionOutput) GetValue() uint64
- func (*TransactionOutput) ProtoMessage()
- func (m *TransactionOutput) Reset()
- func (m *TransactionOutput) String() string
- func (m *TransactionOutput) XXX_DiscardUnknown()
- func (m *TransactionOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TransactionOutput) XXX_Merge(src proto.Message)
- func (m *TransactionOutput) XXX_Size() int
- func (m *TransactionOutput) XXX_Unmarshal(b []byte) error
- type UnimplementedCryptoServer
- type UnimplementedRuskServer
- func (*UnimplementedRuskServer) CalculateMempoolBalance(ctx context.Context, req *CalculateMempoolBalanceRequest) (*GetBalanceResponse, error)
- func (*UnimplementedRuskServer) Echo(ctx context.Context, req *EchoRequest) (*EchoResponse, error)
- func (*UnimplementedRuskServer) ExecuteStateTransition(ctx context.Context, req *ExecuteStateTransitionRequest) (*ExecuteStateTransitionResponse, error)
- func (*UnimplementedRuskServer) FullScanOwnedNotes(ctx context.Context, req *ViewKey) (*OwnedNotesResponse, error)
- func (*UnimplementedRuskServer) GenerateScore(ctx context.Context, req *GenerateScoreRequest) (*GenerateScoreResponse, error)
- func (*UnimplementedRuskServer) GenerateSecretKey(ctx context.Context, req *GenerateSecretKeyRequest) (*GenerateSecretKeyResponse, error)
- func (*UnimplementedRuskServer) GetBalance(ctx context.Context, req *GetBalanceRequest) (*GetBalanceResponse, error)
- func (*UnimplementedRuskServer) Keys(ctx context.Context, req *SecretKey) (*KeysResponse, error)
- func (*UnimplementedRuskServer) NewBid(ctx context.Context, req *BidTransactionRequest) (*BidTransaction, error)
- func (*UnimplementedRuskServer) NewSlash(ctx context.Context, req *SlashTransactionRequest) (*SlashTransaction, error)
- func (*UnimplementedRuskServer) NewStake(ctx context.Context, req *StakeTransactionRequest) (*StakeTransaction, error)
- func (*UnimplementedRuskServer) NewTransaction(ctx context.Context, req *NewTransactionRequest) (*Transaction, error)
- func (*UnimplementedRuskServer) NewWithdrawBid(ctx context.Context, req *WithdrawBidTransactionRequest) (*WithdrawBidTransaction, error)
- func (*UnimplementedRuskServer) NewWithdrawFees(ctx context.Context, req *WithdrawFeesTransactionRequest) (*WithdrawFeesTransaction, error)
- func (*UnimplementedRuskServer) NewWithdrawStake(ctx context.Context, req *WithdrawStakeTransactionRequest) (*WithdrawStakeTransaction, error)
- func (*UnimplementedRuskServer) ValidateStateTransition(ctx context.Context, req *ValidateStateTransitionRequest) (*ValidateStateTransitionResponse, error)
- func (*UnimplementedRuskServer) VerifyScore(ctx context.Context, req *VerifyScoreRequest) (*VerifyScoreResponse, error)
- func (*UnimplementedRuskServer) VerifyStake(ctx context.Context, req *StakeTransaction) (*VerifyTransactionResponse, error)
- func (*UnimplementedRuskServer) VerifyTransaction(ctx context.Context, req *ContractCallTx) (*VerifyTransactionResponse, error)
- type ValidateStateTransitionRequest
- func (*ValidateStateTransitionRequest) Descriptor() ([]byte, []int)
- func (m *ValidateStateTransitionRequest) GetCalls() []*ContractCallTx
- func (m *ValidateStateTransitionRequest) GetCurrentHeight() uint64
- func (*ValidateStateTransitionRequest) ProtoMessage()
- func (m *ValidateStateTransitionRequest) Reset()
- func (m *ValidateStateTransitionRequest) String() string
- func (m *ValidateStateTransitionRequest) XXX_DiscardUnknown()
- func (m *ValidateStateTransitionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ValidateStateTransitionRequest) XXX_Merge(src proto.Message)
- func (m *ValidateStateTransitionRequest) XXX_Size() int
- func (m *ValidateStateTransitionRequest) XXX_Unmarshal(b []byte) error
- type ValidateStateTransitionResponse
- func (*ValidateStateTransitionResponse) Descriptor() ([]byte, []int)
- func (m *ValidateStateTransitionResponse) GetSuccessfulCalls() []int32
- func (*ValidateStateTransitionResponse) ProtoMessage()
- func (m *ValidateStateTransitionResponse) Reset()
- func (m *ValidateStateTransitionResponse) String() string
- func (m *ValidateStateTransitionResponse) XXX_DiscardUnknown()
- func (m *ValidateStateTransitionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ValidateStateTransitionResponse) XXX_Merge(src proto.Message)
- func (m *ValidateStateTransitionResponse) XXX_Size() int
- func (m *ValidateStateTransitionResponse) XXX_Unmarshal(b []byte) error
- type VerifyScoreRequest
- func (*VerifyScoreRequest) Descriptor() ([]byte, []int)
- func (m *VerifyScoreRequest) GetIdentity() []byte
- func (m *VerifyScoreRequest) GetProof() []byte
- func (m *VerifyScoreRequest) GetRound() uint64
- func (m *VerifyScoreRequest) GetScore() []byte
- func (m *VerifyScoreRequest) GetSeed() []byte
- func (m *VerifyScoreRequest) GetStep() uint32
- func (*VerifyScoreRequest) ProtoMessage()
- func (m *VerifyScoreRequest) Reset()
- func (m *VerifyScoreRequest) String() string
- func (m *VerifyScoreRequest) XXX_DiscardUnknown()
- func (m *VerifyScoreRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VerifyScoreRequest) XXX_Merge(src proto.Message)
- func (m *VerifyScoreRequest) XXX_Size() int
- func (m *VerifyScoreRequest) XXX_Unmarshal(b []byte) error
- type VerifyScoreResponse
- func (*VerifyScoreResponse) Descriptor() ([]byte, []int)
- func (m *VerifyScoreResponse) GetSuccess() bool
- func (*VerifyScoreResponse) ProtoMessage()
- func (m *VerifyScoreResponse) Reset()
- func (m *VerifyScoreResponse) String() string
- func (m *VerifyScoreResponse) XXX_DiscardUnknown()
- func (m *VerifyScoreResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VerifyScoreResponse) XXX_Merge(src proto.Message)
- func (m *VerifyScoreResponse) XXX_Size() int
- func (m *VerifyScoreResponse) XXX_Unmarshal(b []byte) error
- type VerifyTransactionResponse
- func (*VerifyTransactionResponse) Descriptor() ([]byte, []int)
- func (m *VerifyTransactionResponse) GetVerified() bool
- func (*VerifyTransactionResponse) ProtoMessage()
- func (m *VerifyTransactionResponse) Reset()
- func (m *VerifyTransactionResponse) String() string
- func (m *VerifyTransactionResponse) XXX_DiscardUnknown()
- func (m *VerifyTransactionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VerifyTransactionResponse) XXX_Merge(src proto.Message)
- func (m *VerifyTransactionResponse) XXX_Size() int
- func (m *VerifyTransactionResponse) XXX_Unmarshal(b []byte) error
- type ViewKey
- func (*ViewKey) Descriptor() ([]byte, []int)
- func (m *ViewKey) GetA() *Scalar
- func (m *ViewKey) GetBG() *CompressedPoint
- func (*ViewKey) ProtoMessage()
- func (m *ViewKey) Reset()
- func (m *ViewKey) String() string
- func (m *ViewKey) XXX_DiscardUnknown()
- func (m *ViewKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ViewKey) XXX_Merge(src proto.Message)
- func (m *ViewKey) XXX_Size() int
- func (m *ViewKey) XXX_Unmarshal(b []byte) error
- type WithdrawBidTransaction
- func (*WithdrawBidTransaction) Descriptor() ([]byte, []int)
- func (m *WithdrawBidTransaction) GetCommitment() []byte
- func (m *WithdrawBidTransaction) GetEdPk() []byte
- func (m *WithdrawBidTransaction) GetSig() []byte
- func (m *WithdrawBidTransaction) GetTx() *Transaction
- func (*WithdrawBidTransaction) ProtoMessage()
- func (m *WithdrawBidTransaction) Reset()
- func (m *WithdrawBidTransaction) String() string
- func (m *WithdrawBidTransaction) XXX_DiscardUnknown()
- func (m *WithdrawBidTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WithdrawBidTransaction) XXX_Merge(src proto.Message)
- func (m *WithdrawBidTransaction) XXX_Size() int
- func (m *WithdrawBidTransaction) XXX_Unmarshal(b []byte) error
- type WithdrawBidTransactionRequest
- func (*WithdrawBidTransactionRequest) Descriptor() ([]byte, []int)
- func (m *WithdrawBidTransactionRequest) GetEdPk() []byte
- func (m *WithdrawBidTransactionRequest) GetSig() []byte
- func (m *WithdrawBidTransactionRequest) GetTx() *NewTransactionRequest
- func (*WithdrawBidTransactionRequest) ProtoMessage()
- func (m *WithdrawBidTransactionRequest) Reset()
- func (m *WithdrawBidTransactionRequest) String() string
- func (m *WithdrawBidTransactionRequest) XXX_DiscardUnknown()
- func (m *WithdrawBidTransactionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WithdrawBidTransactionRequest) XXX_Merge(src proto.Message)
- func (m *WithdrawBidTransactionRequest) XXX_Size() int
- func (m *WithdrawBidTransactionRequest) XXX_Unmarshal(b []byte) error
- type WithdrawFeesTransaction
- func (*WithdrawFeesTransaction) Descriptor() ([]byte, []int)
- func (m *WithdrawFeesTransaction) GetBlsKey() []byte
- func (m *WithdrawFeesTransaction) GetMsg() []byte
- func (m *WithdrawFeesTransaction) GetSig() []byte
- func (m *WithdrawFeesTransaction) GetTx() *Transaction
- func (*WithdrawFeesTransaction) ProtoMessage()
- func (m *WithdrawFeesTransaction) Reset()
- func (m *WithdrawFeesTransaction) String() string
- func (m *WithdrawFeesTransaction) XXX_DiscardUnknown()
- func (m *WithdrawFeesTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WithdrawFeesTransaction) XXX_Merge(src proto.Message)
- func (m *WithdrawFeesTransaction) XXX_Size() int
- func (m *WithdrawFeesTransaction) XXX_Unmarshal(b []byte) error
- type WithdrawFeesTransactionRequest
- func (*WithdrawFeesTransactionRequest) Descriptor() ([]byte, []int)
- func (m *WithdrawFeesTransactionRequest) GetBlsKey() []byte
- func (m *WithdrawFeesTransactionRequest) GetMsg() []byte
- func (m *WithdrawFeesTransactionRequest) GetSig() []byte
- func (m *WithdrawFeesTransactionRequest) GetTx() *NewTransactionRequest
- func (*WithdrawFeesTransactionRequest) ProtoMessage()
- func (m *WithdrawFeesTransactionRequest) Reset()
- func (m *WithdrawFeesTransactionRequest) String() string
- func (m *WithdrawFeesTransactionRequest) XXX_DiscardUnknown()
- func (m *WithdrawFeesTransactionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WithdrawFeesTransactionRequest) XXX_Merge(src proto.Message)
- func (m *WithdrawFeesTransactionRequest) XXX_Size() int
- func (m *WithdrawFeesTransactionRequest) XXX_Unmarshal(b []byte) error
- type WithdrawStakeTransaction
- func (*WithdrawStakeTransaction) Descriptor() ([]byte, []int)
- func (m *WithdrawStakeTransaction) GetBlsKey() []byte
- func (m *WithdrawStakeTransaction) GetSig() []byte
- func (m *WithdrawStakeTransaction) GetTx() *Transaction
- func (*WithdrawStakeTransaction) ProtoMessage()
- func (m *WithdrawStakeTransaction) Reset()
- func (m *WithdrawStakeTransaction) String() string
- func (m *WithdrawStakeTransaction) XXX_DiscardUnknown()
- func (m *WithdrawStakeTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WithdrawStakeTransaction) XXX_Merge(src proto.Message)
- func (m *WithdrawStakeTransaction) XXX_Size() int
- func (m *WithdrawStakeTransaction) XXX_Unmarshal(b []byte) error
- type WithdrawStakeTransactionRequest
- func (*WithdrawStakeTransactionRequest) Descriptor() ([]byte, []int)
- func (m *WithdrawStakeTransactionRequest) GetBlsKey() []byte
- func (m *WithdrawStakeTransactionRequest) GetSig() []byte
- func (m *WithdrawStakeTransactionRequest) GetTx() *NewTransactionRequest
- func (*WithdrawStakeTransactionRequest) ProtoMessage()
- func (m *WithdrawStakeTransactionRequest) Reset()
- func (m *WithdrawStakeTransactionRequest) String() string
- func (m *WithdrawStakeTransactionRequest) XXX_DiscardUnknown()
- func (m *WithdrawStakeTransactionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WithdrawStakeTransactionRequest) XXX_Merge(src proto.Message)
- func (m *WithdrawStakeTransactionRequest) XXX_Size() int
- func (m *WithdrawStakeTransactionRequest) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
var NoteType_name = map[int32]string{
0: "TRANSPARENT",
1: "OBFUSCATED",
}
var NoteType_value = map[string]int32{
"TRANSPARENT": 0,
"OBFUSCATED": 1,
}
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BidList) Descriptor ¶ 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) XXX_DiscardUnknown ¶ added in v0.2.4
func (m *BidList) XXX_DiscardUnknown()
func (*BidList) XXX_Marshal ¶ added in v0.2.4
func (*BidList) XXX_Unmarshal ¶ added in v0.2.4
type 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
BidTransaction is the transaction for the Bid used by the Block Generator to create a Score
func (*BidTransaction) Descriptor ¶ added in v0.2.0
func (*BidTransaction) Descriptor() ([]byte, []int)
func (*BidTransaction) GetCommitment ¶ added in v0.2.0
func (m *BidTransaction) GetCommitment() []byte
func (*BidTransaction) GetExpirationHeight ¶ added in v0.2.0
func (m *BidTransaction) GetExpirationHeight() uint64
func (*BidTransaction) GetM ¶ added in v0.2.0
func (m *BidTransaction) GetM() []byte
func (*BidTransaction) GetPk ¶ added in v0.2.0
func (m *BidTransaction) GetPk() []byte
func (*BidTransaction) GetR ¶ added in v0.2.0
func (m *BidTransaction) GetR() []byte
func (*BidTransaction) GetSeed ¶ added in v0.2.0
func (m *BidTransaction) GetSeed() []byte
func (*BidTransaction) GetTx ¶ added in v0.2.0
func (m *BidTransaction) GetTx() *Transaction
func (*BidTransaction) ProtoMessage ¶ added in v0.2.0
func (*BidTransaction) ProtoMessage()
func (*BidTransaction) Reset ¶ added in v0.2.0
func (m *BidTransaction) Reset()
func (*BidTransaction) String ¶ added in v0.2.0
func (m *BidTransaction) String() string
func (*BidTransaction) XXX_DiscardUnknown ¶ added in v0.2.4
func (m *BidTransaction) XXX_DiscardUnknown()
func (*BidTransaction) XXX_Marshal ¶ added in v0.2.4
func (m *BidTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BidTransaction) XXX_Merge ¶ added in v0.2.4
func (m *BidTransaction) XXX_Merge(src proto.Message)
func (*BidTransaction) XXX_Size ¶ added in v0.2.4
func (m *BidTransaction) XXX_Size() int
func (*BidTransaction) XXX_Unmarshal ¶ added in v0.2.4
func (m *BidTransaction) XXX_Unmarshal(b []byte) error
type BidTransactionRequest ¶ added in v0.2.0
type BidTransactionRequest struct { K []byte `protobuf:"bytes,1,opt,name=K,proto3" json:"K,omitempty"` 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Used to Request the creation of a Bid
func (*BidTransactionRequest) Descriptor ¶ added in v0.2.0
func (*BidTransactionRequest) Descriptor() ([]byte, []int)
func (*BidTransactionRequest) GetEdPk ¶ added in v0.2.0
func (m *BidTransactionRequest) GetEdPk() []byte
func (*BidTransactionRequest) GetExpirationHeight ¶ added in v0.2.0
func (m *BidTransactionRequest) GetExpirationHeight() uint64
func (*BidTransactionRequest) GetK ¶ added in v0.2.0
func (m *BidTransactionRequest) GetK() []byte
func (*BidTransactionRequest) GetSeed ¶ added in v0.2.0
func (m *BidTransactionRequest) GetSeed() []byte
func (*BidTransactionRequest) GetTx ¶ added in v0.2.0
func (m *BidTransactionRequest) GetTx() *NewTransactionRequest
func (*BidTransactionRequest) ProtoMessage ¶ added in v0.2.0
func (*BidTransactionRequest) ProtoMessage()
func (*BidTransactionRequest) Reset ¶ added in v0.2.0
func (m *BidTransactionRequest) Reset()
func (*BidTransactionRequest) String ¶ added in v0.2.0
func (m *BidTransactionRequest) String() string
func (*BidTransactionRequest) XXX_DiscardUnknown ¶ added in v0.2.4
func (m *BidTransactionRequest) XXX_DiscardUnknown()
func (*BidTransactionRequest) XXX_Marshal ¶ added in v0.2.4
func (m *BidTransactionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BidTransactionRequest) XXX_Merge ¶ added in v0.2.4
func (m *BidTransactionRequest) XXX_Merge(src proto.Message)
func (*BidTransactionRequest) XXX_Size ¶ added in v0.2.4
func (m *BidTransactionRequest) XXX_Size() int
func (*BidTransactionRequest) XXX_Unmarshal ¶ added in v0.2.4
func (m *BidTransactionRequest) XXX_Unmarshal(b []byte) error
type BinaryHashRequest ¶ added in v0.2.0
type BinaryHashRequest struct { Inputs [][]byte `protobuf:"bytes,1,rep,name=inputs,proto3" json:"inputs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BinaryHashRequest) Descriptor ¶ added in v0.2.0
func (*BinaryHashRequest) Descriptor() ([]byte, []int)
func (*BinaryHashRequest) GetInputs ¶ added in v0.2.0
func (m *BinaryHashRequest) GetInputs() [][]byte
func (*BinaryHashRequest) ProtoMessage ¶ added in v0.2.0
func (*BinaryHashRequest) ProtoMessage()
func (*BinaryHashRequest) Reset ¶ added in v0.2.0
func (m *BinaryHashRequest) Reset()
func (*BinaryHashRequest) String ¶ added in v0.2.0
func (m *BinaryHashRequest) String() string
func (*BinaryHashRequest) XXX_DiscardUnknown ¶ added in v0.2.4
func (m *BinaryHashRequest) XXX_DiscardUnknown()
func (*BinaryHashRequest) XXX_Marshal ¶ added in v0.2.4
func (m *BinaryHashRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BinaryHashRequest) XXX_Merge ¶ added in v0.2.4
func (m *BinaryHashRequest) XXX_Merge(src proto.Message)
func (*BinaryHashRequest) XXX_Size ¶ added in v0.2.4
func (m *BinaryHashRequest) XXX_Size() int
func (*BinaryHashRequest) XXX_Unmarshal ¶ added in v0.2.4
func (m *BinaryHashRequest) XXX_Unmarshal(b []byte) error
type CalculateMempoolBalanceRequest ¶ added in v0.2.7
type CalculateMempoolBalanceRequest struct { Vk *ViewKey `protobuf:"bytes,1,opt,name=vk,proto3" json:"vk,omitempty"` Txs []*ContractCallTx `protobuf:"bytes,2,rep,name=txs,proto3" json:"txs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CalculateMempoolBalanceRequest) Descriptor ¶ added in v0.2.7
func (*CalculateMempoolBalanceRequest) Descriptor() ([]byte, []int)
func (*CalculateMempoolBalanceRequest) GetTxs ¶ added in v0.2.7
func (m *CalculateMempoolBalanceRequest) GetTxs() []*ContractCallTx
func (*CalculateMempoolBalanceRequest) GetVk ¶ added in v0.2.7
func (m *CalculateMempoolBalanceRequest) GetVk() *ViewKey
func (*CalculateMempoolBalanceRequest) ProtoMessage ¶ added in v0.2.7
func (*CalculateMempoolBalanceRequest) ProtoMessage()
func (*CalculateMempoolBalanceRequest) Reset ¶ added in v0.2.7
func (m *CalculateMempoolBalanceRequest) Reset()
func (*CalculateMempoolBalanceRequest) String ¶ added in v0.2.7
func (m *CalculateMempoolBalanceRequest) String() string
func (*CalculateMempoolBalanceRequest) XXX_DiscardUnknown ¶ added in v0.2.7
func (m *CalculateMempoolBalanceRequest) XXX_DiscardUnknown()
func (*CalculateMempoolBalanceRequest) XXX_Marshal ¶ added in v0.2.7
func (m *CalculateMempoolBalanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CalculateMempoolBalanceRequest) XXX_Merge ¶ added in v0.2.7
func (m *CalculateMempoolBalanceRequest) XXX_Merge(src proto.Message)
func (*CalculateMempoolBalanceRequest) XXX_Size ¶ added in v0.2.7
func (m *CalculateMempoolBalanceRequest) XXX_Size() int
func (*CalculateMempoolBalanceRequest) XXX_Unmarshal ¶ added in v0.2.7
func (m *CalculateMempoolBalanceRequest) XXX_Unmarshal(b []byte) error
type CompressedPoint ¶
type CompressedPoint struct { Y []byte `protobuf:"bytes,1,opt,name=y,proto3" json:"y,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CompressedPoint) Descriptor ¶
func (*CompressedPoint) Descriptor() ([]byte, []int)
func (*CompressedPoint) GetY ¶
func (m *CompressedPoint) GetY() []byte
func (*CompressedPoint) ProtoMessage ¶
func (*CompressedPoint) ProtoMessage()
func (*CompressedPoint) Reset ¶
func (m *CompressedPoint) Reset()
func (*CompressedPoint) String ¶
func (m *CompressedPoint) String() string
func (*CompressedPoint) XXX_DiscardUnknown ¶
func (m *CompressedPoint) XXX_DiscardUnknown()
func (*CompressedPoint) XXX_Marshal ¶
func (m *CompressedPoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CompressedPoint) XXX_Merge ¶
func (m *CompressedPoint) XXX_Merge(src proto.Message)
func (*CompressedPoint) XXX_Size ¶
func (m *CompressedPoint) XXX_Size() int
func (*CompressedPoint) XXX_Unmarshal ¶
func (m *CompressedPoint) XXX_Unmarshal(b []byte) error
type ContractCallTx ¶ added in v0.2.0
type ContractCallTx struct { // Types that are valid to be assigned 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ContractCallTx) Descriptor ¶ added in v0.2.0
func (*ContractCallTx) Descriptor() ([]byte, []int)
func (*ContractCallTx) GetBid ¶ added in v0.2.0
func (m *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 (m *ContractCallTx) GetDistribute() *DistributeTransaction
func (*ContractCallTx) GetSlash ¶ added in v0.2.0
func (m *ContractCallTx) GetSlash() *SlashTransaction
func (*ContractCallTx) GetStake ¶ added in v0.2.0
func (m *ContractCallTx) GetStake() *StakeTransaction
func (*ContractCallTx) GetTx ¶ added in v0.2.0
func (m *ContractCallTx) GetTx() *Transaction
func (*ContractCallTx) GetWithdraw ¶ added in v0.2.0
func (m *ContractCallTx) GetWithdraw() *WithdrawFeesTransaction
func (*ContractCallTx) GetWithdrawBid ¶ added in v0.2.0
func (m *ContractCallTx) GetWithdrawBid() *WithdrawBidTransaction
func (*ContractCallTx) GetWithdrawStake ¶ added in v0.2.0
func (m *ContractCallTx) GetWithdrawStake() *WithdrawStakeTransaction
func (*ContractCallTx) ProtoMessage ¶ added in v0.2.0
func (*ContractCallTx) ProtoMessage()
func (*ContractCallTx) Reset ¶ added in v0.2.0
func (m *ContractCallTx) Reset()
func (*ContractCallTx) String ¶ added in v0.2.0
func (m *ContractCallTx) String() string
func (*ContractCallTx) XXX_DiscardUnknown ¶ added in v0.2.4
func (m *ContractCallTx) XXX_DiscardUnknown()
func (*ContractCallTx) XXX_Marshal ¶ added in v0.2.4
func (m *ContractCallTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ContractCallTx) XXX_Merge ¶ added in v0.2.4
func (m *ContractCallTx) XXX_Merge(src proto.Message)
func (*ContractCallTx) XXX_OneofWrappers ¶ added in v0.2.4
func (*ContractCallTx) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*ContractCallTx) XXX_Size ¶ added in v0.2.4
func (m *ContractCallTx) XXX_Size() int
func (*ContractCallTx) XXX_Unmarshal ¶ added in v0.2.4
func (m *ContractCallTx) XXX_Unmarshal(b []byte) error
type ContractCallTx_Bid ¶ added in v0.2.0
type ContractCallTx_Bid struct {
Bid *BidTransaction `protobuf:"bytes,4,opt,name=bid,proto3,oneof" json:"bid,omitempty"`
}
type ContractCallTx_Distribute ¶ added in v0.2.0
type ContractCallTx_Distribute struct {
Distribute *DistributeTransaction `protobuf:"bytes,6,opt,name=distribute,proto3,oneof" json:"distribute,omitempty"`
}
type ContractCallTx_Slash ¶ added in v0.2.0
type ContractCallTx_Slash struct {
Slash *SlashTransaction `protobuf:"bytes,5,opt,name=slash,proto3,oneof" json:"slash,omitempty"`
}
type ContractCallTx_Stake ¶ added in v0.2.0
type ContractCallTx_Stake struct {
Stake *StakeTransaction `protobuf:"bytes,3,opt,name=stake,proto3,oneof" json:"stake,omitempty"`
}
type ContractCallTx_Tx ¶ added in v0.2.0
type ContractCallTx_Tx struct {
Tx *Transaction `protobuf:"bytes,1,opt,name=tx,proto3,oneof" json:"tx,omitempty"`
}
type ContractCallTx_Withdraw ¶ added in v0.2.0
type ContractCallTx_Withdraw struct {
Withdraw *WithdrawFeesTransaction `protobuf:"bytes,2,opt,name=withdraw,proto3,oneof" json:"withdraw,omitempty"`
}
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" json:"withdraw_bid,omitempty"`
}
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" json:"withdraw_stake,omitempty"`
}
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.ClientConn) 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 valid to be assigned to RawBlindingFactor: // *DecryptedNote_TransparentBlindingFactor // *DecryptedNote_EncryptedBlindingFactor RawBlindingFactor isDecryptedNote_RawBlindingFactor `protobuf_oneof:"rawBlindingFactor"` // Types that are valid to be assigned to RawValue: // *DecryptedNote_TransparentValue // *DecryptedNote_EncryptedValue RawValue isDecryptedNote_RawValue `protobuf_oneof:"rawValue"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DecryptedNote) Descriptor ¶
func (*DecryptedNote) Descriptor() ([]byte, []int)
func (*DecryptedNote) GetBlindingFactor ¶
func (m *DecryptedNote) GetBlindingFactor() *Scalar
func (*DecryptedNote) GetEncryptedBlindingFactor ¶
func (m *DecryptedNote) GetEncryptedBlindingFactor() []byte
func (*DecryptedNote) GetEncryptedValue ¶
func (m *DecryptedNote) GetEncryptedValue() []byte
func (*DecryptedNote) GetNonce ¶
func (m *DecryptedNote) GetNonce() *Nonce
func (*DecryptedNote) GetNoteType ¶
func (m *DecryptedNote) GetNoteType() NoteType
func (*DecryptedNote) GetPkR ¶
func (m *DecryptedNote) GetPkR() *CompressedPoint
func (*DecryptedNote) GetPos ¶
func (m *DecryptedNote) GetPos() uint64
func (*DecryptedNote) GetRG ¶
func (m *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 (m *DecryptedNote) GetTransparentBlindingFactor() *Scalar
func (*DecryptedNote) GetTransparentValue ¶
func (m *DecryptedNote) GetTransparentValue() uint64
func (*DecryptedNote) GetValue ¶
func (m *DecryptedNote) GetValue() uint64
func (*DecryptedNote) GetValueCommitment ¶
func (m *DecryptedNote) GetValueCommitment() *Scalar
func (*DecryptedNote) ProtoMessage ¶
func (*DecryptedNote) ProtoMessage()
func (*DecryptedNote) Reset ¶
func (m *DecryptedNote) Reset()
func (*DecryptedNote) String ¶
func (m *DecryptedNote) String() string
func (*DecryptedNote) XXX_DiscardUnknown ¶
func (m *DecryptedNote) XXX_DiscardUnknown()
func (*DecryptedNote) XXX_Marshal ¶
func (m *DecryptedNote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DecryptedNote) XXX_Merge ¶
func (m *DecryptedNote) XXX_Merge(src proto.Message)
func (*DecryptedNote) XXX_OneofWrappers ¶
func (*DecryptedNote) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*DecryptedNote) XXX_Size ¶
func (m *DecryptedNote) XXX_Size() int
func (*DecryptedNote) XXX_Unmarshal ¶
func (m *DecryptedNote) XXX_Unmarshal(b []byte) error
type DecryptedNote_EncryptedBlindingFactor ¶
type DecryptedNote_EncryptedBlindingFactor struct {
EncryptedBlindingFactor []byte `` /* 139-byte string literal not displayed */
}
type DecryptedNote_EncryptedValue ¶
type DecryptedNote_EncryptedValue struct {
EncryptedValue []byte `protobuf:"bytes,12,opt,name=encrypted_value,json=encryptedValue,proto3,oneof" json:"encrypted_value,omitempty"`
}
type DecryptedNote_TransparentBlindingFactor ¶
type DecryptedNote_TransparentBlindingFactor struct {
TransparentBlindingFactor *Scalar `` /* 144-byte string literal not displayed */
}
type DecryptedNote_TransparentValue ¶
type DecryptedNote_TransparentValue struct {
TransparentValue uint64 `protobuf:"fixed64,11,opt,name=transparent_value,json=transparentValue,proto3,oneof" json:"transparent_value,omitempty"`
}
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Call during block generation
func (*DistributeTransaction) Descriptor ¶ added in v0.2.0
func (*DistributeTransaction) Descriptor() ([]byte, []int)
func (*DistributeTransaction) GetBgPk ¶ added in v0.2.0
func (m *DistributeTransaction) GetBgPk() *PublicKey
func (*DistributeTransaction) GetProvisionersAddresses ¶ added in v0.2.0
func (m *DistributeTransaction) GetProvisionersAddresses() [][]byte
func (*DistributeTransaction) GetTx ¶ added in v0.2.0
func (m *DistributeTransaction) GetTx() *Transaction
func (*DistributeTransaction) ProtoMessage ¶ added in v0.2.0
func (*DistributeTransaction) ProtoMessage()
func (*DistributeTransaction) Reset ¶ added in v0.2.0
func (m *DistributeTransaction) Reset()
func (*DistributeTransaction) String ¶ added in v0.2.0
func (m *DistributeTransaction) String() string
func (*DistributeTransaction) XXX_DiscardUnknown ¶ added in v0.2.4
func (m *DistributeTransaction) XXX_DiscardUnknown()
func (*DistributeTransaction) XXX_Marshal ¶ added in v0.2.4
func (m *DistributeTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DistributeTransaction) XXX_Merge ¶ added in v0.2.4
func (m *DistributeTransaction) XXX_Merge(src proto.Message)
func (*DistributeTransaction) XXX_Size ¶ added in v0.2.4
func (m *DistributeTransaction) XXX_Size() int
func (*DistributeTransaction) XXX_Unmarshal ¶ added in v0.2.4
func (m *DistributeTransaction) XXX_Unmarshal(b []byte) error
type EchoRequest ¶
type EchoRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*EchoRequest) Descriptor ¶
func (*EchoRequest) Descriptor() ([]byte, []int)
func (*EchoRequest) ProtoMessage ¶
func (*EchoRequest) ProtoMessage()
func (*EchoRequest) Reset ¶
func (m *EchoRequest) Reset()
func (*EchoRequest) String ¶
func (m *EchoRequest) String() string
func (*EchoRequest) XXX_DiscardUnknown ¶
func (m *EchoRequest) XXX_DiscardUnknown()
func (*EchoRequest) XXX_Marshal ¶
func (m *EchoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EchoRequest) XXX_Merge ¶
func (m *EchoRequest) XXX_Merge(src proto.Message)
func (*EchoRequest) XXX_Size ¶
func (m *EchoRequest) XXX_Size() int
func (*EchoRequest) XXX_Unmarshal ¶
func (m *EchoRequest) XXX_Unmarshal(b []byte) error
type EchoResponse ¶
type EchoResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*EchoResponse) Descriptor ¶
func (*EchoResponse) Descriptor() ([]byte, []int)
func (*EchoResponse) ProtoMessage ¶
func (*EchoResponse) ProtoMessage()
func (*EchoResponse) Reset ¶
func (m *EchoResponse) Reset()
func (*EchoResponse) String ¶
func (m *EchoResponse) String() string
func (*EchoResponse) XXX_DiscardUnknown ¶
func (m *EchoResponse) XXX_DiscardUnknown()
func (*EchoResponse) XXX_Marshal ¶
func (m *EchoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EchoResponse) XXX_Merge ¶
func (m *EchoResponse) XXX_Merge(src proto.Message)
func (*EchoResponse) XXX_Size ¶
func (m *EchoResponse) XXX_Size() int
func (*EchoResponse) XXX_Unmarshal ¶
func (m *EchoResponse) XXX_Unmarshal(b []byte) error
type ExecuteStateTransitionRequest ¶
type ExecuteStateTransitionRequest struct { Calls []*ContractCallTx `protobuf:"bytes,1,rep,name=calls,proto3" json:"calls,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ExecuteStateTransitionRequest) Descriptor ¶
func (*ExecuteStateTransitionRequest) Descriptor() ([]byte, []int)
func (*ExecuteStateTransitionRequest) GetCalls ¶ added in v0.2.0
func (m *ExecuteStateTransitionRequest) GetCalls() []*ContractCallTx
func (*ExecuteStateTransitionRequest) ProtoMessage ¶
func (*ExecuteStateTransitionRequest) ProtoMessage()
func (*ExecuteStateTransitionRequest) Reset ¶
func (m *ExecuteStateTransitionRequest) Reset()
func (*ExecuteStateTransitionRequest) String ¶
func (m *ExecuteStateTransitionRequest) String() string
func (*ExecuteStateTransitionRequest) XXX_DiscardUnknown ¶
func (m *ExecuteStateTransitionRequest) XXX_DiscardUnknown()
func (*ExecuteStateTransitionRequest) XXX_Marshal ¶
func (m *ExecuteStateTransitionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExecuteStateTransitionRequest) XXX_Merge ¶
func (m *ExecuteStateTransitionRequest) XXX_Merge(src proto.Message)
func (*ExecuteStateTransitionRequest) XXX_Size ¶
func (m *ExecuteStateTransitionRequest) XXX_Size() int
func (*ExecuteStateTransitionRequest) XXX_Unmarshal ¶
func (m *ExecuteStateTransitionRequest) XXX_Unmarshal(b []byte) error
type ExecuteStateTransitionResponse ¶
type ExecuteStateTransitionResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ExecuteStateTransitionResponse) Descriptor ¶
func (*ExecuteStateTransitionResponse) Descriptor() ([]byte, []int)
func (*ExecuteStateTransitionResponse) GetCommittee ¶ added in v0.2.0
func (m *ExecuteStateTransitionResponse) GetCommittee() []*Provisioner
func (*ExecuteStateTransitionResponse) GetCurrentHeight ¶ added in v0.2.0
func (m *ExecuteStateTransitionResponse) GetCurrentHeight() uint64
func (*ExecuteStateTransitionResponse) GetSuccess ¶ added in v0.2.0
func (m *ExecuteStateTransitionResponse) GetSuccess() bool
func (*ExecuteStateTransitionResponse) ProtoMessage ¶
func (*ExecuteStateTransitionResponse) ProtoMessage()
func (*ExecuteStateTransitionResponse) Reset ¶
func (m *ExecuteStateTransitionResponse) Reset()
func (*ExecuteStateTransitionResponse) String ¶
func (m *ExecuteStateTransitionResponse) String() string
func (*ExecuteStateTransitionResponse) XXX_DiscardUnknown ¶
func (m *ExecuteStateTransitionResponse) XXX_DiscardUnknown()
func (*ExecuteStateTransitionResponse) XXX_Marshal ¶
func (m *ExecuteStateTransitionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExecuteStateTransitionResponse) XXX_Merge ¶
func (m *ExecuteStateTransitionResponse) XXX_Merge(src proto.Message)
func (*ExecuteStateTransitionResponse) XXX_Size ¶
func (m *ExecuteStateTransitionResponse) XXX_Size() int
func (*ExecuteStateTransitionResponse) XXX_Unmarshal ¶
func (m *ExecuteStateTransitionResponse) XXX_Unmarshal(b []byte) error
type 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GenerateScoreRequest) Descriptor ¶
func (*GenerateScoreRequest) Descriptor() ([]byte, []int)
func (*GenerateScoreRequest) GetD ¶
func (m *GenerateScoreRequest) GetD() []byte
func (*GenerateScoreRequest) GetEdPk ¶ added in v0.2.0
func (m *GenerateScoreRequest) GetEdPk() []byte
func (*GenerateScoreRequest) GetK ¶
func (m *GenerateScoreRequest) GetK() []byte
func (*GenerateScoreRequest) GetRound ¶ added in v0.2.0
func (m *GenerateScoreRequest) GetRound() uint64
func (*GenerateScoreRequest) GetSeed ¶
func (m *GenerateScoreRequest) GetSeed() []byte
func (*GenerateScoreRequest) GetStep ¶ added in v0.2.0
func (m *GenerateScoreRequest) GetStep() uint32
func (*GenerateScoreRequest) ProtoMessage ¶
func (*GenerateScoreRequest) ProtoMessage()
func (*GenerateScoreRequest) Reset ¶
func (m *GenerateScoreRequest) Reset()
func (*GenerateScoreRequest) String ¶
func (m *GenerateScoreRequest) String() string
func (*GenerateScoreRequest) XXX_DiscardUnknown ¶
func (m *GenerateScoreRequest) XXX_DiscardUnknown()
func (*GenerateScoreRequest) XXX_Marshal ¶
func (m *GenerateScoreRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenerateScoreRequest) XXX_Merge ¶
func (m *GenerateScoreRequest) XXX_Merge(src proto.Message)
func (*GenerateScoreRequest) XXX_Size ¶
func (m *GenerateScoreRequest) XXX_Size() int
func (*GenerateScoreRequest) XXX_Unmarshal ¶
func (m *GenerateScoreRequest) XXX_Unmarshal(b []byte) error
type GenerateScoreResponse ¶
type GenerateScoreResponse struct { 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GenerateScoreResponse) Descriptor ¶
func (*GenerateScoreResponse) Descriptor() ([]byte, []int)
func (*GenerateScoreResponse) GetIdentity ¶ added in v0.2.0
func (m *GenerateScoreResponse) GetIdentity() []byte
func (*GenerateScoreResponse) GetProof ¶
func (m *GenerateScoreResponse) GetProof() []byte
func (*GenerateScoreResponse) GetScore ¶
func (m *GenerateScoreResponse) GetScore() []byte
func (*GenerateScoreResponse) GetSeed ¶ added in v0.2.0
func (m *GenerateScoreResponse) GetSeed() []byte
func (*GenerateScoreResponse) ProtoMessage ¶
func (*GenerateScoreResponse) ProtoMessage()
func (*GenerateScoreResponse) Reset ¶
func (m *GenerateScoreResponse) Reset()
func (*GenerateScoreResponse) String ¶
func (m *GenerateScoreResponse) String() string
func (*GenerateScoreResponse) XXX_DiscardUnknown ¶
func (m *GenerateScoreResponse) XXX_DiscardUnknown()
func (*GenerateScoreResponse) XXX_Marshal ¶
func (m *GenerateScoreResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenerateScoreResponse) XXX_Merge ¶
func (m *GenerateScoreResponse) XXX_Merge(src proto.Message)
func (*GenerateScoreResponse) XXX_Size ¶
func (m *GenerateScoreResponse) XXX_Size() int
func (*GenerateScoreResponse) XXX_Unmarshal ¶
func (m *GenerateScoreResponse) XXX_Unmarshal(b []byte) error
type GenerateSecretKeyRequest ¶
type GenerateSecretKeyRequest struct { B []byte `protobuf:"bytes,1,opt,name=b,proto3" json:"b,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GenerateSecretKeyRequest) Descriptor ¶
func (*GenerateSecretKeyRequest) Descriptor() ([]byte, []int)
func (*GenerateSecretKeyRequest) GetB ¶
func (m *GenerateSecretKeyRequest) GetB() []byte
func (*GenerateSecretKeyRequest) ProtoMessage ¶
func (*GenerateSecretKeyRequest) ProtoMessage()
func (*GenerateSecretKeyRequest) Reset ¶
func (m *GenerateSecretKeyRequest) Reset()
func (*GenerateSecretKeyRequest) String ¶
func (m *GenerateSecretKeyRequest) String() string
func (*GenerateSecretKeyRequest) XXX_DiscardUnknown ¶
func (m *GenerateSecretKeyRequest) XXX_DiscardUnknown()
func (*GenerateSecretKeyRequest) XXX_Marshal ¶
func (m *GenerateSecretKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenerateSecretKeyRequest) XXX_Merge ¶
func (m *GenerateSecretKeyRequest) XXX_Merge(src proto.Message)
func (*GenerateSecretKeyRequest) XXX_Size ¶
func (m *GenerateSecretKeyRequest) XXX_Size() int
func (*GenerateSecretKeyRequest) XXX_Unmarshal ¶
func (m *GenerateSecretKeyRequest) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GenerateSecretKeyResponse) Descriptor ¶ added in v0.2.0
func (*GenerateSecretKeyResponse) Descriptor() ([]byte, []int)
func (*GenerateSecretKeyResponse) GetPk ¶ added in v0.2.0
func (m *GenerateSecretKeyResponse) GetPk() *PublicKey
func (*GenerateSecretKeyResponse) GetSk ¶ added in v0.2.0
func (m *GenerateSecretKeyResponse) GetSk() *SecretKey
func (*GenerateSecretKeyResponse) GetVk ¶ added in v0.2.0
func (m *GenerateSecretKeyResponse) GetVk() *ViewKey
func (*GenerateSecretKeyResponse) ProtoMessage ¶ added in v0.2.0
func (*GenerateSecretKeyResponse) ProtoMessage()
func (*GenerateSecretKeyResponse) Reset ¶ added in v0.2.0
func (m *GenerateSecretKeyResponse) Reset()
func (*GenerateSecretKeyResponse) String ¶ added in v0.2.0
func (m *GenerateSecretKeyResponse) String() string
func (*GenerateSecretKeyResponse) XXX_DiscardUnknown ¶ added in v0.2.4
func (m *GenerateSecretKeyResponse) XXX_DiscardUnknown()
func (*GenerateSecretKeyResponse) XXX_Marshal ¶ added in v0.2.4
func (m *GenerateSecretKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenerateSecretKeyResponse) XXX_Merge ¶ added in v0.2.4
func (m *GenerateSecretKeyResponse) XXX_Merge(src proto.Message)
func (*GenerateSecretKeyResponse) XXX_Size ¶ added in v0.2.4
func (m *GenerateSecretKeyResponse) XXX_Size() int
func (*GenerateSecretKeyResponse) XXX_Unmarshal ¶ added in v0.2.4
func (m *GenerateSecretKeyResponse) XXX_Unmarshal(b []byte) error
type GetBalanceRequest ¶ added in v0.2.0
type GetBalanceRequest struct { Vk *ViewKey `protobuf:"bytes,1,opt,name=vk,proto3" json:"vk,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetBalanceRequest) Descriptor ¶ added in v0.2.0
func (*GetBalanceRequest) Descriptor() ([]byte, []int)
func (*GetBalanceRequest) GetVk ¶ added in v0.2.0
func (m *GetBalanceRequest) GetVk() *ViewKey
func (*GetBalanceRequest) ProtoMessage ¶ added in v0.2.0
func (*GetBalanceRequest) ProtoMessage()
func (*GetBalanceRequest) Reset ¶ added in v0.2.0
func (m *GetBalanceRequest) Reset()
func (*GetBalanceRequest) String ¶ added in v0.2.0
func (m *GetBalanceRequest) String() string
func (*GetBalanceRequest) XXX_DiscardUnknown ¶ added in v0.2.4
func (m *GetBalanceRequest) XXX_DiscardUnknown()
func (*GetBalanceRequest) XXX_Marshal ¶ added in v0.2.4
func (m *GetBalanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBalanceRequest) XXX_Merge ¶ added in v0.2.4
func (m *GetBalanceRequest) XXX_Merge(src proto.Message)
func (*GetBalanceRequest) XXX_Size ¶ added in v0.2.4
func (m *GetBalanceRequest) XXX_Size() int
func (*GetBalanceRequest) XXX_Unmarshal ¶ added in v0.2.4
func (m *GetBalanceRequest) XXX_Unmarshal(b []byte) error
type GetBalanceResponse ¶ added in v0.2.0
type GetBalanceResponse struct { Balance uint64 `protobuf:"fixed64,1,opt,name=balance,proto3" json:"balance,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetBalanceResponse) Descriptor ¶ added in v0.2.0
func (*GetBalanceResponse) Descriptor() ([]byte, []int)
func (*GetBalanceResponse) GetBalance ¶ added in v0.2.0
func (m *GetBalanceResponse) GetBalance() uint64
func (*GetBalanceResponse) ProtoMessage ¶ added in v0.2.0
func (*GetBalanceResponse) ProtoMessage()
func (*GetBalanceResponse) Reset ¶ added in v0.2.0
func (m *GetBalanceResponse) Reset()
func (*GetBalanceResponse) String ¶ added in v0.2.0
func (m *GetBalanceResponse) String() string
func (*GetBalanceResponse) XXX_DiscardUnknown ¶ added in v0.2.4
func (m *GetBalanceResponse) XXX_DiscardUnknown()
func (*GetBalanceResponse) XXX_Marshal ¶ added in v0.2.4
func (m *GetBalanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBalanceResponse) XXX_Merge ¶ added in v0.2.4
func (m *GetBalanceResponse) XXX_Merge(src proto.Message)
func (*GetBalanceResponse) XXX_Size ¶ added in v0.2.4
func (m *GetBalanceResponse) XXX_Size() int
func (*GetBalanceResponse) XXX_Unmarshal ¶ added in v0.2.4
func (m *GetBalanceResponse) XXX_Unmarshal(b []byte) error
type HashRequest ¶ added in v0.2.0
type HashRequest struct { // Types that are valid to be assigned to Request: // *HashRequest_BinInputs // *HashRequest_TxInputs Request isHashRequest_Request `protobuf_oneof:"request"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
HashRequest carries the input for the hashing which can be an array of arrays of bytes or a transaction.
func (*HashRequest) Descriptor ¶ added in v0.2.0
func (*HashRequest) Descriptor() ([]byte, []int)
func (*HashRequest) GetBinInputs ¶ added in v0.2.0
func (m *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 (m *HashRequest) GetTxInputs() *TransactionHashRequest
func (*HashRequest) ProtoMessage ¶ added in v0.2.0
func (*HashRequest) ProtoMessage()
func (*HashRequest) Reset ¶ added in v0.2.0
func (m *HashRequest) Reset()
func (*HashRequest) String ¶ added in v0.2.0
func (m *HashRequest) String() string
func (*HashRequest) XXX_DiscardUnknown ¶ added in v0.2.4
func (m *HashRequest) XXX_DiscardUnknown()
func (*HashRequest) XXX_Marshal ¶ added in v0.2.4
func (m *HashRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HashRequest) XXX_Merge ¶ added in v0.2.4
func (m *HashRequest) XXX_Merge(src proto.Message)
func (*HashRequest) XXX_OneofWrappers ¶ added in v0.2.4
func (*HashRequest) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*HashRequest) XXX_Size ¶ added in v0.2.4
func (m *HashRequest) XXX_Size() int
func (*HashRequest) XXX_Unmarshal ¶ added in v0.2.4
func (m *HashRequest) XXX_Unmarshal(b []byte) error
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" json:"bin_inputs,omitempty"`
}
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" json:"tx_inputs,omitempty"`
}
type HashResponse ¶ added in v0.2.0
type HashResponse struct { Hash *Scalar `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
HashResponse carries the scalar calculated by the hashing function
func (*HashResponse) Descriptor ¶ added in v0.2.0
func (*HashResponse) Descriptor() ([]byte, []int)
func (*HashResponse) GetHash ¶ added in v0.2.0
func (m *HashResponse) GetHash() *Scalar
func (*HashResponse) ProtoMessage ¶ added in v0.2.0
func (*HashResponse) ProtoMessage()
func (*HashResponse) Reset ¶ added in v0.2.0
func (m *HashResponse) Reset()
func (*HashResponse) String ¶ added in v0.2.0
func (m *HashResponse) String() string
func (*HashResponse) XXX_DiscardUnknown ¶ added in v0.2.4
func (m *HashResponse) XXX_DiscardUnknown()
func (*HashResponse) XXX_Marshal ¶ added in v0.2.4
func (m *HashResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HashResponse) XXX_Merge ¶ added in v0.2.4
func (m *HashResponse) XXX_Merge(src proto.Message)
func (*HashResponse) XXX_Size ¶ added in v0.2.4
func (m *HashResponse) XXX_Size() int
func (*HashResponse) XXX_Unmarshal ¶ added in v0.2.4
func (m *HashResponse) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*KeysResponse) Descriptor ¶
func (*KeysResponse) Descriptor() ([]byte, []int)
func (*KeysResponse) GetPk ¶
func (m *KeysResponse) GetPk() *PublicKey
func (*KeysResponse) GetVk ¶
func (m *KeysResponse) GetVk() *ViewKey
func (*KeysResponse) ProtoMessage ¶
func (*KeysResponse) ProtoMessage()
func (*KeysResponse) Reset ¶
func (m *KeysResponse) Reset()
func (*KeysResponse) String ¶
func (m *KeysResponse) String() string
func (*KeysResponse) XXX_DiscardUnknown ¶
func (m *KeysResponse) XXX_DiscardUnknown()
func (*KeysResponse) XXX_Marshal ¶
func (m *KeysResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*KeysResponse) XXX_Merge ¶
func (m *KeysResponse) XXX_Merge(src proto.Message)
func (*KeysResponse) XXX_Size ¶
func (m *KeysResponse) XXX_Size() int
func (*KeysResponse) XXX_Unmarshal ¶
func (m *KeysResponse) XXX_Unmarshal(b []byte) error
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"` Data []byte `protobuf:"bytes,6,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Call from CLI directly
func (*NewTransactionRequest) Descriptor ¶
func (*NewTransactionRequest) Descriptor() ([]byte, []int)
func (*NewTransactionRequest) GetData ¶ added in v0.2.7
func (m *NewTransactionRequest) GetData() []byte
func (*NewTransactionRequest) GetFee ¶
func (m *NewTransactionRequest) GetFee() uint64
func (*NewTransactionRequest) GetObfuscated ¶
func (m *NewTransactionRequest) GetObfuscated() bool
func (*NewTransactionRequest) GetRecipient ¶
func (m *NewTransactionRequest) GetRecipient() *PublicKey
func (*NewTransactionRequest) GetSk ¶
func (m *NewTransactionRequest) GetSk() *SecretKey
func (*NewTransactionRequest) GetValue ¶
func (m *NewTransactionRequest) GetValue() uint64
func (*NewTransactionRequest) ProtoMessage ¶
func (*NewTransactionRequest) ProtoMessage()
func (*NewTransactionRequest) Reset ¶
func (m *NewTransactionRequest) Reset()
func (*NewTransactionRequest) String ¶
func (m *NewTransactionRequest) String() string
func (*NewTransactionRequest) XXX_DiscardUnknown ¶
func (m *NewTransactionRequest) XXX_DiscardUnknown()
func (*NewTransactionRequest) XXX_Marshal ¶
func (m *NewTransactionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NewTransactionRequest) XXX_Merge ¶
func (m *NewTransactionRequest) XXX_Merge(src proto.Message)
func (*NewTransactionRequest) XXX_Size ¶
func (m *NewTransactionRequest) XXX_Size() int
func (*NewTransactionRequest) XXX_Unmarshal ¶
func (m *NewTransactionRequest) XXX_Unmarshal(b []byte) error
type Nonce ¶
type Nonce struct { Bs []byte `protobuf:"bytes,1,opt,name=bs,proto3" json:"bs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Nonce) Descriptor ¶
func (*Nonce) ProtoMessage ¶
func (*Nonce) ProtoMessage()
func (*Nonce) XXX_DiscardUnknown ¶
func (m *Nonce) XXX_DiscardUnknown()
func (*Nonce) XXX_Marshal ¶
func (*Nonce) XXX_Unmarshal ¶
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 valid to be assigned to BlindingFactor: // *Note_TransparentBlindingFactor // *Note_EncryptedBlindingFactor BlindingFactor isNote_BlindingFactor `protobuf_oneof:"blinding_factor"` // Types that are valid to be assigned to Value: // *Note_TransparentValue // *Note_EncryptedValue Value isNote_Value `protobuf_oneof:"value"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Note) Descriptor ¶
func (*Note) GetBlindingFactor ¶
func (m *Note) GetBlindingFactor() isNote_BlindingFactor
func (*Note) GetEncryptedBlindingFactor ¶
func (*Note) GetEncryptedValue ¶
func (*Note) GetNoteType ¶
func (*Note) GetPkR ¶
func (m *Note) GetPkR() *CompressedPoint
func (*Note) GetRG ¶
func (m *Note) GetRG() *CompressedPoint
func (*Note) GetTransparentBlindingFactor ¶
func (*Note) GetTransparentValue ¶
func (*Note) GetValueCommitment ¶
func (*Note) ProtoMessage ¶
func (*Note) ProtoMessage()
func (*Note) XXX_DiscardUnknown ¶
func (m *Note) XXX_DiscardUnknown()
func (*Note) XXX_OneofWrappers ¶
func (*Note) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*Note) XXX_Unmarshal ¶
type Note_EncryptedBlindingFactor ¶
type Note_EncryptedBlindingFactor struct {
EncryptedBlindingFactor []byte `` /* 138-byte string literal not displayed */
}
type Note_EncryptedValue ¶
type Note_EncryptedValue struct {
EncryptedValue []byte `protobuf:"bytes,10,opt,name=encrypted_value,json=encryptedValue,proto3,oneof" json:"encrypted_value,omitempty"`
}
type Note_TransparentBlindingFactor ¶
type Note_TransparentBlindingFactor struct {
TransparentBlindingFactor *Scalar `` /* 144-byte string literal not displayed */
}
type Note_TransparentValue ¶
type Note_TransparentValue struct {
TransparentValue uint64 `protobuf:"fixed64,9,opt,name=transparent_value,json=transparentValue,proto3,oneof" json:"transparent_value,omitempty"`
}
type Nullifier ¶
type Nullifier struct { H *Scalar `protobuf:"bytes,1,opt,name=h,proto3" json:"h,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Nullifier) Descriptor ¶
func (*Nullifier) ProtoMessage ¶
func (*Nullifier) ProtoMessage()
func (*Nullifier) XXX_DiscardUnknown ¶
func (m *Nullifier) XXX_DiscardUnknown()
func (*Nullifier) XXX_Marshal ¶
func (*Nullifier) XXX_Unmarshal ¶
type OwnedNotesResponse ¶
type OwnedNotesResponse struct { Notes []*DecryptedNote `protobuf:"bytes,1,rep,name=notes,proto3" json:"notes,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Used for scanning unspent input set
func (*OwnedNotesResponse) Descriptor ¶
func (*OwnedNotesResponse) Descriptor() ([]byte, []int)
func (*OwnedNotesResponse) GetNotes ¶
func (m *OwnedNotesResponse) GetNotes() []*DecryptedNote
func (*OwnedNotesResponse) ProtoMessage ¶
func (*OwnedNotesResponse) ProtoMessage()
func (*OwnedNotesResponse) Reset ¶
func (m *OwnedNotesResponse) Reset()
func (*OwnedNotesResponse) String ¶
func (m *OwnedNotesResponse) String() string
func (*OwnedNotesResponse) XXX_DiscardUnknown ¶
func (m *OwnedNotesResponse) XXX_DiscardUnknown()
func (*OwnedNotesResponse) XXX_Marshal ¶
func (m *OwnedNotesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OwnedNotesResponse) XXX_Merge ¶
func (m *OwnedNotesResponse) XXX_Merge(src proto.Message)
func (*OwnedNotesResponse) XXX_Size ¶
func (m *OwnedNotesResponse) XXX_Size() int
func (*OwnedNotesResponse) XXX_Unmarshal ¶
func (m *OwnedNotesResponse) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Provisioner) Descriptor ¶ added in v0.2.0
func (*Provisioner) Descriptor() ([]byte, []int)
func (*Provisioner) GetBlsKey ¶ added in v0.2.0
func (m *Provisioner) GetBlsKey() []byte
func (*Provisioner) GetStakes ¶ added in v0.2.0
func (m *Provisioner) GetStakes() []*Stake
func (*Provisioner) ProtoMessage ¶ added in v0.2.0
func (*Provisioner) ProtoMessage()
func (*Provisioner) Reset ¶ added in v0.2.0
func (m *Provisioner) Reset()
func (*Provisioner) String ¶ added in v0.2.0
func (m *Provisioner) String() string
func (*Provisioner) XXX_DiscardUnknown ¶ added in v0.2.4
func (m *Provisioner) XXX_DiscardUnknown()
func (*Provisioner) XXX_Marshal ¶ added in v0.2.4
func (m *Provisioner) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Provisioner) XXX_Merge ¶ added in v0.2.4
func (m *Provisioner) XXX_Merge(src proto.Message)
func (*Provisioner) XXX_Size ¶ added in v0.2.4
func (m *Provisioner) XXX_Size() int
func (*Provisioner) XXX_Unmarshal ¶ added in v0.2.4
func (m *Provisioner) XXX_Unmarshal(b []byte) error
type PublicKey ¶
type PublicKey struct { AG *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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PublicKey) Descriptor ¶
func (*PublicKey) GetAG ¶
func (m *PublicKey) GetAG() *CompressedPoint
func (*PublicKey) GetBG ¶
func (m *PublicKey) GetBG() *CompressedPoint
func (*PublicKey) ProtoMessage ¶
func (*PublicKey) ProtoMessage()
func (*PublicKey) XXX_DiscardUnknown ¶
func (m *PublicKey) XXX_DiscardUnknown()
func (*PublicKey) XXX_Marshal ¶
func (*PublicKey) XXX_Unmarshal ¶
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) CalculateMempoolBalance(ctx context.Context, in *CalculateMempoolBalanceRequest, opts ...grpc.CallOption) (*GetBalanceResponse, 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) // 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.ClientConn) RuskClient
type RuskMock ¶ added in v0.2.0
type RuskMock struct{}
func (*RuskMock) CalculateMempoolBalance ¶ added in v0.2.7
func (m *RuskMock) CalculateMempoolBalance(ctx context.Context, req *CalculateMempoolBalanceRequest) (*GetBalanceResponse, error)
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) 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) CalculateMempoolBalance(context.Context, *CalculateMempoolBalanceRequest) (*GetBalanceResponse, 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) // 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Scalar) Descriptor ¶
func (*Scalar) ProtoMessage ¶
func (*Scalar) ProtoMessage()
func (*Scalar) XXX_DiscardUnknown ¶
func (m *Scalar) XXX_DiscardUnknown()
func (*Scalar) XXX_Marshal ¶
func (*Scalar) XXX_Unmarshal ¶
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SecretKey) Descriptor ¶
func (*SecretKey) ProtoMessage ¶
func (*SecretKey) ProtoMessage()
func (*SecretKey) XXX_DiscardUnknown ¶
func (m *SecretKey) XXX_DiscardUnknown()
func (*SecretKey) XXX_Marshal ¶
func (*SecretKey) XXX_Unmarshal ¶
type 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Call from consensus
func (*SlashTransaction) Descriptor ¶ added in v0.2.0
func (*SlashTransaction) Descriptor() ([]byte, []int)
func (*SlashTransaction) GetBlsKey ¶ added in v0.2.0
func (m *SlashTransaction) GetBlsKey() []byte
func (*SlashTransaction) GetFirstMsg ¶ added in v0.2.0
func (m *SlashTransaction) GetFirstMsg() []byte
func (*SlashTransaction) GetFirstSig ¶ added in v0.2.0
func (m *SlashTransaction) GetFirstSig() []byte
func (*SlashTransaction) GetRound ¶ added in v0.2.0
func (m *SlashTransaction) GetRound() uint64
func (*SlashTransaction) GetSecondMsg ¶ added in v0.2.0
func (m *SlashTransaction) GetSecondMsg() []byte
func (*SlashTransaction) GetSecondSig ¶ added in v0.2.0
func (m *SlashTransaction) GetSecondSig() []byte
func (*SlashTransaction) GetStep ¶ added in v0.2.0
func (m *SlashTransaction) GetStep() uint32
func (*SlashTransaction) GetTx ¶ added in v0.2.0
func (m *SlashTransaction) GetTx() *Transaction
func (*SlashTransaction) ProtoMessage ¶ added in v0.2.0
func (*SlashTransaction) ProtoMessage()
func (*SlashTransaction) Reset ¶ added in v0.2.0
func (m *SlashTransaction) Reset()
func (*SlashTransaction) String ¶ added in v0.2.0
func (m *SlashTransaction) String() string
func (*SlashTransaction) XXX_DiscardUnknown ¶ added in v0.2.4
func (m *SlashTransaction) XXX_DiscardUnknown()
func (*SlashTransaction) XXX_Marshal ¶ added in v0.2.4
func (m *SlashTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SlashTransaction) XXX_Merge ¶ added in v0.2.4
func (m *SlashTransaction) XXX_Merge(src proto.Message)
func (*SlashTransaction) XXX_Size ¶ added in v0.2.4
func (m *SlashTransaction) XXX_Size() int
func (*SlashTransaction) XXX_Unmarshal ¶ added in v0.2.4
func (m *SlashTransaction) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Used to request the Slash of a stake
func (*SlashTransactionRequest) Descriptor ¶ added in v0.2.0
func (*SlashTransactionRequest) Descriptor() ([]byte, []int)
func (*SlashTransactionRequest) GetBlsKey ¶ added in v0.2.0
func (m *SlashTransactionRequest) GetBlsKey() []byte
func (*SlashTransactionRequest) GetFirstMsg ¶ added in v0.2.0
func (m *SlashTransactionRequest) GetFirstMsg() []byte
func (*SlashTransactionRequest) GetFirstSig ¶ added in v0.2.0
func (m *SlashTransactionRequest) GetFirstSig() []byte
func (*SlashTransactionRequest) GetRound ¶ added in v0.2.0
func (m *SlashTransactionRequest) GetRound() uint64
func (*SlashTransactionRequest) GetSecondMsg ¶ added in v0.2.0
func (m *SlashTransactionRequest) GetSecondMsg() []byte
func (*SlashTransactionRequest) GetSecondSig ¶ added in v0.2.0
func (m *SlashTransactionRequest) GetSecondSig() []byte
func (*SlashTransactionRequest) GetStep ¶ added in v0.2.0
func (m *SlashTransactionRequest) GetStep() uint32
func (*SlashTransactionRequest) GetTx ¶ added in v0.2.0
func (m *SlashTransactionRequest) GetTx() *NewTransactionRequest
func (*SlashTransactionRequest) ProtoMessage ¶ added in v0.2.0
func (*SlashTransactionRequest) ProtoMessage()
func (*SlashTransactionRequest) Reset ¶ added in v0.2.0
func (m *SlashTransactionRequest) Reset()
func (*SlashTransactionRequest) String ¶ added in v0.2.0
func (m *SlashTransactionRequest) String() string
func (*SlashTransactionRequest) XXX_DiscardUnknown ¶ added in v0.2.4
func (m *SlashTransactionRequest) XXX_DiscardUnknown()
func (*SlashTransactionRequest) XXX_Marshal ¶ added in v0.2.4
func (m *SlashTransactionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SlashTransactionRequest) XXX_Merge ¶ added in v0.2.4
func (m *SlashTransactionRequest) XXX_Merge(src proto.Message)
func (*SlashTransactionRequest) XXX_Size ¶ added in v0.2.4
func (m *SlashTransactionRequest) XXX_Size() int
func (*SlashTransactionRequest) XXX_Unmarshal ¶ added in v0.2.4
func (m *SlashTransactionRequest) XXX_Unmarshal(b []byte) error
type Stake ¶ added in v0.2.0
type Stake struct { Amount uint64 `protobuf:"fixed64,1,opt,name=amount,proto3" json:"amount,omitempty"` StartHeight uint64 `protobuf:"fixed64,2,opt,name=start_height,json=startHeight,proto3" json:"start_height,omitempty"` EndHeight uint64 `protobuf:"fixed64,3,opt,name=end_height,json=endHeight,proto3" json:"end_height,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Stake) Descriptor ¶ added in v0.2.0
func (*Stake) GetEndHeight ¶ added in v0.2.0
func (*Stake) GetStartHeight ¶ added in v0.2.0
func (*Stake) ProtoMessage ¶ added in v0.2.0
func (*Stake) ProtoMessage()
func (*Stake) XXX_DiscardUnknown ¶ added in v0.2.4
func (m *Stake) XXX_DiscardUnknown()
func (*Stake) XXX_Marshal ¶ added in v0.2.4
func (*Stake) XXX_Unmarshal ¶ added in v0.2.4
type 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
StakeTransaction is the transaction for the Stake used by the Provisioners to engage in committees
func (*StakeTransaction) Descriptor ¶ added in v0.2.0
func (*StakeTransaction) Descriptor() ([]byte, []int)
func (*StakeTransaction) GetBlsKey ¶ added in v0.2.0
func (m *StakeTransaction) GetBlsKey() []byte
func (*StakeTransaction) GetExpirationHeight ¶ added in v0.2.0
func (m *StakeTransaction) GetExpirationHeight() uint64
func (*StakeTransaction) GetTx ¶ added in v0.2.0
func (m *StakeTransaction) GetTx() *Transaction
func (*StakeTransaction) ProtoMessage ¶ added in v0.2.0
func (*StakeTransaction) ProtoMessage()
func (*StakeTransaction) Reset ¶ added in v0.2.0
func (m *StakeTransaction) Reset()
func (*StakeTransaction) String ¶ added in v0.2.0
func (m *StakeTransaction) String() string
func (*StakeTransaction) XXX_DiscardUnknown ¶ added in v0.2.4
func (m *StakeTransaction) XXX_DiscardUnknown()
func (*StakeTransaction) XXX_Marshal ¶ added in v0.2.4
func (m *StakeTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StakeTransaction) XXX_Merge ¶ added in v0.2.4
func (m *StakeTransaction) XXX_Merge(src proto.Message)
func (*StakeTransaction) XXX_Size ¶ added in v0.2.4
func (m *StakeTransaction) XXX_Size() int
func (*StakeTransaction) XXX_Unmarshal ¶ added in v0.2.4
func (m *StakeTransaction) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Used to request the creation of a Stake
func (*StakeTransactionRequest) Descriptor ¶ added in v0.2.0
func (*StakeTransactionRequest) Descriptor() ([]byte, []int)
func (*StakeTransactionRequest) GetBlsKey ¶ added in v0.2.0
func (m *StakeTransactionRequest) GetBlsKey() []byte
func (*StakeTransactionRequest) GetExpirationHeight ¶ added in v0.2.0
func (m *StakeTransactionRequest) GetExpirationHeight() uint64
func (*StakeTransactionRequest) GetTx ¶ added in v0.2.0
func (m *StakeTransactionRequest) GetTx() *NewTransactionRequest
func (*StakeTransactionRequest) ProtoMessage ¶ added in v0.2.0
func (*StakeTransactionRequest) ProtoMessage()
func (*StakeTransactionRequest) Reset ¶ added in v0.2.0
func (m *StakeTransactionRequest) Reset()
func (*StakeTransactionRequest) String ¶ added in v0.2.0
func (m *StakeTransactionRequest) String() string
func (*StakeTransactionRequest) XXX_DiscardUnknown ¶ added in v0.2.4
func (m *StakeTransactionRequest) XXX_DiscardUnknown()
func (*StakeTransactionRequest) XXX_Marshal ¶ added in v0.2.4
func (m *StakeTransactionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StakeTransactionRequest) XXX_Merge ¶ added in v0.2.4
func (m *StakeTransactionRequest) XXX_Merge(src proto.Message)
func (*StakeTransactionRequest) XXX_Size ¶ added in v0.2.4
func (m *StakeTransactionRequest) XXX_Size() int
func (*StakeTransactionRequest) XXX_Unmarshal ¶ added in v0.2.4
func (m *StakeTransactionRequest) XXX_Unmarshal(b []byte) error
type 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"` Data []byte `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Transaction) Descriptor ¶
func (*Transaction) Descriptor() ([]byte, []int)
func (*Transaction) GetData ¶ added in v0.2.6
func (m *Transaction) GetData() []byte
func (*Transaction) GetFee ¶
func (m *Transaction) GetFee() *TransactionOutput
func (*Transaction) GetInputs ¶
func (m *Transaction) GetInputs() []*TransactionInput
func (*Transaction) GetOutputs ¶
func (m *Transaction) GetOutputs() []*TransactionOutput
func (*Transaction) GetProof ¶
func (m *Transaction) GetProof() []byte
func (*Transaction) ProtoMessage ¶
func (*Transaction) ProtoMessage()
func (*Transaction) Reset ¶
func (m *Transaction) Reset()
func (*Transaction) String ¶
func (m *Transaction) String() string
func (*Transaction) XXX_DiscardUnknown ¶
func (m *Transaction) XXX_DiscardUnknown()
func (*Transaction) XXX_Marshal ¶
func (m *Transaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Transaction) XXX_Merge ¶
func (m *Transaction) XXX_Merge(src proto.Message)
func (*Transaction) XXX_Size ¶
func (m *Transaction) XXX_Size() int
func (*Transaction) XXX_Unmarshal ¶
func (m *Transaction) XXX_Unmarshal(b []byte) error
type TransactionHashRequest ¶ added in v0.2.0
type TransactionHashRequest struct { Txs []*Transaction `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TransactionHashRequest) Descriptor ¶ added in v0.2.0
func (*TransactionHashRequest) Descriptor() ([]byte, []int)
func (*TransactionHashRequest) GetTxs ¶ added in v0.2.0
func (m *TransactionHashRequest) GetTxs() []*Transaction
func (*TransactionHashRequest) ProtoMessage ¶ added in v0.2.0
func (*TransactionHashRequest) ProtoMessage()
func (*TransactionHashRequest) Reset ¶ added in v0.2.0
func (m *TransactionHashRequest) Reset()
func (*TransactionHashRequest) String ¶ added in v0.2.0
func (m *TransactionHashRequest) String() string
func (*TransactionHashRequest) XXX_DiscardUnknown ¶ added in v0.2.4
func (m *TransactionHashRequest) XXX_DiscardUnknown()
func (*TransactionHashRequest) XXX_Marshal ¶ added in v0.2.4
func (m *TransactionHashRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TransactionHashRequest) XXX_Merge ¶ added in v0.2.4
func (m *TransactionHashRequest) XXX_Merge(src proto.Message)
func (*TransactionHashRequest) XXX_Size ¶ added in v0.2.4
func (m *TransactionHashRequest) XXX_Size() int
func (*TransactionHashRequest) XXX_Unmarshal ¶ added in v0.2.4
func (m *TransactionHashRequest) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TransactionInput) Descriptor ¶
func (*TransactionInput) Descriptor() ([]byte, []int)
func (*TransactionInput) GetMerkleRoot ¶
func (m *TransactionInput) GetMerkleRoot() *Scalar
func (*TransactionInput) GetNullifier ¶
func (m *TransactionInput) GetNullifier() *Nullifier
func (*TransactionInput) ProtoMessage ¶
func (*TransactionInput) ProtoMessage()
func (*TransactionInput) Reset ¶
func (m *TransactionInput) Reset()
func (*TransactionInput) String ¶
func (m *TransactionInput) String() string
func (*TransactionInput) XXX_DiscardUnknown ¶
func (m *TransactionInput) XXX_DiscardUnknown()
func (*TransactionInput) XXX_Marshal ¶
func (m *TransactionInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TransactionInput) XXX_Merge ¶
func (m *TransactionInput) XXX_Merge(src proto.Message)
func (*TransactionInput) XXX_Size ¶
func (m *TransactionInput) XXX_Size() int
func (*TransactionInput) XXX_Unmarshal ¶
func (m *TransactionInput) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TransactionOutput) Descriptor ¶
func (*TransactionOutput) Descriptor() ([]byte, []int)
func (*TransactionOutput) GetBlindingFactor ¶
func (m *TransactionOutput) GetBlindingFactor() *Scalar
func (*TransactionOutput) GetNote ¶
func (m *TransactionOutput) GetNote() *Note
func (*TransactionOutput) GetPk ¶
func (m *TransactionOutput) GetPk() *PublicKey
func (*TransactionOutput) GetValue ¶
func (m *TransactionOutput) GetValue() uint64
func (*TransactionOutput) ProtoMessage ¶
func (*TransactionOutput) ProtoMessage()
func (*TransactionOutput) Reset ¶
func (m *TransactionOutput) Reset()
func (*TransactionOutput) String ¶
func (m *TransactionOutput) String() string
func (*TransactionOutput) XXX_DiscardUnknown ¶
func (m *TransactionOutput) XXX_DiscardUnknown()
func (*TransactionOutput) XXX_Marshal ¶
func (m *TransactionOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TransactionOutput) XXX_Merge ¶
func (m *TransactionOutput) XXX_Merge(src proto.Message)
func (*TransactionOutput) XXX_Size ¶
func (m *TransactionOutput) XXX_Size() int
func (*TransactionOutput) XXX_Unmarshal ¶
func (m *TransactionOutput) XXX_Unmarshal(b []byte) error
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(ctx context.Context, req *HashRequest) (*HashResponse, error)
type UnimplementedRuskServer ¶
type UnimplementedRuskServer struct { }
UnimplementedRuskServer can be embedded to have forward compatible implementations.
func (*UnimplementedRuskServer) CalculateMempoolBalance ¶ added in v0.2.7
func (*UnimplementedRuskServer) CalculateMempoolBalance(ctx context.Context, req *CalculateMempoolBalanceRequest) (*GetBalanceResponse, error)
func (*UnimplementedRuskServer) Echo ¶
func (*UnimplementedRuskServer) Echo(ctx context.Context, req *EchoRequest) (*EchoResponse, error)
func (*UnimplementedRuskServer) ExecuteStateTransition ¶
func (*UnimplementedRuskServer) ExecuteStateTransition(ctx context.Context, req *ExecuteStateTransitionRequest) (*ExecuteStateTransitionResponse, error)
func (*UnimplementedRuskServer) FullScanOwnedNotes ¶
func (*UnimplementedRuskServer) FullScanOwnedNotes(ctx context.Context, req *ViewKey) (*OwnedNotesResponse, error)
func (*UnimplementedRuskServer) GenerateScore ¶
func (*UnimplementedRuskServer) GenerateScore(ctx context.Context, req *GenerateScoreRequest) (*GenerateScoreResponse, error)
func (*UnimplementedRuskServer) GenerateSecretKey ¶
func (*UnimplementedRuskServer) GenerateSecretKey(ctx context.Context, req *GenerateSecretKeyRequest) (*GenerateSecretKeyResponse, error)
func (*UnimplementedRuskServer) GetBalance ¶ added in v0.2.0
func (*UnimplementedRuskServer) GetBalance(ctx context.Context, req *GetBalanceRequest) (*GetBalanceResponse, error)
func (*UnimplementedRuskServer) Keys ¶
func (*UnimplementedRuskServer) Keys(ctx context.Context, req *SecretKey) (*KeysResponse, error)
func (*UnimplementedRuskServer) NewBid ¶ added in v0.2.0
func (*UnimplementedRuskServer) NewBid(ctx context.Context, req *BidTransactionRequest) (*BidTransaction, error)
func (*UnimplementedRuskServer) NewSlash ¶ added in v0.2.0
func (*UnimplementedRuskServer) NewSlash(ctx context.Context, req *SlashTransactionRequest) (*SlashTransaction, error)
func (*UnimplementedRuskServer) NewStake ¶ added in v0.2.0
func (*UnimplementedRuskServer) NewStake(ctx context.Context, req *StakeTransactionRequest) (*StakeTransaction, error)
func (*UnimplementedRuskServer) NewTransaction ¶
func (*UnimplementedRuskServer) NewTransaction(ctx context.Context, req *NewTransactionRequest) (*Transaction, error)
func (*UnimplementedRuskServer) NewWithdrawBid ¶ added in v0.2.0
func (*UnimplementedRuskServer) NewWithdrawBid(ctx context.Context, req *WithdrawBidTransactionRequest) (*WithdrawBidTransaction, error)
func (*UnimplementedRuskServer) NewWithdrawFees ¶ added in v0.2.0
func (*UnimplementedRuskServer) NewWithdrawFees(ctx context.Context, req *WithdrawFeesTransactionRequest) (*WithdrawFeesTransaction, error)
func (*UnimplementedRuskServer) NewWithdrawStake ¶ added in v0.2.0
func (*UnimplementedRuskServer) NewWithdrawStake(ctx context.Context, req *WithdrawStakeTransactionRequest) (*WithdrawStakeTransaction, error)
func (*UnimplementedRuskServer) ValidateStateTransition ¶
func (*UnimplementedRuskServer) ValidateStateTransition(ctx context.Context, req *ValidateStateTransitionRequest) (*ValidateStateTransitionResponse, error)
func (*UnimplementedRuskServer) VerifyScore ¶ added in v0.2.0
func (*UnimplementedRuskServer) VerifyScore(ctx context.Context, req *VerifyScoreRequest) (*VerifyScoreResponse, error)
func (*UnimplementedRuskServer) VerifyStake ¶ added in v0.2.0
func (*UnimplementedRuskServer) VerifyStake(ctx context.Context, req *StakeTransaction) (*VerifyTransactionResponse, error)
func (*UnimplementedRuskServer) VerifyTransaction ¶
func (*UnimplementedRuskServer) VerifyTransaction(ctx context.Context, req *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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
List of transactions to be validated
func (*ValidateStateTransitionRequest) Descriptor ¶
func (*ValidateStateTransitionRequest) Descriptor() ([]byte, []int)
func (*ValidateStateTransitionRequest) GetCalls ¶
func (m *ValidateStateTransitionRequest) GetCalls() []*ContractCallTx
func (*ValidateStateTransitionRequest) GetCurrentHeight ¶ added in v0.2.0
func (m *ValidateStateTransitionRequest) GetCurrentHeight() uint64
func (*ValidateStateTransitionRequest) ProtoMessage ¶
func (*ValidateStateTransitionRequest) ProtoMessage()
func (*ValidateStateTransitionRequest) Reset ¶
func (m *ValidateStateTransitionRequest) Reset()
func (*ValidateStateTransitionRequest) String ¶
func (m *ValidateStateTransitionRequest) String() string
func (*ValidateStateTransitionRequest) XXX_DiscardUnknown ¶
func (m *ValidateStateTransitionRequest) XXX_DiscardUnknown()
func (*ValidateStateTransitionRequest) XXX_Marshal ¶
func (m *ValidateStateTransitionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ValidateStateTransitionRequest) XXX_Merge ¶
func (m *ValidateStateTransitionRequest) XXX_Merge(src proto.Message)
func (*ValidateStateTransitionRequest) XXX_Size ¶
func (m *ValidateStateTransitionRequest) XXX_Size() int
func (*ValidateStateTransitionRequest) XXX_Unmarshal ¶
func (m *ValidateStateTransitionRequest) XXX_Unmarshal(b []byte) error
type ValidateStateTransitionResponse ¶
type ValidateStateTransitionResponse struct { SuccessfulCalls []int32 `protobuf:"varint,1,rep,packed,name=successful_calls,json=successfulCalls,proto3" json:"successful_calls,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ValidateStateTransitionResponse) Descriptor ¶
func (*ValidateStateTransitionResponse) Descriptor() ([]byte, []int)
func (*ValidateStateTransitionResponse) GetSuccessfulCalls ¶
func (m *ValidateStateTransitionResponse) GetSuccessfulCalls() []int32
func (*ValidateStateTransitionResponse) ProtoMessage ¶
func (*ValidateStateTransitionResponse) ProtoMessage()
func (*ValidateStateTransitionResponse) Reset ¶
func (m *ValidateStateTransitionResponse) Reset()
func (*ValidateStateTransitionResponse) String ¶
func (m *ValidateStateTransitionResponse) String() string
func (*ValidateStateTransitionResponse) XXX_DiscardUnknown ¶
func (m *ValidateStateTransitionResponse) XXX_DiscardUnknown()
func (*ValidateStateTransitionResponse) XXX_Marshal ¶
func (m *ValidateStateTransitionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ValidateStateTransitionResponse) XXX_Merge ¶
func (m *ValidateStateTransitionResponse) XXX_Merge(src proto.Message)
func (*ValidateStateTransitionResponse) XXX_Size ¶
func (m *ValidateStateTransitionResponse) XXX_Size() int
func (*ValidateStateTransitionResponse) XXX_Unmarshal ¶
func (m *ValidateStateTransitionResponse) XXX_Unmarshal(b []byte) error
type VerifyScoreRequest ¶ added in v0.2.0
type VerifyScoreRequest struct { Proof []byte `protobuf:"bytes,1,opt,name=proof,proto3" json:"proof,omitempty"` Score []byte `protobuf:"bytes,2,opt,name=score,proto3" json:"score,omitempty"` Seed []byte `protobuf:"bytes,3,opt,name=seed,proto3" json:"seed,omitempty"` 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*VerifyScoreRequest) Descriptor ¶ added in v0.2.0
func (*VerifyScoreRequest) Descriptor() ([]byte, []int)
func (*VerifyScoreRequest) GetIdentity ¶ added in v0.2.0
func (m *VerifyScoreRequest) GetIdentity() []byte
func (*VerifyScoreRequest) GetProof ¶ added in v0.2.0
func (m *VerifyScoreRequest) GetProof() []byte
func (*VerifyScoreRequest) GetRound ¶ added in v0.2.0
func (m *VerifyScoreRequest) GetRound() uint64
func (*VerifyScoreRequest) GetScore ¶ added in v0.2.0
func (m *VerifyScoreRequest) GetScore() []byte
func (*VerifyScoreRequest) GetSeed ¶ added in v0.2.0
func (m *VerifyScoreRequest) GetSeed() []byte
func (*VerifyScoreRequest) GetStep ¶ added in v0.2.0
func (m *VerifyScoreRequest) GetStep() uint32
func (*VerifyScoreRequest) ProtoMessage ¶ added in v0.2.0
func (*VerifyScoreRequest) ProtoMessage()
func (*VerifyScoreRequest) Reset ¶ added in v0.2.0
func (m *VerifyScoreRequest) Reset()
func (*VerifyScoreRequest) String ¶ added in v0.2.0
func (m *VerifyScoreRequest) String() string
func (*VerifyScoreRequest) XXX_DiscardUnknown ¶ added in v0.2.4
func (m *VerifyScoreRequest) XXX_DiscardUnknown()
func (*VerifyScoreRequest) XXX_Marshal ¶ added in v0.2.4
func (m *VerifyScoreRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VerifyScoreRequest) XXX_Merge ¶ added in v0.2.4
func (m *VerifyScoreRequest) XXX_Merge(src proto.Message)
func (*VerifyScoreRequest) XXX_Size ¶ added in v0.2.4
func (m *VerifyScoreRequest) XXX_Size() int
func (*VerifyScoreRequest) XXX_Unmarshal ¶ added in v0.2.4
func (m *VerifyScoreRequest) XXX_Unmarshal(b []byte) error
type VerifyScoreResponse ¶ added in v0.2.0
type VerifyScoreResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*VerifyScoreResponse) Descriptor ¶ added in v0.2.0
func (*VerifyScoreResponse) Descriptor() ([]byte, []int)
func (*VerifyScoreResponse) GetSuccess ¶ added in v0.2.0
func (m *VerifyScoreResponse) GetSuccess() bool
func (*VerifyScoreResponse) ProtoMessage ¶ added in v0.2.0
func (*VerifyScoreResponse) ProtoMessage()
func (*VerifyScoreResponse) Reset ¶ added in v0.2.0
func (m *VerifyScoreResponse) Reset()
func (*VerifyScoreResponse) String ¶ added in v0.2.0
func (m *VerifyScoreResponse) String() string
func (*VerifyScoreResponse) XXX_DiscardUnknown ¶ added in v0.2.4
func (m *VerifyScoreResponse) XXX_DiscardUnknown()
func (*VerifyScoreResponse) XXX_Marshal ¶ added in v0.2.4
func (m *VerifyScoreResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VerifyScoreResponse) XXX_Merge ¶ added in v0.2.4
func (m *VerifyScoreResponse) XXX_Merge(src proto.Message)
func (*VerifyScoreResponse) XXX_Size ¶ added in v0.2.4
func (m *VerifyScoreResponse) XXX_Size() int
func (*VerifyScoreResponse) XXX_Unmarshal ¶ added in v0.2.4
func (m *VerifyScoreResponse) XXX_Unmarshal(b []byte) error
type VerifyTransactionResponse ¶
type VerifyTransactionResponse struct { Verified bool `protobuf:"varint,1,opt,name=verified,proto3" json:"verified,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*VerifyTransactionResponse) Descriptor ¶
func (*VerifyTransactionResponse) Descriptor() ([]byte, []int)
func (*VerifyTransactionResponse) GetVerified ¶
func (m *VerifyTransactionResponse) GetVerified() bool
func (*VerifyTransactionResponse) ProtoMessage ¶
func (*VerifyTransactionResponse) ProtoMessage()
func (*VerifyTransactionResponse) Reset ¶
func (m *VerifyTransactionResponse) Reset()
func (*VerifyTransactionResponse) String ¶
func (m *VerifyTransactionResponse) String() string
func (*VerifyTransactionResponse) XXX_DiscardUnknown ¶
func (m *VerifyTransactionResponse) XXX_DiscardUnknown()
func (*VerifyTransactionResponse) XXX_Marshal ¶
func (m *VerifyTransactionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VerifyTransactionResponse) XXX_Merge ¶
func (m *VerifyTransactionResponse) XXX_Merge(src proto.Message)
func (*VerifyTransactionResponse) XXX_Size ¶
func (m *VerifyTransactionResponse) XXX_Size() int
func (*VerifyTransactionResponse) XXX_Unmarshal ¶
func (m *VerifyTransactionResponse) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ViewKey) Descriptor ¶
func (*ViewKey) GetBG ¶
func (m *ViewKey) GetBG() *CompressedPoint
func (*ViewKey) ProtoMessage ¶
func (*ViewKey) ProtoMessage()
func (*ViewKey) XXX_DiscardUnknown ¶
func (m *ViewKey) XXX_DiscardUnknown()
func (*ViewKey) XXX_Marshal ¶
func (*ViewKey) XXX_Unmarshal ¶
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
WithdrawBidTransaction is the transaction to withdraw a bid
func (*WithdrawBidTransaction) Descriptor ¶ added in v0.2.0
func (*WithdrawBidTransaction) Descriptor() ([]byte, []int)
func (*WithdrawBidTransaction) GetCommitment ¶ added in v0.2.0
func (m *WithdrawBidTransaction) GetCommitment() []byte
func (*WithdrawBidTransaction) GetEdPk ¶ added in v0.2.0
func (m *WithdrawBidTransaction) GetEdPk() []byte
func (*WithdrawBidTransaction) GetSig ¶ added in v0.2.0
func (m *WithdrawBidTransaction) GetSig() []byte
func (*WithdrawBidTransaction) GetTx ¶ added in v0.2.0
func (m *WithdrawBidTransaction) GetTx() *Transaction
func (*WithdrawBidTransaction) ProtoMessage ¶ added in v0.2.0
func (*WithdrawBidTransaction) ProtoMessage()
func (*WithdrawBidTransaction) Reset ¶ added in v0.2.0
func (m *WithdrawBidTransaction) Reset()
func (*WithdrawBidTransaction) String ¶ added in v0.2.0
func (m *WithdrawBidTransaction) String() string
func (*WithdrawBidTransaction) XXX_DiscardUnknown ¶ added in v0.2.4
func (m *WithdrawBidTransaction) XXX_DiscardUnknown()
func (*WithdrawBidTransaction) XXX_Marshal ¶ added in v0.2.4
func (m *WithdrawBidTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WithdrawBidTransaction) XXX_Merge ¶ added in v0.2.4
func (m *WithdrawBidTransaction) XXX_Merge(src proto.Message)
func (*WithdrawBidTransaction) XXX_Size ¶ added in v0.2.4
func (m *WithdrawBidTransaction) XXX_Size() int
func (*WithdrawBidTransaction) XXX_Unmarshal ¶ added in v0.2.4
func (m *WithdrawBidTransaction) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Used to request the withdrawal of a Bid
func (*WithdrawBidTransactionRequest) Descriptor ¶ added in v0.2.0
func (*WithdrawBidTransactionRequest) Descriptor() ([]byte, []int)
func (*WithdrawBidTransactionRequest) GetEdPk ¶ added in v0.2.0
func (m *WithdrawBidTransactionRequest) GetEdPk() []byte
func (*WithdrawBidTransactionRequest) GetSig ¶ added in v0.2.0
func (m *WithdrawBidTransactionRequest) GetSig() []byte
func (*WithdrawBidTransactionRequest) GetTx ¶ added in v0.2.0
func (m *WithdrawBidTransactionRequest) GetTx() *NewTransactionRequest
func (*WithdrawBidTransactionRequest) ProtoMessage ¶ added in v0.2.0
func (*WithdrawBidTransactionRequest) ProtoMessage()
func (*WithdrawBidTransactionRequest) Reset ¶ added in v0.2.0
func (m *WithdrawBidTransactionRequest) Reset()
func (*WithdrawBidTransactionRequest) String ¶ added in v0.2.0
func (m *WithdrawBidTransactionRequest) String() string
func (*WithdrawBidTransactionRequest) XXX_DiscardUnknown ¶ added in v0.2.4
func (m *WithdrawBidTransactionRequest) XXX_DiscardUnknown()
func (*WithdrawBidTransactionRequest) XXX_Marshal ¶ added in v0.2.4
func (m *WithdrawBidTransactionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WithdrawBidTransactionRequest) XXX_Merge ¶ added in v0.2.4
func (m *WithdrawBidTransactionRequest) XXX_Merge(src proto.Message)
func (*WithdrawBidTransactionRequest) XXX_Size ¶ added in v0.2.4
func (m *WithdrawBidTransactionRequest) XXX_Size() int
func (*WithdrawBidTransactionRequest) XXX_Unmarshal ¶ added in v0.2.4
func (m *WithdrawBidTransactionRequest) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
WithdrawFeesTransaction is the transaction for a Provisioner to withdraw the fees using the smart contract
func (*WithdrawFeesTransaction) Descriptor ¶ added in v0.2.0
func (*WithdrawFeesTransaction) Descriptor() ([]byte, []int)
func (*WithdrawFeesTransaction) GetBlsKey ¶ added in v0.2.0
func (m *WithdrawFeesTransaction) GetBlsKey() []byte
func (*WithdrawFeesTransaction) GetMsg ¶ added in v0.2.0
func (m *WithdrawFeesTransaction) GetMsg() []byte
func (*WithdrawFeesTransaction) GetSig ¶ added in v0.2.0
func (m *WithdrawFeesTransaction) GetSig() []byte
func (*WithdrawFeesTransaction) GetTx ¶ added in v0.2.0
func (m *WithdrawFeesTransaction) GetTx() *Transaction
func (*WithdrawFeesTransaction) ProtoMessage ¶ added in v0.2.0
func (*WithdrawFeesTransaction) ProtoMessage()
func (*WithdrawFeesTransaction) Reset ¶ added in v0.2.0
func (m *WithdrawFeesTransaction) Reset()
func (*WithdrawFeesTransaction) String ¶ added in v0.2.0
func (m *WithdrawFeesTransaction) String() string
func (*WithdrawFeesTransaction) XXX_DiscardUnknown ¶ added in v0.2.4
func (m *WithdrawFeesTransaction) XXX_DiscardUnknown()
func (*WithdrawFeesTransaction) XXX_Marshal ¶ added in v0.2.4
func (m *WithdrawFeesTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WithdrawFeesTransaction) XXX_Merge ¶ added in v0.2.4
func (m *WithdrawFeesTransaction) XXX_Merge(src proto.Message)
func (*WithdrawFeesTransaction) XXX_Size ¶ added in v0.2.4
func (m *WithdrawFeesTransaction) XXX_Size() int
func (*WithdrawFeesTransaction) XXX_Unmarshal ¶ added in v0.2.4
func (m *WithdrawFeesTransaction) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Used to request the withdrawal of fees from a Provisioner
func (*WithdrawFeesTransactionRequest) Descriptor ¶ added in v0.2.0
func (*WithdrawFeesTransactionRequest) Descriptor() ([]byte, []int)
func (*WithdrawFeesTransactionRequest) GetBlsKey ¶ added in v0.2.0
func (m *WithdrawFeesTransactionRequest) GetBlsKey() []byte
func (*WithdrawFeesTransactionRequest) GetMsg ¶ added in v0.2.0
func (m *WithdrawFeesTransactionRequest) GetMsg() []byte
func (*WithdrawFeesTransactionRequest) GetSig ¶ added in v0.2.0
func (m *WithdrawFeesTransactionRequest) GetSig() []byte
func (*WithdrawFeesTransactionRequest) GetTx ¶ added in v0.2.0
func (m *WithdrawFeesTransactionRequest) GetTx() *NewTransactionRequest
func (*WithdrawFeesTransactionRequest) ProtoMessage ¶ added in v0.2.0
func (*WithdrawFeesTransactionRequest) ProtoMessage()
func (*WithdrawFeesTransactionRequest) Reset ¶ added in v0.2.0
func (m *WithdrawFeesTransactionRequest) Reset()
func (*WithdrawFeesTransactionRequest) String ¶ added in v0.2.0
func (m *WithdrawFeesTransactionRequest) String() string
func (*WithdrawFeesTransactionRequest) XXX_DiscardUnknown ¶ added in v0.2.4
func (m *WithdrawFeesTransactionRequest) XXX_DiscardUnknown()
func (*WithdrawFeesTransactionRequest) XXX_Marshal ¶ added in v0.2.4
func (m *WithdrawFeesTransactionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WithdrawFeesTransactionRequest) XXX_Merge ¶ added in v0.2.4
func (m *WithdrawFeesTransactionRequest) XXX_Merge(src proto.Message)
func (*WithdrawFeesTransactionRequest) XXX_Size ¶ added in v0.2.4
func (m *WithdrawFeesTransactionRequest) XXX_Size() int
func (*WithdrawFeesTransactionRequest) XXX_Unmarshal ¶ added in v0.2.4
func (m *WithdrawFeesTransactionRequest) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
WithdrawStakeTransaction is the transaction to withdraw a stake
func (*WithdrawStakeTransaction) Descriptor ¶ added in v0.2.0
func (*WithdrawStakeTransaction) Descriptor() ([]byte, []int)
func (*WithdrawStakeTransaction) GetBlsKey ¶ added in v0.2.0
func (m *WithdrawStakeTransaction) GetBlsKey() []byte
func (*WithdrawStakeTransaction) GetSig ¶ added in v0.2.0
func (m *WithdrawStakeTransaction) GetSig() []byte
func (*WithdrawStakeTransaction) GetTx ¶ added in v0.2.0
func (m *WithdrawStakeTransaction) GetTx() *Transaction
func (*WithdrawStakeTransaction) ProtoMessage ¶ added in v0.2.0
func (*WithdrawStakeTransaction) ProtoMessage()
func (*WithdrawStakeTransaction) Reset ¶ added in v0.2.0
func (m *WithdrawStakeTransaction) Reset()
func (*WithdrawStakeTransaction) String ¶ added in v0.2.0
func (m *WithdrawStakeTransaction) String() string
func (*WithdrawStakeTransaction) XXX_DiscardUnknown ¶ added in v0.2.4
func (m *WithdrawStakeTransaction) XXX_DiscardUnknown()
func (*WithdrawStakeTransaction) XXX_Marshal ¶ added in v0.2.4
func (m *WithdrawStakeTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WithdrawStakeTransaction) XXX_Merge ¶ added in v0.2.4
func (m *WithdrawStakeTransaction) XXX_Merge(src proto.Message)
func (*WithdrawStakeTransaction) XXX_Size ¶ added in v0.2.4
func (m *WithdrawStakeTransaction) XXX_Size() int
func (*WithdrawStakeTransaction) XXX_Unmarshal ¶ added in v0.2.4
func (m *WithdrawStakeTransaction) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Used to request the withdrawal of a Stake
func (*WithdrawStakeTransactionRequest) Descriptor ¶ added in v0.2.0
func (*WithdrawStakeTransactionRequest) Descriptor() ([]byte, []int)
func (*WithdrawStakeTransactionRequest) GetBlsKey ¶ added in v0.2.0
func (m *WithdrawStakeTransactionRequest) GetBlsKey() []byte
func (*WithdrawStakeTransactionRequest) GetSig ¶ added in v0.2.0
func (m *WithdrawStakeTransactionRequest) GetSig() []byte
func (*WithdrawStakeTransactionRequest) GetTx ¶ added in v0.2.0
func (m *WithdrawStakeTransactionRequest) GetTx() *NewTransactionRequest
func (*WithdrawStakeTransactionRequest) ProtoMessage ¶ added in v0.2.0
func (*WithdrawStakeTransactionRequest) ProtoMessage()
func (*WithdrawStakeTransactionRequest) Reset ¶ added in v0.2.0
func (m *WithdrawStakeTransactionRequest) Reset()
func (*WithdrawStakeTransactionRequest) String ¶ added in v0.2.0
func (m *WithdrawStakeTransactionRequest) String() string
func (*WithdrawStakeTransactionRequest) XXX_DiscardUnknown ¶ added in v0.2.4
func (m *WithdrawStakeTransactionRequest) XXX_DiscardUnknown()
func (*WithdrawStakeTransactionRequest) XXX_Marshal ¶ added in v0.2.4
func (m *WithdrawStakeTransactionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WithdrawStakeTransactionRequest) XXX_Merge ¶ added in v0.2.4
func (m *WithdrawStakeTransactionRequest) XXX_Merge(src proto.Message)
func (*WithdrawStakeTransactionRequest) XXX_Size ¶ added in v0.2.4
func (m *WithdrawStakeTransactionRequest) XXX_Size() int
func (*WithdrawStakeTransactionRequest) XXX_Unmarshal ¶ added in v0.2.4
func (m *WithdrawStakeTransactionRequest) XXX_Unmarshal(b []byte) error