From 1f2d64ffd4ad3950c8db771b4d0b9355b6ef8a97 Mon Sep 17 00:00:00 2001 From: Warren Togami Date: Thu, 22 Jan 2015 16:09:09 -1000 Subject: [PATCH] Litecoin: Reduce high priority tx size limit to 5KB This is the first step in making the high priority transaction area available to more people. Future versions of Litecoin will eventually reduce this to 1KB per tx to match Bitcoin 0.8.6+. --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 8f6dfcf59..84dba3d82 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -908,7 +908,7 @@ CAmount GetMinRelayFee(const CTransaction& tx, unsigned int nBytes, bool fAllowF // * If we are relaying we allow transactions up to DEFAULT_BLOCK_PRIORITY_SIZE - 1000 // to be considered to fall into this category. We don't want to encourage sending // multiple transactions instead of one big transaction to avoid fees. - if (nBytes < (DEFAULT_BLOCK_PRIORITY_SIZE - 1000)) + if (nBytes < (DEFAULT_BLOCK_PRIORITY_SIZE - 5000)) nMinFee = 0; }