consensus

package
v0.16.1 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2026 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Overview

Package consensus contains functionality related to the consensus module.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Parameters

type Parameters struct {
	ConsensusDenomination  types.Denomination `json:"consensus_denomination"`
	ConsensusScalingFactor uint64             `json:"consensus_scaling_factor"`
}

Parameters are the parameters for the consensus module.

type V1

type V1 interface {
	// Parameters queries the consensus module parameters.
	Parameters(ctx context.Context, round uint64) (*Parameters, error)
}

V1 is the v1 consensus module interface.

func NewV1

func NewV1(rc client.RuntimeClient) V1

NewV1 generates a V1 client helper for the consensus module.

Jump to

Keyboard shortcuts

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