Commit Graph

5 Commits

Author SHA1 Message Date
JoelKatz
6e2bbaf2e7 Fix missing metadata bug. 2012-11-22 12:25:17 -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
JoelKatz
8bd212e6bc Sanely handle optional fields set to their default values.
Specify when this is allowed and when it's prohibited.
2012-11-16 15:11:16 -08:00
JoelKatz
e399be47c4 Remove metadata field parameters. 2012-11-12 13:39:37 -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