-
-whitelist
only impacts inbound nodes (see #9923). This is obvious in the context of allowing those nodes to connect to you, but there are additional whitelist features where this is less obvious, such as mempool relay behavior. -
whitelistrelay
(on by default) explains that-blocksonly
makes an exception for transactions from whitelisted nodes, but it wasn’t documented (nor obvious imo) the other way around. See also #15984 (comment)
doc: mention whitelist is inbound, and applies to blocksonly #16555
pull Sjors wants to merge 1 commits into bitcoin:master from Sjors:2019/08/doc-whitelistrelay changing 1 files +3 −3-
Sjors commented at 10:50 am on August 6, 2019: member
-
laanwj added the label Docs on Aug 6, 2019
-
MarcoFalke added this to the milestone 0.19.0 on Aug 6, 2019
-
in src/init.cpp:366 in d00498d83f outdated
362@@ -363,7 +363,7 @@ void SetupServerArgs() 363 gArgs.AddArg("-blocknotify=<cmd>", "Execute command when the best block changes (%s in cmd is replaced by block hash)", ArgsManager::ALLOW_ANY, OptionsCategory::OPTIONS); 364 #endif 365 gArgs.AddArg("-blockreconstructionextratxn=<n>", strprintf("Extra transactions to keep in memory for compact block reconstructions (default: %u)", DEFAULT_BLOCK_RECONSTRUCTION_EXTRA_TXN), ArgsManager::ALLOW_ANY, OptionsCategory::OPTIONS); 366- gArgs.AddArg("-blocksonly", strprintf("Whether to reject transactions from network peers. Transactions from the wallet or RPC are not affected. (default: %u)", DEFAULT_BLOCKSONLY), ArgsManager::ALLOW_ANY, OptionsCategory::OPTIONS); 367+ gArgs.AddArg("-blocksonly", strprintf("Whether to reject transactions from network peers. Transactions from the wallet, RPC and whitelisted inbound peers are not affected. (default: %u)", DEFAULT_BLOCKSONLY), ArgsManager::ALLOW_ANY, OptionsCategory::OPTIONS);
MarcoFalke commented at 1:52 pm on August 6, 2019:whitelistrelay must be on as well for it to work.
At some point, I think we should explain parameter interaction in a document and not in the per-option help text
Sjors commented at 11:55 am on August 15, 2019:Rebased and reworded to “relay whitelisted”.Sjors force-pushed on Aug 15, 2019DrahtBot commented at 5:50 am on August 16, 2019: memberThe following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
Conflicts
Reviewers, this pull request conflicts with the following ones:
- #16629 (doc: Add documentation for the new whitelist permissions by NicolasDorier)
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.
NicolasDorier commented at 8:21 am on August 16, 2019: contributorConcept ACK, will rebase my PR later on this one.NicolasDorier commented at 8:40 am on August 16, 2019: contributorBtw, I just saw thanks to this PR that the default ofwhitelistrelay
istrue
, while I made itfalse
in #16248 . Making a fix.NicolasDorier commented at 8:50 am on August 16, 2019: contributor[doc] mention whitelist is inbound, and applies to blocksonly 20ea9ef6ceSjors force-pushed on Aug 16, 2019Sjors commented at 1:59 pm on August 16, 2019: member@NicolasDorier glad you caught that. Rebased for Travis fix.NicolasDorier commented at 9:26 am on August 19, 2019: contributorACK, will add documentation about the permissions flag after this one get merged.fanquake renamed this:
[doc] mention whitelist is inbound, and applies to blocksonly
doc: mention whitelist is inbound, and applies to blocksonly
on Aug 19, 2019MarcoFalke referenced this in commit 1d74693e8a on Aug 19, 2019MarcoFalke merged this on Aug 19, 2019MarcoFalke closed this on Aug 19, 2019
Sjors deleted the branch on Aug 19, 2019sidhujag referenced this in commit 84228bdcc4 on Aug 19, 2019deadalnix referenced this in commit 1118027f79 on Oct 19, 2020zkbot referenced this in commit ba4eb241e7 on Mar 31, 2021vijaydasmp referenced this in commit df0665137e on Oct 27, 2021vijaydasmp referenced this in commit 2e8b792965 on Oct 28, 2021vijaydasmp referenced this in commit 7b75d5c9df on Oct 29, 2021vijaydasmp referenced this in commit b113e72ecc on Oct 30, 2021vijaydasmp referenced this in commit 53f792edd1 on Nov 2, 2021vijaydasmp referenced this in commit 514c0bf08b on Nov 7, 2021vijaydasmp referenced this in commit 221e4769e8 on Nov 11, 2021vijaydasmp referenced this in commit 757494e339 on Nov 12, 2021vijaydasmp referenced this in commit 4e4e417ed2 on Nov 13, 2021vijaydasmp referenced this in commit 85a8810b69 on Nov 14, 2021vijaydasmp referenced this in commit 313a4606a6 on Nov 14, 2021vijaydasmp referenced this in commit 52a577891e on Nov 16, 2021DrahtBot locked this on Dec 16, 2021
github-metadata-mirror
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-13 18:12 UTC
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-13 18:12 UTC
This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me
More mirrored repositories can be found on mirror.b10c.me