diff options
Diffstat (limited to 'peer.go')
-rw-r--r-- | peer.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -23,6 +23,9 @@ const ( type DiscReason byte const ( + // Values are given explicitly instead of by iota because these values are + // defined by the wire protocol spec; it is easier for humans to ensure + // correctness when values are explicit. DiscReRequested = 0x00 DiscReTcpSysErr = 0x01 DiscBadProto = 0x02 |