Skip to content

Commit

Permalink
Merge pull request #918 from TheBlueMatt/2021-09-drop-ping-rl
Browse files Browse the repository at this point in the history
Drop ping sending rate-limit suggestion
  • Loading branch information
TheBlueMatt authored Dec 9, 2021
2 parents 886c8f0 + 49e1c1c commit 58287e2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions 01-messaging.md
Original file line number Diff line number Diff line change
Expand Up @@ -396,15 +396,13 @@ memory.
- if it doesn't receive a corresponding `pong`:
- MAY terminate the network connection,
- and MUST NOT fail the channels in this case.
- SHOULD NOT send `ping` messages more often than once every 30 seconds.

A node sending a `pong` message:
- SHOULD set `ignored` to 0s.
- MUST NOT set `ignored` to sensitive data such as secrets or portions of initialized
memory.

A node receiving a `ping` message:
- SHOULD fail the channels if it has received significantly in excess of one `ping` per 30 seconds.
- if `num_pong_bytes` is less than 65532:
- MUST respond by sending a `pong` message, with `byteslen` equal to `num_pong_bytes`.
- otherwise (`num_pong_bytes` is **not** less than 65532):
Expand Down

0 comments on commit 58287e2

Please sign in to comment.