diff options
author | Gavin Andresen <gavinandresen@gmail.com> | 2013-11-28 13:03:41 +1000 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2013-11-28 07:59:53 +0100 |
commit | 5c029630f91c4cad7b8f781a0324ff54c36163d3 (patch) | |
tree | ba94c34f2eb3653bfc282bf3ee5e1bd74a3aa206 /src/main.cpp | |
parent | 7120d76dc6fc9d86aac5d3a5454f248de5a5853f (diff) | |
download | bitcoin-5c029630f91c4cad7b8f781a0324ff54c36163d3.tar.xz |
Increase default -blockmaxsize/prioritysize to 300K/30K
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.cpp b/src/main.cpp index f8f194afc5..5dcd378a77 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -618,7 +618,7 @@ int64 CTransaction::GetMinFee(unsigned int nBlockSize, bool fAllowFree, else { // Free transaction area - if (nNewBlockSize < 27000) + if (nNewBlockSize < DEFAULT_BLOCK_PRIORITY_SIZE) nMinFee = 0; } } @@ -4219,7 +4219,7 @@ CBlockTemplate* CreateNewBlock(CReserveKey& reservekey) pblocktemplate->vTxSigOps.push_back(-1); // updated at end // Largest block you're willing to create: - unsigned int nBlockMaxSize = GetArg("-blockmaxsize", MAX_BLOCK_SIZE_GEN/2); + unsigned int nBlockMaxSize = GetArg("-blockmaxsize", DEFAULT_BLOCK_MAX_SIZE); // Limit to betweeen 1K and MAX_BLOCK_SIZE-1K for sanity: nBlockMaxSize = std::max((unsigned int)1000, std::min((unsigned int)(MAX_BLOCK_SIZE-1000), nBlockMaxSize)); @@ -4229,7 +4229,7 @@ CBlockTemplate* CreateNewBlock(CReserveKey& reservekey) // How much of the block should be dedicated to high-priority transactions, // included regardless of the fees they pay - unsigned int nBlockPrioritySize = GetArg("-blockprioritysize", 27000); + unsigned int nBlockPrioritySize = GetArg("-blockprioritysize", DEFAULT_BLOCK_PRIORITY_SIZE); nBlockPrioritySize = std::min(nBlockMaxSize, nBlockPrioritySize); // Minimum block size you want to create; block will be filled with free transactions |