Bitcoin Forum
May 07, 2024, 11:56:00 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: dust removal idea  (Read 932 times)
wingspan (OP)
Newbie
*
Offline Offline

Activity: 54
Merit: 0


View Profile
August 12, 2013, 06:40:33 AM
 #1

if this idea helps, I'm glad, if not, moderator can trash this topic - no hurt feelings.

regarding dust in the blockchain, I propose an enhancement to the wallet code that automatically submits non-fee transactions sending all 30-day old dust to 1) another address in that wallet that isn't dusty/empty, or to 2) the bitcoin foundation donation address.  There are around 810 thousand addresses with dust currently.  These non-fee transactions would eventually empty those dusty addresses...that then can be pruned out of the blockchain.
1715126160
Hero Member
*
Offline Offline

Posts: 1715126160

View Profile Personal Message (Offline)

Ignore
1715126160
Reply with quote  #2

1715126160
Report to moderator
1715126160
Hero Member
*
Offline Offline

Posts: 1715126160

View Profile Personal Message (Offline)

Ignore
1715126160
Reply with quote  #2

1715126160
Report to moderator
Whoever mines the block which ends up containing your transaction will get its fee.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715126160
Hero Member
*
Offline Offline

Posts: 1715126160

View Profile Personal Message (Offline)

Ignore
1715126160
Reply with quote  #2

1715126160
Report to moderator
1715126160
Hero Member
*
Offline Offline

Posts: 1715126160

View Profile Personal Message (Offline)

Ignore
1715126160
Reply with quote  #2

1715126160
Report to moderator
1715126160
Hero Member
*
Offline Offline

Posts: 1715126160

View Profile Personal Message (Offline)

Ignore
1715126160
Reply with quote  #2

1715126160
Report to moderator
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218
Merit: 1079


Gerald Davis


View Profile
August 12, 2013, 06:42:38 AM
 #2

People can make any tx they want however you can't force a miner to include that tx.

So it is both "solved" and not solved.  There is no central authority which could force a resolution.  If people want to make dust consolidation tx they can and if miners want to mine them they can.
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218
Merit: 1079


Gerald Davis


View Profile
August 12, 2013, 06:58:39 AM
 #3

Wait I should be force to send my bitcoins even if it is dust, to an organization I disagree with, without my approval. I think you should goto paypal they would love this idea.

Did you jump right to CHOICE #2 and miss CHOICE #1?
wingspan (OP)
Newbie
*
Offline Offline

Activity: 54
Merit: 0


View Profile
August 12, 2013, 07:52:24 AM
 #4

No. I can read. But bitcoins shouldn't be moved without any approval Wink
I agree, approval is core. To account for that, how about offering the user an "opt-in" option to turn the "feature" on for their wallet, plus make the "option #2 address" be a fill-in field.  Dust could be defined as 1/100th of a normal Tx-fee...so that as BTCs go up in value, the amount deemed "dusty" would stay insignificant in value.  The wallet could popup a tip every month or so suggesting the user should take advantage of the "dust cleanup opt-in" option as a way to keep the blockchain cleaner/faster for everyone.  Tips can be "turned off", too.
Would that be helpful?
justusranvier
Legendary
*
Offline Offline

Activity: 1400
Merit: 1009



View Profile
August 12, 2013, 08:58:25 AM
 #5

A better solution would be to change the default relaying rules and coin selection policies to favour (in the form of lower minimum fees) transactions which shrink the UTXO set.

Then clients could be configured to perform dust collection by automatically including dust outputs as inputs to other transactions, assuming the user doesn't mind the privacy loss this represents.
domob
Legendary
*
Offline Offline

Activity: 1135
Merit: 1166


View Profile WWW
August 12, 2013, 10:20:25 AM
 #6

A better solution would be to change the default relaying rules and coin selection policies to favour (in the form of lower minimum fees) transactions which shrink the UTXO set.

I like this idea.  I create dust collecting transactions for my wallets myself manually, and while they do get mined at a reasonable time even without transaction fees at the moment, I'm not sure whether this will also be the case in a year or so.  Believing that this dust removal ultimately helps bitcoin, though, I think it would be great if this kind of behaviour could be encouraged for those who know about the privacy implications and are fine with them (personally I use mixers anyway when it comes to transactions that are linked to my identity).

Use your Namecoin identity as OpenID: https://nameid.org/
Donations: 1domobKsPZ5cWk2kXssD8p8ES1qffGUCm | NMC: NCdomobcmcmVdxC5yxMitojQ4tvAtv99pY
BM-GtQnWM3vcdorfqpKXsmfHQ4rVYPG5pKS | GPG 0xA7330737
gmaxwell
Moderator
Legendary
*
expert
Offline Offline

Activity: 4158
Merit: 8411



View Profile WWW
August 12, 2013, 10:39:42 AM
Last edit: August 12, 2013, 11:03:00 AM by gmaxwell
 #7

another address in that wallet that isn't dusty/empty ... addresses with dust currently ... empty those dusty addresses
Deep misunderstanding of how the blockchain works detected.

One address or one thousand, the number of addresses doesn't matter. The blockchain is not aware of addresses, addresses are a wallet construct. What matters is the number of txouts. Sweeping dust is fine and good, but addresses don't come into it.
wingspan (OP)
Newbie
*
Offline Offline

Activity: 54
Merit: 0


View Profile
August 12, 2013, 10:51:03 AM
 #8

thanks for the feedback on the misunderstanding - I'll dig into the docs so I don't waste your time.
TierNolan
Legendary
*
Offline Offline

Activity: 1232
Merit: 1083


View Profile
August 12, 2013, 02:22:20 PM
 #9

Did you jump right to CHOICE #2 and miss CHOICE #1?

Choice 2 is a pretty bad idea.  In fact, if the devs included it, they could reasonably be accused of theft.

The rules are:

     It is smaller than 10 thousand bytes.
    All outputs are 0.01 BTC or larger.
    Its priority is large enough (see the Technical Info section below)

So, the wallet would need to have at least 0.01 in dust.

I would suggest changing "All outputs are 0.01BTC or larger" to "All outputs are 0.01BTC or larger, or it has 1 output and at least 5 inputs".

Tidying up dust would be encouraged.

The priority of a transaction is

1 BTC: 1 day
0.1 BTC: 10 days
0.001 BTC: 1000 days

Transactions that merge dust into a single coin aren't given much incentive.

On problem is that if you make tidying up dust easier, you also decrease the incentive to not create dust in the first place.

1LxbG5cKXzTwZg9mjL3gaRE835uNQEteWF
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!