-
Notifications
You must be signed in to change notification settings - Fork 38.7k
net: Restore default whitelistrelay to true #16631
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
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.
utACK, agree this also needs a more structural solution.
|
Is there something strange with travis? all PRs seems not passing. |
2433fc1 to
59542e8
Compare
|
NACK sorry, I think removing args shouldn't be done instantly. They should go through a depraction process and be removed after one major version has been released. Otherwise it could break compatibility. |
|
@emilengler this PR is precisely about restoring compatibility that I broke during previous PR. |
59542e8 to
2e35132
Compare
|
Concept ACK |
|
As @MarcoFalke suggested, I moved I also reformatted the |
|
ACK 2e35132, modulo missing
Yes, one more rebase should make that go away, see #16633. |
2e35132 to
751b28b
Compare
|
@Sjors oops, fixed the chmod, sorry for that. |
751b28b to
df0d847
Compare
|
|
df0d847 to
3b05f0f
Compare
|
I rebased and also fixed |
|
ACK 3b05f0f. nit, could split the moved code to a move-only commit. |
|
re-ACK 3b05f0f |
|
ACK 3b05f0f |
3b05f0f Reformat p2p_permissions.py (nicolas.dorier) ce7eac3 [Fix] The default whitelistrelay should be true (nicolas.dorier) Pull request description: I thought `whitelistrelay` default was `false` when it is `true`. The root of the issue come from the fact that all references to `DEFAULT_` are not in the scope of this file, so hard coding of default values are used everywhere in `net.cpp`. I think that in a separate PR we should fix that more fundamentally everywhere. ACKs for top commit: promag: ACK 3b05f0f. Sjors: re-ACK 3b05f0f Tree-SHA512: f4a75f986fa2adf1a5f1c91605e0d261f7ac5ac8535fb05437d83b8392dbcf5cc1a47d755adcf8ad8dc67a88de28060187200fd3ce06545261a5c7ec0fea831a
3b05f0f Reformat p2p_permissions.py (nicolas.dorier) ce7eac3 [Fix] The default whitelistrelay should be true (nicolas.dorier) Pull request description: I thought `whitelistrelay` default was `false` when it is `true`. The root of the issue come from the fact that all references to `DEFAULT_` are not in the scope of this file, so hard coding of default values are used everywhere in `net.cpp`. I think that in a separate PR we should fix that more fundamentally everywhere. ACKs for top commit: promag: ACK 3b05f0f. Sjors: re-ACK 3b05f0f Tree-SHA512: f4a75f986fa2adf1a5f1c91605e0d261f7ac5ac8535fb05437d83b8392dbcf5cc1a47d755adcf8ad8dc67a88de28060187200fd3ce06545261a5c7ec0fea831a
Github-Pull: bitcoin#16631 Rebased-From: ce7eac3
Github-Pull: bitcoin#16631 Rebased-From: 3b05f0f
Summary: This is a backport of Core [[bitcoin/bitcoin#16631 | PR16631]] Test Plan: ninja all check-all Reviewers: #bitcoin_abc, Fabien Reviewed By: #bitcoin_abc, Fabien Differential Revision: https://reviews.bitcoinabc.org/D5940
3b05f0f Reformat p2p_permissions.py (nicolas.dorier) ce7eac3 [Fix] The default whitelistrelay should be true (nicolas.dorier) Pull request description: I thought `whitelistrelay` default was `false` when it is `true`. The root of the issue come from the fact that all references to `DEFAULT_` are not in the scope of this file, so hard coding of default values are used everywhere in `net.cpp`. I think that in a separate PR we should fix that more fundamentally everywhere. ACKs for top commit: promag: ACK 3b05f0f. Sjors: re-ACK 3b05f0f Tree-SHA512: f4a75f986fa2adf1a5f1c91605e0d261f7ac5ac8535fb05437d83b8392dbcf5cc1a47d755adcf8ad8dc67a88de28060187200fd3ce06545261a5c7ec0fea831a
I thought
whitelistrelaydefault wasfalsewhen it istrue.The root of the issue come from the fact that all references to
DEFAULT_are not in the scope of this file, so hard coding of default values are used everywhere innet.cpp. I think that in a separate PR we should fix that more fundamentally everywhere.