MarcoFalke
commented at 8:32 pm on May 8, 2019:
member
This removes an option that has no documented use case.
The option is on by default and can either be disabled directly or by setting -blocksonly (an undocumented debug option). Instead of disabling -whitelistrelay to not accept txs from whitelisted peers, the user shouldn’t whitelist peers in the first place.
net: Remove -whitelistrelayfad56ef5db
gmaxwell
commented at 8:49 pm on May 8, 2019:
contributor
This change would make it impossible to have a node that processes no unconfirmed transactions for security/resource usage purposes, but which still has peers which are whitelisted for the purpose of bypassing anti-DOS/resource-limits to increase reliability… which should be a standard config for a border node in front of a service that doesn’t need unconfirmed transactions.
This is a case where we’re suffering from white-listing being overloaded to mean multiple things. Is there actually a use case for accepting transactions when we’re otherwise configured to not accept transactions at all?
Regardless, I think this is going in the wrong direction: we should be narrowing the definition of whitelisting so that users can make more use of it, not widening it so that they can’t.
DrahtBot added the label
P2P
on May 8, 2019
DrahtBot added the label
Validation
on May 8, 2019
DrahtBot
commented at 5:57 pm on May 9, 2019:
member
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
Conflicts
Reviewers, this pull request conflicts with the following ones:
#15990 (Add tests and documentation for blocksonly by MarcoFalke)
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.
laanwj
commented at 2:57 pm on May 16, 2019:
member
There has been a long history around whitelisting and relay, I don’t think this should be removed, or at least needs much more discussion:
#7439 Add whitelistforcerelay to control forced relaying
#7106 Fix and improve relay from whitelisted peers
This is a metadata mirror of the GitHub repository
bitcoin/bitcoin.
This site is not affiliated with GitHub.
Content is generated from a GitHub metadata backup.
generated: 2025-07-14 00:13 UTC
This site is hosted by @0xB10C More mirrored repositories can be found on mirror.b10c.me