Browse Source

change max block size as well

miguelfreitas
Miguel Freitas 11 years ago
parent
commit
58d905aab3
  1. 2
      src/main.h

2
src/main.h

@ -25,7 +25,7 @@ class CNode;
struct CBlockIndexWorkComparator; struct CBlockIndexWorkComparator;
/** The maximum allowed size for a serialized block, in bytes (network rule) */ /** The maximum allowed size for a serialized block, in bytes (network rule) */
static const unsigned int MAX_BLOCK_SIZE = 1000000; static const unsigned int MAX_BLOCK_SIZE = 50000;
/** The maximum size for mined blocks */ /** The maximum size for mined blocks */
static const unsigned int MAX_BLOCK_SIZE_GEN = MAX_BLOCK_SIZE/2; static const unsigned int MAX_BLOCK_SIZE_GEN = MAX_BLOCK_SIZE/2;
/** The maximum size for transactions we're willing to relay/mine */ /** The maximum size for transactions we're willing to relay/mine */

Loading…
Cancel
Save