Commit Graph

22 Commits

Author SHA1 Message Date
JoelKatz
6f2f058cd8 Derive Serialized ledger and transaction classes from SerializedType, not STObject. 2012-04-27 11:48:32 -07:00
JoelKatz
0903f5e433 Be clear about what's an account and what's a public key. 2012-04-24 04:42:49 -07:00
JoelKatz
9e2d13ff3e SerializedTransaction::getAffectdAccounts
So we can know what transactions affect what accounts.
2012-04-24 04:34:46 -07:00
JoelKatz
454f47fa99 Tie SerializedTransacion code to NewcoinAddress code. 2012-04-23 15:59:02 -07:00
JoelKatz
9a50a0e4f1 Helper function for STAccount->uint160 inside an object. 2012-04-20 20:21:27 -07:00
JoelKatz
31d65b222e Missing from previous commit. 2012-04-20 17:42:17 -07:00
JoelKatz
ad8ff12803 Fix mishandling of signing account.
Fix failure to set transaction type.
2012-04-20 13:30:18 -07:00
JoelKatz
9fa335af63 Update to 32-bit flags. A few serialized transaction fixes. 2012-04-12 16:02:20 -07:00
JoelKatz
21bb574e96 Having a function in a base class that's widely overloaded called 'getType'
is a bad idea. Change it to 'getSType'.
2012-04-08 19:56:48 -07:00
JoelKatz
d7669944de Ability to compare serialized types. 2012-04-08 16:33:28 -07:00
JoelKatz
f705b647a1 Get a field as a string. 2012-03-28 15:08:41 -07:00
JoelKatz
cb28fd52a3 Make accounts there own type
so we can add new functionality  and so they can display properly.
Cleanups and missing helper function.
2012-03-27 15:51:14 -07:00
JoelKatz
bd9780e503 Tie the new serialization code into the Json code.
Small cleanups.
2012-03-26 20:31:03 -07:00
JoelKatz
b72cdbac66 Cleanups. Move the sequence number into the middle transaction. 2012-03-26 18:04:36 -07:00
JoelKatz
649e1fda37 Final non-breaking changes to serializer classes. Extra set helper functions. 2012-03-26 11:43:26 -07:00
JoelKatz
39ce609a54 Push non-breaking changes to main branch. 2012-03-25 21:15:31 -07:00
JoelKatz
38cecf2d8f Code improvements:
A way to avoid duplicate field indexes that Arthur came up with.
Abstract out code to create individual fields.
Field index operations.
Flag operations.
Optional field operations.
2012-03-25 00:04:59 -07:00
JoelKatz
4ac2aefe48 Format fixes. Transaction fee functions. 2012-03-22 20:50:34 -07:00
JoelKatz
228b36d734 STUObject->STObject 2012-03-22 15:45:22 -07:00
JoelKatz
bcb7206d74 Change some STU* names to ST* names. 2012-03-20 11:21:02 -07:00
JoelKatz
2c113e8f8e Type for transaction types. 2012-03-19 09:31:20 -07:00
JoelKatz
4b66d24e3a Transaction in modifiable form. 2012-03-19 09:27:46 -07:00