Commit Graph

59 Commits

Author SHA1 Message Date
JoelKatz
2e9d6a0d7d Cleanup. 2012-11-22 10:11:38 -08:00
JoelKatz
637269fb80 Traverse the correct object when generating modification metadata. Other small similar fixes. 2012-11-21 15:28:50 -08:00
JoelKatz
366b477052 Metadata rework to make it possible to watch things like order books or
directories.

1) Some fields are never put in metadata, like Indexes, PreviousTxnID, and
others that are useless/redundant

2) Directory nodes now contain a RootIndex field so you can tell which
directory they're part of.

3) Some fields are always put in metdata, even if they don't change, like
RootIndex. So if a directory entry node is touched, you can tell what
directory it was part of.

Note that this change will cause ledger divergence. Also, existing directory
nodes will not be fully metadata indexed but newly-created nodes will be.
2012-11-18 17:13:19 -08:00
Arthur Britto
cdd3ba0791 Make rippleCredit() do better with ACCOUNT_ONE. 2012-11-17 17:34:04 -08:00
JoelKatz
67fe605967 Some additional logging. 2012-11-15 18:16:48 -08:00
JoelKatz
a4a83bbdda Wrong field name. 2012-11-13 13:39:36 -08:00
JoelKatz
4fe3f7c7e0 Include ledger entry type in metadata. Include more new/changed/final field
values in transactions metadata.
2012-11-12 13:40:02 -08:00
JoelKatz
644aa28e5b Fix the need to call setIndex after creating a new SLE.
Finish the ledger skip list code. (Note that this will cause ledger divergence if old code talks to new code.)
2012-11-08 04:36:15 -08:00
Stefan Thomas
fa3fab5816 Moved cpp code to src/cpp and js code to src/js. 2012-11-07 12:49:50 -08:00