churp

package
v0.2403.0 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(appName string) tmapi.Extension

New creates a new CHRUP extension for the key manager application.

Types

type Query

type Query interface {
	ConsensusParameters(context.Context) (*churp.ConsensusParameters, error)
	Status(context.Context, common.Namespace, uint8) (*churp.Status, error)
	Statuses(context.Context, common.Namespace) ([]*churp.Status, error)
	AllStatuses(context.Context) ([]*churp.Status, error)
	Genesis(context.Context) (*churp.Genesis, error)
}

Query is the key manager CHURP query interface.

func NewQuery

func NewQuery(state *churpState.ImmutableState) Query

NewQuery creates a new key manager CHURP query.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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