Commit Graph

102 Commits

Author SHA1 Message Date
JoelKatz
ddab25ab44 Break out the portion that sets the value from the STAmount code.
Fix its mishandling of negative amounts.
Support array types in STAmount JSON input.
2012-10-02 04:28:01 -07:00
JoelKatz
17a99e686b More STAmount JSON work. 2012-10-02 03:49:46 -07:00
JoelKatz
670adae353 Cleanup. 2012-10-02 00:31:18 -07:00
Arthur Britto
0b49c0dee9 Get rid of unneeded signature parameter for NicknameSet. 2012-10-01 15:05:53 -07:00
Arthur Britto
61e939285e Fix operator-() for XNS. 2012-10-01 13:22:36 -07:00
JoelKatz
b6c73c87d4 auto_ptr semantics are a bit odd 2012-09-28 23:35:40 -07:00
JoelKatz
609edfddbd Cleanups. 2012-09-28 22:40:14 -07:00
JoelKatz
b6653732b0 New serializer work.
Rework add/addRaw/addData per discussion with Arthur.
New STObject add/deserialize code.
STArray add/deserialize code.
Allow arrays of normal fields.
Other small fixes.
2012-09-27 15:43:29 -07:00
JoelKatz
5d0adc449b Merge branch 'master' of github.com:jedmccaleb/NewCoin into serialize 2012-09-27 14:15:56 -07:00
JoelKatz
a40120b6c9 Cleanups and fixes. 2012-09-27 14:11:10 -07:00
Arthur Britto
22c22bd734 WS: Add support ledger_entry to return a ripple_state. 2012-09-27 13:36:04 -07:00
JoelKatz
632d506234 Make this compile. 2012-09-26 15:08:43 -07:00
JoelKatz
c10ff5bac9 More serialization rework. 2012-09-26 14:22:04 -07:00
JoelKatz
19b9facdef name -> fName 2012-09-26 12:47:17 -07:00
JoelKatz
2446db0bbe More serialization work. 2012-09-25 19:27:09 -07:00
JoelKatz
c757d363af Parts of the new serialization code. Does not compile yet. 2012-09-25 16:48:24 -07:00
JoelKatz
9432d35f14 You don't need to customize operator=(const&) since the base class does it for you. 2012-09-24 14:45:44 -07:00
JoelKatz
7ef8001505 Audit all construction cases, fix broken ones. 2012-09-24 14:36:48 -07:00
JoelKatz
3c5ea7020f Start of STAmount issuer fixes. 2012-09-24 14:30:24 -07:00
Arthur Britto
7a479d6035 Fixes for rippling through an offer. 2012-09-06 21:32:07 -07:00
Arthur Britto
1c963cc1a0 Merge branch 'master' into ripple 2012-09-04 16:16:13 -07:00
Arthur Britto
61831eaa3c Obsolete redeem and issue flag support from ripple paths. 2012-09-03 13:57:01 -07:00
JoelKatz
9977463122 You no longer need .getFullText() on an operator<< to an ostream.
There's like 25 of them in TransactionEngine.cpp that can be removed when convenient
2012-09-03 02:30:17 -07:00
Arthur Britto
cf450106c4 Require issuer when specifying currency when creating STAmount. 2012-08-25 14:49:45 -07:00
Arthur Britto
e4b8d874e7 Encode issuer in STAmount. Breaking protocol and db version change. 2012-08-23 14:55:03 -07:00
Arthur Britto
58644fc806 Fix transaction engine sense of ripple balances. 2012-08-20 16:23:23 -07:00
JoelKatz
aa1f923306 A better fix so that every type doesn't have to have its own operator=.
This fixes it in one place and allows many such helpers to be removed.
2012-08-19 22:47:59 -07:00
Arthur Britto
f2902ca014 Make json full text for STAccount more legible. 2012-08-17 17:08:23 -07:00
JoelKatz
d477172f65 Cleanups and whitespace fixes. 2012-08-09 19:20:53 -07:00
JoelKatz
1aa15c62e1 Implement STAmount::getRate. 2012-08-09 16:03:00 -07:00
Arthur Britto
101ce61953 Cosmetic. 2012-07-20 14:25:10 -07:00
Arthur Britto
a61cf78299 Better handling of full values for amounts. 2012-07-20 14:16:34 -07:00
Arthur Britto
71e499a421 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-07-18 19:12:33 -07:00
Arthur Britto
7236eed852 Fixes for applyOffer. 2012-07-18 19:12:27 -07:00
JoelKatz
ab61b7ca46 Let's test divide too, while we're at it. 2012-07-18 17:47:15 -07:00
Arthur Britto
1714695d9b Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-07-18 17:40:24 -07:00
Arthur Britto
d62c6a974e Add logging for offer create. 2012-07-18 17:40:21 -07:00
JoelKatz
ccc799e404 Fix a bug Arthur reported. 2012-07-18 17:37:30 -07:00
Arthur Britto
d0db6e4476 Rework caching of SLEs during transaction processing. 2012-07-18 14:49:50 -07:00
jed
0f554c1c59 compile on windows 2012-07-16 15:36:54 -07:00
jed
dcc7025b41 . 2012-07-16 15:12:45 -07:00
jed
6e06f205ba Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-07-14 20:54:25 -07:00
jed
5e401c3f4e . 2012-07-14 20:54:12 -07:00
Arthur Britto
f6fcef9101 Misc fixes. 2012-07-14 15:57:09 -07:00
Arthur Britto
a3fb732e24 Rework offer amount calculation. 2012-07-13 15:28:58 -07:00
Arthur Britto
8ae768d2a7 Add hack to show currency in Json for STAmount. 2012-07-10 21:38:41 -07:00
Arthur Britto
0c4b739010 Fix RPC decimal parsing. 2012-07-10 21:20:09 -07:00
Arthur Britto
3462ab0f07 Work towards ripple and offers. 2012-07-09 17:38:03 -07:00
JoelKatz
682df84505 Cleanup, remove FIXMEs. 2012-06-23 19:32:19 -07:00
JoelKatz
f91ab9d011 Cleanups. Add unit test for STAmount::getRate. 2012-06-22 03:31:05 -07:00