networkcontrol

package module
v0.0.0-...-4acc7c3 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2020 License: MIT Imports: 20 Imported by: 0

README

Factom Network Control Panel

A standalone webapp that interfaces with the Factomd API in order to create, manage, and send authority set messages.

Running

Compile the run subfolder via go build or go install.

Run with: ./run

Available flags:

  • -f: Set the factomd API endpoint. Default is the MainNet Open API. For a local network, use localhost:8088.

Compatibility

The control panel will work for all Factom networks, however the messages generated by the control panel are not compatible with the MainNet / TestNet. Only nodes compiled from the WhoSoup/whosoup-multisig_promotion branch will accept the message.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateServer

func CreateServer() *echo.Echo

Types

type AuthCache

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

func NewAuthCache

func NewAuthCache(d time.Duration) *AuthCache

func (*AuthCache) Get

func (ac *AuthCache) Get() ([]*factom.Authority, error)

func (*AuthCache) GetSpecific

func (ac *AuthCache) GetSpecific(id string) (*factom.Authority, error)

type FakeState

type FakeState struct {
	Authorities []interfaces.IAuthority
	state.State
}

func (*FakeState) GetAuthorities

func (fs *FakeState) GetAuthorities() []interfaces.IAuthority

type NetworkControl

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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