aboutsummaryrefslogtreecommitdiff
path: root/src/rpcnet.cpp
diff options
context:
space:
mode:
authorPieter Wuille <[email protected]>2014-01-11 17:28:34 +0100
committerPieter Wuille <[email protected]>2014-01-31 14:16:06 +0100
commitbbde1e99c893924dbef135f42c14f4df9828c6e5 (patch)
tree6f944d405b502bb3c4bc9616704e5fe72494b888 /src/rpcnet.cpp
parentMerge pull request #3605 (diff)
downloaddiscoin-bbde1e99c893924dbef135f42c14f4df9828c6e5.tar.xz
discoin-bbde1e99c893924dbef135f42c14f4df9828c6e5.zip
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/rpcnet.cpp')
0 files changed, 0 insertions, 0 deletions