modules

package
v2.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2022 License: MIT Imports: 54 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UniqueAddressesParser

func UniqueAddressesParser(parser messages.MessageAddressesParser) messages.MessageAddressesParser

UniqueAddressesParser returns a wrapper around the given parser that removes all duplicated addresses

Types

type Registrar

type Registrar struct {
	// contains filtered or unexported fields
}

Registrar represents the modules.Registrar that allows to register all modules that are supported by BigDipper

func NewRegistrar

func NewRegistrar(parser messages.MessageAddressesParser) *Registrar

NewRegistrar allows to build a new Registrar instance

func (*Registrar) BuildModules

func (r *Registrar) BuildModules(ctx registrar.Context) jmodules.Modules

BuildModules implements modules.Registrar

type Sources

type Sources struct {
	BankSource     banksource.Source
	DistrSource    distrsource.Source
	GovSource      govsource.Source
	MintSource     mintsource.Source
	SlashingSource slashingsource.Source
	StakingSource  stakingsource.Source
}

func BuildSources

func BuildSources(nodeCfg nodeconfig.Config, encodingConfig *params.EncodingConfig) (*Sources, error)

Jump to

Keyboard shortcuts

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