Why Nostr? What is Njump?
2023-06-06 10:56:53
in reply to

jan at uos.de [ARCHIVE] on Nostr: πŸ“… Original date posted:2011-06-14 πŸ—’οΈ Summary of this message: The author ...

πŸ“… Original date posted:2011-06-14
πŸ—’οΈ Summary of this message: The author questions the rule requiring a fee for any output less than CENT and suggests loosening it to "all outputs" or "50% of outputs."
πŸ“ Original message:Hi there!

As can been seen from this code block

// To limit dust spam, require MIN_TX_FEE/MIN_RELAY_TX_FEE if any output is less than 0.01
if (nMinFee < nBaseFee)
BOOST_FOREACH(const CTxOut& txout, vout)
if (txout.nValue < CENT)
nMinFee = nBaseFee;

a fee is required as soon as any output is less than CENT.

I was wondering: would it be possible to loosen this rule to something
like "if _all_ outputs are less than CENT" or maybe "if more than 50% of
all outputs are less than CENT"?

The reason is, that I'm currently working on a project, where I would
like to take a small cut on transactions passing through (probably not
an usual requirement) and a lot of those small cuts would probably bump
into this rule.

Isn't this rule mainly meant to prevent lots of transactions with small
coins? So "all small coins" should work as well as "any small coins" or
am I missing something? (things like creating large transactions should
already be caught by other rules, right?)

Regards!
Jan
Author Public Key
npub1q4mxmcaamghs49c995y7xj5a9ndnrnnqm4z8rjaj0t9amc9uw4dsmx8aml