This repository was archived by the owner on Oct 31, 2018. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77
88// These need to be macros, as version.cpp's and bitcoin-qt.rc's voodoo requires it
99#define CLIENT_VERSION_MAJOR 3
10- #define CLIENT_VERSION_MINOR 1
11- #define CLIENT_VERSION_REVISION 2
10+ #define CLIENT_VERSION_MINOR 2
11+ #define CLIENT_VERSION_REVISION 3
1212#define CLIENT_VERSION_BUILD 2
1313
1414// Converts the parameter X to a string after macro replacement on X has been performed.
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ static const unsigned int MAX_STANDARD_TX_SIZE = MAX_BLOCK_SIZE_GEN/5;
4444/* * The maximum allowed number of signature check operations in a block (network rule) */
4545static const unsigned int MAX_BLOCK_SIGOPS = MAX_BLOCK_SIZE/50 ;
4646/* * The maximum number of orphan transactions kept in memory */
47- static const unsigned int MAX_ORPHAN_TRANSACTIONS = MAX_BLOCK_SIZE/100 ;
47+ static const unsigned int MAX_ORPHAN_TRANSACTIONS = MAX_BLOCK_SIZE/500000 ;
4848/* * The maximum number of entries in an 'inv' protocol message */
4949static const unsigned int MAX_INV_SZ = 50000 ;
5050/* * Fees smaller than this (in satoshi) are considered zero fee (for transaction creation) */
Original file line number Diff line number Diff line change @@ -936,7 +936,7 @@ void ThreadSocketHandler2(void* parg)
936936 if (nErr != WSAEWOULDBLOCK)
937937 printf (" socket error accept failed: %d\n " , nErr);
938938 }
939- else if (nInbound >= GetArg (" -maxconnections" , 125 ) - MAX_OUTBOUND_CONNECTIONS)
939+ else if (nInbound >= GetArg (" -maxconnections" , 10 ) - MAX_OUTBOUND_CONNECTIONS)
940940 {
941941 closesocket (hSocket);
942942 }
@@ -1914,7 +1914,7 @@ void StartNode(void* parg)
19141914
19151915 if (semOutbound == NULL ) {
19161916 // initialize semaphore
1917- int nMaxOutbound = min (MAX_OUTBOUND_CONNECTIONS, (int )GetArg (" -maxconnections" , 125 ));
1917+ int nMaxOutbound = min (MAX_OUTBOUND_CONNECTIONS, (int )GetArg (" -maxconnections" , 10 ));
19181918 semOutbound = new CSemaphore (nMaxOutbound);
19191919 }
19201920
You can’t perform that action at this time.
0 commit comments