summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Break include dependency on plop.hrlexternal-mergeMagnus Ahltorp2014-10-214-21/+5
|
* Fix bug getting storage_nodes configuration variableMagnus Ahltorp2014-10-201-2/+1
|
* Make frontend send entries to storage nodes if storage_nodes configuration ↵Magnus Ahltorp2014-10-201-6/+127
| | | | is set
* Added HTTP API:s for external mergeMagnus Ahltorp2014-10-203-2/+215
|
* db:get_by_leaf_hash(): Return notfound instead of crashing when no entry ↵Magnus Ahltorp2014-10-192-32/+57
| | | | | | | could be found. db:get_by_entry_hash(): Don't fetch index, isn't used and might not exist. index:add(): Allow writes at exiting indicies.
* Add copyright KTH to LICENSE.Linus Nordberg2014-10-131-0/+1
|
* Add licensing information.Linus Nordberg2014-10-138-0/+8
|
* Make get_by_indices() handle non-existing entries.Linus Nordberg2014-10-101-9/+17
| | | | | - Limit End to size - 1. - Return [] for start < 0 and bound end < start.
* Indent.Linus Nordberg2014-10-091-2/+2
|
* Add implementation of droplast/1.Linus Nordberg2014-10-081-1/+6
| | | | lists:droplast/1 is new as of R17.
* Merge remote-tracking branch 'refs/remotes/map/fsync4' into origin-masterLinus Nordberg2014-10-0818-139/+716
|\ | | | | | | | | | | Conflicts: src/db.erl src/plop.erl
| * Remove reference to creating database. Remove mnesia.fsync4Magnus Ahltorp2014-09-282-24/+3
| |
| * Use raw file storageMagnus Ahltorp2014-09-282-115/+72
| |
| * Merge branch 'fsync3' into fsync4Magnus Ahltorp2014-09-2714-0/+642
| |\
| | * index: Added fsyncfsync3Magnus Ahltorp2014-09-261-2/+8
| | |
| | * Added implementation of index fileMagnus Ahltorp2014-09-261-0/+81
| | |
| | * Add Makefile to c_srcMagnus Ahltorp2014-09-252-1/+17
| | |
| | * Added atomic moduleMagnus Ahltorp2014-09-254-58/+97
| | |
| | * perm: Added readfile function.Magnus Ahltorp2014-09-251-9/+16
| | |
| | * perm: Don't crash if file content is different, tell caller instead. Better ↵Magnus Ahltorp2014-09-251-19/+35
| | | | | | | | | | | | error handling.
| | * Permanent storage implementationMagnus Ahltorp2014-09-259-0/+477
| | |
| * | Fix api problemsplop-if-cleanupMagnus Ahltorp2014-09-271-2/+2
| | |
| * | Fix api problemsMagnus Ahltorp2014-09-271-5/+12
| | |
| * | wipLinus Nordberg2014-09-277-419/+167
| | |
* | | Fix api problemsMagnus Ahltorp2014-09-291-6/+13
| | |
* | | Clean up the plop interface, in preparation for a new db implementation.Linus Nordberg2014-09-296-418/+166
|/ /
* | Format NEWS.Linus Nordberg2014-09-251-6/+0
| | | | | | | | Less whitespace.
* | Update NEWS.Linus Nordberg2014-09-251-1/+6
|/
* Sign the correct things in SPT's.Linus Nordberg2014-09-251-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 Nordberg2014-09-251-5/+4
|
* Rename inclusion_and_more/2.Linus Nordberg2014-09-251-6/+6
|
* Bump version and add a blurb to NEWS.Linus Nordberg2014-09-232-1/+7
|
* Actually serialise TLS vectors according to specfix-tls-vectorMagnus Ahltorp2014-09-231-2/+8
|
* plop-0.1.1Linus Nordberg2014-09-202-3/+23
|
* Store and retrieve extra-data in/from db.Linus Nordberg2014-09-204-29/+40
| | | | Also, add more specs to db.
* Fix crash in inclusion() and add inclusion-and-leaf().Linus Nordberg2014-09-192-16/+41
|
* Hash over the MerkleTreeLeaf.Linus Nordberg2014-09-192-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 Nordberg2014-09-184-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 Nordberg2014-09-171-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 Nordberg2014-09-162-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 Nordberg2014-09-161-5/+4
|
* Add NEWS.md.Linus Nordberg2014-09-151-0/+8
|
* Have inclusion/2 return Index too.Linus Nordberg2014-09-151-5/+5
|
* Add inclusion/2.Linus Nordberg2014-09-151-1/+11
|
* Make two comments @doc.Linus Nordberg2014-09-151-3/+2
|
* Add consistency/2.Linus Nordberg2014-09-151-5/+6
|
* Adjust plop for changes in ht.Linus Nordberg2014-09-143-44/+31
|
* Add comments to separate public API from testing and debugging funs.Linus Nordberg2014-09-141-0/+2
|
* Update #tree.evaluated for V=0 too.Linus Nordberg2014-09-141-1/+1
|
* Add reset_tree/1 and change new() and init().Linus Nordberg2014-09-141-10/+18
|