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.
Click to show internal directories.
Click to hide internal directories.