status-im / nim-eth

Common utilities for Ethereum
https://nimbus.status.im
Apache License 2.0
81 stars 30 forks source link

Rework ENR code to solve several shortcomings #706

Open kdeme opened 2 months ago

kdeme commented 2 months ago

There are several issues in the current ENR code, to name some:

Additionally, there is currently no easy API to set the ip6, tcp6 and udp6 reserved fields. It is only possible through the custom extraFields, which doesn't limit these reserved keys to the correct value type.

kdeme commented 2 months ago

Part 1: https://github.com/status-im/nim-eth/pull/707

More parts to do: