state

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

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

Go to latest
Published: Dec 7, 2018 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type State

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

func New

func New() *State

func (*State) AddDAppDevPeer

func (s *State) AddDAppDevPeer(pi peer.ID)

add a peer that is whitelisted for DApp Development

func (*State) HasDAppDevPeer

func (s *State) HasDAppDevPeer(pi peer.ID) bool

remove a peer from the DApp Development list

Jump to

Keyboard shortcuts

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