Vinnie Falco
a84f7e2eb5
Rename SubMapType
2013-07-10 09:51:27 -07:00
Vinnie Falco
0deaeb1000
Cleanly destroy Application on exit
2013-07-01 09:32:06 -07:00
Vinnie Falco
00a7cbf610
Update copyright notice and 80 column separators
2013-06-15 18:20:59 -07:00
Vinnie Falco
521e812fc4
Reformatting using AStyle
2013-06-14 08:45:13 -07:00
Vinnie Falco
68a4e4329c
Tidy up OrderBook
2013-06-12 18:20:28 -07:00
Vinnie Falco
3273625f61
Split up InfoSub and tidy up various files
2013-06-09 11:26:18 -07:00
Vinnie Falco
794b84c473
Fix missing file names for new Log partition code
2013-05-27 13:15:57 -07:00
Vinnie Falco
5615bd230d
Strip includes from module sources and move them into unity .cpp file
2013-05-27 13:14:06 -07:00
Vinnie Falco
a5ab694e48
Switch over more files to use the new Log functions
2013-05-27 13:14:04 -07:00
JoelKatz
423635d2ef
Faster publishing of order book changes to book listeners
2013-05-14 18:25:47 -07:00
JoelKatz
b902df7b38
Workaround DR106.
2013-05-11 19:07:43 -07:00
JoelKatz
95d39962a8
Fix for C++ defect 106.
2013-05-11 18:53:11 -07:00
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
98a4dfe015
Tweaks.
2013-03-15 01:15:29 -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
0821da4fc0
Cleanup.
2013-03-05 23:00:45 -08:00
JoelKatz
6ad03ee05e
Better handle a "probably can't ever happen" condition.
2013-03-05 22:43:39 -08:00
JoelKatz
d1169ee86d
Make sure all load sources are named.
2013-03-04 16:22:09 -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
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