JoelKatz
c89390eb0c
'Previous' is more logical than 'Last'. And let's be consistent.
2012-10-26 16:32:38 -07:00
JoelKatz
253e3f5243
Use the new, simpler traverse logic.
2012-10-24 15:46:19 -07:00
JoelKatz
4b2b75b367
Fix the bug Andrey reported. A reference into an array can become invalid if
...
the array changes size. This happened in the txn metadata code when we had
to thread while handling a node.
2012-10-20 12:52:25 -07:00
JoelKatz
cc94abf891
Some cleanups.
2012-10-20 12:20:47 -07:00
JoelKatz
517f3aa031
Merge TER codes with transaction result metadata codes.
2012-10-16 16:24:32 -07:00
JoelKatz
25d888ff48
Include the transaction result in the metadata.
2012-10-16 14:36:36 -07:00
JoelKatz
9e8a7d4ced
Remove all the old txn meta code. It's not obsolete
2012-10-16 13:55:57 -07:00
Arthur Britto
9c31daad08
Disallow negative amounts for CreditSet.
2012-10-15 20:36:14 -07:00
JoelKatz
0e6ea3bb4a
Double check TMNEThread operations.
2012-10-14 18:25:50 -07:00
JoelKatz
2446db0bbe
More serialization work.
2012-09-25 19:27:09 -07:00
JoelKatz
02b3bcb089
Put the threading in the correct owner node for unthreaded nodes.
...
Add some additional debug to threading.
2012-09-20 00:15:48 -07:00
JoelKatz
093ab09557
An empty node is legal. For example, a created node.
2012-09-13 13:08:33 -07:00
JoelKatz
e4f7ffe995
Some cleanups that should make Arthur happy.
2012-08-28 16:07:44 -07:00
JoelKatz
bcd08c368c
This should complete the code to build the transaction meta data based on
...
the ledger entry set.
2012-08-28 04:05:19 -07:00
JoelKatz
9148127083
Fix threading.
2012-08-27 03:04:33 -07:00
JoelKatz
82c3a49e26
Missing newlins.
2012-08-24 09:35:26 -07:00
JoelKatz
c120a4cada
Fix thread. New constructor.
2012-08-22 08:03:29 -07:00
JoelKatz
962e9f0180
Type comparison is handled in higher-level code and not needed at the bottom.
2012-08-22 05:17:23 -07:00
JoelKatz
a8316fac26
Missing from previous commits.
2012-08-22 04:55:10 -07:00
JoelKatz
f9e1ee033b
TxMeta rewrite.
2012-08-21 08:16:10 -07:00
JoelKatz
d477172f65
Cleanups and whitespace fixes.
2012-08-09 19:20:53 -07:00
JoelKatz
7b44fffb27
Make this compile.
2012-08-03 03:22:00 -07:00
JoelKatz
a202eb50d7
Cleanups.
2012-08-03 02:57:55 -07:00
JoelKatz
1213f34d75
More pieces.
2012-07-31 01:01:50 -07:00
JoelKatz
6e1ffd752d
Well, that was painful. Can't use vectors because they slice. Can't use sets
...
because their contents are immutable. Can't use maps because there's no type
that corresponds to the sort order. Can't use a vector of pointers because
they won't snapshot/copy correctly. No real choice but to use
boost::ptr_vector and create the necessary helper functions for it to work.
2012-07-30 23:42:57 -07:00
JoelKatz
a01909fa4b
Some transaction metadata fixes.
2012-07-30 00:29:42 -07:00
JoelKatz
1167ba2cc0
Set up for ledger diffs to populate the metadata.
...
Special case for unfunded offers -- need to know how much was taken before deletion
2012-07-28 14:49:34 -07:00
JoelKatz
ce2e1cea33
Beging merging transaction metadata code with ledger entry set code.
2012-07-27 12:56:28 -07:00
JoelKatz
b575e72093
Metadata structures for deletion of unfunded offers.
2012-07-25 18:40:08 -07:00
JoelKatz
b31ae630cf
Small bits.
2012-07-25 01:51:41 -07:00
JoelKatz
f9e8a77d90
Bugfix and some more missing pieces.
2012-07-24 13:27:57 -07:00
JoelKatz
478d567531
More transaction metadata work.
2012-07-23 23:11:03 -07:00
JoelKatz
2ba8527f07
More TransactionMetadata work.
2012-07-23 02:59:49 -07:00