server

package
v0.1.1-devnet Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2020 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server interface {
	HostNode() hostnode.HostNode
	Proposer() proposer.Proposer
	Chain() chain.Blockchain
	Start()
	Stop() error
}

func NewServer

func NewServer(db blockdb.Database) (Server, error)

NewServer creates a server instance and initializes the ogen services.

Jump to

Keyboard shortcuts

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