Skip to content

Commit

Permalink
Enrich comment about disabled mustReplyTimeout
Browse files Browse the repository at this point in the history
Co-authored-by: Nicolas Frisby <[email protected]>
  • Loading branch information
Niols and nfrisby committed Dec 19, 2024
1 parent 513f347 commit a36fd87
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,12 @@ chainSyncTimeouts =
-- chains are finite, and therefore an honest peer can only serve it all,
-- then send 'MsgAwaitReply' (therefore entering 'StMustReply'), and then
-- stall forever, and it must not be killed for it.
--
-- Note that this allows the adversaries to stall us forever in that same
-- situation. However, that peer is only allowed to send 'MsgAwaitReply'
-- when they have served their tip, which leaves them fully vulnerable to
-- the Genesis Density Disconnection (GDD) logic. A bug related to this
-- disabled timeout is in fact either a bug in the GDD or in the tests.
mustReplyTimeout :: Maybe DiffTime
mustReplyTimeout = Nothing

Expand Down

0 comments on commit a36fd87

Please sign in to comment.