mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Refactor TxQueue, move some boost includes down to .cpp
This commit is contained in:
@@ -748,11 +748,11 @@ Transaction::pointer NetworkOPsImp::submitTransactionSync (Transaction::ref tpTr
|
||||
|
||||
void NetworkOPsImp::runTransactionQueue ()
|
||||
{
|
||||
TXQEntry::pointer txn;
|
||||
TxQueueEntry::pointer txn;
|
||||
|
||||
for (int i = 0; i < 10; ++i)
|
||||
{
|
||||
getApp().getTxnQueue ().getJob (txn);
|
||||
getApp().getTxQueue ().getJob (txn);
|
||||
|
||||
if (!txn)
|
||||
return;
|
||||
@@ -829,7 +829,7 @@ void NetworkOPsImp::runTransactionQueue ()
|
||||
}
|
||||
}
|
||||
|
||||
if (getApp().getTxnQueue ().stopProcessing (txn))
|
||||
if (getApp().getTxQueue ().stopProcessing (txn))
|
||||
getApp().getIOService ().post (BIND_TYPE (&NetworkOPsImp::runTransactionQueue, this));
|
||||
}
|
||||
|
||||
|
||||
@@ -9,7 +9,9 @@ class ProofOfWorkFactoryImp
|
||||
, public LeakChecked <ProofOfWorkFactoryImp>
|
||||
{
|
||||
public:
|
||||
typedef boost::bimap< boost::bimaps::multiset_of<time_t>, boost::bimaps::unordered_set_of<uint256> > powMap_t;
|
||||
typedef boost::bimap< boost::bimaps::multiset_of<time_t>,
|
||||
boost::bimaps::unordered_set_of<uint256> > powMap_t;
|
||||
|
||||
typedef powMap_t::value_type powMap_vt;
|
||||
|
||||
//--------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user