Namespace indentation (#4817)
This commit is contained in:
parent
e65e07aa24
commit
e6a4c07bc9
2 changed files with 207 additions and 212 deletions
|
|
@ -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;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue