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

Change EthNetworkConfig bootnodes to always be URIs #1027

Merged
merged 1 commit into from
Mar 3, 2019

Conversation

ajsutton
Copy link
Contributor

@ajsutton ajsutton commented Mar 3, 2019

PR description

Previously EthNetworkConfig.bootnodes was a list of Objects which were then cast to either URI or Peer creating complexity through the codebase and losing compile-time type safety. Switch them to always be URI to simplify things.

…ing either URI or Peer and needing a lot of casting.
Copy link
Contributor

@lucassaldanha lucassaldanha left a comment

Choose a reason for hiding this comment

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

LGTM

@ajsutton ajsutton merged commit b3eee20 into PegaSysEng:master Mar 3, 2019
@ajsutton ajsutton deleted the bootnode-generics branch March 3, 2019 23:46
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