You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It should be a trivial fix (Go side), but I don't know if simply refactoring rpcNode has outside effects too, like screwing up the discovery protocol wire format, or only touches the udp packet. @fjl Any input on this?
The text was updated successfully, but these errors were encountered:
e699254 caused the iota assigned values of LvlCrit through LvlTrace to change from 0 to 5 to 1 to 6. (ethereum#815)
This restores the original enumerated const values by moving LvlDiscard after all the iota assigned constants.
Usage of auto-increment enumerations does not work the same way in golang as it does in C/C++ and its behaviour is detailed in the link below.
https://go.dev/ref/spec#Iota
Currently the RLP encoder drops the
Node.DiscPort
field, and during decoding it injects theTCPPort
into theDiscPort
: https://github.com/ethereum/go-ethereum/blob/develop/p2p/discover/node.go#L125It should be a trivial fix (Go side), but I don't know if simply refactoring
rpcNode
has outside effects too, like screwing up the discovery protocol wire format, or only touches theudp
packet. @fjl Any input on this?The text was updated successfully, but these errors were encountered: