p2p

package
v1.0.24 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2019 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PChainP2PServer

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

func NewP2PServer

func NewP2PServer(ctx *cli.Context) *PChainP2PServer

func (*PChainP2PServer) AddLocalValidator

func (srv *PChainP2PServer) AddLocalValidator(chainId string, address common.Address)

func (*PChainP2PServer) BroadcastNewChildChainMsg

func (srv *PChainP2PServer) BroadcastNewChildChainMsg(childId string)

func (*PChainP2PServer) RemoveLocalValidator

func (srv *PChainP2PServer) RemoveLocalValidator(chainId string, address common.Address)

func (*PChainP2PServer) Server

func (srv *PChainP2PServer) Server() *p2p.Server

func (*PChainP2PServer) Stop

func (srv *PChainP2PServer) Stop()

Jump to

Keyboard shortcuts

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