Commit Graph

61 Commits

Author SHA1 Message Date
JoelKatz
8e4b11b668 Add more counted types. 2012-10-31 16:11:59 -07:00
JoelKatz
76d4a91814 Cleanups. 2012-10-25 19:59:05 -07:00
Arthur Britto
249725b66b Rename NewcoinAddress to RippleAddress. 2012-10-25 18:31:20 -07:00
JoelKatz
61de7a9746 Clean up this unit test. 2012-10-23 11:23:09 -07:00
Stefan Thomas
1a20295e16 Remove tx invalid assertion - exception should be enough.
Jed's words, not mine. ;)
2012-10-23 17:56:36 +02:00
Arthur Britto
7495fe70cc WS: Clean up json responses and report engine submission results. 2012-10-12 21:14:04 -07:00
JoelKatz
a2c526a913 Construct SerializedTransaction from STObject 2012-10-06 14:30:56 -07:00
JoelKatz
e17720717a Placeholder until this unit test is complete. 2012-10-05 02:48:09 -07:00
JoelKatz
ffd1f03fe2 Missed one. 2012-10-05 02:36:04 -07:00
JoelKatz
f180c7eb96 Remove log entry that's not needed 2012-10-05 02:35:37 -07:00
JoelKatz
40547c1ecc Unit test. 2012-10-05 02:32:48 -07:00
JoelKatz
e2c257f50b Fix a bug Jed reported. More JSON work. Redo format layouts. 2012-10-01 20:09:24 -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
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