Documentation ¶
Overview ¶
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Index ¶
- Variables
- type AppModule
- type AppModuleBasic
- type Module
- func (*Module) Descriptor() ([]byte, []int)deprecated
- func (x *Module) GetAuthority() string
- func (x *Module) GetTrimLag() uint64
- func (x *Module) GetVoteExtensionLimit() uint64
- func (x *Module) GetVoteWindow() uint64
- func (*Module) ProtoMessage()
- func (x *Module) ProtoReflect() protoreflect.Message
- func (x *Module) Reset()
- func (x *Module) String() string
- type ModuleInputs
- type ModuleOutputs
Constants ¶
This section is empty.
Variables ¶
var File_halo_attest_module_module_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AppModule ¶
type AppModule struct { AppModuleBasic // contains filtered or unexported fields }
AppModule implements the AppModule interface that defines the inter-dependent methods that modules need to implement.
func (AppModule) BeginBlock ¶ added in v0.1.2
func (AppModule) IsAppModule ¶
func (AppModule) IsAppModule()
IsAppModule implements the appmodule.AppModule interface.
func (AppModule) IsOnePerModuleType ¶
func (AppModule) IsOnePerModuleType()
IsOnePerModuleType implements the depinject.OnePerModuleType interface.
func (AppModule) RegisterServices ¶
func (m AppModule) RegisterServices(cfg module.Configurator)
RegisterServices registers a gRPC query service to respond to the module-specific gRPC queries.
type AppModuleBasic ¶
type AppModuleBasic struct {
// contains filtered or unexported fields
}
AppModuleBasic implements the AppModuleBasic interface that defines the independent methods a Cosmos SDK module needs to implement.
func NewAppModuleBasic ¶
func NewAppModuleBasic(cdc codec.BinaryCodec) AppModuleBasic
func (AppModuleBasic) Name ¶
func (AppModuleBasic) Name() string
Name returns the name of the module as a string.
func (AppModuleBasic) RegisterGRPCGatewayRoutes ¶
func (AppModuleBasic) RegisterGRPCGatewayRoutes(client.Context, *runtime.ServeMux)
RegisterGRPCGatewayRoutes registers the gRPC Gateway routes for the module.
func (AppModuleBasic) RegisterInterfaces ¶
func (AppModuleBasic) RegisterInterfaces(reg cdctypes.InterfaceRegistry)
RegisterInterfaces registers a module's interface types and their concrete implementations as proto.Message.
func (AppModuleBasic) RegisterLegacyAminoCodec ¶
func (AppModuleBasic) RegisterLegacyAminoCodec(*codec.LegacyAmino)
RegisterLegacyAminoCodec registers the amino codec for the module, which is used to marshal and unmarshal structs to/from []byte in order to persist them in the module's KVStore.
type Module ¶
type Module struct { // authority defines the custom module authority. If not set, defaults to the governance module. Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` // vote_window defines the number of blocks before and after the latest approved attestation // that votes are allowed for. VoteWindow uint64 `protobuf:"varint,2,opt,name=vote_window,json=voteWindow,proto3" json:"vote_window,omitempty"` // vote_extension_limit defines the maximum number of votes that a validator may include in a single vote extension. VoteExtensionLimit uint64 `protobuf:"varint,3,opt,name=vote_extension_limit,json=voteExtensionLimit,proto3" json:"vote_extension_limit,omitempty"` // trim_lag defines the number of blocks after which attestations are deleted from the module state. TrimLag uint64 `protobuf:"varint,4,opt,name=trim_lag,json=trimLag,proto3" json:"trim_lag,omitempty"` // contains filtered or unexported fields }
Module is the config object for the module.
func (*Module) Descriptor
deprecated
func (*Module) GetAuthority ¶
func (*Module) GetTrimLag ¶ added in v0.1.2
func (*Module) GetVoteExtensionLimit ¶ added in v0.1.1
func (*Module) GetVoteWindow ¶
func (*Module) ProtoMessage ¶
func (*Module) ProtoMessage()
func (*Module) ProtoReflect ¶
func (x *Module) ProtoReflect() protoreflect.Message
type ModuleInputs ¶
type ModuleOutputs ¶
func ProvideModule ¶
func ProvideModule(in ModuleInputs) (ModuleOutputs, error)