Skip to content

Commit 2630d8e

Browse files
committed
doc: scope claims about private broadcast feature
Reframe in terms of risk reduction rather than absolutes
1 parent 5ca3773 commit 2630d8e

3 files changed

Lines changed: 9 additions & 7 deletions

File tree

‎src/init.cpp‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -722,6 +722,7 @@ void SetupServerArgs(ArgsManager& argsman, bool can_listen_ipc)
722722
strprintf(
723723
"Broadcast transactions submitted via sendrawtransaction RPC using short-lived "
724724
"connections through the Tor or I2P networks, without putting them in the mempool first. "
725+
"This provides best-effort concealment of the transaction's origin. "
725726
"Transactions submitted through the wallet are not affected by this option "
726727
"(default: %u)",
727728
DEFAULT_PRIVATE_BROADCAST),
@@ -2383,7 +2384,7 @@ bool AppInitMain(NodeContext& node, interfaces::BlockAndHeaderTipInfo* tip_info)
23832384
if (!proxyRandomize && (g_reachable_nets.Contains(NET_ONION) || onion_may_become_reachable)) {
23842385
InitWarning(_("Private broadcast of own transactions requested (-privatebroadcast) and "
23852386
"-proxyrandomize is disabled. Tor circuits for private broadcast connections "
2386-
"may be correlated to other connections over Tor. For maximum privacy set "
2387+
"may be correlated to other connections over Tor. To reduce this risk, set "
23872388
"-proxyrandomize=1."));
23882389
}
23892390
}

‎src/rpc/mempool.cpp‎

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -88,12 +88,13 @@ static RPCMethod sendrawtransaction()
8888
"privacy by leaking the transaction's origin, as nodes will normally not\n"
8989
"rebroadcast non-wallet transactions already in their mempool.\n"
9090

91-
"\nIf -privatebroadcast is enabled, then the transaction will be sent only via\n"
92-
"dedicated, short-lived connections to Tor or I2P peers or IPv4/IPv6 peers\n"
93-
"via the Tor network. This conceals the transaction's origin. The transaction\n"
94-
"will only enter the local mempool when it is received back from the network.\n"
91+
"\nIf -privatebroadcast is enabled, then the transaction will be sent via\n"
92+
"dedicated, short-lived connections to Tor or I2P peers, or to IPv4/IPv6 peers\n"
93+
"via the Tor network. This provides best-effort concealment of the transaction's origin.\n"
94+
"Submission does not itself add the transaction to the local mempool; normal\n"
95+
"mempool acceptance and relay apply when it is received back from the network.\n"
9596
"The private broadcast queue is bounded: when it is full, this RPC fails and\n"
96-
"the transaction is not scheduled, until an existing one completes or is\n"
97+
"the transaction is not scheduled until an existing one completes or is\n"
9798
"aborted. Use getprivatebroadcastinfo to inspect the queue and abortprivatebroadcast to abort.\n"
9899

99100
"\nA specific exception, RPC_TRANSACTION_ALREADY_IN_UTXO_SET, may throw if the transaction cannot be added to the mempool.\n"

‎test/functional/feature_config_args.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ def test_privatebroadcast(self):
449449
self.stop_node(0, expected_stderr=(
450450
"Warning: Private broadcast of own transactions requested (-privatebroadcast) and "
451451
"-proxyrandomize is disabled. Tor circuits for private broadcast connections may "
452-
"be correlated to other connections over Tor. For maximum privacy set -proxyrandomize=1."))
452+
"be correlated to other connections over Tor. To reduce this risk, set -proxyrandomize=1."))
453453

454454
def test_ignored_conf(self):
455455
self.log.info('Test error is triggered when the datadir in use contains a bitcoin.conf file that would be ignored '

0 commit comments

Comments
 (0)