Commit Graph

84 Commits

Author SHA1 Message Date
Arthur Britto
2af15db40a Rename everything from newcoin to ripple except the protocol buffers. 2012-10-12 15:48:33 -07:00
Arthur Britto
edabc770aa Cosmetic. 2012-10-12 15:08:56 -07:00
JoelKatz
c43934ab6f Fix lots of places I used 'empty' instead of 'clear'. This is why I like 'isEmpty'. 2012-10-11 05:06:24 -07:00
JoelKatz
34a3124c11 Allow fields to be freely created for objects that aren't required to conform to a template. 2012-10-06 18:34:27 -07:00
JoelKatz
16fbd7a862 Remove the automatic convert to serialized transasction 2012-10-06 17:32:24 -07:00
JoelKatz
972a504b97 Log which required field is missing. 2012-10-06 17:05:28 -07:00
JoelKatz
20a50f0f90 Return a SerializedTransaction if the original json was a transaction. 2012-10-06 14:31:52 -07:00
Arthur Britto
95d1127dad Parse UINT64 as hex. 2012-10-05 18:25:33 -07:00
JoelKatz
af5175eeee Fix a JSON buglet. 2012-10-05 02:44:24 -07:00
JoelKatz
de379037f8 Improve error messages. Support non-binary fields. Improve unit test. 2012-10-05 02:32:14 -07:00
JoelKatz
16510cd92e Add 'sfSignature' to the list of signature fields. (Should probably be an SField flag.) 2012-10-04 23:45:27 -07:00
JoelKatz
2d861a44f4 Bugfix for makeFieldAbsent. New unit test. 2012-10-04 17:02:14 -07:00
JoelKatz
bf7c32daa1 The five last missing bits of the JSON input code. 2012-10-04 15:31:36 -07:00
MJK
fca0f6fffc fix typo in strValue's name 2012-10-03 15:14:08 -07:00
JoelKatz
f0320f0b7f More JSON work. 2012-10-03 13:53:06 -07:00
JoelKatz
17a99e686b More STAmount JSON work. 2012-10-02 03:49:46 -07:00
JoelKatz
d9b0d39cf6 JSON->Account 2012-10-02 01:01:27 -07:00
JoelKatz
3bed31ae4a Detect more error conditions. 2012-10-02 00:31:30 -07:00
JoelKatz
e2c257f50b Fix a bug Jed reported. More JSON work. Redo format layouts. 2012-10-01 20:09:24 -07:00
JoelKatz
e7c9ee09f6 New JSON functionality. 2012-10-01 16:53:54 -07:00
JoelKatz
e04b695434 Burninate "Value" in "*ValueField*" functions. It was just pointless extra typing.
What else would you set/get in a field, by name, other than its value?
2012-10-01 15:35:30 -07:00
JoelKatz
79c35f2689 Remove all IField/ITField functions. They are now obsolete.
Use the correponding STObject functions.
2012-10-01 15:21:22 -07:00
JoelKatz
c4275c6d80 More work on the JSON conversion code. 2012-10-01 08:32:23 -07:00
JoelKatz
98d8823be0 Get ready for Json decode. 2012-10-01 02:19:17 -07:00
JoelKatz
5cc421bc76 Temporary fix to some issues caused by transaction flattening.
Will work out details with Arthur.
2012-09-30 22:42:06 -07:00
JoelKatz
98655aed4d Correctly check validity for type during setType. 2012-09-29 01:30:17 -07:00
JoelKatz
3e305871c3 Missing sort. 2012-09-29 00:30:21 -07:00
JoelKatz
29a5b60154 Fix txn signature breakage. 2012-09-29 00:05:54 -07:00
JoelKatz
aa8401066e Bugfixes. 2012-09-28 23:48:19 -07:00
JoelKatz
609edfddbd Cleanups. 2012-09-28 22:40:14 -07:00
JoelKatz
dc2e47b67c Hash functions. 2012-09-28 19:12:38 -07:00
JoelKatz
8c2eda1f93 Fix signature/hash generation. 2012-09-28 14:26:19 -07:00
JoelKatz
b88d6486a6 Rather than a polymorphic downcast, just fill in the object in place. 2012-09-27 20:55:10 -07:00
JoelKatz
2c2bfab52f STArrays should only hold STObject's 2012-09-27 20:47:11 -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
a40120b6c9 Cleanups and fixes. 2012-09-27 14:11:10 -07:00
JoelKatz
ad4952b958 Cleanups. 2012-09-26 15:09:27 -07:00
JoelKatz
ba77d3e438 Make it compile. 2012-09-26 12:47:55 -07:00
JoelKatz
fbb0baaca0 Cleanups. 2012-09-26 00:28:58 -07:00
JoelKatz
e0587a44b8 More work on new serializer code. 2012-09-25 22:47:59 -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
6c17c0270b Remove dead code.
Use the protocol file to generate the STI_* constants.
2012-09-24 23:25:27 -07:00
JoelKatz
4831588c33 Clean up JSON logging. 2012-09-13 13:11:29 -07:00
JoelKatz
e4f7ffe995 Some cleanups that should make Arthur happy. 2012-08-28 16:07:44 -07:00
JoelKatz
6bf10b1082 Threading support for node deletion. 2012-08-17 16:18:22 -07:00
Arthur Britto
a0422631a2 Add getJson() for STVector256. 2012-07-07 19:43:20 -07:00
Arthur Britto
616af57654 Add SerializedObject and SerializedTransaction support for STPathSet. 2012-06-17 15:14:00 -07:00
Arthur Britto
573edfcb91 Add support for H128 to Serialized classes. 2012-06-02 14:23:44 -07:00
JoelKatz
19aadb7a5d Bugfix. 2012-06-01 16:11:07 -07:00