diff --git a/TODO.txt b/TODO.txt index 77a3d5c0e4..3d538507e0 100644 --- a/TODO.txt +++ b/TODO.txt @@ -250,4 +250,6 @@ A node is "full below" if we believe we have (either in the database or node in a hash tree. When trying to acquire a hash tree/map, if a node is full below, we know not to bother with anything below that node. -The fullBelowCache is a cache of hashes of nodes that are full below. +The fullBelowCache is a cache of hashes of nodes that are full below. Which means + there are no missing children + diff --git a/src/cpp/ripple/ripple_ILoadManager.h b/src/cpp/ripple/ripple_ILoadManager.h index 894f47c2f6..ee1bbdaa8d 100644 --- a/src/cpp/ripple/ripple_ILoadManager.h +++ b/src/cpp/ripple/ripple_ILoadManager.h @@ -65,7 +65,6 @@ enum LoadType class LoadSource { public: - // VFALCO TODO Why even bother with a warning? Why can't we just drop? // VFALCO TODO Use these dispositions /* enum Disposition @@ -201,6 +200,13 @@ private: This object creates an associated thread to maintain a clock. + When the server is overloaded by a particular peer it issues a warning + first. This allows friendly peers to reduce their consumption of resources, + or disconnect from the server. + + The warning system is used instead of merely dropping, because hostile + peers can just reconnect anyway. + @see LoadSource, LoadType */ class ILoadManager