Commit Graph

90 Commits

Author SHA1 Message Date
Vinnie Falco
794b84c473 Fix missing file names for new Log partition code 2013-05-27 13:15:57 -07:00
Vinnie Falco
f5ba6f1915 Update RippleCalc for new log functions 2013-05-27 13:15:53 -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
8c17e8ba7d Merge branch 'faster_clientops'
Conflicts:
	src/cpp/ripple/RippleCalc.cpp
	src/cpp/ripple/TransactionCheck.cpp
2013-05-15 11:23:36 -07:00
JoelKatz
bcf0fc0b3a Avoid construcing a RippleAddress just to throw it away. 2013-05-13 18:28:54 -07:00
JoelKatz
0193c48bf8 Extra logging to try to track down why we're crashing. 2013-05-12 17:27:03 -07:00
JoelKatz
bf032b2468 Emergency fix. 2013-05-08 17:23:18 -07:00
JoelKatz
840795be5a Mark the issues we had. 2013-05-08 17:21:19 -07:00
Arthur Britto
cb87bfd4b4 Zero to do on each ripple pass. 2013-05-07 15:38:30 -07:00
JoelKatz
dae7651812 Temporary fix. 2013-05-07 14:18:17 -07:00
JoelKatz
393d34f823 Emergency fix. 2013-05-07 07:07:36 -07:00
JoelKatz
c0265ac4d3 Hotfix. 2013-05-06 22:49:34 -07:00
Arthur Britto
8ccd0c6ef6 Cosmetic. 2013-05-06 20:11:16 -07:00
Arthur Britto
fc92e563e0 Clean up rippling currency and issuer. For client issue 535. 2013-05-06 20:09:24 -07:00
Arthur Britto
bf11eb9f32 Fixes for rippling through offers.
- More logging.
- Respect multi-quality in reverse.
- Per node respect delivery amounts for offers.
  - Pre-zero delivery amounts.
  - Sum delivery amounts.
  - Limit amount taken from offer by delivery amount.
- More error checking for going past bounds.
- Avoid == on float comparisons.
2013-05-05 20:38:33 -07:00
Arthur Britto
185ad1acfe Make RippleCalc a bit more strict. 2013-04-27 14:52:27 -07:00
Arthur Britto
9f9cd13740 Do not have offer taking when ripple credit offer owner when paying self. 2013-04-23 16:21:18 -07:00
Arthur Britto
00456e9879 Offer rounding improvements. 2013-04-21 18:21:42 -07:00
Arthur Britto
48c310c110 Merge branch 'develop' of github.com:jedmccaleb/NewCoin into develop 2013-04-17 02:19:25 -07:00
Arthur Britto
7d3517c197 Fix calcNodeRipple to use correct rate. 2013-04-17 02:19:13 -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
b7484e9264 Make sure we don't use an invalid LES. (Adds asserts.) 2013-04-13 20:25:06 -07:00
JoelKatz
8bf3f4f2e3 Use LES::duplicate function instead of copy/bumpSeq. (It does the same thing.) 2013-04-13 19:39:35 -07:00
JoelKatz
199029b8b5 Remove mLedger from PathState. It's not used and it's scary (because an LES could amend it). 2013-04-13 19:17:32 -07:00
JoelKatz
1f5d380546 Mark some code that doesn't do what it might appear to. 2013-04-13 19:11:55 -07:00
Arthur Britto
4cf9cae063 More logging for RippleCalc. 2013-04-13 13:11:27 -07:00
JoelKatz
bd06b22384 Use the fees that apply, not the transfer rate. 2013-04-13 02:52:58 -07:00
JoelKatz
c0049542a2 Correctly handle one-element paths. Don't call setCanonical, it's broken. 2013-04-08 17:44:04 -07:00
Arthur Britto
0dadf53167 Fix pathfinding mis-setting currency on order book out. 2013-03-30 15:49:58 -07:00
Arthur Britto
97d73de168 Require path nodes for offers to specify a currency or issuer change. 2013-03-30 13:46:34 -07:00
Arthur Britto
bfb69664ff Major pathfinding fixes. 2013-03-26 21:19:46 -07:00
Arthur Britto
7074842fbc Improve ripple rounding. 2013-03-20 20:10:57 -07:00
Arthur Britto
837de8a7a7 Fix ripple through micro offer reverse. 2013-03-20 18:32:34 -07:00
Arthur Britto
af8418c89c #27 Error rippling without auth. 2013-03-20 01:50:22 -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
Arthur Britto
22b74c6d29 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-03-08 10:30:30 -08:00
Arthur Britto
78b31c15c0 Cosmetic. 2013-03-08 10:30:18 -08:00
jed
2b2e93eef6 stray EOF and spelling 2013-03-07 23:19:22 -08:00
Arthur Britto
5e6f399b9d Unfund offers with microscopic amounts. 2013-03-07 20:54:41 -08:00
Arthur Britto
45a6c5938c Fix RippleCalc on offers with bad amounts. 2013-03-07 18:21:23 -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
394c7be704 Fix pathloop detech in RippleCalc. 2013-03-07 15:30:30 -08:00
JoelKatz
e70a532fd8 Temporary loop limit. 2013-03-07 12:18:40 -08:00
JoelKatz
ee3cb2cece Temporary hotfix until this can be looked at 2013-03-07 01:21:10 -08:00
JoelKatz
f88bdcfea7 Emergency temporary fix. 2013-03-06 23:15:31 -08:00
JoelKatz
6b401d4de7 Control logging spew. 2013-03-06 21:17:06 -08:00