Files
cac3/src
Pieter Wuille cedaa71446 Drop release times for CNode
It seems there were two mechanisms for assessing whether a CNode
was still in use: a refcount and a release timestamp. The latter
seems to have been there for a long time, as a safety mechanism.

However, this timer also keeps CNode objects alive for far longer
than necessary after disconnects, potentially opening up a DoS
window.

This commit removes the timestamp-based mechanism, and replaces
it with an assert(nRefCount >= 0), to verify that the refcounting
is indeed correctly working.
2013-04-04 14:45:45 +02:00
..
2013-03-19 15:16:30 -04:00
2013-03-19 15:16:30 -04:00
2013-04-03 19:57:53 -04:00
2013-04-04 02:39:44 +02:00
2013-04-03 19:57:53 -04:00
2013-04-03 19:57:53 -04:00
2013-01-30 04:30:02 +01:00
2013-01-30 04:30:02 +01:00
2013-04-04 14:45:45 +02:00
2013-04-04 14:45:45 +02:00
2013-04-04 14:45:45 +02:00
2013-04-03 19:57:53 -04:00
2013-04-03 19:57:53 -04:00
2013-04-03 19:57:53 -04:00
2013-04-03 19:57:53 -04:00
2013-04-03 19:57:53 -04:00
2013-04-03 19:57:53 -04:00