mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Don't recompute the OrderBookDB too many times more than needed.
This commit is contained in:
@@ -35,9 +35,13 @@ class OrderBookDB
|
||||
|
||||
std::map<uint256, bool > mKnownMap;
|
||||
|
||||
uint32 mSeq;
|
||||
boost::recursive_mutex mLock;
|
||||
|
||||
public:
|
||||
OrderBookDB();
|
||||
void setup(Ledger::ref ledger);
|
||||
void invalidate();
|
||||
|
||||
// return list of all orderbooks that want XRP
|
||||
std::vector<OrderBook::pointer>& getXRPInBooks(){ return mXRPOrders; }
|
||||
|
||||
Reference in New Issue
Block a user