Documentation ¶
Index ¶
- Variables
- type RateLimitProof
- func (*RateLimitProof) Descriptor() ([]byte, []int)deprecated
- func (x *RateLimitProof) GetEpoch() []byte
- func (x *RateLimitProof) GetMerkleRoot() []byte
- func (x *RateLimitProof) GetNullifier() []byte
- func (x *RateLimitProof) GetProof() []byte
- func (x *RateLimitProof) GetRlnIdentifier() []byte
- func (x *RateLimitProof) GetShareX() []byte
- func (x *RateLimitProof) GetShareY() []byte
- func (*RateLimitProof) ProtoMessage()
- func (x *RateLimitProof) ProtoReflect() protoreflect.Message
- func (x *RateLimitProof) Reset()
- func (x *RateLimitProof) String() string
- type WakuMessage
- func (*WakuMessage) Descriptor() ([]byte, []int)deprecated
- func (x *WakuMessage) GetContentTopic() string
- func (x *WakuMessage) GetEphemeral() bool
- func (x *WakuMessage) GetMeta() []byte
- func (x *WakuMessage) GetPayload() []byte
- func (x *WakuMessage) GetRateLimitProof() *RateLimitProof
- func (x *WakuMessage) GetTimestamp() int64
- func (x *WakuMessage) GetVersion() uint32
- func (msg *WakuMessage) Hash(pubsubTopic string) []byte
- func (*WakuMessage) ProtoMessage()
- func (x *WakuMessage) ProtoReflect() protoreflect.Message
- func (x *WakuMessage) Reset()
- func (x *WakuMessage) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_waku_message_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type RateLimitProof ¶
type RateLimitProof struct { Proof []byte `protobuf:"bytes,1,opt,name=proof,proto3" json:"proof,omitempty"` MerkleRoot []byte `protobuf:"bytes,2,opt,name=merkle_root,json=merkleRoot,proto3" json:"merkle_root,omitempty"` Epoch []byte `protobuf:"bytes,3,opt,name=epoch,proto3" json:"epoch,omitempty"` Nullifier []byte `protobuf:"bytes,6,opt,name=nullifier,proto3" json:"nullifier,omitempty"` RlnIdentifier []byte `protobuf:"bytes,7,opt,name=rln_identifier,json=rlnIdentifier,proto3" json:"rln_identifier,omitempty"` // contains filtered or unexported fields }
func (*RateLimitProof) Descriptor
deprecated
func (*RateLimitProof) Descriptor() ([]byte, []int)
Deprecated: Use RateLimitProof.ProtoReflect.Descriptor instead.
func (*RateLimitProof) GetEpoch ¶
func (x *RateLimitProof) GetEpoch() []byte
func (*RateLimitProof) GetMerkleRoot ¶
func (x *RateLimitProof) GetMerkleRoot() []byte
func (*RateLimitProof) GetNullifier ¶
func (x *RateLimitProof) GetNullifier() []byte
func (*RateLimitProof) GetProof ¶
func (x *RateLimitProof) GetProof() []byte
func (*RateLimitProof) GetRlnIdentifier ¶
func (x *RateLimitProof) GetRlnIdentifier() []byte
func (*RateLimitProof) GetShareX ¶
func (x *RateLimitProof) GetShareX() []byte
func (*RateLimitProof) GetShareY ¶
func (x *RateLimitProof) GetShareY() []byte
func (*RateLimitProof) ProtoMessage ¶
func (*RateLimitProof) ProtoMessage()
func (*RateLimitProof) ProtoReflect ¶ added in v0.5.0
func (x *RateLimitProof) ProtoReflect() protoreflect.Message
func (*RateLimitProof) Reset ¶
func (x *RateLimitProof) Reset()
func (*RateLimitProof) String ¶
func (x *RateLimitProof) String() string
type WakuMessage ¶
type WakuMessage struct { Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` ContentTopic string `protobuf:"bytes,2,opt,name=contentTopic,proto3" json:"contentTopic,omitempty"` Version uint32 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"` Timestamp int64 `protobuf:"zigzag64,10,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Meta []byte `protobuf:"bytes,11,opt,name=meta,proto3" json:"meta,omitempty"` RateLimitProof *RateLimitProof `protobuf:"bytes,21,opt,name=rate_limit_proof,json=rateLimitProof,proto3" json:"rate_limit_proof,omitempty"` Ephemeral bool `protobuf:"varint,31,opt,name=ephemeral,proto3" json:"ephemeral,omitempty"` // contains filtered or unexported fields }
func (*WakuMessage) Descriptor
deprecated
func (*WakuMessage) Descriptor() ([]byte, []int)
Deprecated: Use WakuMessage.ProtoReflect.Descriptor instead.
func (*WakuMessage) GetContentTopic ¶
func (x *WakuMessage) GetContentTopic() string
func (*WakuMessage) GetEphemeral ¶
func (x *WakuMessage) GetEphemeral() bool
func (*WakuMessage) GetMeta ¶ added in v0.5.2
func (x *WakuMessage) GetMeta() []byte
func (*WakuMessage) GetPayload ¶
func (x *WakuMessage) GetPayload() []byte
func (*WakuMessage) GetRateLimitProof ¶
func (x *WakuMessage) GetRateLimitProof() *RateLimitProof
func (*WakuMessage) GetTimestamp ¶
func (x *WakuMessage) GetTimestamp() int64
func (*WakuMessage) GetVersion ¶
func (x *WakuMessage) GetVersion() uint32
func (*WakuMessage) Hash ¶
func (msg *WakuMessage) Hash(pubsubTopic string) []byte
Hash calculates the hash of a waku message
func (*WakuMessage) ProtoMessage ¶
func (*WakuMessage) ProtoMessage()
func (*WakuMessage) ProtoReflect ¶ added in v0.5.0
func (x *WakuMessage) ProtoReflect() protoreflect.Message
func (*WakuMessage) Reset ¶
func (x *WakuMessage) Reset()
func (*WakuMessage) String ¶
func (x *WakuMessage) String() string
Click to show internal directories.
Click to hide internal directories.