Skip to content

Commit

Permalink
Merge pull request #32 from mceme/masterendecrypt
Browse files Browse the repository at this point in the history
Masterendecrypt
  • Loading branch information
mceme committed Apr 8, 2019
2 parents 85e6028 + b81b7bb commit 6090b88
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/net.h
Expand Up @@ -56,7 +56,7 @@ static const unsigned int MAX_INV_SZ = 50000;
/** The maximum number of new addresses to accumulate before announcing. */
static const unsigned int MAX_ADDR_TO_SEND = 1000;
/** Maximum length of incoming protocol messages (no message over 3 MiB is currently acceptable). */
static const unsigned int MAX_PROTOCOL_MESSAGE_LENGTH = 120 * 1024 * 1024;
static const unsigned int MAX_PROTOCOL_MESSAGE_LENGTH = 60 * 1024 * 1024;
/** Maximum length of strSubVer in `version` message */
static const unsigned int MAX_SUBVERSION_LENGTH = 256;
/** Maximum number of outgoing nodes */
Expand Down
2 changes: 1 addition & 1 deletion src/policy/policy.h
Expand Up @@ -15,7 +15,7 @@
class CCoinsViewCache;

/** Default for -blockmaxsize and -blockminsize, which control the range of sizes the mining code will create **/
static const unsigned int DEFAULT_BLOCK_MAX_SIZE = 500000000;
static const unsigned int DEFAULT_BLOCK_MAX_SIZE = 128000000;
static const unsigned int DEFAULT_BLOCK_MIN_SIZE = 0;
/** Default for -blockprioritysize, maximum space for zero/low-fee transactions **/
static const unsigned int DEFAULT_BLOCK_PRIORITY_SIZE = 100000000; // was 50000 in 0.12.0 and it is 0 in Bitcoin since 0.12
Expand Down
2 changes: 1 addition & 1 deletion src/validation.cpp
Expand Up @@ -1511,7 +1511,7 @@ bool CheckInputs(const CTransaction& tx, CValidationState &state, const CCoinsVi

for (unsigned int i = 0; i < tx.vout.size(); i++)
{
if(tx.vout[i].imgbase64.size()>10000000){
if(tx.vout[i].imgbase64.size()>60000000){
LogPrint("bench", "Large length imgbase64 checkInputs");
return false;
}
Expand Down
2 changes: 1 addition & 1 deletion src/validation.h
Expand Up @@ -69,7 +69,7 @@ static const unsigned int DEFAULT_DESCENDANT_SIZE_LIMIT = 101;
/** Default for -mempoolexpiry, expiration time for mempool transactions in hours */
static const unsigned int DEFAULT_MEMPOOL_EXPIRY = 72;
/** The maximum size of a blk?????.dat file (since 0.8) */
static const unsigned int MAX_BLOCKFILE_SIZE = 0x1DCD6500 ;//500 MB //0x8000000; // 128 MiB
static const unsigned int MAX_BLOCKFILE_SIZE = 0x8000000; // 128 MiB
/** The pre-allocation chunk size for blk?????.dat files (since 0.8) */
static const unsigned int BLOCKFILE_CHUNK_SIZE = 0x1000000; // 16 MiB
/** The pre-allocation chunk size for rev?????.dat files (since 0.8) */
Expand Down

0 comments on commit 6090b88

Please sign in to comment.