rusk

package
v0.2.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 20, 2020 License: MPL-2.0 Imports: 7 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterBidServiceServer added in v0.2.10

func RegisterBidServiceServer(s *grpc.Server, srv BidServiceServer)

func RegisterBlindBidServiceServer added in v0.2.10

func RegisterBlindBidServiceServer(s *grpc.Server, srv BlindBidServiceServer)

func RegisterEchoerServer added in v0.2.10

func RegisterEchoerServer(s *grpc.Server, srv EchoerServer)

func RegisterKeysServer added in v0.2.10

func RegisterKeysServer(s *grpc.Server, srv KeysServer)

func RegisterStateServer added in v0.2.10

func RegisterStateServer(s *grpc.Server, srv StateServer)

Types

type Bid added in v0.2.10

type Bid struct {
	EncryptedData        *PoseidonCipher   `protobuf:"bytes,1,opt,name=encrypted_data,json=encryptedData,proto3" json:"encrypted_data,omitempty"`
	HashedSecret         *BlsScalar        `protobuf:"bytes,2,opt,name=hashed_secret,json=hashedSecret,proto3" json:"hashed_secret,omitempty"`
	Nonce                *BlsScalar        `protobuf:"bytes,3,opt,name=nonce,proto3" json:"nonce,omitempty"`
	PkR                  *StealthAddress   `protobuf:"bytes,4,opt,name=pk_r,json=pkR,proto3" json:"pk_r,omitempty"`
	Commitment           *JubJubCompressed `protobuf:"bytes,5,opt,name=commitment,proto3" json:"commitment,omitempty"`
	ElegibilityTs        *BlsScalar        `protobuf:"bytes,6,opt,name=elegibility_ts,json=elegibilityTs,proto3" json:"elegibility_ts,omitempty"`
	ExpirationTs         *BlsScalar        `protobuf:"bytes,7,opt,name=expiration_ts,json=expirationTs,proto3" json:"expiration_ts,omitempty"`
	BidTreeStorageIndex  uint64            `protobuf:"varint,8,opt,name=bid_tree_storage_index,json=bidTreeStorageIndex,proto3" json:"bid_tree_storage_index,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

Bid representation

func (*Bid) Descriptor added in v0.2.10

func (*Bid) Descriptor() ([]byte, []int)

func (*Bid) GetBidTreeStorageIndex added in v0.2.10

func (m *Bid) GetBidTreeStorageIndex() uint64

func (*Bid) GetCommitment added in v0.2.10

func (m *Bid) GetCommitment() *JubJubCompressed

func (*Bid) GetElegibilityTs added in v0.2.10

func (m *Bid) GetElegibilityTs() *BlsScalar

func (*Bid) GetEncryptedData added in v0.2.10

func (m *Bid) GetEncryptedData() *PoseidonCipher

func (*Bid) GetExpirationTs added in v0.2.10

func (m *Bid) GetExpirationTs() *BlsScalar

func (*Bid) GetHashedSecret added in v0.2.10

func (m *Bid) GetHashedSecret() *BlsScalar

func (*Bid) GetNonce added in v0.2.10

func (m *Bid) GetNonce() *BlsScalar

func (*Bid) GetPkR added in v0.2.10

func (m *Bid) GetPkR() *StealthAddress

func (*Bid) ProtoMessage added in v0.2.10

func (*Bid) ProtoMessage()

func (*Bid) Reset added in v0.2.10

func (m *Bid) Reset()

func (*Bid) String added in v0.2.10

func (m *Bid) String() string

func (*Bid) XXX_DiscardUnknown added in v0.2.11

func (m *Bid) XXX_DiscardUnknown()

func (*Bid) XXX_Marshal added in v0.2.11

func (m *Bid) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Bid) XXX_Merge added in v0.2.11

func (m *Bid) XXX_Merge(src proto.Message)

func (*Bid) XXX_Size added in v0.2.11

func (m *Bid) XXX_Size() int

func (*Bid) XXX_Unmarshal added in v0.2.11

func (m *Bid) XXX_Unmarshal(b []byte) error

type BidList added in v0.2.0

type BidList struct {
	BidList              []*Bid       `protobuf:"bytes,1,rep,name=bid_list,json=bidList,proto3" json:"bid_list,omitempty"`
	BidHashList          []*BlsScalar `protobuf:"bytes,2,rep,name=bid_hash_list,json=bidHashList,proto3" json:"bid_hash_list,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*BidList) Descriptor added in v0.2.0

func (*BidList) Descriptor() ([]byte, []int)

func (*BidList) GetBidHashList added in v0.2.10

func (m *BidList) GetBidHashList() []*BlsScalar

func (*BidList) GetBidList added in v0.2.0

func (m *BidList) GetBidList() []*Bid

func (*BidList) ProtoMessage added in v0.2.0

func (*BidList) ProtoMessage()

func (*BidList) Reset added in v0.2.0

func (m *BidList) Reset()

func (*BidList) String added in v0.2.0

func (m *BidList) String() string

func (*BidList) XXX_DiscardUnknown added in v0.2.4

func (m *BidList) XXX_DiscardUnknown()

func (*BidList) XXX_Marshal added in v0.2.4

func (m *BidList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BidList) XXX_Merge added in v0.2.4

func (m *BidList) XXX_Merge(src proto.Message)

func (*BidList) XXX_Size added in v0.2.4

func (m *BidList) XXX_Size() int

func (*BidList) XXX_Unmarshal added in v0.2.4

func (m *BidList) XXX_Unmarshal(b []byte) error

type BidServiceClient added in v0.2.10

type BidServiceClient interface {
	// Generate a new Bid and a proof of it's correctness.
	NewBid(ctx context.Context, in *BidTransactionRequest, opts ...grpc.CallOption) (*BidTransaction, error)
	// Look for your owned Bids and return a list of them and it's hash repr
	FindBid(ctx context.Context, in *FindBidRequest, opts ...grpc.CallOption) (*BidList, error)
}

BidServiceClient is the client API for BidService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewBidServiceClient added in v0.2.10

func NewBidServiceClient(cc *grpc.ClientConn) BidServiceClient

type BidServiceMock added in v0.2.11

type BidServiceMock struct{}

func (*BidServiceMock) FindBid added in v0.2.11

func (m *BidServiceMock) FindBid(ctx context.Context, req *FindBidRequest) (*BidList, error)

func (*BidServiceMock) NewBid added in v0.2.11

type BidServiceServer added in v0.2.10

type BidServiceServer interface {
	// Generate a new Bid and a proof of it's correctness.
	NewBid(context.Context, *BidTransactionRequest) (*BidTransaction, error)
	// Look for your owned Bids and return a list of them and it's hash repr
	FindBid(context.Context, *FindBidRequest) (*BidList, error)
}

BidServiceServer is the server API for BidService service.

type BidTransaction added in v0.2.0

type BidTransaction struct {
	Bid                  *Bid       `protobuf:"bytes,1,opt,name=bid,proto3" json:"bid,omitempty"`
	BidHash              *BlsScalar `protobuf:"bytes,2,opt,name=bid_hash,json=bidHash,proto3" json:"bid_hash,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*BidTransaction) Descriptor added in v0.2.0

func (*BidTransaction) Descriptor() ([]byte, []int)

func (*BidTransaction) GetBid added in v0.2.10

func (m *BidTransaction) GetBid() *Bid

func (*BidTransaction) GetBidHash added in v0.2.10

func (m *BidTransaction) GetBidHash() *BlsScalar

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                    *BlsScalar        `protobuf:"bytes,1,opt,name=k,proto3" json:"k,omitempty"`
	Value                uint64            `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
	Secret               *JubJubCompressed `protobuf:"bytes,3,opt,name=secret,proto3" json:"secret,omitempty"`
	PkR                  *StealthAddress   `protobuf:"bytes,4,opt,name=pk_r,json=pkR,proto3" json:"pk_r,omitempty"`
	Seed                 *BlsScalar        `protobuf:"bytes,5,opt,name=seed,proto3" json:"seed,omitempty"`
	LatestConsensusRound uint64            `protobuf:"fixed64,6,opt,name=latest_consensus_round,json=latestConsensusRound,proto3" json:"latest_consensus_round,omitempty"`
	LatestConsensusStep  uint64            `protobuf:"fixed64,7,opt,name=latest_consensus_step,json=latestConsensusStep,proto3" json:"latest_consensus_step,omitempty"`
	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) GetK added in v0.2.0

func (m *BidTransactionRequest) GetK() *BlsScalar

func (*BidTransactionRequest) GetLatestConsensusRound added in v0.2.10

func (m *BidTransactionRequest) GetLatestConsensusRound() uint64

func (*BidTransactionRequest) GetLatestConsensusStep added in v0.2.10

func (m *BidTransactionRequest) GetLatestConsensusStep() uint64

func (*BidTransactionRequest) GetPkR added in v0.2.10

func (*BidTransactionRequest) GetSecret added in v0.2.10

func (m *BidTransactionRequest) GetSecret() *JubJubCompressed

func (*BidTransactionRequest) GetSeed added in v0.2.0

func (m *BidTransactionRequest) GetSeed() *BlsScalar

func (*BidTransactionRequest) GetValue added in v0.2.10

func (m *BidTransactionRequest) GetValue() uint64

func (*BidTransactionRequest) ProtoMessage added in v0.2.0

func (*BidTransactionRequest) ProtoMessage()

func (*BidTransactionRequest) Reset added in v0.2.0

func (m *BidTransactionRequest) Reset()

func (*BidTransactionRequest) String added in v0.2.0

func (m *BidTransactionRequest) String() string

func (*BidTransactionRequest) XXX_DiscardUnknown added in v0.2.4

func (m *BidTransactionRequest) XXX_DiscardUnknown()

func (*BidTransactionRequest) XXX_Marshal added in v0.2.4

func (m *BidTransactionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BidTransactionRequest) XXX_Merge added in v0.2.4

func (m *BidTransactionRequest) XXX_Merge(src proto.Message)

func (*BidTransactionRequest) XXX_Size added in v0.2.4

func (m *BidTransactionRequest) XXX_Size() int

func (*BidTransactionRequest) XXX_Unmarshal added in v0.2.4

func (m *BidTransactionRequest) XXX_Unmarshal(b []byte) error

type BlindBidServiceClient added in v0.2.10

type BlindBidServiceClient interface {
	// Generate a proof of blind bid, and a score.
	GenerateScore(ctx context.Context, in *GenerateScoreRequest, opts ...grpc.CallOption) (*GenerateScoreResponse, error)
	// Verify a proof of blind bid, and the associated score.
	VerifyScore(ctx context.Context, in *VerifyScoreRequest, opts ...grpc.CallOption) (*VerifyScoreResponse, error)
}

BlindBidServiceClient is the client API for BlindBidService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewBlindBidServiceClient added in v0.2.10

func NewBlindBidServiceClient(cc *grpc.ClientConn) BlindBidServiceClient

type BlindBidServiceMock added in v0.2.11

type BlindBidServiceMock struct{}

func (*BlindBidServiceMock) GenerateScore added in v0.2.11

func (*BlindBidServiceMock) VerifyScore added in v0.2.11

type BlindBidServiceServer added in v0.2.10

type BlindBidServiceServer interface {
	// Generate a proof of blind bid, and a score.
	GenerateScore(context.Context, *GenerateScoreRequest) (*GenerateScoreResponse, error)
	// Verify a proof of blind bid, and the associated score.
	VerifyScore(context.Context, *VerifyScoreRequest) (*VerifyScoreResponse, error)
}

BlindBidServiceServer is the server API for BlindBidService service.

type BlsScalar added in v0.2.10

type BlsScalar struct {
	Data                 []byte   `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BlsScalar) Descriptor added in v0.2.10

func (*BlsScalar) Descriptor() ([]byte, []int)

func (*BlsScalar) GetData added in v0.2.10

func (m *BlsScalar) GetData() []byte

func (*BlsScalar) ProtoMessage added in v0.2.10

func (*BlsScalar) ProtoMessage()

func (*BlsScalar) Reset added in v0.2.10

func (m *BlsScalar) Reset()

func (*BlsScalar) String added in v0.2.10

func (m *BlsScalar) String() string

func (*BlsScalar) XXX_DiscardUnknown added in v0.2.11

func (m *BlsScalar) XXX_DiscardUnknown()

func (*BlsScalar) XXX_Marshal added in v0.2.11

func (m *BlsScalar) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BlsScalar) XXX_Merge added in v0.2.11

func (m *BlsScalar) XXX_Merge(src proto.Message)

func (*BlsScalar) XXX_Size added in v0.2.11

func (m *BlsScalar) XXX_Size() int

func (*BlsScalar) XXX_Unmarshal added in v0.2.11

func (m *BlsScalar) XXX_Unmarshal(b []byte) error

type Crossover added in v0.2.10

type Crossover struct {
	ValueComm            *JubJubCompressed `protobuf:"bytes,1,opt,name=value_comm,json=valueComm,proto3" json:"value_comm,omitempty"`
	Nonce                *BlsScalar        `protobuf:"bytes,2,opt,name=nonce,proto3" json:"nonce,omitempty"`
	EncyptedData         *PoseidonCipher   `protobuf:"bytes,3,opt,name=encypted_data,json=encyptedData,proto3" json:"encypted_data,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*Crossover) Descriptor added in v0.2.10

func (*Crossover) Descriptor() ([]byte, []int)

func (*Crossover) GetEncyptedData added in v0.2.10

func (m *Crossover) GetEncyptedData() *PoseidonCipher

func (*Crossover) GetNonce added in v0.2.10

func (m *Crossover) GetNonce() *BlsScalar

func (*Crossover) GetValueComm added in v0.2.10

func (m *Crossover) GetValueComm() *JubJubCompressed

func (*Crossover) ProtoMessage added in v0.2.10

func (*Crossover) ProtoMessage()

func (*Crossover) Reset added in v0.2.10

func (m *Crossover) Reset()

func (*Crossover) String added in v0.2.10

func (m *Crossover) String() string

func (*Crossover) XXX_DiscardUnknown added in v0.2.11

func (m *Crossover) XXX_DiscardUnknown()

func (*Crossover) XXX_Marshal added in v0.2.11

func (m *Crossover) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Crossover) XXX_Merge added in v0.2.11

func (m *Crossover) XXX_Merge(src proto.Message)

func (*Crossover) XXX_Size added in v0.2.11

func (m *Crossover) XXX_Size() int

func (*Crossover) XXX_Unmarshal added in v0.2.11

func (m *Crossover) XXX_Unmarshal(b []byte) error

type EchoRequest

type EchoRequest struct {
	Message              string   `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*EchoRequest) Descriptor

func (*EchoRequest) Descriptor() ([]byte, []int)

func (*EchoRequest) GetMessage added in v0.2.10

func (m *EchoRequest) GetMessage() string

func (*EchoRequest) ProtoMessage

func (*EchoRequest) ProtoMessage()

func (*EchoRequest) Reset

func (m *EchoRequest) Reset()

func (*EchoRequest) String

func (m *EchoRequest) String() string

func (*EchoRequest) XXX_DiscardUnknown

func (m *EchoRequest) XXX_DiscardUnknown()

func (*EchoRequest) XXX_Marshal

func (m *EchoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EchoRequest) XXX_Merge

func (m *EchoRequest) XXX_Merge(src proto.Message)

func (*EchoRequest) XXX_Size

func (m *EchoRequest) XXX_Size() int

func (*EchoRequest) XXX_Unmarshal

func (m *EchoRequest) XXX_Unmarshal(b []byte) error

type EchoResponse

type EchoResponse struct {
	Message              string   `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*EchoResponse) Descriptor

func (*EchoResponse) Descriptor() ([]byte, []int)

func (*EchoResponse) GetMessage added in v0.2.10

func (m *EchoResponse) GetMessage() string

func (*EchoResponse) ProtoMessage

func (*EchoResponse) ProtoMessage()

func (*EchoResponse) Reset

func (m *EchoResponse) Reset()

func (*EchoResponse) String

func (m *EchoResponse) String() string

func (*EchoResponse) XXX_DiscardUnknown

func (m *EchoResponse) XXX_DiscardUnknown()

func (*EchoResponse) XXX_Marshal

func (m *EchoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EchoResponse) XXX_Merge

func (m *EchoResponse) XXX_Merge(src proto.Message)

func (*EchoResponse) XXX_Size

func (m *EchoResponse) XXX_Size() int

func (*EchoResponse) XXX_Unmarshal

func (m *EchoResponse) XXX_Unmarshal(b []byte) error

type EchoerClient added in v0.2.10

type EchoerClient interface {
	Echo(ctx context.Context, in *EchoRequest, opts ...grpc.CallOption) (*EchoResponse, error)
}

EchoerClient is the client API for Echoer service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewEchoerClient added in v0.2.10

func NewEchoerClient(cc *grpc.ClientConn) EchoerClient

type EchoerMock added in v0.2.11

type EchoerMock struct{}

func (*EchoerMock) Echo added in v0.2.11

func (m *EchoerMock) Echo(ctx context.Context, req *EchoRequest) (*EchoResponse, error)

type EchoerServer added in v0.2.10

type EchoerServer interface {
	Echo(context.Context, *EchoRequest) (*EchoResponse, error)
}

EchoerServer is the server API for Echoer service.

type ExecuteStateTransitionRequest

type ExecuteStateTransitionRequest struct {
	Txs                  []*Transaction `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"`
	Height               uint64         `protobuf:"fixed64,2,opt,name=height,proto3" json:"height,omitempty"`
	Seed                 []byte         `protobuf:"bytes,3,opt,name=seed,proto3" json:"seed,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*ExecuteStateTransitionRequest) Descriptor

func (*ExecuteStateTransitionRequest) Descriptor() ([]byte, []int)

func (*ExecuteStateTransitionRequest) GetHeight added in v0.2.8

func (m *ExecuteStateTransitionRequest) GetHeight() uint64

func (*ExecuteStateTransitionRequest) GetSeed added in v0.2.10

func (m *ExecuteStateTransitionRequest) GetSeed() []byte

func (*ExecuteStateTransitionRequest) GetTxs added in v0.2.10

func (*ExecuteStateTransitionRequest) ProtoMessage

func (*ExecuteStateTransitionRequest) ProtoMessage()

func (*ExecuteStateTransitionRequest) Reset

func (m *ExecuteStateTransitionRequest) Reset()

func (*ExecuteStateTransitionRequest) String

func (*ExecuteStateTransitionRequest) XXX_DiscardUnknown

func (m *ExecuteStateTransitionRequest) XXX_DiscardUnknown()

func (*ExecuteStateTransitionRequest) XXX_Marshal

func (m *ExecuteStateTransitionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExecuteStateTransitionRequest) XXX_Merge

func (m *ExecuteStateTransitionRequest) XXX_Merge(src proto.Message)

func (*ExecuteStateTransitionRequest) XXX_Size

func (m *ExecuteStateTransitionRequest) XXX_Size() int

func (*ExecuteStateTransitionRequest) XXX_Unmarshal

func (m *ExecuteStateTransitionRequest) XXX_Unmarshal(b []byte) error

type ExecuteStateTransitionResponse

type ExecuteStateTransitionResponse struct {
	Success              bool     `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	ErrorMessage         string   `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ExecuteStateTransitionResponse) Descriptor

func (*ExecuteStateTransitionResponse) Descriptor() ([]byte, []int)

func (*ExecuteStateTransitionResponse) GetErrorMessage added in v0.2.10

func (m *ExecuteStateTransitionResponse) GetErrorMessage() string

func (*ExecuteStateTransitionResponse) GetSuccess added in v0.2.0

func (m *ExecuteStateTransitionResponse) GetSuccess() bool

func (*ExecuteStateTransitionResponse) ProtoMessage

func (*ExecuteStateTransitionResponse) ProtoMessage()

func (*ExecuteStateTransitionResponse) Reset

func (m *ExecuteStateTransitionResponse) Reset()

func (*ExecuteStateTransitionResponse) String

func (*ExecuteStateTransitionResponse) XXX_DiscardUnknown

func (m *ExecuteStateTransitionResponse) XXX_DiscardUnknown()

func (*ExecuteStateTransitionResponse) XXX_Marshal

func (m *ExecuteStateTransitionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExecuteStateTransitionResponse) XXX_Merge

func (m *ExecuteStateTransitionResponse) XXX_Merge(src proto.Message)

func (*ExecuteStateTransitionResponse) XXX_Size

func (m *ExecuteStateTransitionResponse) XXX_Size() int

func (*ExecuteStateTransitionResponse) XXX_Unmarshal

func (m *ExecuteStateTransitionResponse) XXX_Unmarshal(b []byte) error

type Fee added in v0.2.10

type Fee struct {
	GasLimit             uint64            `protobuf:"varint,1,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"`
	GasPrice             uint64            `protobuf:"varint,2,opt,name=gas_price,json=gasPrice,proto3" json:"gas_price,omitempty"`
	R                    *JubJubCompressed `protobuf:"bytes,3,opt,name=R,proto3" json:"R,omitempty"`
	PkR                  *JubJubCompressed `protobuf:"bytes,4,opt,name=pk_r,json=pkR,proto3" json:"pk_r,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*Fee) Descriptor added in v0.2.10

func (*Fee) Descriptor() ([]byte, []int)

func (*Fee) GetGasLimit added in v0.2.10

func (m *Fee) GetGasLimit() uint64

func (*Fee) GetGasPrice added in v0.2.10

func (m *Fee) GetGasPrice() uint64

func (*Fee) GetPkR added in v0.2.10

func (m *Fee) GetPkR() *JubJubCompressed

func (*Fee) GetR added in v0.2.10

func (m *Fee) GetR() *JubJubCompressed

func (*Fee) ProtoMessage added in v0.2.10

func (*Fee) ProtoMessage()

func (*Fee) Reset added in v0.2.10

func (m *Fee) Reset()

func (*Fee) String added in v0.2.10

func (m *Fee) String() string

func (*Fee) XXX_DiscardUnknown added in v0.2.11

func (m *Fee) XXX_DiscardUnknown()

func (*Fee) XXX_Marshal added in v0.2.11

func (m *Fee) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Fee) XXX_Merge added in v0.2.11

func (m *Fee) XXX_Merge(src proto.Message)

func (*Fee) XXX_Size added in v0.2.11

func (m *Fee) XXX_Size() int

func (*Fee) XXX_Unmarshal added in v0.2.11

func (m *Fee) XXX_Unmarshal(b []byte) error

type FindBidRequest added in v0.2.10

type FindBidRequest struct {
	Addr                 *StealthAddress `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*FindBidRequest) Descriptor added in v0.2.10

func (*FindBidRequest) Descriptor() ([]byte, []int)

func (*FindBidRequest) GetAddr added in v0.2.10

func (m *FindBidRequest) GetAddr() *StealthAddress

func (*FindBidRequest) ProtoMessage added in v0.2.10

func (*FindBidRequest) ProtoMessage()

func (*FindBidRequest) Reset added in v0.2.10

func (m *FindBidRequest) Reset()

func (*FindBidRequest) String added in v0.2.10

func (m *FindBidRequest) String() string

func (*FindBidRequest) XXX_DiscardUnknown added in v0.2.11

func (m *FindBidRequest) XXX_DiscardUnknown()

func (*FindBidRequest) XXX_Marshal added in v0.2.11

func (m *FindBidRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FindBidRequest) XXX_Merge added in v0.2.11

func (m *FindBidRequest) XXX_Merge(src proto.Message)

func (*FindBidRequest) XXX_Size added in v0.2.11

func (m *FindBidRequest) XXX_Size() int

func (*FindBidRequest) XXX_Unmarshal added in v0.2.11

func (m *FindBidRequest) XXX_Unmarshal(b []byte) error

type GenerateKeysRequest added in v0.2.10

type GenerateKeysRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GenerateKeysRequest) Descriptor added in v0.2.10

func (*GenerateKeysRequest) Descriptor() ([]byte, []int)

func (*GenerateKeysRequest) ProtoMessage added in v0.2.10

func (*GenerateKeysRequest) ProtoMessage()

func (*GenerateKeysRequest) Reset added in v0.2.10

func (m *GenerateKeysRequest) Reset()

func (*GenerateKeysRequest) String added in v0.2.10

func (m *GenerateKeysRequest) String() string

func (*GenerateKeysRequest) XXX_DiscardUnknown added in v0.2.11

func (m *GenerateKeysRequest) XXX_DiscardUnknown()

func (*GenerateKeysRequest) XXX_Marshal added in v0.2.11

func (m *GenerateKeysRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GenerateKeysRequest) XXX_Merge added in v0.2.11

func (m *GenerateKeysRequest) XXX_Merge(src proto.Message)

func (*GenerateKeysRequest) XXX_Size added in v0.2.11

func (m *GenerateKeysRequest) XXX_Size() int

func (*GenerateKeysRequest) XXX_Unmarshal added in v0.2.11

func (m *GenerateKeysRequest) XXX_Unmarshal(b []byte) error

type GenerateKeysResponse added in v0.2.10

type GenerateKeysResponse struct {
	Sk                   *SecretKey `protobuf:"bytes,1,opt,name=sk,proto3" json:"sk,omitempty"`
	Vk                   *ViewKey   `protobuf:"bytes,2,opt,name=vk,proto3" json:"vk,omitempty"`
	Pk                   *PublicKey `protobuf:"bytes,3,opt,name=pk,proto3" json:"pk,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*GenerateKeysResponse) Descriptor added in v0.2.10

func (*GenerateKeysResponse) Descriptor() ([]byte, []int)

func (*GenerateKeysResponse) GetPk added in v0.2.10

func (m *GenerateKeysResponse) GetPk() *PublicKey

func (*GenerateKeysResponse) GetSk added in v0.2.10

func (m *GenerateKeysResponse) GetSk() *SecretKey

func (*GenerateKeysResponse) GetVk added in v0.2.10

func (m *GenerateKeysResponse) GetVk() *ViewKey

func (*GenerateKeysResponse) ProtoMessage added in v0.2.10

func (*GenerateKeysResponse) ProtoMessage()

func (*GenerateKeysResponse) Reset added in v0.2.10

func (m *GenerateKeysResponse) Reset()

func (*GenerateKeysResponse) String added in v0.2.10

func (m *GenerateKeysResponse) String() string

func (*GenerateKeysResponse) XXX_DiscardUnknown added in v0.2.11

func (m *GenerateKeysResponse) XXX_DiscardUnknown()

func (*GenerateKeysResponse) XXX_Marshal added in v0.2.11

func (m *GenerateKeysResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GenerateKeysResponse) XXX_Merge added in v0.2.11

func (m *GenerateKeysResponse) XXX_Merge(src proto.Message)

func (*GenerateKeysResponse) XXX_Size added in v0.2.11

func (m *GenerateKeysResponse) XXX_Size() int

func (*GenerateKeysResponse) XXX_Unmarshal added in v0.2.11

func (m *GenerateKeysResponse) XXX_Unmarshal(b []byte) error

type GenerateScoreRequest

type GenerateScoreRequest struct {
	K                    *BlsScalar        `protobuf:"bytes,1,opt,name=k,proto3" json:"k,omitempty"`
	Seed                 *BlsScalar        `protobuf:"bytes,2,opt,name=seed,proto3" json:"seed,omitempty"`
	Secret               *JubJubCompressed `protobuf:"bytes,3,opt,name=secret,proto3" json:"secret,omitempty"`
	Round                uint32            `protobuf:"varint,4,opt,name=round,proto3" json:"round,omitempty"`
	Step                 uint32            `protobuf:"varint,5,opt,name=step,proto3" json:"step,omitempty"`
	IndexStoredBid       uint64            `protobuf:"varint,6,opt,name=index_stored_bid,json=indexStoredBid,proto3" json:"index_stored_bid,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*GenerateScoreRequest) Descriptor

func (*GenerateScoreRequest) Descriptor() ([]byte, []int)

func (*GenerateScoreRequest) GetIndexStoredBid added in v0.2.10

func (m *GenerateScoreRequest) GetIndexStoredBid() uint64

func (*GenerateScoreRequest) GetK

func (m *GenerateScoreRequest) GetK() *BlsScalar

func (*GenerateScoreRequest) GetRound added in v0.2.0

func (m *GenerateScoreRequest) GetRound() uint32

func (*GenerateScoreRequest) GetSecret added in v0.2.10

func (m *GenerateScoreRequest) GetSecret() *JubJubCompressed

func (*GenerateScoreRequest) GetSeed

func (m *GenerateScoreRequest) GetSeed() *BlsScalar

func (*GenerateScoreRequest) GetStep added in v0.2.0

func (m *GenerateScoreRequest) GetStep() uint32

func (*GenerateScoreRequest) ProtoMessage

func (*GenerateScoreRequest) ProtoMessage()

func (*GenerateScoreRequest) Reset

func (m *GenerateScoreRequest) Reset()

func (*GenerateScoreRequest) String

func (m *GenerateScoreRequest) String() string

func (*GenerateScoreRequest) XXX_DiscardUnknown

func (m *GenerateScoreRequest) XXX_DiscardUnknown()

func (*GenerateScoreRequest) XXX_Marshal

func (m *GenerateScoreRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GenerateScoreRequest) XXX_Merge

func (m *GenerateScoreRequest) XXX_Merge(src proto.Message)

func (*GenerateScoreRequest) XXX_Size

func (m *GenerateScoreRequest) XXX_Size() int

func (*GenerateScoreRequest) XXX_Unmarshal

func (m *GenerateScoreRequest) XXX_Unmarshal(b []byte) error

type GenerateScoreResponse

type GenerateScoreResponse struct {
	BlindbidProof        *Proof     `protobuf:"bytes,1,opt,name=blindbid_proof,json=blindbidProof,proto3" json:"blindbid_proof,omitempty"`
	Score                *BlsScalar `protobuf:"bytes,2,opt,name=score,proto3" json:"score,omitempty"`
	ProverIdentity       *BlsScalar `protobuf:"bytes,4,opt,name=prover_identity,json=proverIdentity,proto3" json:"prover_identity,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*GenerateScoreResponse) Descriptor

func (*GenerateScoreResponse) Descriptor() ([]byte, []int)

func (*GenerateScoreResponse) GetBlindbidProof added in v0.2.10

func (m *GenerateScoreResponse) GetBlindbidProof() *Proof

func (*GenerateScoreResponse) GetProverIdentity added in v0.2.10

func (m *GenerateScoreResponse) GetProverIdentity() *BlsScalar

func (*GenerateScoreResponse) GetScore

func (m *GenerateScoreResponse) GetScore() *BlsScalar

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 GetProvisionersRequest added in v0.2.10

type GetProvisionersRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetProvisionersRequest) Descriptor added in v0.2.10

func (*GetProvisionersRequest) Descriptor() ([]byte, []int)

func (*GetProvisionersRequest) ProtoMessage added in v0.2.10

func (*GetProvisionersRequest) ProtoMessage()

func (*GetProvisionersRequest) Reset added in v0.2.10

func (m *GetProvisionersRequest) Reset()

func (*GetProvisionersRequest) String added in v0.2.10

func (m *GetProvisionersRequest) String() string

func (*GetProvisionersRequest) XXX_DiscardUnknown added in v0.2.11

func (m *GetProvisionersRequest) XXX_DiscardUnknown()

func (*GetProvisionersRequest) XXX_Marshal added in v0.2.11

func (m *GetProvisionersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetProvisionersRequest) XXX_Merge added in v0.2.11

func (m *GetProvisionersRequest) XXX_Merge(src proto.Message)

func (*GetProvisionersRequest) XXX_Size added in v0.2.11

func (m *GetProvisionersRequest) XXX_Size() int

func (*GetProvisionersRequest) XXX_Unmarshal added in v0.2.11

func (m *GetProvisionersRequest) XXX_Unmarshal(b []byte) error

type GetProvisionersResponse added in v0.2.10

type GetProvisionersResponse struct {
	Provisioners         []*Provisioner `protobuf:"bytes,1,rep,name=provisioners,proto3" json:"provisioners,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*GetProvisionersResponse) Descriptor added in v0.2.10

func (*GetProvisionersResponse) Descriptor() ([]byte, []int)

func (*GetProvisionersResponse) GetProvisioners added in v0.2.10

func (m *GetProvisionersResponse) GetProvisioners() []*Provisioner

func (*GetProvisionersResponse) ProtoMessage added in v0.2.10

func (*GetProvisionersResponse) ProtoMessage()

func (*GetProvisionersResponse) Reset added in v0.2.10

func (m *GetProvisionersResponse) Reset()

func (*GetProvisionersResponse) String added in v0.2.10

func (m *GetProvisionersResponse) String() string

func (*GetProvisionersResponse) XXX_DiscardUnknown added in v0.2.11

func (m *GetProvisionersResponse) XXX_DiscardUnknown()

func (*GetProvisionersResponse) XXX_Marshal added in v0.2.11

func (m *GetProvisionersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetProvisionersResponse) XXX_Merge added in v0.2.11

func (m *GetProvisionersResponse) XXX_Merge(src proto.Message)

func (*GetProvisionersResponse) XXX_Size added in v0.2.11

func (m *GetProvisionersResponse) XXX_Size() int

func (*GetProvisionersResponse) XXX_Unmarshal added in v0.2.11

func (m *GetProvisionersResponse) XXX_Unmarshal(b []byte) error

type JubJubCompressed added in v0.2.10

type JubJubCompressed struct {
	Data                 []byte   `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*JubJubCompressed) Descriptor added in v0.2.10

func (*JubJubCompressed) Descriptor() ([]byte, []int)

func (*JubJubCompressed) GetData added in v0.2.10

func (m *JubJubCompressed) GetData() []byte

func (*JubJubCompressed) ProtoMessage added in v0.2.10

func (*JubJubCompressed) ProtoMessage()

func (*JubJubCompressed) Reset added in v0.2.10

func (m *JubJubCompressed) Reset()

func (*JubJubCompressed) String added in v0.2.10

func (m *JubJubCompressed) String() string

func (*JubJubCompressed) XXX_DiscardUnknown added in v0.2.11

func (m *JubJubCompressed) XXX_DiscardUnknown()

func (*JubJubCompressed) XXX_Marshal added in v0.2.11

func (m *JubJubCompressed) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*JubJubCompressed) XXX_Merge added in v0.2.11

func (m *JubJubCompressed) XXX_Merge(src proto.Message)

func (*JubJubCompressed) XXX_Size added in v0.2.11

func (m *JubJubCompressed) XXX_Size() int

func (*JubJubCompressed) XXX_Unmarshal added in v0.2.11

func (m *JubJubCompressed) XXX_Unmarshal(b []byte) error

type JubJubScalar added in v0.2.10

type JubJubScalar struct {
	Data                 []byte   `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*JubJubScalar) Descriptor added in v0.2.10

func (*JubJubScalar) Descriptor() ([]byte, []int)

func (*JubJubScalar) GetData added in v0.2.10

func (m *JubJubScalar) GetData() []byte

func (*JubJubScalar) ProtoMessage added in v0.2.10

func (*JubJubScalar) ProtoMessage()

func (*JubJubScalar) Reset added in v0.2.10

func (m *JubJubScalar) Reset()

func (*JubJubScalar) String added in v0.2.10

func (m *JubJubScalar) String() string

func (*JubJubScalar) XXX_DiscardUnknown added in v0.2.11

func (m *JubJubScalar) XXX_DiscardUnknown()

func (*JubJubScalar) XXX_Marshal added in v0.2.11

func (m *JubJubScalar) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*JubJubScalar) XXX_Merge added in v0.2.11

func (m *JubJubScalar) XXX_Merge(src proto.Message)

func (*JubJubScalar) XXX_Size added in v0.2.11

func (m *JubJubScalar) XXX_Size() int

func (*JubJubScalar) XXX_Unmarshal added in v0.2.11

func (m *JubJubScalar) XXX_Unmarshal(b []byte) error

type KeysClient added in v0.2.10

type KeysClient interface {
	GenerateKeys(ctx context.Context, in *GenerateKeysRequest, opts ...grpc.CallOption) (*GenerateKeysResponse, error)
	GenerateStealthAddress(ctx context.Context, in *PublicKey, opts ...grpc.CallOption) (*StealthAddress, error)
}

KeysClient is the client API for Keys service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewKeysClient added in v0.2.10

func NewKeysClient(cc *grpc.ClientConn) KeysClient

type KeysMock added in v0.2.11

type KeysMock struct{}

func (*KeysMock) GenerateKeys added in v0.2.11

func (m *KeysMock) GenerateKeys(ctx context.Context, req *GenerateKeysRequest) (*GenerateKeysResponse, error)

func (*KeysMock) GenerateStealthAddress added in v0.2.11

func (m *KeysMock) GenerateStealthAddress(ctx context.Context, req *PublicKey) (*StealthAddress, error)

type KeysServer added in v0.2.10

type KeysServer interface {
	GenerateKeys(context.Context, *GenerateKeysRequest) (*GenerateKeysResponse, error)
	GenerateStealthAddress(context.Context, *PublicKey) (*StealthAddress, error)
}

KeysServer is the server API for Keys service.

type Note

type Note struct {
	Randomness           *JubJubCompressed `protobuf:"bytes,1,opt,name=randomness,proto3" json:"randomness,omitempty"`
	PkR                  *JubJubCompressed `protobuf:"bytes,2,opt,name=pk_r,json=pkR,proto3" json:"pk_r,omitempty"`
	Commitment           *JubJubCompressed `protobuf:"bytes,3,opt,name=commitment,proto3" json:"commitment,omitempty"`
	Nonce                *BlsScalar        `protobuf:"bytes,4,opt,name=nonce,proto3" json:"nonce,omitempty"`
	EncyptedData         *PoseidonCipher   `protobuf:"bytes,5,opt,name=encypted_data,json=encyptedData,proto3" json:"encypted_data,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*Note) Descriptor

func (*Note) Descriptor() ([]byte, []int)

func (*Note) GetCommitment added in v0.2.10

func (m *Note) GetCommitment() *JubJubCompressed

func (*Note) GetEncyptedData added in v0.2.10

func (m *Note) GetEncyptedData() *PoseidonCipher

func (*Note) GetNonce

func (m *Note) GetNonce() *BlsScalar

func (*Note) GetPkR

func (m *Note) GetPkR() *JubJubCompressed

func (*Note) GetRandomness added in v0.2.10

func (m *Note) GetRandomness() *JubJubCompressed

func (*Note) ProtoMessage

func (*Note) ProtoMessage()

func (*Note) Reset

func (m *Note) Reset()

func (*Note) String

func (m *Note) String() string

func (*Note) XXX_DiscardUnknown

func (m *Note) XXX_DiscardUnknown()

func (*Note) XXX_Marshal

func (m *Note) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Note) XXX_Merge

func (m *Note) XXX_Merge(src proto.Message)

func (*Note) XXX_Size

func (m *Note) XXX_Size() int

func (*Note) XXX_Unmarshal

func (m *Note) XXX_Unmarshal(b []byte) error

type PoseidonCipher added in v0.2.10

type PoseidonCipher struct {
	Data                 []byte   `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PoseidonCipher) Descriptor added in v0.2.10

func (*PoseidonCipher) Descriptor() ([]byte, []int)

func (*PoseidonCipher) GetData added in v0.2.10

func (m *PoseidonCipher) GetData() []byte

func (*PoseidonCipher) ProtoMessage added in v0.2.10

func (*PoseidonCipher) ProtoMessage()

func (*PoseidonCipher) Reset added in v0.2.10

func (m *PoseidonCipher) Reset()

func (*PoseidonCipher) String added in v0.2.10

func (m *PoseidonCipher) String() string

func (*PoseidonCipher) XXX_DiscardUnknown added in v0.2.11

func (m *PoseidonCipher) XXX_DiscardUnknown()

func (*PoseidonCipher) XXX_Marshal added in v0.2.11

func (m *PoseidonCipher) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PoseidonCipher) XXX_Merge added in v0.2.11

func (m *PoseidonCipher) XXX_Merge(src proto.Message)

func (*PoseidonCipher) XXX_Size added in v0.2.11

func (m *PoseidonCipher) XXX_Size() int

func (*PoseidonCipher) XXX_Unmarshal added in v0.2.11

func (m *PoseidonCipher) XXX_Unmarshal(b []byte) error

type Proof added in v0.2.10

type Proof struct {
	Data                 []byte   `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Proof) Descriptor added in v0.2.10

func (*Proof) Descriptor() ([]byte, []int)

func (*Proof) GetData added in v0.2.10

func (m *Proof) GetData() []byte

func (*Proof) ProtoMessage added in v0.2.10

func (*Proof) ProtoMessage()

func (*Proof) Reset added in v0.2.10

func (m *Proof) Reset()

func (*Proof) String added in v0.2.10

func (m *Proof) String() string

func (*Proof) XXX_DiscardUnknown added in v0.2.11

func (m *Proof) XXX_DiscardUnknown()

func (*Proof) XXX_Marshal added in v0.2.11

func (m *Proof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Proof) XXX_Merge added in v0.2.11

func (m *Proof) XXX_Merge(src proto.Message)

func (*Proof) XXX_Size added in v0.2.11

func (m *Proof) XXX_Size() int

func (*Proof) XXX_Unmarshal added in v0.2.11

func (m *Proof) XXX_Unmarshal(b []byte) error

type Provisioner added in v0.2.0

type Provisioner struct {
	PublicKeyBls         []byte   `protobuf:"bytes,1,opt,name=public_key_bls,json=publicKeyBls,proto3" json:"public_key_bls,omitempty"`
	Stakes               []*Stake `protobuf:"bytes,2,rep,name=stakes,proto3" json:"stakes,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Provisioner) Descriptor added in v0.2.0

func (*Provisioner) Descriptor() ([]byte, []int)

func (*Provisioner) GetPublicKeyBls added in v0.2.10

func (m *Provisioner) GetPublicKeyBls() []byte

func (*Provisioner) GetStakes added in v0.2.0

func (m *Provisioner) GetStakes() []*Stake

func (*Provisioner) ProtoMessage added in v0.2.0

func (*Provisioner) ProtoMessage()

func (*Provisioner) Reset added in v0.2.0

func (m *Provisioner) Reset()

func (*Provisioner) String added in v0.2.0

func (m *Provisioner) String() string

func (*Provisioner) XXX_DiscardUnknown added in v0.2.4

func (m *Provisioner) XXX_DiscardUnknown()

func (*Provisioner) XXX_Marshal added in v0.2.4

func (m *Provisioner) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Provisioner) XXX_Merge added in v0.2.4

func (m *Provisioner) XXX_Merge(src proto.Message)

func (*Provisioner) XXX_Size added in v0.2.4

func (m *Provisioner) XXX_Size() int

func (*Provisioner) XXX_Unmarshal added in v0.2.4

func (m *Provisioner) XXX_Unmarshal(b []byte) error

type PublicKey

type PublicKey struct {
	AG                   *JubJubCompressed `protobuf:"bytes,1,opt,name=a_g,json=aG,proto3" json:"a_g,omitempty"`
	BG                   *JubJubCompressed `protobuf:"bytes,2,opt,name=b_g,json=bG,proto3" json:"b_g,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*PublicKey) Descriptor

func (*PublicKey) Descriptor() ([]byte, []int)

func (*PublicKey) GetAG

func (m *PublicKey) GetAG() *JubJubCompressed

func (*PublicKey) GetBG

func (m *PublicKey) GetBG() *JubJubCompressed

func (*PublicKey) ProtoMessage

func (*PublicKey) ProtoMessage()

func (*PublicKey) Reset

func (m *PublicKey) Reset()

func (*PublicKey) String

func (m *PublicKey) String() string

func (*PublicKey) XXX_DiscardUnknown

func (m *PublicKey) XXX_DiscardUnknown()

func (*PublicKey) XXX_Marshal

func (m *PublicKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PublicKey) XXX_Merge

func (m *PublicKey) XXX_Merge(src proto.Message)

func (*PublicKey) XXX_Size

func (m *PublicKey) XXX_Size() int

func (*PublicKey) XXX_Unmarshal

func (m *PublicKey) XXX_Unmarshal(b []byte) error

type SecretKey

type SecretKey struct {
	A                    *JubJubScalar `protobuf:"bytes,1,opt,name=a,proto3" json:"a,omitempty"`
	B                    *JubJubScalar `protobuf:"bytes,2,opt,name=b,proto3" json:"b,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*SecretKey) Descriptor

func (*SecretKey) Descriptor() ([]byte, []int)

func (*SecretKey) GetA

func (m *SecretKey) GetA() *JubJubScalar

func (*SecretKey) GetB

func (m *SecretKey) GetB() *JubJubScalar

func (*SecretKey) ProtoMessage

func (*SecretKey) ProtoMessage()

func (*SecretKey) Reset

func (m *SecretKey) Reset()

func (*SecretKey) String

func (m *SecretKey) String() string

func (*SecretKey) XXX_DiscardUnknown

func (m *SecretKey) XXX_DiscardUnknown()

func (*SecretKey) XXX_Marshal

func (m *SecretKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SecretKey) XXX_Merge

func (m *SecretKey) XXX_Merge(src proto.Message)

func (*SecretKey) XXX_Size

func (m *SecretKey) XXX_Size() int

func (*SecretKey) XXX_Unmarshal

func (m *SecretKey) 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) Descriptor() ([]byte, []int)

func (*Stake) GetAmount added in v0.2.0

func (m *Stake) GetAmount() uint64

func (*Stake) GetEndHeight added in v0.2.0

func (m *Stake) GetEndHeight() uint64

func (*Stake) GetStartHeight added in v0.2.0

func (m *Stake) GetStartHeight() uint64

func (*Stake) ProtoMessage added in v0.2.0

func (*Stake) ProtoMessage()

func (*Stake) Reset added in v0.2.0

func (m *Stake) Reset()

func (*Stake) String added in v0.2.0

func (m *Stake) String() string

func (*Stake) XXX_DiscardUnknown added in v0.2.4

func (m *Stake) XXX_DiscardUnknown()

func (*Stake) XXX_Marshal added in v0.2.4

func (m *Stake) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Stake) XXX_Merge added in v0.2.4

func (m *Stake) XXX_Merge(src proto.Message)

func (*Stake) XXX_Size added in v0.2.4

func (m *Stake) XXX_Size() int

func (*Stake) XXX_Unmarshal added in v0.2.4

func (m *Stake) XXX_Unmarshal(b []byte) error

type StateClient added in v0.2.10

type StateClient interface {
	VerifyStateTransition(ctx context.Context, in *VerifyStateTransitionRequest, opts ...grpc.CallOption) (*VerifyStateTransitionResponse, error)
	ExecuteStateTransition(ctx context.Context, in *ExecuteStateTransitionRequest, opts ...grpc.CallOption) (*ExecuteStateTransitionResponse, error)
	GetProvisioners(ctx context.Context, in *GetProvisionersRequest, opts ...grpc.CallOption) (*GetProvisionersResponse, error)
}

StateClient is the client API for State service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewStateClient added in v0.2.10

func NewStateClient(cc *grpc.ClientConn) StateClient

type StateMock added in v0.2.11

type StateMock struct{}

func (*StateMock) ExecuteStateTransition added in v0.2.11

func (*StateMock) GetProvisioners added in v0.2.11

func (*StateMock) VerifyStateTransition added in v0.2.11

type StateServer added in v0.2.10

StateServer is the server API for State service.

type StealthAddress added in v0.2.10

type StealthAddress struct {
	RG                   *JubJubCompressed `protobuf:"bytes,1,opt,name=r_g,json=rG,proto3" json:"r_g,omitempty"`
	PkR                  *JubJubCompressed `protobuf:"bytes,2,opt,name=pk_r,json=pkR,proto3" json:"pk_r,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*StealthAddress) Descriptor added in v0.2.10

func (*StealthAddress) Descriptor() ([]byte, []int)

func (*StealthAddress) GetPkR added in v0.2.10

func (m *StealthAddress) GetPkR() *JubJubCompressed

func (*StealthAddress) GetRG added in v0.2.10

func (m *StealthAddress) GetRG() *JubJubCompressed

func (*StealthAddress) ProtoMessage added in v0.2.10

func (*StealthAddress) ProtoMessage()

func (*StealthAddress) Reset added in v0.2.10

func (m *StealthAddress) Reset()

func (*StealthAddress) String added in v0.2.10

func (m *StealthAddress) String() string

func (*StealthAddress) XXX_DiscardUnknown added in v0.2.11

func (m *StealthAddress) XXX_DiscardUnknown()

func (*StealthAddress) XXX_Marshal added in v0.2.11

func (m *StealthAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StealthAddress) XXX_Merge added in v0.2.11

func (m *StealthAddress) XXX_Merge(src proto.Message)

func (*StealthAddress) XXX_Size added in v0.2.11

func (m *StealthAddress) XXX_Size() int

func (*StealthAddress) XXX_Unmarshal added in v0.2.11

func (m *StealthAddress) XXX_Unmarshal(b []byte) error

type Transaction

type Transaction struct {
	Version              uint32              `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
	Type                 uint32              `protobuf:"varint,2,opt,name=type,proto3" json:"type,omitempty"`
	TxPayload            *TransactionPayload `protobuf:"bytes,3,opt,name=tx_payload,json=txPayload,proto3" json:"tx_payload,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*Transaction) Descriptor

func (*Transaction) Descriptor() ([]byte, []int)

func (*Transaction) GetTxPayload added in v0.2.10

func (m *Transaction) GetTxPayload() *TransactionPayload

func (*Transaction) GetType added in v0.2.10

func (m *Transaction) GetType() uint32

func (*Transaction) GetVersion added in v0.2.10

func (m *Transaction) GetVersion() uint32

func (*Transaction) ProtoMessage

func (*Transaction) ProtoMessage()

func (*Transaction) Reset

func (m *Transaction) Reset()

func (*Transaction) String

func (m *Transaction) String() string

func (*Transaction) XXX_DiscardUnknown

func (m *Transaction) XXX_DiscardUnknown()

func (*Transaction) XXX_Marshal

func (m *Transaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Transaction) XXX_Merge

func (m *Transaction) XXX_Merge(src proto.Message)

func (*Transaction) XXX_Size

func (m *Transaction) XXX_Size() int

func (*Transaction) XXX_Unmarshal

func (m *Transaction) XXX_Unmarshal(b []byte) error

type TransactionPayload added in v0.2.10

type TransactionPayload struct {
	Anchor               *BlsScalar   `protobuf:"bytes,1,opt,name=anchor,proto3" json:"anchor,omitempty"`
	Nullifier            []*BlsScalar `protobuf:"bytes,2,rep,name=nullifier,proto3" json:"nullifier,omitempty"`
	Crossover            *Crossover   `protobuf:"bytes,3,opt,name=crossover,proto3" json:"crossover,omitempty"`
	Notes                []*Note      `protobuf:"bytes,4,rep,name=notes,proto3" json:"notes,omitempty"`
	Fee                  *Fee         `protobuf:"bytes,5,opt,name=fee,proto3" json:"fee,omitempty"`
	SpendingProof        *Proof       `protobuf:"bytes,6,opt,name=spending_proof,json=spendingProof,proto3" json:"spending_proof,omitempty"`
	CallData             []byte       `protobuf:"bytes,7,opt,name=call_data,json=callData,proto3" json:"call_data,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*TransactionPayload) Descriptor added in v0.2.10

func (*TransactionPayload) Descriptor() ([]byte, []int)

func (*TransactionPayload) GetAnchor added in v0.2.10

func (m *TransactionPayload) GetAnchor() *BlsScalar

func (*TransactionPayload) GetCallData added in v0.2.10

func (m *TransactionPayload) GetCallData() []byte

func (*TransactionPayload) GetCrossover added in v0.2.10

func (m *TransactionPayload) GetCrossover() *Crossover

func (*TransactionPayload) GetFee added in v0.2.10

func (m *TransactionPayload) GetFee() *Fee

func (*TransactionPayload) GetNotes added in v0.2.10

func (m *TransactionPayload) GetNotes() []*Note

func (*TransactionPayload) GetNullifier added in v0.2.10

func (m *TransactionPayload) GetNullifier() []*BlsScalar

func (*TransactionPayload) GetSpendingProof added in v0.2.10

func (m *TransactionPayload) GetSpendingProof() *Proof

func (*TransactionPayload) ProtoMessage added in v0.2.10

func (*TransactionPayload) ProtoMessage()

func (*TransactionPayload) Reset added in v0.2.10

func (m *TransactionPayload) Reset()

func (*TransactionPayload) String added in v0.2.10

func (m *TransactionPayload) String() string

func (*TransactionPayload) XXX_DiscardUnknown added in v0.2.11

func (m *TransactionPayload) XXX_DiscardUnknown()

func (*TransactionPayload) XXX_Marshal added in v0.2.11

func (m *TransactionPayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TransactionPayload) XXX_Merge added in v0.2.11

func (m *TransactionPayload) XXX_Merge(src proto.Message)

func (*TransactionPayload) XXX_Size added in v0.2.11

func (m *TransactionPayload) XXX_Size() int

func (*TransactionPayload) XXX_Unmarshal added in v0.2.11

func (m *TransactionPayload) XXX_Unmarshal(b []byte) error

type UnimplementedBidServiceServer added in v0.2.10

type UnimplementedBidServiceServer struct {
}

UnimplementedBidServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedBidServiceServer) FindBid added in v0.2.10

func (*UnimplementedBidServiceServer) NewBid added in v0.2.10

type UnimplementedBlindBidServiceServer added in v0.2.10

type UnimplementedBlindBidServiceServer struct {
}

UnimplementedBlindBidServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedBlindBidServiceServer) GenerateScore added in v0.2.10

func (*UnimplementedBlindBidServiceServer) VerifyScore added in v0.2.10

type UnimplementedEchoerServer added in v0.2.10

type UnimplementedEchoerServer struct {
}

UnimplementedEchoerServer can be embedded to have forward compatible implementations.

func (*UnimplementedEchoerServer) Echo added in v0.2.10

type UnimplementedKeysServer added in v0.2.10

type UnimplementedKeysServer struct {
}

UnimplementedKeysServer can be embedded to have forward compatible implementations.

func (*UnimplementedKeysServer) GenerateKeys added in v0.2.10

func (*UnimplementedKeysServer) GenerateStealthAddress added in v0.2.10

func (*UnimplementedKeysServer) GenerateStealthAddress(ctx context.Context, req *PublicKey) (*StealthAddress, error)

type UnimplementedStateServer added in v0.2.10

type UnimplementedStateServer struct {
}

UnimplementedStateServer can be embedded to have forward compatible implementations.

func (*UnimplementedStateServer) ExecuteStateTransition added in v0.2.10

func (*UnimplementedStateServer) GetProvisioners added in v0.2.10

func (*UnimplementedStateServer) VerifyStateTransition added in v0.2.10

type VerifyScoreRequest added in v0.2.0

type VerifyScoreRequest struct {
	Proof                *Proof     `protobuf:"bytes,1,opt,name=proof,proto3" json:"proof,omitempty"`
	Score                *BlsScalar `protobuf:"bytes,2,opt,name=score,proto3" json:"score,omitempty"`
	Seed                 *BlsScalar `protobuf:"bytes,3,opt,name=seed,proto3" json:"seed,omitempty"`
	ProverId             *BlsScalar `protobuf:"bytes,4,opt,name=prover_id,json=proverId,proto3" json:"prover_id,omitempty"`
	Round                uint64     `protobuf:"fixed64,5,opt,name=round,proto3" json:"round,omitempty"`
	Step                 uint32     `protobuf:"varint,6,opt,name=step,proto3" json:"step,omitempty"`
	IndexStoredBid       uint64     `protobuf:"varint,7,opt,name=index_stored_bid,json=indexStoredBid,proto3" json:"index_stored_bid,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*VerifyScoreRequest) Descriptor added in v0.2.0

func (*VerifyScoreRequest) Descriptor() ([]byte, []int)

func (*VerifyScoreRequest) GetIndexStoredBid added in v0.2.10

func (m *VerifyScoreRequest) GetIndexStoredBid() uint64

func (*VerifyScoreRequest) GetProof added in v0.2.0

func (m *VerifyScoreRequest) GetProof() *Proof

func (*VerifyScoreRequest) GetProverId added in v0.2.10

func (m *VerifyScoreRequest) GetProverId() *BlsScalar

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() *BlsScalar

func (*VerifyScoreRequest) GetSeed added in v0.2.0

func (m *VerifyScoreRequest) GetSeed() *BlsScalar

func (*VerifyScoreRequest) GetStep added in v0.2.0

func (m *VerifyScoreRequest) GetStep() uint32

func (*VerifyScoreRequest) ProtoMessage added in v0.2.0

func (*VerifyScoreRequest) ProtoMessage()

func (*VerifyScoreRequest) Reset added in v0.2.0

func (m *VerifyScoreRequest) Reset()

func (*VerifyScoreRequest) String added in v0.2.0

func (m *VerifyScoreRequest) String() string

func (*VerifyScoreRequest) XXX_DiscardUnknown added in v0.2.4

func (m *VerifyScoreRequest) XXX_DiscardUnknown()

func (*VerifyScoreRequest) XXX_Marshal added in v0.2.4

func (m *VerifyScoreRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VerifyScoreRequest) XXX_Merge added in v0.2.4

func (m *VerifyScoreRequest) XXX_Merge(src proto.Message)

func (*VerifyScoreRequest) XXX_Size added in v0.2.4

func (m *VerifyScoreRequest) XXX_Size() int

func (*VerifyScoreRequest) XXX_Unmarshal added in v0.2.4

func (m *VerifyScoreRequest) XXX_Unmarshal(b []byte) error

type VerifyScoreResponse added in v0.2.0

type VerifyScoreResponse struct {
	Success              bool     `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*VerifyScoreResponse) Descriptor added in v0.2.0

func (*VerifyScoreResponse) Descriptor() ([]byte, []int)

func (*VerifyScoreResponse) GetSuccess added in v0.2.0

func (m *VerifyScoreResponse) GetSuccess() bool

func (*VerifyScoreResponse) ProtoMessage added in v0.2.0

func (*VerifyScoreResponse) ProtoMessage()

func (*VerifyScoreResponse) Reset added in v0.2.0

func (m *VerifyScoreResponse) Reset()

func (*VerifyScoreResponse) String added in v0.2.0

func (m *VerifyScoreResponse) String() string

func (*VerifyScoreResponse) XXX_DiscardUnknown added in v0.2.4

func (m *VerifyScoreResponse) XXX_DiscardUnknown()

func (*VerifyScoreResponse) XXX_Marshal added in v0.2.4

func (m *VerifyScoreResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VerifyScoreResponse) XXX_Merge added in v0.2.4

func (m *VerifyScoreResponse) XXX_Merge(src proto.Message)

func (*VerifyScoreResponse) XXX_Size added in v0.2.4

func (m *VerifyScoreResponse) XXX_Size() int

func (*VerifyScoreResponse) XXX_Unmarshal added in v0.2.4

func (m *VerifyScoreResponse) XXX_Unmarshal(b []byte) error

type VerifyStateTransitionRequest added in v0.2.10

type VerifyStateTransitionRequest struct {
	Txs                  []*Transaction `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"`
	Height               uint64         `protobuf:"fixed64,2,opt,name=height,proto3" json:"height,omitempty"`
	Seed                 []byte         `protobuf:"bytes,3,opt,name=seed,proto3" json:"seed,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*VerifyStateTransitionRequest) Descriptor added in v0.2.10

func (*VerifyStateTransitionRequest) Descriptor() ([]byte, []int)

func (*VerifyStateTransitionRequest) GetHeight added in v0.2.10

func (m *VerifyStateTransitionRequest) GetHeight() uint64

func (*VerifyStateTransitionRequest) GetSeed added in v0.2.10

func (m *VerifyStateTransitionRequest) GetSeed() []byte

func (*VerifyStateTransitionRequest) GetTxs added in v0.2.10

func (*VerifyStateTransitionRequest) ProtoMessage added in v0.2.10

func (*VerifyStateTransitionRequest) ProtoMessage()

func (*VerifyStateTransitionRequest) Reset added in v0.2.10

func (m *VerifyStateTransitionRequest) Reset()

func (*VerifyStateTransitionRequest) String added in v0.2.10

func (*VerifyStateTransitionRequest) XXX_DiscardUnknown added in v0.2.11

func (m *VerifyStateTransitionRequest) XXX_DiscardUnknown()

func (*VerifyStateTransitionRequest) XXX_Marshal added in v0.2.11

func (m *VerifyStateTransitionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VerifyStateTransitionRequest) XXX_Merge added in v0.2.11

func (m *VerifyStateTransitionRequest) XXX_Merge(src proto.Message)

func (*VerifyStateTransitionRequest) XXX_Size added in v0.2.11

func (m *VerifyStateTransitionRequest) XXX_Size() int

func (*VerifyStateTransitionRequest) XXX_Unmarshal added in v0.2.11

func (m *VerifyStateTransitionRequest) XXX_Unmarshal(b []byte) error

type VerifyStateTransitionResponse added in v0.2.10

type VerifyStateTransitionResponse struct {
	FailedCalls          []uint64 `protobuf:"fixed64,1,rep,packed,name=failed_calls,json=failedCalls,proto3" json:"failed_calls,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*VerifyStateTransitionResponse) Descriptor added in v0.2.10

func (*VerifyStateTransitionResponse) Descriptor() ([]byte, []int)

func (*VerifyStateTransitionResponse) GetFailedCalls added in v0.2.10

func (m *VerifyStateTransitionResponse) GetFailedCalls() []uint64

func (*VerifyStateTransitionResponse) ProtoMessage added in v0.2.10

func (*VerifyStateTransitionResponse) ProtoMessage()

func (*VerifyStateTransitionResponse) Reset added in v0.2.10

func (m *VerifyStateTransitionResponse) Reset()

func (*VerifyStateTransitionResponse) String added in v0.2.10

func (*VerifyStateTransitionResponse) XXX_DiscardUnknown added in v0.2.11

func (m *VerifyStateTransitionResponse) XXX_DiscardUnknown()

func (*VerifyStateTransitionResponse) XXX_Marshal added in v0.2.11

func (m *VerifyStateTransitionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VerifyStateTransitionResponse) XXX_Merge added in v0.2.11

func (m *VerifyStateTransitionResponse) XXX_Merge(src proto.Message)

func (*VerifyStateTransitionResponse) XXX_Size added in v0.2.11

func (m *VerifyStateTransitionResponse) XXX_Size() int

func (*VerifyStateTransitionResponse) XXX_Unmarshal added in v0.2.11

func (m *VerifyStateTransitionResponse) XXX_Unmarshal(b []byte) error

type ViewKey

type ViewKey struct {
	A                    *JubJubScalar     `protobuf:"bytes,1,opt,name=a,proto3" json:"a,omitempty"`
	BG                   *JubJubCompressed `protobuf:"bytes,2,opt,name=b_g,json=bG,proto3" json:"b_g,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*ViewKey) Descriptor

func (*ViewKey) Descriptor() ([]byte, []int)

func (*ViewKey) GetA

func (m *ViewKey) GetA() *JubJubScalar

func (*ViewKey) GetBG

func (m *ViewKey) GetBG() *JubJubCompressed

func (*ViewKey) ProtoMessage

func (*ViewKey) ProtoMessage()

func (*ViewKey) Reset

func (m *ViewKey) Reset()

func (*ViewKey) String

func (m *ViewKey) String() string

func (*ViewKey) XXX_DiscardUnknown

func (m *ViewKey) XXX_DiscardUnknown()

func (*ViewKey) XXX_Marshal

func (m *ViewKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ViewKey) XXX_Merge

func (m *ViewKey) XXX_Merge(src proto.Message)

func (*ViewKey) XXX_Size

func (m *ViewKey) XXX_Size() int

func (*ViewKey) XXX_Unmarshal

func (m *ViewKey) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL