aboutsummaryrefslogtreecommitdiff
path: root/src/chainparams.cpp
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2014-01-11 17:28:34 +0100
committerPieter Wuille <sipa@ulyssis.org>2014-01-31 14:16:06 +0100
commitbbde1e99c893924dbef135f42c14f4df9828c6e5 (patch)
tree6f944d405b502bb3c4bc9616704e5fe72494b888 /src/chainparams.cpp
parent15ec451554b5889a92651b9fe71bf01047ba9fc3 (diff)
Limit the number of orphan blocks
In case the total number of orphan blocks in memory exceeds a limit (currently set to 750), a random orphan block (which is not depended on by another orphan block) is dropped. This means it will need to be downloaded again, but it won't consume memory until then.
Diffstat (limited to 'src/chainparams.cpp')
0 files changed, 0 insertions, 0 deletions