Q: do we check if nStartingHeight of nodes is a plausible value (DoS)? #2240

issue Diapolo opened this issue on January 30, 2013
  1. Diapolo commented at 2:43 PM on January 30, 2013: none

    I'm just asking myself if there is a way to even check it or if a wrong and way too high number can somehow cause problems and should perhaps be considered by our DoS mechanism.

    One glitch I can think of is at least the Qt client, where we use the medium of connected notes for the est. block count, which is used to decide if we are yet up to date and such stuff.

  2. sipa commented at 3:08 PM on January 30, 2013: member

    We never use this information for any important logic; it's only a display issue.

    That said, some heuristics are probably possible to filter out meaningless values.

  3. laanwj commented at 3:11 PM on January 30, 2013: member

    The received node heights are put through a median filter for this reason. One or even two large outliers will not affect the displayed value in any way.

    There is no ddos potential at all, as the number is not and should not be used for anything critical.

  4. Diapolo commented at 3:15 PM on January 30, 2013: none

    Thanks :).

  5. Diapolo closed this on Jan 30, 2013

  6. MarcoFalke locked this on Sep 8, 2021
Contributors

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-21 18:16 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me