diff options
author | James O'Beirne <james.obeirne@pm.me> | 2021-02-11 22:02:44 -0600 |
---|---|---|
committer | James O'Beirne <james.obeirne@pm.me> | 2021-02-12 07:53:41 -0600 |
commit | 1afc0e4aa1b910991d4f8a77d74e2197f370987c (patch) | |
tree | 62de33efac62e7d02f994021f35e45d47f83ea10 | |
parent | 769a1ef9fdc9c372f5bbe91d1961cabd60bc1895 (diff) |
doc: remove potentially confusing ChainstateManager comment
-rw-r--r-- | src/validation.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/src/validation.h b/src/validation.h index 5ec5a549ce..d6058e7dac 100644 --- a/src/validation.h +++ b/src/validation.h @@ -833,9 +833,7 @@ private: //! using this pointer (e.g. net_processing). //! //! Once this pointer is set to a corresponding chainstate, it will not - //! be reset until init.cpp:Shutdown(). This means it is safe to acquire - //! the contents of this pointer with ::cs_main held, release the lock, - //! and then use the reference without concern of it being deconstructed. + //! be reset until init.cpp:Shutdown(). //! //! This is especially important when, e.g., calling ActivateBestChain() //! on all chainstates because we are not able to hold ::cs_main going into @@ -846,9 +844,7 @@ private: //! non-null, it is always our active chainstate. //! //! Once this pointer is set to a corresponding chainstate, it will not - //! be reset until init.cpp:Shutdown(). This means it is safe to acquire - //! the contents of this pointer with ::cs_main held, release the lock, - //! and then use the reference without concern of it being deconstructed. + //! be reset until init.cpp:Shutdown(). //! //! This is especially important when, e.g., calling ActivateBestChain() //! on all chainstates because we are not able to hold ::cs_main going into @@ -859,9 +855,7 @@ private: //! most-work chain. //! //! Once this pointer is set to a corresponding chainstate, it will not - //! be reset until init.cpp:Shutdown(). This means it is safe to acquire - //! the contents of this pointer with ::cs_main held, release the lock, - //! and then use the reference without concern of it being deconstructed. + //! be reset until init.cpp:Shutdown(). //! //! This is especially important when, e.g., calling ActivateBestChain() //! on all chainstates because we are not able to hold ::cs_main going into |