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
Published at
2023-06-06 11:12:04Event JSON
{
"id": "0943374fb9c9bf97e78683b0ec8cddd6b6ef15666a0c5cea033dc43a407cd0c5",
"pubkey": "05766de3bdda2f0a97052d09e34a9d2cdb31ce60dd4471cbb27acbdde0bc755b",
"created_at": 1686049924,
"kind": 1,
"tags": [
[
"e",
"864f90191c0c543d129f7479a53b77df0b7f26b7793f1ec0b57f0e7ed05ad1a9",
"",
"reply"
],
[
"p",
"857b83d2624bdaeb3fa001fda56aa163e974359f543a471b9881d6660ad2bf98"
]
],
"content": "š
Original date posted:2011-06-14\nšļø 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.\"\nš Original message:Hi there!\n\nAs can been seen from this code block\n\n // To limit dust spam, require MIN_TX_FEE/MIN_RELAY_TX_FEE if any output is less than 0.01\n if (nMinFee \u003c nBaseFee)\n BOOST_FOREACH(const CTxOut\u0026 txout, vout)\n if (txout.nValue \u003c CENT)\n nMinFee = nBaseFee;\n\na fee is required as soon as any output is less than CENT.\n\nI was wondering: would it be possible to loosen this rule to something\nlike \"if _all_ outputs are less than CENT\" or maybe \"if more than 50% of\nall outputs are less than CENT\"?\n\nThe reason is, that I'm currently working on a project, where I would\nlike to take a small cut on transactions passing through (probably not\nan usual requirement) and a lot of those small cuts would probably bump\ninto this rule.\n\nIsn't this rule mainly meant to prevent lots of transactions with small\ncoins? So \"all small coins\" should work as well as \"any small coins\" or\nam I missing something? (things like creating large transactions should\nalready be caught by other rules, right?)\n\nRegards!\nJan",
"sig": "afba728bc867d8e80be77280497aaf797fe997e0c28bea8f2ed64504c5f4efb7213e7fc568773e396c1e25457853c361a06fc28aa8589282b1ccf9019b901f54"
}