Commit Graph

16 Commits

Author SHA1 Message Date
JoelKatz
25c52b1a4d Use getSLEi to get an immutable SLE. This lets us cache them. 2013-02-20 12:00:38 -08:00
JoelKatz
4d6bf6fd43 Logging reductions. 2013-02-19 15:41:03 -08:00
JoelKatz
6ba2d4fd61 Make types compatible. 2013-02-18 12:06:43 -08:00
JoelKatz
ef3dd3ca77 Don't recompute the OrderBookDB too many times more than needed. 2013-02-13 09:31:52 -08:00
JoelKatz
ca57bf8290 Don't wipe the order book while it's being used.
Fix OrderBookDB::getBooks so it can return something.
Fix some cases of the find/[] anti-pattern. (You don't need to search twice.)
2013-02-13 05:27:31 -08:00
JoelKatz
73fe72bfa3 Track whether a message is a broadcast. If a broadcast, log at a lower level. 2013-02-12 22:05:46 -08:00
JoelKatz
cb111b6318 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.
2013-02-12 20:39:00 -08:00
JoelKatz
b417ff4ef1 Mark a FIXME. The OrderBookDB code doesn't handle deleted nodes, even deleted orders. 2013-02-08 22:11:54 -08:00
JoelKatz
1d12e7a8b7 Don't crash if a node is deleted. 2013-02-08 22:11:07 -08:00
jed
4b2672e115 . 2013-02-06 11:26:55 -08:00
jed
e8b17ef082 Merge branch 'book'
Conflicts:
	src/cpp/ripple/OrderBookDB.cpp
	src/cpp/ripple/OrderBookDB.h
	src/cpp/ripple/Pathfinder.cpp
2013-02-05 13:47:25 -08:00
jed
eb27240610 first draft 2013-02-05 13:04:38 -08:00
Arthur Britto
c9b954dd7c Fix order book scaning for path finding. 2013-02-02 19:08:26 -08:00
jed
62f6d030c6 still working 2013-01-31 10:59:19 -08:00
JoelKatz
8a1033caad Second round of removing extraneous copy constructor and destructor calls. 2012-12-17 20:31:26 -08:00
Stefan Thomas
fa3fab5816 Moved cpp code to src/cpp and js code to src/js. 2012-11-07 12:49:50 -08:00