Tezos_p2p.P2p_point_stateSourcetype 'conn t = | Requested of {cancel : Lwt_canceler.t;}We initiated a connection.
*)| Accepted of {current_peer_id : Tezos_base.TzPervasives.P2p_peer.Id.t;cancel : Lwt_canceler.t;}We accepted a incoming connection.
*)| Running of {data : 'conn;current_peer_id : Tezos_base.TzPervasives.P2p_peer.Id.t;}Successfully authenticated connection, normal business.
*)| DisconnectedNo connection established currently.
*)val set_requested :
timestamp:Tezos_base.TzPervasives.Time.System.t ->
'conn Info.t ->
Lwt_canceler.t ->
unitval set_accepted :
timestamp:Tezos_base.TzPervasives.Time.System.t ->
'conn Info.t ->
Tezos_base.TzPervasives.P2p_peer.Id.t ->
Lwt_canceler.t ->
unitval set_running :
timestamp:Tezos_base.TzPervasives.Time.System.t ->
'conn Info.t ->
Tezos_base.TzPervasives.P2p_peer.Id.t ->
'conn ->
unitval set_disconnected :
timestamp:Tezos_base.TzPervasives.Time.System.t ->
?requested:bool ->
Tezos_p2p_services.Point_reconnection_config.t ->
'conn Info.t ->
unitset_expected_peer_id point_info peer_id associates an expected peer_id to point_info.