mirror of
https://github.com/bitcoin/bitcoin
synced 2026-12-04 10:47:36 +00:00
WIP: doc: Add privacy.md consolidating network privacy recommendations #35858
No reviewers
Labels
No labels
Android
Backport
Block storage
Brainstorming
Bug
Build system
CI failed
Consensus
Data corruption
Descriptors
Docs
DrahtBot Guix build requested
Feature
Fuzzing
GUI
Good First Review
IPC
Insufficient Review
Kernel
Linux/Unix
Mempool
Mining
Needs Backport (31.x)
Needs Backport (32.x)
Needs Benchmark
Needs Conceptual Review
Needs backport (30.x)
Needs rebase
Needs release note
Net
P2P
PSBT
Privacy
Private Broadcast
Questions and Help
RPC/REST/ZMQ
Refactoring
Resource usage
Review club
Scripts and tools
Settings
TX fees and policy
Tests
Tracking Issue
UTXO Db and Indexes
Up for grabs
Upstream
Utils/log/libs
Validation
Waiting for author
Wallet
Windows
good first issue
interfaces
macOS
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
bitcoin/bitcoin!35858
Loading…
Reference in a new issue
No description provided.
Delete branch "doc/privacy"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Suggested by ismaelsadeeq in #29415.
Creates
doc/privacy.mdas a single home for Bitcoin Core's privacy tools for transaction broadcasting and network connectivity.Commit 1: Move the "Privacy recommendations" sections from
doc/tor.mdanddoc/i2p.mdintoprivacy.md, replacing them with pointers. The two files contained the same multi-network unlinkability warning duplicated verbatim; this consolidation removes the duplication. No content changes.Commit 2: Add a "Transaction broadcasting privacy" section documenting
-privatebroadcast, its prerequisites (Tor or I2P), current scope (sendrawtransactiononly, with a link to the tracking issue for planned wallet-level support), and the related RPCs (getprivatebroadcastinfo,abortprivatebroadcast).The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
External sites
Reviews
See the guideline and AI policy for information on the review process.
If your review is incorrectly listed, please copy-paste
<!--meta-tag:bot-skip-->into the comment that the bot should ignore.Conflicts
No conflicts as of last run.
Gently pinging @ismaelsadeeq and @vasild — this follows up on the new
privacy.mdconsolidation suggested during review of #29415, and covers the-privatebroadcastfeature from that PR. Happy to adjust scope or wording based on your feedback.Concept ACK
IIRC this came from a study of nodes running over both IPv4 and Tor. As I pointed out in the PR that added this note, people running their node over Tor are probably much more likely to use I2P as a second network than clearnet (I can go into why if needed). However, that review and other suggestions from me were ignored.
It would thus be more helpful to describe (a) what those "certain conditions" are, and (b) clarify the more frequently used case of Tor + I2P
As-is, (and it isn't your fault), I think this note is incomplete (and perhaps misleading).
Ok, I see that the thread you are referring to is this one. I agree that we could expand a bit on those circumstances and the risks that would be involved. I'll investigate a bit and see if I can come up with something else to add that I hope could help. Thanks!
🟠 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).🔵 Suggestion · Scope paragraph omits
submitpackage’s standard broadcast behaviorThe scope paragraph may lead package submitters to assume
-privatebroadcastapplies, althoughsubmitpackagebroadcasts package transactions to all peers.Location:
doc/privacy.md:30(head).🔵 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).🔵 Suggestion · Prerequisites omit a Tor setup route, the
-connectconflict, and what reachability meansThe guide omits startup errors users can encounter and may imply that a successful
sendrawtransactionconfirms Tor or I2P connectivity.Location:
doc/privacy.md:25(head).🔵 Suggestion · Privacy guide omits the
-proxyrandomizecaveatUsers who disable
-proxyrandomizereceive no guidance that private-broadcast Tor circuits may be correlated with their other Tor connections.Location:
doc/privacy.md:25(head).Review coverage was incomplete.
Reviewed:
1b07681dfebf· Full review report · Previous reportsDrafted due to a new approach defined in https://github.com/bitcoin/bitcoin/pull/36608, perhaps would be better to close this.
ACK
1b07681dfeShow Signature
vasild's public key is on openpgp.org
It is not "any" peer. That is, a single node being a recipient just sees an incoming transaction and they cannot tell if this is the originator or somebody relaying it. Maybe reword to something like:
This allows
any peeran actor with many connections to many nodes to correlate...Even if a node runs only on Tor+I2P and thus has concealed their IP address, it still has some identity which is protected by
-privatebroadcast.I closed the issue: https://github.com/bitcoin/bitcoin/issues/34476#issuecomment-6012629426
The core of the claim is that our node is meant to act the same as any other, that we will not tell our peers about the tx until we hear about it over p2p. We don't know if it reaches the "wider network", as the recipient may be an adversary. We just don't want our node to act differently than any other node.
That PR has now been closed.