vacp2p / research

Thinking in code
MIT License
62 stars 4 forks source link

Research discv5 Blocker: ENR lookup #27

Closed decanus closed 4 years ago

decanus commented 4 years ago

Problem

It currently seems like there is an issue with finding a specific field in ENRs, although it gets added correctly to the ENR itself, when a node ends up doing a lookup and checks to see if the field exists it never does.

Acceptance Criteria

This bug is resolved investigated and resolved nim-eth. Finally the test is rexecuted using this fixed version providing more insight.

Notes

oskarth commented 4 years ago

Motivation is missing here. The reason for doing something like this is that you don't have to connect to all nodes, but can be aware of them in terms of what you get as response.

As a back of the envelope calc, you'd get an order of magnitude of more nodes based on being aware of their ENR vs having to connect to them specifically. More precise estimates can probably be gathered here, depending on specific Kad configuration.

oskarth commented 4 years ago

Why was this closed?

decanus commented 4 years ago

@oskarth because the ENR issue was resolved.

oskarth commented 4 years ago

It'd be good with a comment saying what has changed and link to relevant issue