go-ethereum/p2p
iczc b3a7c9b691
p2p: define DiscReason as uint8 (#164)
p2p: define DiscReason as uint8 (#24507)

All other implementations store disconnect reasons as a single byte,
so go-ethereum should do it too.

Co-authored-by: Felix Lange <fjl@twurst.com>
2022-10-12 20:05:56 +08:00
..
discover Add goimports lint (#54) 2022-03-24 16:53:59 +08:00
dnsdisc Add goimports lint (#54) 2022-03-24 16:53:59 +08:00
enode Add goimports lint (#54) 2022-03-24 16:53:59 +08:00
enr Add goimports lint (#54) 2022-03-24 16:53:59 +08:00
msgrate Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
nat Add goimports lint (#54) 2022-03-24 16:53:59 +08:00
netutil Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
nodestate Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
rlpx Add goimports lint (#54) 2022-03-24 16:53:59 +08:00
simulations Add goimports lint (#54) 2022-03-24 16:53:59 +08:00
tracker Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
dial.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
dial_test.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
message.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
message_test.go p2p: move rlpx into separate package (#21464) 2020-09-22 10:17:39 +02:00
metrics.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
peer.go p2p: define DiscReason as uint8 (#164) 2022-10-12 20:05:56 +08:00
peer_error.go p2p: define DiscReason as uint8 (#164) 2022-10-12 20:05:56 +08:00
peer_test.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
protocol.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
server.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
server_test.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
transport.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
transport_test.go Add goimports lint (#54) 2022-03-24 16:53:59 +08:00
util.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
util_test.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00