node

package
v0.0.0-...-f05ad83 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2019 License: Apache-2.0 Imports: 23 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Node

type Node struct {
	// contains filtered or unexported fields
}

Node is a chainkit Node

func New

func New(config *config.Config, discovery *discovery.Server) *Node

New creates a new Node

func (*Node) Start

func (n *Node) Start(ctx context.Context, p *project.Project, genesis []byte, editGenesis bool) error

Start starts the node. It will not return until it finishes starting.

func (*Node) Stop

func (n *Node) Stop()

Stop stops the node and returns once fully stopped.

Jump to

Keyboard shortcuts

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