DIP Proposal: Dandelion++ Stem Submission for SPV/Light Clients #14
JohnnyLawDGB
started this conversation in
DIP Discussions
Replies: 1 comment
-
|
I support this integration. Solid plan. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
This DIP proposes extending DigiByte's existing Dandelion++ implementation to allow SPV (lightweight/mobile) wallet clients to submit transactions into the stem phase. Currently, Dandelion++ only benefits full-node operators — SPV wallet users get zero transaction-origin privacy from the protocol.
The Problem
When an SPV wallet sends a transaction to a connected full node, that full node (and any network observer) can trivially determine which IP address originated the transaction. The Dandelion++ stempool routing only kicks in for transactions the full node considers "locally originated" from its own wallet. SPV-submitted transactions bypass the stempool entirely and enter normal diffusion relay.
With DigiByte's 15-second block time and growing mobile wallet usage, an increasing majority of users gain zero benefit from the Dandelion++ infrastructure that full nodes are already maintaining.
Proposed Solution
A lightweight protocol extension:
dandelionsubmitmessage after verack. Full node responds withdandelionackif willing to accept stem submissions.MSG_DANDELION_TXinventory type. The full node routes them into its stempool and through the existing Dandelion++ relay machinery.Key Properties
-acceptspvstem=0Why This Matters
DigiByte is one of very few production chains shipping Dandelion++. Extending it to SPV clients would make DigiByte the first UTXO-chain cryptocurrency to offer stem-phase transaction privacy to lightweight wallet users. No Bitcoin, Litecoin, or Dogecoin wallet has this capability.
Draft DIP
Full specification: dip-johnnylaw-dandelion-spv.mediawiki
PR forthcoming. Looking for community feedback on the approach before formal submission.
cc @gto90
Beta Was this translation helpful? Give feedback.
All reactions