Conversation
|
Network using Netty added. TODO:
|
|
TODO: Buckets according to spec |
|
@mkalinin Finished it. Please, review. |
|
lgtm. I have a minor request to review/accept #210 which renames two methods. |
Refactor method name to distinguish by parameter name
| System.out.println(String.format("Node %s started", nodePair1.getValue1().getNodeId())); | ||
| NodeRecord nodeRecord1 = nodePair1.getValue1(); | ||
| NodeRecord nodeRecord2 = | ||
| NODE_RECORD_FACTORY_NO_VERIFICATION.fromBase64( |
There was a problem hiding this comment.
It would be convenient if one may change parameters of this node like IP address. I had to replace this base64 line to make test run on Mac OS as it handles docker in a docker-machine instance with its own network interface and addresses.
There was a problem hiding this comment.
Yeah, did this, plus refactored a bit NodeRecord creation
mkalinin
left a comment
There was a problem hiding this comment.
I am in favor of merging this PR and making further refactor/updates via separate requests. I have a suggestion to rename discovery module to discv5 for clarity.
@shahankhatch @zilm13 WDYT?
P.S. interop test looks fantastic! There is a little fix that could increase its usability.
|
@mkalinin I don't like |
I agree with this reasoning. |
|
This particular implementation is |
…for Geth node in interop test.
…v/beacon-chain-java into feature/discv5-client
Implementation of this:
https://github.com/ethereum/devp2p/blob/master/discv5/discv5.md
Still in work, need to finish some things, add network, plus refactoring especially around messageHandler <-> Context, the system is raw.