v1

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthApiCollection        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowApiCollection          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupApiCollection = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthSpec        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowSpec          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupSpec = fmt.Errorf("proto: unexpected end of group")
)
View Source
var EXTENSION_name = map[int32]string{
	0: "NONE",
	1: "ARCHIVE",
}
View Source
var EXTENSION_value = map[string]int32{
	"NONE":    0,
	"ARCHIVE": 1,
}
View Source
var FUNCTION_TAG_name = map[int32]string{
	0: "DISABLED",
	1: "GET_BLOCKNUM",
	2: "GET_BLOCK_BY_NUM",
	3: "SET_LATEST_IN_METADATA",
	4: "SET_LATEST_IN_BODY",
	5: "VERIFICATION",
	6: "GET_EARLIEST_BLOCK",
}
View Source
var FUNCTION_TAG_value = map[string]int32{
	"DISABLED":               0,
	"GET_BLOCKNUM":           1,
	"GET_BLOCK_BY_NUM":       2,
	"SET_LATEST_IN_METADATA": 3,
	"SET_LATEST_IN_BODY":     4,
	"VERIFICATION":           5,
	"GET_EARLIEST_BLOCK":     6,
}
View Source
var Header_HeaderType_name = map[int32]string{
	0: "pass_send",
	1: "pass_reply",
	2: "pass_both",
	3: "pass_ignore",
}
View Source
var Header_HeaderType_value = map[string]int32{
	"pass_send":   0,
	"pass_reply":  1,
	"pass_both":   2,
	"pass_ignore": 3,
}
View Source
var PARSER_FUNC_name = map[int32]string{
	0: "EMPTY",
	1: "PARSE_BY_ARG",
	2: "PARSE_CANONICAL",
	3: "PARSE_DICTIONARY",
	4: "PARSE_DICTIONARY_OR_ORDERED",
	6: "DEFAULT",
}
View Source
var PARSER_FUNC_value = map[string]int32{
	"EMPTY":                       0,
	"PARSE_BY_ARG":                1,
	"PARSE_CANONICAL":             2,
	"PARSE_DICTIONARY":            3,
	"PARSE_DICTIONARY_OR_ORDERED": 4,
	"DEFAULT":                     6,
}
View Source
var ParseValue_VerificationSeverity_name = map[int32]string{
	0: "Fail",
	1: "Warning",
}
View Source
var ParseValue_VerificationSeverity_value = map[string]int32{
	"Fail":    0,
	"Warning": 1,
}
View Source
var Spec_ProvidersTypes_name = map[int32]string{
	0: "dynamic",
	1: "static",
}
View Source
var Spec_ProvidersTypes_value = map[string]int32{
	"dynamic": 0,
	"static":  1,
}

Functions

This section is empty.

Types

type Api

type Api struct {
	Enabled           bool         `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	Name              string       `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	ComputeUnits      uint64       `protobuf:"varint,3,opt,name=compute_units,json=computeUnits,proto3" json:"compute_units,omitempty"`
	ExtraComputeUnits uint64       `protobuf:"varint,4,opt,name=extra_compute_units,json=extraComputeUnits,proto3" json:"extra_compute_units,omitempty"`
	Category          SpecCategory `protobuf:"bytes,6,opt,name=category,proto3" json:"category"`
	BlockParsing      BlockParser  `protobuf:"bytes,7,opt,name=block_parsing,json=blockParsing,proto3" json:"block_parsing"`
	TimeoutMs         uint64       `protobuf:"varint,8,opt,name=timeout_ms,json=timeoutMs,proto3" json:"timeout_ms,omitempty"`
}

func (*Api) Descriptor

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

func (*Api) Equal

func (this *Api) Equal(that interface{}) bool

func (*Api) GetBlockParsing

func (m *Api) GetBlockParsing() BlockParser

func (*Api) GetCategory

func (m *Api) GetCategory() SpecCategory

func (*Api) GetComputeUnits

func (m *Api) GetComputeUnits() uint64

func (*Api) GetEnabled

func (m *Api) GetEnabled() bool

func (*Api) GetExtraComputeUnits

func (m *Api) GetExtraComputeUnits() uint64

func (*Api) GetName

func (m *Api) GetName() string

func (*Api) GetTimeoutMs

func (m *Api) GetTimeoutMs() uint64

func (*Api) Marshal

func (m *Api) Marshal() (dAtA []byte, err error)

func (*Api) MarshalTo

func (m *Api) MarshalTo(dAtA []byte) (int, error)

func (*Api) MarshalToSizedBuffer

func (m *Api) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Api) ProtoMessage

func (*Api) ProtoMessage()

func (*Api) Reset

func (m *Api) Reset()

func (*Api) Size

func (m *Api) Size() (n int)

func (*Api) String

func (m *Api) String() string

func (*Api) Unmarshal

func (m *Api) Unmarshal(dAtA []byte) error

func (*Api) XXX_DiscardUnknown

func (m *Api) XXX_DiscardUnknown()

func (*Api) XXX_Marshal

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

func (*Api) XXX_Merge

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

func (*Api) XXX_Size

func (m *Api) XXX_Size() int

func (*Api) XXX_Unmarshal

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

type ApiCollection

type ApiCollection struct {
	Enabled         bool              `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	CollectionData  CollectionData    `protobuf:"bytes,2,opt,name=collection_data,json=collectionData,proto3" json:"collection_data"`
	Apis            []*Api            `protobuf:"bytes,3,rep,name=apis,proto3" json:"apis,omitempty"`
	Headers         []*Header         `protobuf:"bytes,4,rep,name=headers,proto3" json:"headers,omitempty"`
	InheritanceApis []*CollectionData `protobuf:"bytes,5,rep,name=inheritance_apis,json=inheritanceApis,proto3" json:"inheritance_apis,omitempty"`
	ParseDirectives []*ParseDirective `protobuf:"bytes,6,rep,name=parse_directives,json=parseDirectives,proto3" json:"parse_directives,omitempty"`
	Extensions      []*Extension      `protobuf:"bytes,7,rep,name=extensions,proto3" json:"extensions,omitempty"`
	Verifications   []*Verification   `protobuf:"bytes,8,rep,name=verifications,proto3" json:"verifications,omitempty"`
}

func (*ApiCollection) Descriptor

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

func (*ApiCollection) Equal

func (this *ApiCollection) Equal(that interface{}) bool

func (*ApiCollection) GetApis

func (m *ApiCollection) GetApis() []*Api

func (*ApiCollection) GetCollectionData

func (m *ApiCollection) GetCollectionData() CollectionData

func (*ApiCollection) GetEnabled

func (m *ApiCollection) GetEnabled() bool

func (*ApiCollection) GetExtensions

func (m *ApiCollection) GetExtensions() []*Extension

func (*ApiCollection) GetHeaders

func (m *ApiCollection) GetHeaders() []*Header

func (*ApiCollection) GetInheritanceApis

func (m *ApiCollection) GetInheritanceApis() []*CollectionData

func (*ApiCollection) GetParseDirectives

func (m *ApiCollection) GetParseDirectives() []*ParseDirective

func (*ApiCollection) GetVerifications

func (m *ApiCollection) GetVerifications() []*Verification

func (*ApiCollection) Marshal

func (m *ApiCollection) Marshal() (dAtA []byte, err error)

func (*ApiCollection) MarshalTo

func (m *ApiCollection) MarshalTo(dAtA []byte) (int, error)

func (*ApiCollection) MarshalToSizedBuffer

func (m *ApiCollection) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ApiCollection) ProtoMessage

func (*ApiCollection) ProtoMessage()

func (*ApiCollection) Reset

func (m *ApiCollection) Reset()

func (*ApiCollection) Size

func (m *ApiCollection) Size() (n int)

func (*ApiCollection) String

func (m *ApiCollection) String() string

func (*ApiCollection) Unmarshal

func (m *ApiCollection) Unmarshal(dAtA []byte) error

func (*ApiCollection) XXX_DiscardUnknown

func (m *ApiCollection) XXX_DiscardUnknown()

func (*ApiCollection) XXX_Marshal

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

func (*ApiCollection) XXX_Merge

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

func (*ApiCollection) XXX_Size

func (m *ApiCollection) XXX_Size() int

func (*ApiCollection) XXX_Unmarshal

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

type BlockParser

type BlockParser struct {
	ParserArg    []string    `protobuf:"bytes,1,rep,name=parser_arg,json=parserArg,proto3" json:"parser_arg,omitempty"`
	ParserFunc   PARSER_FUNC `` /* 127-byte string literal not displayed */
	DefaultValue string      `protobuf:"bytes,3,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"`
	Encoding     string      `protobuf:"bytes,4,opt,name=encoding,proto3" json:"encoding,omitempty"`
}

func (*BlockParser) Descriptor

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

func (*BlockParser) Equal

func (this *BlockParser) Equal(that interface{}) bool

func (*BlockParser) GetDefaultValue

func (m *BlockParser) GetDefaultValue() string

func (*BlockParser) GetEncoding

func (m *BlockParser) GetEncoding() string

func (*BlockParser) GetParserArg

func (m *BlockParser) GetParserArg() []string

func (*BlockParser) GetParserFunc

func (m *BlockParser) GetParserFunc() PARSER_FUNC

func (*BlockParser) Marshal

func (m *BlockParser) Marshal() (dAtA []byte, err error)

func (*BlockParser) MarshalTo

func (m *BlockParser) MarshalTo(dAtA []byte) (int, error)

func (*BlockParser) MarshalToSizedBuffer

func (m *BlockParser) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BlockParser) ProtoMessage

func (*BlockParser) ProtoMessage()

func (*BlockParser) Reset

func (m *BlockParser) Reset()

func (*BlockParser) Size

func (m *BlockParser) Size() (n int)

func (*BlockParser) String

func (m *BlockParser) String() string

func (*BlockParser) Unmarshal

func (m *BlockParser) Unmarshal(dAtA []byte) error

func (*BlockParser) XXX_DiscardUnknown

func (m *BlockParser) XXX_DiscardUnknown()

func (*BlockParser) XXX_Marshal

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

func (*BlockParser) XXX_Merge

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

func (*BlockParser) XXX_Size

func (m *BlockParser) XXX_Size() int

func (*BlockParser) XXX_Unmarshal

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

type CollectionData

type CollectionData struct {
	ApiInterface string `protobuf:"bytes,1,opt,name=api_interface,json=apiInterface,proto3" json:"api_interface" mapstructure:"api_interface"`
	InternalPath string `protobuf:"bytes,2,opt,name=internal_path,json=internalPath,proto3" json:"internal_path" mapstructure:"internal_path"`
	Type         string `protobuf:"bytes,3,opt,name=type,proto3" json:"type" mapstructure:"type"`
	AddOn        string `protobuf:"bytes,4,opt,name=add_on,json=addOn,proto3" json:"add_on" mapstructure:"add_on"`
}

func (*CollectionData) Descriptor

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

func (*CollectionData) Equal

func (this *CollectionData) Equal(that interface{}) bool

func (*CollectionData) GetAddOn

func (m *CollectionData) GetAddOn() string

func (*CollectionData) GetApiInterface

func (m *CollectionData) GetApiInterface() string

func (*CollectionData) GetInternalPath

func (m *CollectionData) GetInternalPath() string

func (*CollectionData) GetType

func (m *CollectionData) GetType() string

func (*CollectionData) Marshal

func (m *CollectionData) Marshal() (dAtA []byte, err error)

func (*CollectionData) MarshalTo

func (m *CollectionData) MarshalTo(dAtA []byte) (int, error)

func (*CollectionData) MarshalToSizedBuffer

func (m *CollectionData) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CollectionData) ProtoMessage

func (*CollectionData) ProtoMessage()

func (*CollectionData) Reset

func (m *CollectionData) Reset()

func (*CollectionData) Size

func (m *CollectionData) Size() (n int)

func (*CollectionData) String

func (m *CollectionData) String() string

func (*CollectionData) Unmarshal

func (m *CollectionData) Unmarshal(dAtA []byte) error

func (*CollectionData) XXX_DiscardUnknown

func (m *CollectionData) XXX_DiscardUnknown()

func (*CollectionData) XXX_Marshal

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

func (*CollectionData) XXX_Merge

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

func (*CollectionData) XXX_Size

func (m *CollectionData) XXX_Size() int

func (*CollectionData) XXX_Unmarshal

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

type EXTENSION

type EXTENSION int32
const (
	EXTENSION_NONE    EXTENSION = 0
	EXTENSION_ARCHIVE EXTENSION = 1
)

func (EXTENSION) EnumDescriptor

func (EXTENSION) EnumDescriptor() ([]byte, []int)

func (EXTENSION) String

func (x EXTENSION) String() string

type Extension

type Extension struct {
	Name         string  `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	CuMultiplier float32 `protobuf:"fixed32,2,opt,name=cu_multiplier,json=cuMultiplier,proto3" json:"cu_multiplier,omitempty"`
	Rule         *Rule   `protobuf:"bytes,3,opt,name=rule,proto3" json:"rule,omitempty"`
}

func (*Extension) Descriptor

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

func (*Extension) Equal

func (this *Extension) Equal(that interface{}) bool

func (*Extension) GetCuMultiplier

func (m *Extension) GetCuMultiplier() float32

func (*Extension) GetName

func (m *Extension) GetName() string

func (*Extension) GetRule

func (m *Extension) GetRule() *Rule

func (*Extension) Marshal

func (m *Extension) Marshal() (dAtA []byte, err error)

func (*Extension) MarshalTo

func (m *Extension) MarshalTo(dAtA []byte) (int, error)

func (*Extension) MarshalToSizedBuffer

func (m *Extension) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Extension) ProtoMessage

func (*Extension) ProtoMessage()

func (*Extension) Reset

func (m *Extension) Reset()

func (*Extension) Size

func (m *Extension) Size() (n int)

func (*Extension) String

func (m *Extension) String() string

func (*Extension) Unmarshal

func (m *Extension) Unmarshal(dAtA []byte) error

func (*Extension) XXX_DiscardUnknown

func (m *Extension) XXX_DiscardUnknown()

func (*Extension) XXX_Marshal

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

func (*Extension) XXX_Merge

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

func (*Extension) XXX_Size

func (m *Extension) XXX_Size() int

func (*Extension) XXX_Unmarshal

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

type FUNCTION_TAG

type FUNCTION_TAG int32
const (
	FUNCTION_TAG_DISABLED               FUNCTION_TAG = 0
	FUNCTION_TAG_GET_BLOCKNUM           FUNCTION_TAG = 1
	FUNCTION_TAG_GET_BLOCK_BY_NUM       FUNCTION_TAG = 2
	FUNCTION_TAG_SET_LATEST_IN_METADATA FUNCTION_TAG = 3
	FUNCTION_TAG_SET_LATEST_IN_BODY     FUNCTION_TAG = 4
	FUNCTION_TAG_VERIFICATION           FUNCTION_TAG = 5
	FUNCTION_TAG_GET_EARLIEST_BLOCK     FUNCTION_TAG = 6
)

func (FUNCTION_TAG) EnumDescriptor

func (FUNCTION_TAG) EnumDescriptor() ([]byte, []int)

func (FUNCTION_TAG) String

func (x FUNCTION_TAG) String() string
type Header struct {
	Name        string            `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Kind        Header_HeaderType `protobuf:"varint,2,opt,name=kind,proto3,enum=lavanet.lava.spec.Header_HeaderType" json:"kind,omitempty"`
	FunctionTag FUNCTION_TAG      `` /* 131-byte string literal not displayed */
}

func (*Header) Descriptor

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

func (*Header) Equal

func (this *Header) Equal(that interface{}) bool

func (*Header) GetFunctionTag

func (m *Header) GetFunctionTag() FUNCTION_TAG

func (*Header) GetKind

func (m *Header) GetKind() Header_HeaderType

func (*Header) GetName

func (m *Header) GetName() string

func (*Header) Marshal

func (m *Header) Marshal() (dAtA []byte, err error)

func (*Header) MarshalTo

func (m *Header) MarshalTo(dAtA []byte) (int, error)

func (*Header) MarshalToSizedBuffer

func (m *Header) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Header) ProtoMessage

func (*Header) ProtoMessage()

func (*Header) Reset

func (m *Header) Reset()

func (*Header) Size

func (m *Header) Size() (n int)

func (*Header) String

func (m *Header) String() string

func (*Header) Unmarshal

func (m *Header) Unmarshal(dAtA []byte) error

func (*Header) XXX_DiscardUnknown

func (m *Header) XXX_DiscardUnknown()

func (*Header) XXX_Marshal

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

func (*Header) XXX_Merge

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

func (*Header) XXX_Size

func (m *Header) XXX_Size() int

func (*Header) XXX_Unmarshal

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

type Header_HeaderType

type Header_HeaderType int32
const (
	Header_pass_send   Header_HeaderType = 0
	Header_pass_reply  Header_HeaderType = 1
	Header_pass_both   Header_HeaderType = 2
	Header_pass_ignore Header_HeaderType = 3
)

func (Header_HeaderType) EnumDescriptor

func (Header_HeaderType) EnumDescriptor() ([]byte, []int)

func (Header_HeaderType) String

func (x Header_HeaderType) String() string

type PARSER_FUNC

type PARSER_FUNC int32
const (
	PARSER_FUNC_EMPTY                       PARSER_FUNC = 0
	PARSER_FUNC_PARSE_BY_ARG                PARSER_FUNC = 1
	PARSER_FUNC_PARSE_CANONICAL             PARSER_FUNC = 2
	PARSER_FUNC_PARSE_DICTIONARY            PARSER_FUNC = 3
	PARSER_FUNC_PARSE_DICTIONARY_OR_ORDERED PARSER_FUNC = 4
	// reserved
	PARSER_FUNC_DEFAULT PARSER_FUNC = 6
)

func (PARSER_FUNC) EnumDescriptor

func (PARSER_FUNC) EnumDescriptor() ([]byte, []int)

func (PARSER_FUNC) String

func (x PARSER_FUNC) String() string

type ParseDirective

type ParseDirective struct {
	FunctionTag      FUNCTION_TAG `` /* 131-byte string literal not displayed */
	FunctionTemplate string       `protobuf:"bytes,2,opt,name=function_template,json=functionTemplate,proto3" json:"function_template,omitempty"`
	ResultParsing    BlockParser  `protobuf:"bytes,3,opt,name=result_parsing,json=resultParsing,proto3" json:"result_parsing"`
	ApiName          string       `protobuf:"bytes,4,opt,name=api_name,json=apiName,proto3" json:"api_name,omitempty"`
}

func (*ParseDirective) Descriptor

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

func (*ParseDirective) Equal

func (this *ParseDirective) Equal(that interface{}) bool

func (*ParseDirective) GetApiName

func (m *ParseDirective) GetApiName() string

func (*ParseDirective) GetFunctionTag

func (m *ParseDirective) GetFunctionTag() FUNCTION_TAG

func (*ParseDirective) GetFunctionTemplate

func (m *ParseDirective) GetFunctionTemplate() string

func (*ParseDirective) GetResultParsing

func (m *ParseDirective) GetResultParsing() BlockParser

func (*ParseDirective) Marshal

func (m *ParseDirective) Marshal() (dAtA []byte, err error)

func (*ParseDirective) MarshalTo

func (m *ParseDirective) MarshalTo(dAtA []byte) (int, error)

func (*ParseDirective) MarshalToSizedBuffer

func (m *ParseDirective) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ParseDirective) ProtoMessage

func (*ParseDirective) ProtoMessage()

func (*ParseDirective) Reset

func (m *ParseDirective) Reset()

func (*ParseDirective) Size

func (m *ParseDirective) Size() (n int)

func (*ParseDirective) String

func (m *ParseDirective) String() string

func (*ParseDirective) Unmarshal

func (m *ParseDirective) Unmarshal(dAtA []byte) error

func (*ParseDirective) XXX_DiscardUnknown

func (m *ParseDirective) XXX_DiscardUnknown()

func (*ParseDirective) XXX_Marshal

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

func (*ParseDirective) XXX_Merge

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

func (*ParseDirective) XXX_Size

func (m *ParseDirective) XXX_Size() int

func (*ParseDirective) XXX_Unmarshal

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

type ParseValue

type ParseValue struct {
	Extension      string                          `protobuf:"bytes,1,opt,name=extension,proto3" json:"extension,omitempty"`
	ExpectedValue  string                          `protobuf:"bytes,2,opt,name=expected_value,json=expectedValue,proto3" json:"expected_value,omitempty"`
	LatestDistance uint64                          `protobuf:"varint,3,opt,name=latest_distance,json=latestDistance,proto3" json:"latest_distance,omitempty"`
	Severity       ParseValue_VerificationSeverity `protobuf:"varint,4,opt,name=severity,proto3,enum=lavanet.lava.spec.ParseValue_VerificationSeverity" json:"severity,omitempty"`
}

func (*ParseValue) Descriptor

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

func (*ParseValue) Equal

func (this *ParseValue) Equal(that interface{}) bool

func (*ParseValue) GetExpectedValue

func (m *ParseValue) GetExpectedValue() string

func (*ParseValue) GetExtension

func (m *ParseValue) GetExtension() string

func (*ParseValue) GetLatestDistance

func (m *ParseValue) GetLatestDistance() uint64

func (*ParseValue) GetSeverity

func (*ParseValue) Marshal

func (m *ParseValue) Marshal() (dAtA []byte, err error)

func (*ParseValue) MarshalTo

func (m *ParseValue) MarshalTo(dAtA []byte) (int, error)

func (*ParseValue) MarshalToSizedBuffer

func (m *ParseValue) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ParseValue) ProtoMessage

func (*ParseValue) ProtoMessage()

func (*ParseValue) Reset

func (m *ParseValue) Reset()

func (*ParseValue) Size

func (m *ParseValue) Size() (n int)

func (*ParseValue) String

func (m *ParseValue) String() string

func (*ParseValue) Unmarshal

func (m *ParseValue) Unmarshal(dAtA []byte) error

func (*ParseValue) XXX_DiscardUnknown

func (m *ParseValue) XXX_DiscardUnknown()

func (*ParseValue) XXX_Marshal

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

func (*ParseValue) XXX_Merge

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

func (*ParseValue) XXX_Size

func (m *ParseValue) XXX_Size() int

func (*ParseValue) XXX_Unmarshal

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

type ParseValue_VerificationSeverity

type ParseValue_VerificationSeverity int32
const (
	ParseValue_Fail    ParseValue_VerificationSeverity = 0
	ParseValue_Warning ParseValue_VerificationSeverity = 1
)

func (ParseValue_VerificationSeverity) EnumDescriptor

func (ParseValue_VerificationSeverity) EnumDescriptor() ([]byte, []int)

func (ParseValue_VerificationSeverity) String

type Rule

type Rule struct {
	Block uint64 `protobuf:"varint,1,opt,name=block,proto3" json:"block,omitempty"`
}

func (*Rule) Descriptor

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

func (*Rule) Equal

func (this *Rule) Equal(that interface{}) bool

func (*Rule) GetBlock

func (m *Rule) GetBlock() uint64

func (*Rule) Marshal

func (m *Rule) Marshal() (dAtA []byte, err error)

func (*Rule) MarshalTo

func (m *Rule) MarshalTo(dAtA []byte) (int, error)

func (*Rule) MarshalToSizedBuffer

func (m *Rule) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Rule) ProtoMessage

func (*Rule) ProtoMessage()

func (*Rule) Reset

func (m *Rule) Reset()

func (*Rule) Size

func (m *Rule) Size() (n int)

func (*Rule) String

func (m *Rule) String() string

func (*Rule) Unmarshal

func (m *Rule) Unmarshal(dAtA []byte) error

func (*Rule) XXX_DiscardUnknown

func (m *Rule) XXX_DiscardUnknown()

func (*Rule) XXX_Marshal

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

func (*Rule) XXX_Merge

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

func (*Rule) XXX_Size

func (m *Rule) XXX_Size() int

func (*Rule) XXX_Unmarshal

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

type Spec

type Spec struct {
	Index                         string                                  `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"`
	Name                          string                                  `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Enabled                       bool                                    `protobuf:"varint,4,opt,name=enabled,proto3" json:"enabled,omitempty"`
	ReliabilityThreshold          uint32                                  `protobuf:"varint,5,opt,name=reliability_threshold,json=reliabilityThreshold,proto3" json:"reliability_threshold,omitempty"`
	DataReliabilityEnabled        bool                                    `` /* 130-byte string literal not displayed */
	BlockDistanceForFinalizedData uint32                                  `` /* 155-byte string literal not displayed */
	BlocksInFinalizationProof     uint32                                  `` /* 141-byte string literal not displayed */
	AverageBlockTime              int64                                   `protobuf:"varint,9,opt,name=average_block_time,json=averageBlockTime,proto3" json:"average_block_time,omitempty"`
	AllowedBlockLagForQosSync     int64                                   `` /* 146-byte string literal not displayed */
	BlockLastUpdated              uint64                                  `protobuf:"varint,11,opt,name=block_last_updated,json=blockLastUpdated,proto3" json:"block_last_updated,omitempty"`
	MinStakeProvider              types.Coin                              `protobuf:"bytes,12,opt,name=min_stake_provider,json=minStakeProvider,proto3" json:"min_stake_provider"`
	ProvidersTypes                Spec_ProvidersTypes                     `` /* 148-byte string literal not displayed */
	Imports                       []string                                `protobuf:"bytes,15,rep,name=imports,proto3" json:"imports,omitempty"`
	ApiCollections                []*ApiCollection                        `protobuf:"bytes,16,rep,name=api_collections,json=apiCollections,proto3" json:"api_collections,omitempty"`
	Contributor                   []string                                `protobuf:"bytes,17,rep,name=contributor,proto3" json:"contributor,omitempty"`
	ContributorPercentage         *github_com_cosmos_cosmos_sdk_types.Dec `` /* 175-byte string literal not displayed */
	Shares                        uint64                                  `protobuf:"varint,19,opt,name=shares,proto3" json:"shares,omitempty"`
}

func (*Spec) Descriptor

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

func (*Spec) Equal

func (this *Spec) Equal(that interface{}) bool

func (*Spec) GetAllowedBlockLagForQosSync

func (m *Spec) GetAllowedBlockLagForQosSync() int64

func (*Spec) GetApiCollections

func (m *Spec) GetApiCollections() []*ApiCollection

func (*Spec) GetAverageBlockTime

func (m *Spec) GetAverageBlockTime() int64

func (*Spec) GetBlockDistanceForFinalizedData

func (m *Spec) GetBlockDistanceForFinalizedData() uint32

func (*Spec) GetBlockLastUpdated

func (m *Spec) GetBlockLastUpdated() uint64

func (*Spec) GetBlocksInFinalizationProof

func (m *Spec) GetBlocksInFinalizationProof() uint32

func (*Spec) GetContributor

func (m *Spec) GetContributor() []string

func (*Spec) GetDataReliabilityEnabled

func (m *Spec) GetDataReliabilityEnabled() bool

func (*Spec) GetEnabled

func (m *Spec) GetEnabled() bool

func (*Spec) GetImports

func (m *Spec) GetImports() []string

func (*Spec) GetIndex

func (m *Spec) GetIndex() string

func (*Spec) GetMinStakeProvider

func (m *Spec) GetMinStakeProvider() types.Coin

func (*Spec) GetName

func (m *Spec) GetName() string

func (*Spec) GetProvidersTypes

func (m *Spec) GetProvidersTypes() Spec_ProvidersTypes

func (*Spec) GetReliabilityThreshold

func (m *Spec) GetReliabilityThreshold() uint32

func (*Spec) GetShares

func (m *Spec) GetShares() uint64

func (*Spec) Marshal

func (m *Spec) Marshal() (dAtA []byte, err error)

func (*Spec) MarshalTo

func (m *Spec) MarshalTo(dAtA []byte) (int, error)

func (*Spec) MarshalToSizedBuffer

func (m *Spec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Spec) ProtoMessage

func (*Spec) ProtoMessage()

func (*Spec) Reset

func (m *Spec) Reset()

func (*Spec) Size

func (m *Spec) Size() (n int)

func (*Spec) String

func (m *Spec) String() string

func (*Spec) Unmarshal

func (m *Spec) Unmarshal(dAtA []byte) error

func (*Spec) XXX_DiscardUnknown

func (m *Spec) XXX_DiscardUnknown()

func (*Spec) XXX_Marshal

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

func (*Spec) XXX_Merge

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

func (*Spec) XXX_Size

func (m *Spec) XXX_Size() int

func (*Spec) XXX_Unmarshal

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

type SpecCategory

type SpecCategory struct {
	Deterministic bool   `protobuf:"varint,1,opt,name=deterministic,proto3" json:"deterministic,omitempty"`
	Local         bool   `protobuf:"varint,2,opt,name=local,proto3" json:"local,omitempty"`
	Subscription  bool   `protobuf:"varint,3,opt,name=subscription,proto3" json:"subscription,omitempty"`
	Stateful      uint32 `protobuf:"varint,4,opt,name=stateful,proto3" json:"stateful,omitempty"`
	HangingApi    bool   `protobuf:"varint,5,opt,name=hanging_api,json=hangingApi,proto3" json:"hanging_api,omitempty"`
}

func (*SpecCategory) Descriptor

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

func (*SpecCategory) Equal

func (this *SpecCategory) Equal(that interface{}) bool

func (*SpecCategory) GetDeterministic

func (m *SpecCategory) GetDeterministic() bool

func (*SpecCategory) GetHangingApi

func (m *SpecCategory) GetHangingApi() bool

func (*SpecCategory) GetLocal

func (m *SpecCategory) GetLocal() bool

func (*SpecCategory) GetStateful

func (m *SpecCategory) GetStateful() uint32

func (*SpecCategory) GetSubscription

func (m *SpecCategory) GetSubscription() bool

func (*SpecCategory) Marshal

func (m *SpecCategory) Marshal() (dAtA []byte, err error)

func (*SpecCategory) MarshalTo

func (m *SpecCategory) MarshalTo(dAtA []byte) (int, error)

func (*SpecCategory) MarshalToSizedBuffer

func (m *SpecCategory) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SpecCategory) ProtoMessage

func (*SpecCategory) ProtoMessage()

func (*SpecCategory) Reset

func (m *SpecCategory) Reset()

func (*SpecCategory) Size

func (m *SpecCategory) Size() (n int)

func (*SpecCategory) String

func (m *SpecCategory) String() string

func (*SpecCategory) Unmarshal

func (m *SpecCategory) Unmarshal(dAtA []byte) error

func (*SpecCategory) XXX_DiscardUnknown

func (m *SpecCategory) XXX_DiscardUnknown()

func (*SpecCategory) XXX_Marshal

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

func (*SpecCategory) XXX_Merge

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

func (*SpecCategory) XXX_Size

func (m *SpecCategory) XXX_Size() int

func (*SpecCategory) XXX_Unmarshal

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

type Spec_ProvidersTypes

type Spec_ProvidersTypes int32
const (
	Spec_dynamic Spec_ProvidersTypes = 0
	Spec_static  Spec_ProvidersTypes = 1
)

func (Spec_ProvidersTypes) EnumDescriptor

func (Spec_ProvidersTypes) EnumDescriptor() ([]byte, []int)

func (Spec_ProvidersTypes) String

func (x Spec_ProvidersTypes) String() string

type Verification

type Verification struct {
	Name           string          `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	ParseDirective *ParseDirective `protobuf:"bytes,2,opt,name=parse_directive,json=parseDirective,proto3" json:"parse_directive,omitempty"`
	Values         []*ParseValue   `protobuf:"bytes,3,rep,name=values,proto3" json:"values,omitempty"`
}

func (*Verification) Descriptor

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

func (*Verification) Equal

func (this *Verification) Equal(that interface{}) bool

func (*Verification) GetName

func (m *Verification) GetName() string

func (*Verification) GetParseDirective

func (m *Verification) GetParseDirective() *ParseDirective

func (*Verification) GetValues

func (m *Verification) GetValues() []*ParseValue

func (*Verification) Marshal

func (m *Verification) Marshal() (dAtA []byte, err error)

func (*Verification) MarshalTo

func (m *Verification) MarshalTo(dAtA []byte) (int, error)

func (*Verification) MarshalToSizedBuffer

func (m *Verification) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Verification) ProtoMessage

func (*Verification) ProtoMessage()

func (*Verification) Reset

func (m *Verification) Reset()

func (*Verification) Size

func (m *Verification) Size() (n int)

func (*Verification) String

func (m *Verification) String() string

func (*Verification) Unmarshal

func (m *Verification) Unmarshal(dAtA []byte) error

func (*Verification) XXX_DiscardUnknown

func (m *Verification) XXX_DiscardUnknown()

func (*Verification) XXX_Marshal

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

func (*Verification) XXX_Merge

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

func (*Verification) XXX_Size

func (m *Verification) XXX_Size() int

func (*Verification) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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