Post
Topic
Board Announcements (Altcoins)
Re: [ANN] Litecoin - a lite version of Bitcoin. Launched!
by
wtogami
on 10/09/2015, 13:38:49 UTC
Code:
    "vout": [
        {
            "value": [b]0.00020000,[/b]

I used the latest QT Litecoin Core version v0.10.2.2 (64-bit)

I guess my question is how did this tx get accepted locally (and in other nodes) if it has insufficient fees to be confirmed? And why isnt 0.001 enough of a fee? Are you saying that if the output was bigger, the fee would have been enough?

James

https://github.com/litecoin-project/litecoin/commit/72707115a7d968674866a1ddfc45348c4cb3e712
Litecoin: Anti-spam mechanism adds 1000 bytes to the fee for each output smaller than DUST_THRESHOLD

Litecoin's stock policy has had this fee penalty for each too small output since 2011.  Your code must calculate fees in the same manner or it will fail to relay or be mined by nodes operating under the stock policy.  Nothing stops submitting a raw transaction to your own node, and some explorers accept non-standard transactions such as this, but the vast majority of the network will not accept it.  You can test this by watching debug.log of any standard node.