diff options
| author | Gavin Andresen <[email protected]> | 2013-11-28 13:03:41 +1000 |
|---|---|---|
| committer | Gavin Andresen <[email protected]> | 2013-11-30 14:38:15 +1000 |
| commit | ad898b40aaf06c1cc7ac12e953805720fc9217c0 (patch) | |
| tree | eaab61e1ae058f071d115df39b72d00d2ee31d1b /src/miner.cpp | |
| parent | Merge pull request #3284 (diff) | |
| download | discoin-ad898b40aaf06c1cc7ac12e953805720fc9217c0.tar.xz discoin-ad898b40aaf06c1cc7ac12e953805720fc9217c0.zip | |
Increase default -blockmaxsize/prioritysize to 750K/50K
Diffstat (limited to 'src/miner.cpp')
| -rw-r--r-- | src/miner.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/miner.cpp b/src/miner.cpp index b01b60cc3..03acadac5 100644 --- a/src/miner.cpp +++ b/src/miner.cpp @@ -162,7 +162,7 @@ CBlockTemplate* CreateNewBlock(const CScript& scriptPubKeyIn) 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)); |