Commit Graph

48 Commits

Author SHA1 Message Date
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
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
01c164c6fb Rewrite a lot of the SerializedTransaction code. Mostly just removing obsolete code. 2012-09-28 19:12:56 -07:00
JoelKatz
a40120b6c9 Cleanups and fixes. 2012-09-27 14:11:10 -07:00
JoelKatz
c9b8408d08 Cleanups and fixes. 2012-09-26 20:40:23 -07:00
JoelKatz
3f469c914d More serialization work. 2012-09-26 16:26:39 -07:00
JoelKatz
e4f7ffe995 Some cleanups that should make Arthur happy. 2012-08-28 16:07:44 -07:00
JoelKatz
0f80dff088 Use new hash prefixes. 2012-06-25 09:11:47 -07:00
jed
2d7e096d29 start standardizing the RPC returns 2012-06-11 15:40:40 -07:00
JoelKatz
456beaa5bf Bugfixes. 2012-06-11 01:05:42 -07:00
JoelKatz
197a19b996 Beginning transaction persistance. 2012-06-09 19:12:06 -07:00
JoelKatz
7a511d36ef Suppress duplicates. 2012-06-09 18:38:08 -07:00
JoelKatz
c0fced82c8 Cleanup. 2012-06-09 02:31:56 -07:00
JoelKatz
5ab1041b26 Transaction fees are STAmounts. 2012-06-01 20:33:17 -07:00
JoelKatz
9d41104d83 With all this rope lying about, someone might get hung.
(Wrong length for SerialializedTransaction.)
2012-06-01 16:25:59 -07:00
JoelKatz
7f4135a223 We had decided transaction fees were uint64, not STAmount.
Code was half and half.
2012-06-01 16:05:58 -07:00
JoelKatz
6be5c42720 Bugfixes. 2012-06-01 15:41:26 -07:00
JoelKatz
63b806b597 Set source account properly 2012-05-31 20:48:43 -07:00
JoelKatz
da6fc85e2c We were inconsistent over whether transaction types are 8 bits or 32 bits
so I made them 16 bits and updated the wiki to match.
2012-05-31 20:33:58 -07:00
JoelKatz
959fa8e298 Avoid the getValue confusion. Use getNValue for native, getMantissa otherwise 2012-05-27 18:23:33 -07:00
Arthur Britto
abccd3aeb6 More toward using STAmount. 2012-05-18 20:17:28 -07:00
Arthur Britto
8760a5b3d2 Change over to STAmount. 2012-05-18 19:28:39 -07:00
Arthur Britto
383e9c69aa Fix checkSign for SerializedTransaction. 2012-05-15 13:03:18 -07:00
JoelKatz
e217f30bfd Bugfixes. 2012-05-13 18:51:43 -07:00
Arthur Britto
e16c771932 Remove LocalAccount from Transaction code. 2012-05-13 15:07:12 -07:00
Arthur Britto
5ad3eb6d4d Work towards Claim. 2012-05-11 18:29:41 -07:00
JoelKatz
077da2acda Remove extraneous 'return' 2012-04-25 21:47:47 -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
585d800fb4 Bug fixes. 2012-04-21 02:20:09 -07:00
JoelKatz
9a50a0e4f1 Helper function for STAccount->uint160 inside an object. 2012-04-20 20:21:27 -07:00
JoelKatz
ad8ff12803 Fix mishandling of signing account.
Fix failure to set transaction type.
2012-04-20 13:30:18 -07:00
JoelKatz
1ea7b56fa8 Various cleanups, mostly style and whitespace. 2012-04-17 02:34:24 -07:00
JoelKatz
b4f1aa0e47 Missing 'const' 2012-04-08 19:57:32 -07:00
JoelKatz
d7669944de Ability to compare serialized types. 2012-04-08 16:33:28 -07:00
JoelKatz
812445f205 getFormat -> getTxnFormat 2012-04-07 03:56:40 -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
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
c819884990 More member function. 2012-03-22 15:45:46 -07:00
JoelKatz
b5082aabbf Tie into STUObject code. 2012-03-21 14:35:40 -07:00
JoelKatz
8d0d3d36ef Some more work on this class. Constructors. get* functions. 2012-03-20 11:22:14 -07:00
JoelKatz
b6f929c8a9 Skeleton. 2012-03-19 09:31:01 -07:00