Commit Graph

61 Commits

Author SHA1 Message Date
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
JoelKatz
192dc2e85c Reduce logging. 2013-04-28 16:40:09 -07:00
Arthur Britto
3e7504d9d7 Disallow rippling to self. 2013-04-23 16:18:24 -07:00
JoelKatz
1e09e89c28 Small fixes. 2013-04-16 11:57:43 -07:00
JoelKatz
bdf1ed2584 Add a getLedgerNext that takes into account changes in the LES. 2013-04-16 11:42:04 -07:00
JoelKatz
298a29ebc6 Some extra assert's and stricter checks. 2013-04-14 03:17:00 -07:00
Arthur Britto
7b98191d68 Make ripple balance checks more lenient. 2013-04-03 17:12:39 -07:00
Arthur Britto
96733c2874 Add trust auto clear. Fixes #28 2013-03-31 16:15:45 -07:00
JoelKatz
970a384afe Fix. 2013-03-26 20:30:10 -07:00
JoelKatz
79b047b68d Add LES::hasChanges which returns true if an LES changes anything. 2013-03-26 20:29:13 -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
38ab300310 Minor cleanup. 2013-03-13 22:28:15 -07:00
Arthur Britto
91f7bab7e4 Don't let people send more XRP than they have. 2013-03-13 22:14:24 -07:00
JoelKatz
7bd96e9f2f Make the transaction application parameters accessible from the LES. 2013-03-13 21:59:43 -07:00
JoelKatz
f1e2e2f510 Reduce logging. 2013-03-12 22:43:48 -07:00
Arthur Britto
2a0f8b224d Make sure OwnerCount adjustments are stored. 2013-03-08 20:47:41 -08:00
JoelKatz
500b6f23b8 Neuter logging. 2013-03-06 21:15:26 -08:00
JoelKatz
d0e00f3706 Reduce chatty debug. 2013-03-06 16:39:47 -08:00
Arthur Britto
49458bff57 Add support for transfer fees to RPC book_offers. 2013-03-03 21:31:34 -08:00
JoelKatz
50be7dd7e4 Some quick changes to improve pathfinding performance. (20% faster roughly) 2013-02-27 15:17:06 -08:00
JoelKatz
53b622db75 Make getSLEi more useful. 2013-02-21 09:47:34 -08:00
JoelKatz
25c52b1a4d Use getSLEi to get an immutable SLE. This lets us cache them. 2013-02-20 12:00:38 -08:00
Arthur Britto
b05c5c3892 Fix calculation of XRP available after reserve. 2013-02-11 22:59:50 -08:00
JoelKatz
92292a178b Bring some sanity to integer->STAmount constructors. 2013-02-11 22:19:21 -08:00
JoelKatz
4abdb34c20 Trivial cleanups. 2013-02-09 16:17:12 -08:00
Arthur Britto
823e04b148 Fixes for rippling funds. 2013-01-28 21:13:19 -08:00
Arthur Britto
a210800c3c Improve payment diagnostics. 2013-01-26 20:29:27 -08:00
Arthur Britto
01920bdef9 Flag setting for authorized accounts. 2013-01-25 03:20:00 -08:00
Arthur Britto
ec7ce16f68 Fix and improve offer taking and trust setting. 2013-01-23 21:36:37 -08:00
Arthur Britto
51bbe5ffc8 Add path test for issue #23. 2013-01-19 13:19:17 -08:00
JoelKatz
3b905588b5 Make create after delete officially legal. 2013-01-13 17:47:29 -08:00
JoelKatz
8f5f8bdb4e It was my bug after all. Fix create after delete. 2013-01-12 21:44:38 -08:00
Arthur Britto
f685e9e9ee Get rid of assert that prevented all of the extra mile. 2012-12-25 18:28:57 -08:00
Arthur Britto
dc578a8085 Push clean up code for bad ripple nodes. 2012-12-25 18:08:13 -08:00
Arthur Britto
e1330badda Raise number of entries in directory nodes. 2012-12-25 17:20:04 -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
77d92e1767 Fix ripple state creating and deleting. 2012-12-25 16:14:10 -08:00
Arthur Britto
194053c87e Add and move to new tecCLAIM result codes. 2012-12-23 15:52:59 -08:00
JoelKatz
1f74c1e30e Remove redundant set, log before assert. 2012-12-22 14:07:42 -08:00
Arthur Britto
fadf9aa442 Prevent offers spending from XRP reserve. 2012-12-20 22:23:10 -08:00
Arthur Britto
8b19a356f5 Default owner count to 0 if not available. 2012-12-18 14:40:11 -08:00
JoelKatz
2a06686b7c Round one of fixes to avoid ridiculous numbers of spurious copy constructor and destructor calls.
Most of these fixes involve calls to BOOST_FOREACH to iterate over a map or unordered_map where the
iterator type didn't perfectly match the internal type, so a reference into the map couldn't be created
and a new value/content pair had to be created for each iteration.
2012-12-17 20:20:24 -08:00
Arthur Britto
0bc4a7b1e2 Fix extraneous offer creation. 2012-12-15 16:48:46 -08:00
Arthur Britto
65bb4a8941 Avoid letting owner counts go bad. 2012-12-15 15:22:54 -08:00
Arthur Britto
4baa8b3c5d Add support for offers to allow parties to go into debt. Broken. 2012-12-15 00:06:12 -08:00
Arthur Britto
12a4ce88ec Add support for incrementally updating owner count. 2012-12-14 21:19:44 -08:00
JoelKatz
2864dda4eb Make directory nodes self-descriptive.
Callers pass in a "describer" function that stamps new directory entries.
2012-11-30 00:30:19 -08:00
JoelKatz
3f9d2e4b05 bugfix 2012-11-26 09:47:54 -08:00