Namespace indentation (#4817)

This commit is contained in:
Piotr Wójcik 2025-01-05 19:00:18 +01:00 committed by GitHub
commit e6a4c07bc9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 207 additions and 212 deletions

View file

@ -17,9 +17,7 @@
namespace mi = boost::multi_index; namespace mi = boost::multi_index;
namespace nano namespace nano::bootstrap
{
namespace bootstrap
{ {
/** This class tracks accounts various account sets which are shared among the multiple bootstrap threads */ /** This class tracks accounts various account sets which are shared among the multiple bootstrap threads */
class account_sets class account_sets
@ -58,6 +56,7 @@ namespace bootstrap
* Sets information about the account chain that contains the block hash * Sets information about the account chain that contains the block hash
*/ */
void dependency_update (nano::block_hash const & hash, nano::account const & dependency_account); void dependency_update (nano::block_hash const & hash, nano::account const & dependency_account);
/** /**
* Should be called periodically to reinsert missing dependencies into the priority set * Should be called periodically to reinsert missing dependencies into the priority set
*/ */
@ -158,4 +157,3 @@ namespace bootstrap
info_t info () const; info_t info () const;
}; };
} }
}

View file

@ -13,9 +13,7 @@
namespace mi = boost::multi_index; namespace mi = boost::multi_index;
namespace nano namespace nano::bootstrap
{
namespace bootstrap
{ {
// Container for tracking and scoring peers with respect to bootstrapping // Container for tracking and scoring peers with respect to bootstrapping
class peer_scoring class peer_scoring
@ -96,4 +94,3 @@ namespace bootstrap
std::deque<std::shared_ptr<nano::transport::channel>> channels; std::deque<std::shared_ptr<nano::transport::channel>> channels;
}; };
} }
}