Comments (8)
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.
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.
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.
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.
another good use there :)
from bitcoinclassic.
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.
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.
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)
- Replace C-includes with C++ includes HOT 2
- BCH Wallet balance shows BTC Wallet balance HOT 3
- BCH Wallet balance shows BTC Wallet balance HOT 1
- Flexible Transactions protocol enhancement ideas
- Can not run bitcoind or bitcoin-qt due to bad config, unknown what config it is using HOT 4
- right click on multiple highlighted transactions HOT 1
- UAHF 1.3.5 Misbehaving: A.B.C.D:8333, id:193 (0 -> 100) BAN THRESHOLD EXCEEDED HOT 10
- 1.3.5uahf Mac OS, 'No block source available' after migration HOT 6
- Bitcoin Classic cannot use an existing Cash blockchain HOT 4
- Shares Mac bundle-id with Core Bitcoin-Qt app HOT 1
- Failed to revert a block during new install of V1.3.6 HOT 6
- Q: Addr message returning up to 2500 addresses not a bit too much? HOT 3
- The EDA is a serious issue HOT 1
- UAHF not downloading blocks HOT 13
- Mac app doesn't quit when reindexing blocks HOT 2
- [build error] bitcoinconsensus.cpp:88:114 - error: no matching constructor for initialization of 'TransactionSignatureChecker' HOT 3
- [proposed refactor] s/NULL/nullptr/g
- [proposed refactor] BOOST_FOREACH -> C++11 Range-based for loop
- Nov 13 HF marking needed? HOT 3
- xss reflected
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bitcoinclassic.