Commit Graph

8 Commits

Author SHA1 Message Date
JoelKatz
7708968cff Stuctures for feature enabling. 2012-12-02 15:23:17 -08:00
JoelKatz
2864dda4eb Make directory nodes self-descriptive.
Callers pass in a "describer" function that stamps new directory entries.
2012-11-30 00:30:19 -08:00
JoelKatz
1d3a17b59d Structures for self-descriptive directory nodes. 2012-11-30 00:12:25 -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
jed
44826f1ce3 AuthorizedKey -> RegularKey 2012-11-13 04:20:15 -08:00
JoelKatz
5cb35b7a8f Make the skip lists self-decsriptive. This change will cause old and new servers to diverge ledgers. 2012-11-08 14: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