Dandelion

From claude-dev-suite/claude-dev-suite · View interactive version

Dandelion is an AI agent skill from the GitHub repository claude-dev-suite/claude-dev-suite. Dandelion++ (BIP156): tx broadcast privacy. Stem phase (forward to one peer) → fluff phase (gossip to all). Hides origin IP. USE WHEN: evaluating tx-broadcast privacy, implementing Dandelion- aware relay logic.

How to use this skill

Skill file

Dandelion++ (BIP156)

A tx broadcast privacy enhancement. Without Dandelion, tx broadcast

to all your peers immediately = first peer with chain analytics can

infer your IP.

Mechanism

Two phases, run over an anonymity graph that is rebuilt every

~10 min on average (an "epoch"). Routing is fixed per epoch, not

drawn per transaction.

Stem phase (anonymity)

destinations (DANDELION_MAX_DESTINATIONS = 2) and maps every

inbound peer to one of them.

same destination for the whole epoch ("per-inbound-edge"

routing). Picking the next hop at random per transaction

instead is what enables the fingerprint attack BIP156 avoids.

During stem, only the chain of forwarders sees the tx.

Fluff phase (broadcast)

into a typical tx with probability q = 10% — a coin flip

per transmission.

epoch** (diffuser or relayer, from a hash of the node's own

identity and the epoch number), so the outcome does not depend

on the transaction.

propagates network-wide via standard gossip.

Privacy benefit

origin.

position was the source.

Implementation status

header); the Dandelion++ paper is the 2018 item.

Closed in the BIPs repo README (checked September 2026); the

mainline tx relay path is still plain inv flooding.

Core (dandelion-org/bitcoin), never merged upstream. Outside

Bitcoin, Grin and Monero implement Dandelion++ natively (both

present on master, checked September 2026). btcsuite/btcd

carries no Dandelion code, commits or issues (checked September

2026).

Private broadcast below.

Why it was never adopted

can defeat.

via timing).

Private broadcast (Bitcoin Core 31.0+)

Core 31.0 (19 April 2026) added -privatebroadcast, a boolean node

option, default false (checked on master, September 2026). When

enabled, txs submitted via sendrawtransaction are broadcast over

short-lived connections through Tor or I2P only, and are not put

in the local mempool first.

Two privacy properties, per the 31.0 release notes:

  1. The originator's IP address is never known to the recipients.
  2. Two otherwise unrelated txs from the same originator are not

linkable — a separate connection per transaction is used.

Introspection/control RPCs, also new in 31.0:

broadcast.

broadcast queue.

Constraints (from init.cpp on master, September 2026):

only covers sendrawtransaction.

connections to randomly chosen Tor/I2P peers); use

-maxconnections=0 -addnode=... instead.

broadcast may then correlate with other Tor connections.

(MAX_PRIVATE_BROADCAST_CONNECTIONS); further ones pause.

Upgrade note: 31.0 leaked the originator IP — under certain

circumstances connections were made over clearnet rather than the

enabled privacy network. Fixed in 31.1 (July 2026). Do not rely

on -privatebroadcast on 31.0.

Workarounds in production

Beyond (or without) -privatebroadcast, best practice for broadcast

privacy:

Tor-only setups achieve stronger broadcast privacy than Dandelion++

would have in practice.

See also

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.