Documentation ¶
Index ¶
- type GetConnectionCntReq
- type GetConnectionCntRsp
- type GetConnectionStateReq
- type GetConnectionStateRsp
- type GetConsPortReq
- type GetConsPortRsp
- type GetIdReq
- type GetIdRsp
- type GetNeighborAddrsReq
- type GetNeighborAddrsRsp
- type GetNodeTypeReq
- type GetNodeTypeRsp
- type GetPortReq
- type GetPortRsp
- type GetRelayStateReq
- type GetRelayStateRsp
- type GetSyncPortReq
- type GetSyncPortRsp
- type GetTimeReq
- type GetTimeRsp
- type GetVersionReq
- type GetVersionRsp
- type P2PActor
- type StopServerReq
- type StopServerRsp
- type TransmitConsensusMsgReq
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetConnectionCntRsp ¶
type GetConnectionCntRsp struct {
Cnt uint32
}
response of connection count requet
type GetConnectionStateRsp ¶
type GetConnectionStateRsp struct {
State uint32
}
response of connection state requet
type GetNeighborAddrsRsp ¶
response of all nbr`s address
type GetNodeTypeReq ¶
type GetNodeTypeReq struct { }
type GetNodeTypeRsp ¶
type GetNodeTypeRsp struct {
NodeType uint64
}
type GetPortRsp ¶
response of connection port requet
type GetRelayStateRsp ¶
type GetRelayStateRsp struct {
Relay bool
}
response of whether net can relay
type P2PActor ¶
type P2PActor struct {
// contains filtered or unexported fields
}
func NewP2PActor ¶
NewP2PActor creates an actor to handle the messages from txnpool and consensus
Click to show internal directories.
Click to hide internal directories.