-
Notifications
You must be signed in to change notification settings - Fork 43
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR is looking good! There are a few suggestions along the code.
One thing that I didn't see and I believe it is missing is the cli option that can be used to delete the known nodes data during startup. Let me know when this logic is implemented and I'll do another pass on the PR!
src/test/java/net/consensys/orion/network/PersistentNetworkNodesTest.java
Show resolved
Hide resolved
On second thought I removed the acceptance test. It would be more meaningful to have a test with a load balancer in place and using docker. I will add env variables to this PR to speed up the work. |
Acceptance test passes locally. Please rerun the test? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGMT. I've added a single comment about reuse.
Here is the draft PR adding supporting for persistence of node information.
PersistentNetworkNodes
using the same backend, showing one sends the info to the other.Note I added env support for 2 config keys here. I will add all env support in a separate PR to reduce the mess.