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
JoelKatz
c821ed8d84
Reduce loop count.
2013-03-06 20:58:38 -08:00
JoelKatz
5f66791280
Cleanups.
2013-03-06 17:41:17 -08:00
JoelKatz
bd3de01b0e
Emergency temporary fix.
2013-03-06 17:34:08 -08:00
JoelKatz
740513fc38
Don't spin forever.
2013-03-06 14:07:45 -08:00
JoelKatz
996f320788
Typo
2013-03-05 23:01:30 -08:00
JoelKatz
0ac437de5a
Log cleanup.
2013-03-05 23:01:00 -08:00
JoelKatz
3f6cb78158
Fix a bug where we negate the balance during pathfinding.
2013-03-05 15:17:37 -08:00
JoelKatz
ce401dffb6
Speed up path finding by about 35%.
2013-03-04 18:57:44 -08:00
Arthur Britto
deebd07814
Add checking for invalid offers in ledger.
2013-03-04 15:14:17 -08:00
JoelKatz
df9884f48e
Cleanups.
2013-03-03 23:52:13 -08:00
JoelKatz
50be7dd7e4
Some quick changes to improve pathfinding performance. (20% faster roughly)
2013-02-27 15:17:06 -08:00