-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: update security parameters when updating the addressbook #1901
feat: update security parameters when updating the addressbook #1901
Conversation
7caa747
to
6b606d7
Compare
Hey @matteriben, thank you for your contribution here once again 🙂 |
I'd like to test using TLS with a network other than {mainnet, testnet, previewnet}. To do so, I need a way to provide the The test case provides an example where the client is configured from an addressbook constructed for some alternative network.
|
[This concern has been addressed] @thenswan This change may be problematic as it stands currently since it overwrites |
76aec80
to
5e50482
Compare
@thenswan I updated this PR and so that the old I also updated the test to verify this case. |
@matteriben thank you for provided description and example. I reviewed everything and have a question: |
@thenswan issue #1569 is related, but not the same issue. In issue #1569 the primary concern is configure the client to use a specific node which exists in the predefined address book. Having the ability to load a custom address book (including security parameters) would solve both issue #1569 and issue #1900. PR #1570 demonstrates how to load a predefined address book then narrow the network to a single node. This is sufficient for issue #1569 but not issue #1900 because issue #1569 is dealing with nodes that exist in one of the predefined networks, where issue #1900 is dealing with a custom network that is not predefined. |
189042e
to
ebccf32
Compare
ebccf32
to
196ce32
Compare
Signed-off-by: Matt Riben <matt.riben@swirldslabs.com>
196ce32
to
6caca18
Compare
Quality Gate passedIssues Measures |
Signed-off-by: Ivan Ivanov <ivanivanov.ii726@gmail.com>
Signed-off-by: Ivan Ivanov <ivanivanov.ii726@gmail.com>
Signed-off-by: Ivan Ivanov <ivanivanov.ii726@gmail.com>
Quality Gate passedIssues Measures |
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.
LGTM
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.
LGTM
Description:
Update security parameters when updating the addressbook
Fixes #1900