Commit Graph

16 Commits

Author SHA1 Message Date
JoelKatz
efcc7b885c Use a special pair with the inner objects const when looking up order books.
See: http://ideone.com/QggSh9
2013-03-16 04:59:52 -07:00
JoelKatz
0baccf10b0 Cleanups needed to support new code. 2013-03-14 18:46:52 -07:00
Stefan Thomas
049f92e882 Clean up orderbook-related variable naming.
Also adds the ability to unsubscribe from both sides of an orderbook
simultaneously. Adds better error handling.
2013-03-12 13:09:51 +01:00
JoelKatz
5fe7240b56 Cleanup and optimize order book DB generation. 2013-03-06 03:28:31 -08:00
JoelKatz
51db2d2cd7 Reprocess accepted ledgers once. Track metadata, transaction data, and affected accounts.
Process to SQL database and publish from this structure.
Include number of transactions in ledger publish info.
Publish transactions in applied order.
2013-03-04 13:59:53 -08:00
JoelKatz
09d8a454c2 Order book cleanups. 2013-02-28 11:21:13 -08:00
JoelKatz
c570cca15e Rewrite the notification code to use smart pointers. This fixes several
fatal race conditions in notifications. This makes failure to remove a
notification non-fatal (it will remove itself harmlessly when an attempt is
made to notify it).
2013-02-26 00:11:23 -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
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
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
Arthur Britto
d47c637129 Cosmetic. 2013-01-12 22:05:20 -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