node

package
v0.0.0-...-32eac98 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2020 License: LGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppFactory

type AppFactory interface {
	NewApplication(*sdk.Account) core.Application
}

AppFactory implements the NewApplication method.

type Client

type Client struct {
	AppFactory AppFactory
}

Client is the shell for the node. It has fields for the AppFactory (the services application).

func (*Client) RunNode

func (client *Client) RunNode(c *cli.Context)

RunNode starts the oracle node.

type OracleAppFactory

type OracleAppFactory struct{}

AppFactory is used to create a new Application.

func (OracleAppFactory) NewApplication

func (n OracleAppFactory) NewApplication(account *sdk.Account) core.Application

NewApplication returns a new instance of the node with the given config.

Jump to

Keyboard shortcuts

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