Skip to content

Outdated comment for confidence variable in autonat #1890

@diegomrsantos

Description

@diegomrsantos

Location

autonat.go file
lines 37 - 42

// Reflects the confidence on of the NATStatus being private, as a single
// dialback may fail for reasons unrelated to NAT.
// If it is <3, then multiple autoNAT peers may be contacted for dialback
// If only a single autoNAT peer is known, then the confidence increases
// for each failure until it reaches 3.
confidence   int

Description

It seems that initially the confidence variable was used for private status, now it seems to measure the confident in the current status, but the comments haven't been updated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Low: Not priority right now

    Type

    No type

    Projects

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions