controller

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: BSD-3-Clause Imports: 36 Imported by: 0

Documentation

Overview

Package controller implements a minimal controller for cosipbft.

Documentation Last Review: 13.10.2020

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewController

func NewController() node.Initializer

NewController creates a new minimal controller for cosipbft.

Types

type Service

type Service interface {
	ordering.Service

	GetRoster() (authority.Authority, error)

	Setup(ctx context.Context, ca crypto.CollectiveAuthority) error
}

Service is the expected interface of the ordering service that is extended with some additional functions.

Jump to

Keyboard shortcuts

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