GithubHelp home page GithubHelp logo

Comments (8)

jtoomim avatar jtoomim commented on June 3, 2024

This sounds like the start of a good idea, but it has the problem of broadcasting information about what public keys are in the wallet. Perhaps this could be done as part of a coinjoin transaction, so that e.g. 100 users could sweep dust out of 1000 addresses and put the change back in 100 addresses? That's more complicated, though.

from bitcoinclassic.

ahmedbodi avatar ahmedbodi commented on June 3, 2024

Agreed it does, We could make it a config option or a compile time option to enable this RPC command so people are aware of the risks when using it. Or just add it and provide a warning in the help information

from bitcoinclassic.

jtoomim avatar jtoomim commented on June 3, 2024

It might be worth checking dust generation first. Does the existing code avoid generating outputs that are smaller than minrelaytxfee? It might be good to make the code default to rounding up in fees when creating transactions.

In any case, this seems like a post-hardfork issue, so I suggest we don't talk too much about it now.

from bitcoinclassic.

dskloet avatar dskloet commented on June 3, 2024

What if a charity made a big anyone-can-pay transaction and people have an easy way to donate their dust outputs to it? Reduce the UTXO size for a good cause!

from bitcoinclassic.

ahmedbodi avatar ahmedbodi commented on June 3, 2024

another good use there :)

from bitcoinclassic.

richiela avatar richiela commented on June 3, 2024

As an exchange that has to manage large BTC wallets with 55k+ of dust inputs, this would be a hugely welcomed feature.

Broadcasting public keys is an acceptable risk. You can make sure that outputs are greater than minrelaytxfee by including an input that is, for example, 100x minrelaytxfee and then add a max number of txs, or until a tx is a certain size.

from bitcoinclassic.

gladoscc avatar gladoscc commented on June 3, 2024

CoinJoin requires out of channel communication and organisation and is best suited for an alternate software (e.g. 'joinmarket'). I think the simple proposal of local SweepDust is a net benefit and useful feature.

Long term, the default fee policy can penalise transactions for creating UXTOs (e.g. assume each uxto is 200 kB for the purposes of fee calculations), and reward transactions for destroying UXTOs (e.g. each UXTO destroyed is -200 kB for the purposes of fee calcuations). This would mean typical payments would remain the same (pay 2 inputs, get 2 outputs) while incentivising the network to keep uxto bloat low.

from bitcoinclassic.

zander avatar zander commented on June 3, 2024

Following the consensus that github is not a great forum and we use other platforms for discussions and brainstorming, I'm going to close this idea.

from bitcoinclassic.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.