diff options
| author | Gregory Maxwell <[email protected]> | 2016-06-11 00:28:48 +0000 |
|---|---|---|
| committer | Gregory Maxwell <[email protected]> | 2016-06-15 09:56:42 +0000 |
| commit | 54326a6808a7026eef9d3a26f91f93b77f00a793 (patch) | |
| tree | 8fad0f70057833c64c1120546ae407b244dec79e /src/test/DoS_tests.cpp | |
| parent | Treat orphans as implicit inv for parents, discard when parents rejected. (diff) | |
| download | discoin-54326a6808a7026eef9d3a26f91f93b77f00a793.tar.xz discoin-54326a6808a7026eef9d3a26f91f93b77f00a793.zip | |
Increase maximum orphan size to 100,000 bytes.
Although this increases node memory usage in the worst case by perhaps
30MB, the current behavior causes severe issues with dependent tx relay.
Diffstat (limited to 'src/test/DoS_tests.cpp')
| -rw-r--r-- | src/test/DoS_tests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/DoS_tests.cpp b/src/test/DoS_tests.cpp index 95342498f..818128d18 100644 --- a/src/test/DoS_tests.cpp +++ b/src/test/DoS_tests.cpp @@ -162,7 +162,7 @@ BOOST_AUTO_TEST_CASE(DoS_mapOrphans) tx.vout.resize(1); tx.vout[0].nValue = 1*CENT; tx.vout[0].scriptPubKey = GetScriptForDestination(key.GetPubKey().GetID()); - tx.vin.resize(500); + tx.vin.resize(2777); for (unsigned int j = 0; j < tx.vin.size(); j++) { tx.vin[j].prevout.n = j; |