Add user interface to set dust limit and filtered addresses #2383

pull jonls wants to merge 2 commits into bitcoin:master from jonls:user-tx-filters-head changing 6 files +180 −0
  1. jonls commented at 11:41 PM on March 18, 2013: contributor

    This patch adds a new "Advanced" pane to the options box where the dust limit for accepted transactions can be set, and where a filter on output addresses can be specified. CTxMemPool::accept() will drop any transaction with outputs below the dust limit, or with an output address corresponding to an address specified in the filter.

    screenshot

  2. Allow adjustable limit on the minimum transaction value.
    Accept only transactions for which all output values are above a minimum amount (dust limit). The mimimum defaults to zero (everything above zero is accepted).
    Added QT interface options pane called "Advanced" to set this value.
    8e84aad602
  3. Allow blocking of specific destination addresses.
    Transactions destined for these addresses will not be accepted by this node.
    Added a field in the "Advanced" options pane to set the list of filtered addresses.
    427dcfb215
  4. paraipan commented at 11:54 PM on March 18, 2013: contributor

    Needed feature, Bitcoin developers please review.

  5. grue0 commented at 12:30 AM on March 19, 2013: none

    DO WANT

    even if we need to make it a .conf option, this will be much better than manually patching the client with each build.

  6. PartTimeLegend commented at 1:38 AM on March 19, 2013: none

    I love you! No homo.

  7. petertodd commented at 7:46 AM on March 19, 2013: contributor

    NAK

    Don't encourage censorship based on where Bitcoins are going rather than the technical details about how they are being transferred.

    My https://github.com/petertodd/bitcoin/tree/block-uneconomic-utxo-creation patch is an example of a way to approach the issue based on politically neutral technical metrics rather than singling out any particular entity. A "dust limit" is fine. Building ways to block specific addresses into the client itself isn't.

    Additionally any "dust limit" should be written in a way that the behavior is predictable; end users are harmed when they don't have any idea what the dust limit might be set to.

  8. ghost commented at 8:24 AM on March 19, 2013: none

    Address filtering is a DEFINITE no. Do not forget that addresses are disposable.

  9. luke-jr commented at 10:31 PM on March 19, 2013: member

    Looks good visually and functionality-wise. I'll have a look at the code when I get home.

  10. benwiebe commented at 12:25 AM on March 20, 2013: none

    Definitely needed as part of the client!

  11. grue0 commented at 12:32 AM on March 20, 2013: none

    @petertodd @gladoscc I don't see what's wrong with giving people a choice to ignore transactions. Anyone can implement their own address filtering by editing the source code, so what do we gain by adding a technical barrier?

  12. petertodd commented at 3:28 PM on March 20, 2013: contributor

    Including such a mechanism in the official Bitcoin reference client implies we support censorship; an obvious extension of this patch is supporting automated blacklists.

  13. gmaxwell commented at 3:38 PM on March 20, 2013: contributor

    @gruez "Anyone sufficiently motivated could build a chemical weapon, what do we gain by not equipping every adult with one?"

    Having to modify the software gives people enough friction to think over their change. Not just "I should do this because some website said to click here for awesomeness". ... though my level of horror at this pull request is somewhat tempered by the fact that it's easily avoided by someone using Bitcoin properly (not reusing addresses).

    Still, NAK.

    It's also worth noting that inconsistent forwarding rules created by the dust setting makes it much harder to write reliable wallet software... since the software doesn't actually know when its peers are going to forward the transaction or not (and your peers don't tell you when they don't). Ultimately wallets will need to deal with that, but they don't currently.

    I'd prefer to see a pull request that depriortizes all address reuse, as that will allow reusers with standing relationships to opt into lower priority handling and it encourages blacklisting resistant behavior in our ecosystem.

  14. laanwj commented at 8:43 AM on March 29, 2013: member

    GUI looks good. But NAK on the filtering. This is a censorship measure, and an ineffective one at that.

  15. paraipan commented at 12:31 PM on March 29, 2013: contributor

    I beg to differ @laanwj, I don't understand your point in not letting me control my own resources. Did someone put you there to decide over what bitcoiners have to have in their client software?

  16. paraipan commented at 2:17 PM on March 29, 2013: contributor

    Let's see what the community has to say about this https://bitcointalk.org/index.php?topic=160785

  17. BitcoinPullTester commented at 12:29 PM on March 30, 2013: none

    Automatic sanity-testing: PASSED, see http://jenkins.bluematt.me/pull-tester/427dcfb215a5892c8108bc76b40fe9bab9eacb24 for binaries and test log. This is an automated test script which runs test cases on each commit every time is updated. It, however, dies sometimes and fails to test properly, if you are waiting on a test, please check timestamps and if the test.log is moving at http://jenkins.bluematt.me/pull-tester/current/ and contact BlueMatt on freenode if something looks broken.

  18. gmaxwell commented at 3:00 AM on April 29, 2013: contributor

    We won't be adding any blacklisting functionality at this time. There are some other active pull requests on dust relay limiting which should generally address the rest of the concerns here. Thanks to all involved to actually putting code on paper and making a concrete proposal.

  19. gmaxwell closed this on Apr 29, 2013

  20. paraipan commented at 11:47 PM on May 6, 2013: contributor
  21. paraipan commented at 9:59 AM on June 5, 2013: contributor

    This patch is a potential solution to MAX_BLOCK_SIZE limit give it permits Bitcoin users to ignore spam transactions under set limits.

    https://bitcointalk.org/index.php?topic=221111

  22. DrahtBot locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-19 15:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me