Closed jannikluhn closed 5 years ago
First step of implementing discv5 is implementing the ENR format. The spec can be found here.
Add a class representing ENRs with methods to
Add an RLP sedes object to serialize/deserialize them. We can probably not just use rlp.Serializable as the number of fields isn't fixed.
rlp.Serializable
Related issue: support for sedes of objects with variable field length https://github.com/ethereum/pyrlp/issues/112 (no active work currently, but curious for input on the API)
What is wrong?
First step of implementing discv5 is implementing the ENR format. The spec can be found here.
How can it be fixed
Add a class representing ENRs with methods to
Add an RLP sedes object to serialize/deserialize them. We can probably not just use
rlp.Serializable
as the number of fields isn't fixed.