Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix api problems | Magnus Ahltorp | 2014-09-27 | 1 | -5/+12 |
| | |||||
* | wip | Linus Nordberg | 2014-09-27 | 7 | -419/+167 |
| | |||||
* | Format NEWS. | Linus Nordberg | 2014-09-25 | 1 | -6/+0 |
| | | | | Less whitespace. | ||||
* | Update NEWS. | Linus Nordberg | 2014-09-25 | 1 | -1/+6 |
| | |||||
* | Sign the correct things in SPT's. | Linus Nordberg | 2014-09-25 | 1 | -5/+8 |
| | | | | | First, the log entry (i.e. leaf hash) must be a TLS vector. Second, an empty extension (as a TLS vector), must be included. | ||||
* | Use correct LogID. | Linus Nordberg | 2014-09-25 | 1 | -5/+4 |
| | |||||
* | Rename inclusion_and_more/2. | Linus Nordberg | 2014-09-25 | 1 | -6/+6 |
| | |||||
* | Bump version and add a blurb to NEWS. | Linus Nordberg | 2014-09-23 | 2 | -1/+7 |
| | |||||
* | Actually serialise TLS vectors according to specfix-tls-vector | Magnus Ahltorp | 2014-09-23 | 1 | -2/+8 |
| | |||||
* | plop-0.1.1 | Linus Nordberg | 2014-09-20 | 2 | -3/+23 |
| | |||||
* | Store and retrieve extra-data in/from db. | Linus Nordberg | 2014-09-20 | 4 | -29/+40 |
| | | | | Also, add more specs to db. | ||||
* | Fix crash in inclusion() and add inclusion-and-leaf(). | Linus Nordberg | 2014-09-19 | 2 | -16/+41 |
| | |||||
* | Hash over the MerkleTreeLeaf. | Linus Nordberg | 2014-09-19 | 2 | -16/+11 |
| | | | | | Hash over correct timestamp when adding submitted entries. Hash over the full #mtl{} when adding entries from db. | ||||
* | Add field 'mtlhash' to the database, for get-proof-by-hash. | Linus Nordberg | 2014-09-18 | 4 | -49/+68 |
| | | | | | | | | | | Also, in db: Add field 'mtlhash' to record 'plop'. Rename 'hash' -> 'entryhash'. Add leaf_hash(), calculating a leaf hash from data. Fix a bug where print_tree() print half a byte of the hashes. Rename tree_hash() -> root(). Closes CATLFISH-3. | ||||
* | Bump version to 0.1.1-dev. | Linus Nordberg | 2014-09-17 | 1 | -1/+1 |
| | | | | Pity we didn't bump before 0.1.0. Well. | ||||
* | Rewrite ts to use a list of lists and change its API. | Linus Nordberg | 2014-09-16 | 2 | -88/+94 |
| | | | | | | | | | | | We want to get rid of maps because they're a bit too new for some distributions. Replacing the arrays with lists is not necessary and arguably not even the right move -- they're about twice as costly RAM wise and the CPU cost for accesses are O(n). This cleans up the implementation though so let's keep it as a reference implementation. Changes to ht include poping potential placeholders in parent layer before adding and swapping IR -> RI all over, for consistency. | ||||
* | Bump version number and remove some nontruth from 0.1.0. | Linus Nordberg | 2014-09-16 | 1 | -5/+4 |
| | |||||
* | Add NEWS.md. | Linus Nordberg | 2014-09-15 | 1 | -0/+8 |
| | |||||
* | Have inclusion/2 return Index too. | Linus Nordberg | 2014-09-15 | 1 | -5/+5 |
| | |||||
* | Add inclusion/2. | Linus Nordberg | 2014-09-15 | 1 | -1/+11 |
| | |||||
* | Make two comments @doc. | Linus Nordberg | 2014-09-15 | 1 | -3/+2 |
| | |||||
* | Add consistency/2. | Linus Nordberg | 2014-09-15 | 1 | -5/+6 |
| | |||||
* | Adjust plop for changes in ht. | Linus Nordberg | 2014-09-14 | 3 | -44/+31 |
| | |||||
* | Add comments to separate public API from testing and debugging funs. | Linus Nordberg | 2014-09-14 | 1 | -0/+2 |
| | |||||
* | Update #tree.evaluated for V=0 too. | Linus Nordberg | 2014-09-14 | 1 | -1/+1 |
| | |||||
* | Add reset_tree/1 and change new() and init(). | Linus Nordberg | 2014-09-14 | 1 | -10/+18 |
| | |||||
* | Guard path/4 against future versions. | Linus Nordberg | 2014-09-14 | 1 | -4/+6 |
| | |||||
* | Add three more test vectors for consistency proofs. | Linus Nordberg | 2014-09-14 | 1 | -12/+33 |
| | | | | Also add print_tree/1. | ||||
* | Implement consistency proofs. | Linus Nordberg | 2014-09-14 | 1 | -11/+101 |
| | |||||
* | Implement path/2. | Linus Nordberg | 2014-09-13 | 1 | -65/+199 |
| | |||||
* | Add docu in comments, rename two external functions, add a larger test. | Linus Nordberg | 2014-09-12 | 1 | -8/+23 |
| | |||||
* | Add support for retrieving historical tree heads. | Linus Nordberg | 2014-09-12 | 2 | -34/+77 |
| | |||||
* | Add a few tests. | Linus Nordberg | 2014-09-11 | 1 | -3/+8 |
| | |||||
* | Add some explaining comments. Remove some debugging code. | Linus Nordberg | 2014-09-11 | 1 | -11/+20 |
| | |||||
* | Another hashtree implementation, first cut. | Linus Nordberg | 2014-09-11 | 2 | -171/+239 |
| | | | | | This one stores the tree in arrays, one per layer in the tree. It's implemented as gen_server. | ||||
* | Remove some lying comments. | Linus Nordberg | 2014-09-10 | 1 | -3/+1 |
| | |||||
* | Add size/1. | Linus Nordberg | 2014-09-10 | 1 | -2/+5 |
| | |||||
* | Indent properly. | Linus Nordberg | 2014-09-10 | 1 | -4/+4 |
| | |||||
* | Make dialyzer happier. | Linus Nordberg | 2014-09-10 | 1 | -2/+2 |
| | | | | | Make sure test function returns something. I would imagine that eunit.hrl should take care of this but haven't investigated. | ||||
* | Fix missing spec change. | Linus Nordberg | 2014-09-10 | 1 | -1/+1 |
| | |||||
* | Fix (unused) test function. | Linus Nordberg | 2014-09-10 | 1 | -1/+1 |
| | |||||
* | Add fun specs. | Linus Nordberg | 2014-09-10 | 1 | -0/+3 |
| | |||||
* | Make dialyzer happier. | Linus Nordberg | 2014-09-10 | 1 | -1/+1 |
| | | | | V = -1 is a valid tree version. | ||||
* | Make dialyzer happier. | Linus Nordberg | 2014-09-10 | 2 | -4/+4 |
| | | | | Protocol version can be 0. | ||||
* | Get rid of dialyzer warning. | Linus Nordberg | 2014-09-10 | 1 | -1/+1 |
| | | | | | | | | Specify the match as a tuple rather than a record since dialyzer correctly reports that #plop fields cannot be atoms. The drawback is that the match needs updating when the definition of #plop{} changes, including merely reordering of fields. | ||||
* | Handle empty tree. | Linus Nordberg | 2014-09-10 | 1 | -0/+2 |
| | |||||
* | New hash tree implementation, using an ETS table for the hashes. | Linus Nordberg | 2014-09-09 | 4 | -386/+311 |
| | | | | | Also, add an untested entry storage implementation, using multiple DETS tables. | ||||
* | Add db:get_by_index_sorted/2. | Linus Nordberg | 2014-09-09 | 1 | -4/+26 |
| | |||||
* | Merge branch 'master' of /home/linus/repo/plop | Linus Nordberg | 2014-06-15 | 10 | -1/+80 |
|\ | | | | | | | | | | | | | | | # Please enter a commit message to explain why this merge is necessary, # especially if it merges an updated upstream into a topic branch. # # Lines starting with '#' will be ignored, and an empty message aborts # the commit. | ||||
| * | Add licensing information. | Linus Nordberg | 2014-06-09 | 10 | -1/+58 |
| | |