aboutsummaryrefslogtreecommitdiff
path: root/src/main.h
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2012-02-29 10:14:18 -0500
committerGavin Andresen <gavinandresen@gmail.com>2012-02-29 11:46:46 -0500
commit142e604184e3ab6dcbe02cebcbe08e5623182b81 (patch)
tree0906a390af4ec3314983a62e9fa2ae66dd348ab0 /src/main.h
parent722d9387be4b267b689d7b7d78daeb7157bd12d8 (diff)
downloadbitcoin-142e604184e3ab6dcbe02cebcbe08e5623182b81.tar.xz
DoS fix for mapOrphanTransactionsv0.6.0rc2
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.h b/src/main.h
index ac6d624e40..25750dae46 100644
--- a/src/main.h
+++ b/src/main.h
@@ -33,6 +33,7 @@ extern const std::string CLIENT_NAME;
static const unsigned int MAX_BLOCK_SIZE = 1000000;
static const unsigned int MAX_BLOCK_SIZE_GEN = MAX_BLOCK_SIZE/2;
static const int MAX_BLOCK_SIGOPS = MAX_BLOCK_SIZE/50;
+static const int MAX_ORPHAN_TRANSACTIONS = MAX_BLOCK_SIZE/100;
static const int64 COIN = 100000000;
static const int64 CENT = 1000000;
static const int64 MIN_TX_FEE = 50000;