common

package
v1.15.2 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0, MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommonModule

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

func NewCommonModule

func NewCommonModule(chainModule *chain2.ChainSubmodule, netModule *network.NetworkSubmodule, blockDelaySecs uint64) *CommonModule

func (*CommonModule) API

func (cm *CommonModule) API() v1api.ICommon

func (*CommonModule) NodeStatus added in v1.9.0

func (cm *CommonModule) NodeStatus(ctx context.Context, inclChainStatus bool) (status types.NodeStatus, err error)

func (*CommonModule) StartTime added in v1.9.0

func (cm *CommonModule) StartTime(ctx context.Context) (time.Time, error)

func (*CommonModule) V0API

func (cm *CommonModule) V0API() v0api.ICommon

func (*CommonModule) Version

func (cm *CommonModule) Version(ctx context.Context) (types.Version, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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