Documentation ¶
Overview ¶
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Index ¶
- Variables
- type OracleData
- func (*OracleData) Descriptor() ([]byte, []int)deprecated
- func (x *OracleData) GetExtendedCommitInfo() []byte
- func (x *OracleData) GetHeight() int64
- func (x *OracleData) GetPrices() map[string]string
- func (x *OracleData) GetTimestamp() *timestamppb.Timestamp
- func (*OracleData) ProtoMessage()
- func (x *OracleData) ProtoReflect() protoreflect.Message
- func (x *OracleData) Reset()
- func (x *OracleData) String() string
- type OracleVoteExtension
- func (*OracleVoteExtension) Descriptor() ([]byte, []int)deprecated
- func (x *OracleVoteExtension) GetHeight() int64
- func (x *OracleVoteExtension) GetPrices() map[string]string
- func (x *OracleVoteExtension) GetTimestamp() *timestamppb.Timestamp
- func (*OracleVoteExtension) ProtoMessage()
- func (x *OracleVoteExtension) ProtoReflect() protoreflect.Message
- func (x *OracleVoteExtension) Reset()
- func (x *OracleVoteExtension) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_slinky_abci_v1_vote_extensions_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type OracleData ¶
type OracleData struct { // Prices defines a map of CurrencyPair -> hexPrice. i.e. "BTC/USD/8" -> "0x1234". Prices map[string]string `` /* 153-byte string literal not displayed */ // Timestamp defines the block timestamp when the oracle data was validated. Timestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Height defines the block height when the oracle data was validated. Height int64 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` // ExtendedCommitInfo defines the last commit info which contains all vote extension data. ExtendedCommitInfo []byte `protobuf:"bytes,5,opt,name=extended_commit_info,json=extendedCommitInfo,proto3" json:"extended_commit_info,omitempty"` // contains filtered or unexported fields }
OracleData defines the deterministic final oracle prices and data that will be inserted (PrepareProposal) and verified (ProcessProposal) in every block proposal.
func (*OracleData) Descriptor
deprecated
func (*OracleData) Descriptor() ([]byte, []int)
Deprecated: Use OracleData.ProtoReflect.Descriptor instead.
func (*OracleData) GetExtendedCommitInfo ¶
func (x *OracleData) GetExtendedCommitInfo() []byte
func (*OracleData) GetHeight ¶
func (x *OracleData) GetHeight() int64
func (*OracleData) GetPrices ¶
func (x *OracleData) GetPrices() map[string]string
func (*OracleData) GetTimestamp ¶
func (x *OracleData) GetTimestamp() *timestamppb.Timestamp
func (*OracleData) ProtoMessage ¶
func (*OracleData) ProtoMessage()
func (*OracleData) ProtoReflect ¶
func (x *OracleData) ProtoReflect() protoreflect.Message
func (*OracleData) Reset ¶
func (x *OracleData) Reset()
func (*OracleData) String ¶
func (x *OracleData) String() string
type OracleVoteExtension ¶
type OracleVoteExtension struct { // Prices defines a map of CurrencyPair -> hexPrice. i.e. "BTC/USD/8" -> "0x1234". Prices map[string]string `` /* 153-byte string literal not displayed */ // Timestamp defines the block timestamp when the oracle data was validated. Timestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Height defines the block height when the oracle data was validated. Height int64 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` // contains filtered or unexported fields }
OracleVoteExtension defines the vote extension structure for oracle prices.
func (*OracleVoteExtension) Descriptor
deprecated
func (*OracleVoteExtension) Descriptor() ([]byte, []int)
Deprecated: Use OracleVoteExtension.ProtoReflect.Descriptor instead.
func (*OracleVoteExtension) GetHeight ¶
func (x *OracleVoteExtension) GetHeight() int64
func (*OracleVoteExtension) GetPrices ¶
func (x *OracleVoteExtension) GetPrices() map[string]string
func (*OracleVoteExtension) GetTimestamp ¶
func (x *OracleVoteExtension) GetTimestamp() *timestamppb.Timestamp
func (*OracleVoteExtension) ProtoMessage ¶
func (*OracleVoteExtension) ProtoMessage()
func (*OracleVoteExtension) ProtoReflect ¶
func (x *OracleVoteExtension) ProtoReflect() protoreflect.Message
func (*OracleVoteExtension) Reset ¶
func (x *OracleVoteExtension) Reset()
func (*OracleVoteExtension) String ¶
func (x *OracleVoteExtension) String() string
Click to show internal directories.
Click to hide internal directories.