Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

[PAN-2560] Add LocalNode class #1489

Merged
merged 8 commits into from
May 23, 2019

Conversation

mbaxter
Copy link
Contributor

@mbaxter mbaxter commented May 23, 2019

PR description

Add LocalNode class to hold information about the local node that is not immediately available, but becomes available as the node starts up. This class is convenient because it allows us to pass a final dependency to classes that need local node data but are constructed before the node is fully up and running.

Arrays.asList(Capability.create("eth", 63)),
30303,
BytesValue.fromHexString("0x01"));
private final int p2pVersion = 5;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 to making the names of the parameters described in the code

@mbaxter mbaxter merged commit 36b3250 into PegaSysEng:master May 23, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants