Commit Graph

67 Commits

Author SHA1 Message Date
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
JoelKatz
3047f77160 Be consistent in how we include Boost header files. 2012-05-28 04:28:22 -07:00
JoelKatz
e6e72a7b9a Cleanups. 2012-05-28 03:35:52 -07:00
Arthur Britto
0b9c762f99 Add STValue256 type. 2012-05-26 02:51:10 -07:00
Arthur Britto
1e9304f8c6 Use STPathSet in place of STPath in transactions. 2012-05-20 23:43:02 -07:00
Arthur Britto
261fab7108 Merge with new path code. 2012-05-20 23:03:05 -07:00
Arthur Britto
98ade9985e Work toward RPC send. 2012-05-20 22:59:13 -07:00
JoelKatz
9cfe26f5d6 New path code. PathSet/PathElement. 2012-05-20 20:14:19 -07:00
JoelKatz
567ac3c846 STPathElement and STPath classes. Better Json-ization of serialized types. 2012-05-19 01:09:59 -07:00
JoelKatz
2a3b4bdc37 Don't need this debug anymore. 2012-05-18 21:21:55 -07:00
JoelKatz
34e933cad8 Avoid a whole lot of extraneous allocate/copy/free cycles when
serialized objects are constructed.
2012-05-18 21:18:49 -07:00
JoelKatz
163ecc60e3 STAmount helpers for STObject/STTransaction. 2012-05-17 20:26:52 -07:00
JoelKatz
5bc6adcd64 I broke it! 2012-05-15 17:18:17 -07:00
JoelKatz
cb4fcfddac Get rid of some ugliness in the use of ptr_vectors. I hope I didn't break anything. 2012-05-15 16:07:42 -07:00
JoelKatz
c9571a2692 Fix a case where we don't create a stub for a non-present field. 2012-05-15 13:30:30 -07:00
JoelKatz
72ef5f6e4b Somehow this function disappeared. 2012-05-03 12:39:38 -07:00
JoelKatz
2810f887a5 Cosmetic fix. Extra debug. 2012-04-26 18:58:31 -07:00
JoelKatz
f461ef1945 VL unit test. 2012-04-26 18:36:27 -07:00