Path finding fixes:

Track path finding and order book creation time and latency.
Use a ledger snapshot for path finding.
You can't call getCurrentLedger from an unlocked context.
Pathfinding called from the transaction sign function held the master lock.
This commit is contained in:
JoelKatz
2013-02-12 20:39:00 -08:00
parent ef5069a706
commit cb111b6318
8 changed files with 62 additions and 28 deletions

View File

@@ -1,3 +1,8 @@
#ifndef ORDERBOOK_H
#define ORDERBOOK_H
#include "SerializedLedger.h"
#include "NetworkOPs.h"
#include <boost/shared_ptr.hpp>
@@ -34,4 +39,6 @@ public:
STAmount& getTakePrice(STAmount& takeAmount);
};
#endif
// vim:ts=4