-
Notifications
You must be signed in to change notification settings - Fork 879
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
WIP: add a new message to communicate a private alternative connection address #7422
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Max Rantil <rantil@pm.me>
Signed-off-by: Max Rantil <rantil@pm.me>
Signed-off-by: Max Rantil <rantil@pm.me>
…atabase Signed-off-by: Max Rantil <rantil@pm.me>
Thanks @maxrantil for the proposal. I read through the description, and I'm not sure I understand the rationale for this change. Is this intended as a way to say "hey, if we get disconnected, this is how you can reach me again", or is the intention something else? Just thought I'd ask this before looking at the code itself, wanting to start with the right mental model. |
Hi @cdecker , as you might know, this project is part of Summer of Bitcoin and this is the project description:
I think this answers your question, right? |
Oh, cool, yeah I hadn't made the connection right away. Thanks for sharing the description, it's much clearer now |
f6bacf0
to
24018af
Compare
691e316
to
7d27ba2
Compare
provide alt addrsses only the connection_out will utilize the alt addr. Signed-off-by: Max Rantil <rantil@pm.me>
Signed-off-by: Max Rantil <rantil@pm.me>
This is a DRAFT for early feedback on the process.
This PR introduces a new configuration parameter,
alt_addr
, which allows specifying an alternative address for peer connections.Current Limitations
Future Work
This PR represents a Minimum Viable Product for the alternative address feature. There are several key areas identified for future enhancement:
Request for Feedback
I am seeking feedback on the following:
alt_addr
for incoming connections (connection_in) would be greatly appreciated.Thank you for your time and assistance. Your feedback will be invaluable in refining this feature and ensuring its robustness in production environments.
Example usage and logs demonstrating the current implementation are provided below for reference:
startup_regtest.sh
script:Thank you for considering this PR. I look forward to your feedback and suggestions.