Having thought a lot of spam bloating my node, I cannot but wonder of what effect on Lightning Network would be of setting dustrelayfee
to 0.003
by all nodes, instead of the default value of 0.00003
. From my calculations it would force the minimum funding channel amounts, e.g. given the rate 15sats/vbyte and the size of the funding transaction being 164.2vBytes one would have to have the amount of 0.0483BTC for funding the channel.
It seems that such filering would prevent many spam transactions from being relayed. Or at least to force a spammer such as this one to some additional Bitcoin so that instead of paying just the fee they would have to pay additional 13.220kb*0.003BTC/kb=0.039BTC to someone or to themselves. In the case of the spammer not having that much BTC it may stop him in his tracks for some time.
Would such filter disrupt channel closing transactions of the Lightning Network? In particular, would such filtering prevent closing of many single-funded channels that have exhausted their spending capacity?