1 minor finding · 4 suggestions
Findings
[minor] · Wallet rebroadcast can later announce privately broadcast transactions to all peers
The guide overstates origin concealment: an unconfirmed transaction involving a loaded wallet may be rebroadcast to all peers when wallet broadcasting is enabled.
Location: doc/privacy.md:14 (head).
Details and suggested fix
If a transaction submitted with sendrawtransaction under -privatebroadcast=1 spends from or pays to a loaded wallet, the wallet adds it when it returns to the local mempool. If it remains unconfirmed until the wallet’s 12–36-hour resend timer fires, MaybeResendWalletTxs resubmits it with MEMPOOL_AND_BROADCAST_TO_ALL. Because the transaction is already in the mempool, BroadcastTransaction announces it to every transaction-relay peer, including clearnet peers. Nodes do not normally rebroadcast non-wallet transactions, so this can identify the node as a likely party to the transaction. The transaction must remain unconfirmed until the resend; quickly confirmed transactions avoid this pathway. Wallet broadcasting defaults to enabled, and PR #36607 tracks this known non-private pathway. Describe private broadcast as concealing the transaction’s origin during the initial broadcast, then caveat that a loaded wallet may later rebroadcast it to all peers when -walletbroadcast=1. Running without a wallet or with -walletbroadcast=0 avoids this pathway. Also, issue #34476 is closed, and its closing note says wallet support needs separate tracking; link the Private Broadcast label instead to point readers to open work.
Optional improvements
[suggestion] · Scope paragraph omits submitpackage’s standard broadcast behavior
The scope paragraph may lead package submitters to assume -privatebroadcast applies, although submitpackage broadcasts package transactions to all peers.
Location: doc/privacy.md:30 (head).
Details and suggested fix
The scope paragraph names wallet RPCs but omits submitpackage, another raw-transaction submission RPC. submitpackage adds the package to the local mempool and calls BroadcastTransaction with MEMPOOL_AND_BROADCAST_TO_ALL, without checking -privatebroadcast. A CPFP package, such as a low- or zero-fee parent that sendrawtransaction would reject on its own, therefore uses ordinary announce-to-all broadcast. Resubmitting an already privately broadcast transaction through submitpackage also announces it to all peers. PR #36607 lists this as a known pathway. Name submitpackage alongside the wallet RPCs as using standard broadcast regardless of the option.
[suggestion] · Private broadcast destinations are described too narrowly
The guide describes a single Tor or I2P connection, but each transaction uses several peers, including potentially clearnet peers reached through Tor.
Location: doc/privacy.md:12 (head).
Details and suggested fix
For each transaction, the node requests three connections. PickNetwork selects randomly among onion, I2P, and, once an outbound Tor connection has succeeded, IPv4 or IPv6 peers reached through the Tor proxy. Thus, private broadcast can involve multiple recipients, including ordinary clearnet nodes reached through a Tor exit. Both details matter to readers’ trust model. Match the RPC help’s description of dedicated, short-lived connections to Tor or I2P peers or IPv4/IPv6 peers via the Tor network.
[suggestion] · Prerequisites omit a Tor setup route, the -connect conflict, and what reachability means
The guide omits startup errors users can encounter and may imply that a successful sendrawtransaction confirms Tor or I2P connectivity.
Location: doc/privacy.md:25 (head).
Details and suggested fix
The prerequisites name -proxy, -onion, and -i2psam, but omit that Tor can also become reachable through -listenonion and -torcontrol when the SOCKS listener is retrieved from the Tor daemon. The node refuses to start if neither Tor nor I2P is reachable or can become reachable, and also refuses to start when -connect is set. It suggests -maxconnections=0 -addnode=... instead, although doc/tor.md presents -connect as a Tor option. Here, “reachable” describes configuration state, not a live connectivity check: sendrawtransaction checks g_reachable_nets, and a syntactically valid -i2psam or -proxy setting counts even if nothing is listening. If the proxy is down, the RPC can succeed and queue the transaction while connection attempts retry in the background. Add the Tor control route and explain the -connect incompatibility and suggested alternative. Clarify that RPC success means the transaction was queued for private broadcast; getprivatebroadcastinfo shows whether it was sent and acknowledged.
[suggestion] · Privacy guide omits the -proxyrandomize caveat
Users who disable -proxyrandomize receive no guidance that private-broadcast Tor circuits may be correlated with their other Tor connections.
Location: doc/privacy.md:25 (head).
Details and suggested fix
When private broadcast is enabled, Tor is or may become reachable, and -proxyrandomize is disabled, startup warns that private-broadcast circuits may be correlated with the node’s other Tor connections and recommends -proxyrandomize=1 for maximum privacy. The option defaults to enabled, and the proxy discovered through torcontrol always isolates streams, so this caveat applies only when users explicitly disable it. Add a sentence advising Tor users to keep the default -proxyrandomize=1; disabling it may allow circuit correlation with other Tor activity. This concern is correlation with other Tor connections, not disclosure of the real IP address.