Commit Graph

62 Commits

Author SHA1 Message Date
Arthur Britto
d16ffab7e0 Fix logging. 2013-06-16 07:15:34 -07:00
Arthur Britto
475ce2b899 Implement optional offer cancel on offer_create. 2013-06-15 22:10:15 -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
JoelKatz
111951cc52 Add lsfSell flag to indicate an offer was placed as a sell. 2013-06-13 15:23:38 -07:00
JoelKatz
94a38a30dd Query the LES, not the Ledger. This should fix the bug where
OfferCreate doesn't take all crossing offers.
2013-06-10 10:26:58 -07:00
Vinnie Falco
3273625f61 Split up InfoSub and tidy up various files 2013-06-09 11:26:18 -07:00
JoelKatz
6b4b239e72 Fix dir describer when an offer is added to a directory.
Check all amounts for orders, fees, and payments to make sure they're network legal.
2013-06-06 23:07:33 -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
d8d52d975c Finish Log changes for module ripple_ledger 2013-05-27 13:14:05 -07:00
JoelKatz
bcf0fc0b3a Avoid construcing a RippleAddress just to throw it away. 2013-05-13 18:28:54 -07:00
JoelKatz
ee726819c9 Reduce some logging. 2013-04-29 09:31:44 -07:00
Arthur Britto
c34b1eb9ee Have OfferCreate require positive funds. 2013-04-26 11:14:18 -07:00
Arthur Britto
78c867d714 Add tfSell support for OfferCreate. 2013-04-25 15:23:53 -07:00
JoelKatz
6bdb26d5d4 Reduce logging in OfferCreateTransactor. 2013-04-17 22:27:40 -07:00
Arthur Britto
f2dd80c004 Disallow and remove IOUs denominated in XRP. 2013-04-09 01:21:26 -07:00
Arthur Britto
4ac824419a Abstract valid offer testing in OfferCreate. 2013-03-21 16:27:24 -07:00
Arthur Britto
83e347c839 #27 Error creating offer without auth. 2013-03-20 01:21:41 -07:00
JoelKatz
b9456c8fd7 Except when interacting with boost, use std::function and std::bind
when C++11 is available. See: http://stackoverflow.com/questions/14617835
2013-03-16 03:27:43 -07:00
Arthur Britto
62b37ff283 Another fix for FillOrKill. 2013-03-07 17:45:40 -08:00
Arthur Britto
f8799a6558 Really fix KillOrFill. 2013-03-07 17:41:45 -08:00
Arthur Britto
15942616e8 Fix FillOrKill kill handling of found unfunded orders. 2013-03-07 16:41:57 -08:00
Arthur Britto
f47bf56ac8 Add fill or kill support. 2013-03-06 01:22:35 -08:00
Arthur Britto
64994268d3 Rename tfMarket to tfImmediateOrCancel. 2013-03-06 01:05:32 -08:00
Arthur Britto
f95c39e1c5 Fixes for resulting negative offers. 2013-03-05 17:28:44 -08:00
Arthur Britto
deebd07814 Add checking for invalid offers in ledger. 2013-03-04 15:14:17 -08:00
Arthur Britto
dd398b7eb9 Make sure finally negative offers are not processed. 2013-03-04 13:56:40 -08:00
Arthur Britto
2bb4501553 Add tfMarket support to OfferCreate. 2013-03-03 23:01:19 -08:00
Arthur Britto
b759b0674c Make OfferCreate use mPriorBalance. 2013-02-24 14:20:28 -08:00
JoelKatz
ef3dd3ca77 Don't recompute the OrderBookDB too many times more than needed. 2013-02-13 09:31:52 -08:00
Arthur Britto
046c158dfa Fix OfferCreate noticing unfunded source after fees. 2013-02-11 23:01:20 -08:00
JoelKatz
4abdb34c20 Trivial cleanups. 2013-02-09 16:17:12 -08:00
Arthur Britto
2f0721f80f Work toward http/https client unification. 2013-01-30 15:17:01 -08:00
Arthur Britto
de36536d07 Fix log. 2013-01-29 15:14:33 -08:00
Arthur Britto
71d9b60b00 Be more correct. 2013-01-29 07:49:29 -08:00
Arthur Britto
28d4a71e76 Fixes for OfferCreate. 2013-01-28 21:13:48 -08:00
Arthur Britto
26a3cebf2e Don't let offer taker spend savings. 2013-01-27 11:52:02 -08:00
Arthur Britto
ddf0a9e78b Handle rounding to zero on small offers. 2013-01-26 21:25:44 -08:00
Arthur Britto
ea0404b552 Work on applying offers. 2013-01-26 20:29:44 -08:00
Arthur Britto
d5477dc832 Fix applyOffer() to use rate and other stuff. 2013-01-25 14:23:42 -08:00
Arthur Britto
d15aa24f2a Fix offer create taking with XRP. 2013-01-22 14:06:36 -08:00
Arthur Britto
308ca21b97 Make tecUNFUNDED more specific and fix WalletAdd. 2013-01-19 14:15:56 -08:00
Arthur Britto
51bbe5ffc8 Add path test for issue #23. 2013-01-19 13:19:17 -08:00
Arthur Britto
7dfbe2aea1 Return temINVALID_FLAG for transaction with no flags. 2013-01-03 14:07:41 -08:00
Arthur Britto
14380311a1 Clean up aborted offers support going into debt. 2012-12-25 16:50:10 -08:00
Arthur Britto
f3b216b39f Handle errors from ripple state creating. 2012-12-25 16:42:33 -08:00
Arthur Britto
194053c87e Add and move to new tecCLAIM result codes. 2012-12-23 15:52:59 -08:00
Arthur Britto
530e05e52b Improve OfferCreate reserve behavior. 2012-12-20 14:42:27 -08:00
JoelKatz
4fb2220891 New fee stuff.
CAUTION: Code is currently in an untested state.
2012-12-20 13:02:05 -08:00