Bitcoin Forum
November 08, 2024, 02:39:42 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: how to adjust the fee in litecoin source code?  (Read 488 times)
spark_li (OP)
Member
**
Offline Offline

Activity: 95
Merit: 10


Nothing


View Profile
September 12, 2013, 07:01:23 AM
 #1

I'm read litecoin's source code, and try to make a coin to test,
but  I have a question,what's code about the tx fee?
any one can give me a answer?
regards & thanks

L.
Stouse49
Full Member
***
Offline Offline

Activity: 209
Merit: 100



View Profile
September 14, 2013, 03:44:41 AM
 #2

In the latest version of litecoin, look for these in main.cpp:
Code:
/** Fees smaller than this (in satoshi) are considered zero fee (for transaction creation) */
int64 CTransaction::nMinTxFee = 2000000;
/** Fees smaller than this (in satoshi) are considered zero fee (for relaying) */
int64 CTransaction::nMinRelayTxFee = 2000000;

Code:
int64 CTransaction::GetMinFee(unsigned int nBlockSize, bool fAllowFree,
                              enum GetMinFee_mode mode) const

BTC:
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!