diff options
author | Suhas Daftuar <sdaftuar@gmail.com> | 2020-09-01 16:32:09 -0400 |
---|---|---|
committer | Suhas Daftuar <sdaftuar@gmail.com> | 2020-12-10 08:41:57 -0500 |
commit | 91d61952a82af3e8887e8ae532ecc19d87fe9073 (patch) | |
tree | 7595a09515d4ec79e518b6536106967552fa6f29 /src/init.cpp | |
parent | 86f20071931b803b5f26ed8f685d98d4919fb7a7 (diff) | |
download | bitcoin-91d61952a82af3e8887e8ae532ecc19d87fe9073.tar.xz |
Simplify and clarify extra outbound peer counting
Diffstat (limited to 'src/init.cpp')
-rw-r--r-- | src/init.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init.cpp b/src/init.cpp index 5460c9b2b0..09be3d01fa 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -200,7 +200,7 @@ void Shutdown(NodeContext& node) // using the other before destroying them. if (node.peerman) UnregisterValidationInterface(node.peerman.get()); // Follow the lock order requirements: - // * CheckForStaleTipAndEvictPeers locks cs_main before indirectly calling GetExtraOutboundCount + // * CheckForStaleTipAndEvictPeers locks cs_main before indirectly calling GetExtraFullOutboundCount // which locks cs_vNodes. // * ProcessMessage locks cs_main and g_cs_orphans before indirectly calling ForEachNode which // locks cs_vNodes. |