update docs
This commit is contained in:
1 parent
27c9e70ea9
commit
f2d6b5fdb0
1 file changed
+11
-7
+11
-7
@@ -83,13 +83,17 @@ Router:
|
|||||||
local peer. It will tell the local connection (communicating to
|
local peer. It will tell the local connection (communicating to
|
||||||
the actor thread) about the UDP address of the remote peer. The
|
the actor thread) about the UDP address of the remote peer. The
|
||||||
local connection will then start its forwarder threads as
|
local connection will then start its forwarder threads as
|
||||||
described in 6a, and start sending slow heartbeats. The local connection
|
described in 6a, and start sending fast heartbeats. We send to the
|
||||||
is marked as established which means it is included in network updates
|
remote peer via TCP a ConnectionEstablished message. The remote
|
||||||
broadcast to our peers. We also send to the remote peer via TCP a
|
peer receives this (on the TCP receiver process), tells the
|
||||||
ConnectionEstablished message. The remote peer receives this (on
|
connection actor process, which then replaces the fast heartbeater
|
||||||
the TCP receiver process), tells the connection actor process,
|
with a slow heartbeater and marks the connection as established
|
||||||
which then replaces the fast heartbeater with a slow heartbeater
|
(which means it is included in network updates broadcast to our
|
||||||
and similarly marks the connection as established.
|
peers).
|
||||||
|
6c. When the connection initiator receives the fast heartbeat from
|
||||||
|
the remote peer it sends to the remote peer via a TCP a
|
||||||
|
ConnectionEstablished message. This is handled by the remote peer
|
||||||
|
as described in 6b.
|
||||||
7. Whenever a connection is established or terminated, the local
|
7. Whenever a connection is established or terminated, the local
|
||||||
peer's version is incremented. Whenever this happens, the peer
|
peer's version is incremented. Whenever this happens, the peer
|
||||||
generates a network update message which is broadcast to its
|
generates a network update message which is broadcast to its
|
||||||
|
|||||||
Reference in new issue
Block a user