Documentation ¶
Index ¶
- type PChainP2PServer
- func (srv *PChainP2PServer) AddLocalValidator(chainId string, address common.Address)
- func (srv *PChainP2PServer) BroadcastNewChildChainMsg(childId string)
- func (srv *PChainP2PServer) RemoveLocalValidator(chainId string, address common.Address)
- func (srv *PChainP2PServer) Server() *p2p.Server
- func (srv *PChainP2PServer) Stop()
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()
Click to show internal directories.
Click to hide internal directories.