Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Whitespace and long lines. | Linus Nordberg | 2014-10-29 | 2 | -6/+13 |
| | |||||
* | Added HTTP API:s for external merge | Magnus Ahltorp | 2014-10-29 | 3 | -2/+215 |
| | |||||
* | Make frontend send entries to storage nodes if storage_nodes configuration ↵ | Magnus Ahltorp | 2014-10-29 | 1 | -6/+126 |
| | | | | | | | is set Conflicts: src/plop.erl | ||||
* | Prepare for external-merge. | Magnus Ahltorp | 2014-10-29 | 2 | -32/+57 |
| | | | | | | | | | | | | | db:get_by_leaf_hash(): Return notfound instead of crashing when no entry 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. Conflicts: src/index.erl | ||||
* | Can't use array:array() in R16. | Linus Nordberg | 2014-10-28 | 1 | -5/+8 |
| | |||||
* | Merge branch 'map-optimize-startup' | Linus Nordberg | 2014-10-28 | 4 | -50/+66 |
|\ | |||||
| * | Change names with 'List' to names with 'Array'. | Linus Nordberg | 2014-10-28 | 1 | -14/+18 |
| | | | | | | | | Also, split some long lines. | ||||
| * | Optimize ts by storing tree in array of arrays. | Magnus Ahltorp | 2014-10-28 | 1 | -27/+24 |
| | | |||||
| * | Optimize db:get_by_indices by not fetching entry and implementing index:getrangeoptimize-startup | Magnus Ahltorp | 2014-10-25 | 3 | -23/+38 |
| | | | | | | | | | | | | Conflicts: src/index.erl src/plop.erl | ||||
* | | Fix tests which broke in b676b219. | Linus Nordberg | 2014-10-28 | 1 | -6/+6 |
|/ | | | | Broke when we changed add/1 to take a hash instead of an entry. | ||||
* | Break include dependency on plop.hrl | Magnus Ahltorp | 2014-10-24 | 4 | -21/+5 |
| | |||||
* | Credit Emilia Käsper for the placeholder idea. | Linus Nordberg | 2014-10-20 | 1 | -4/+10 |
| | |||||
* | Add copyright and licensing information. | Linus Nordberg | 2014-10-15 | 9 | -26/+20 |
| | | | | After offline discussions with Magnus Ahltorp. | ||||
* | Make get_by_indices() handle non-existing entries. | Linus Nordberg | 2014-10-10 | 1 | -9/+17 |
| | | | | | - Limit End to size - 1. - Return [] for start < 0 and bound end < start. | ||||
* | Indent. | Linus Nordberg | 2014-10-09 | 1 | -2/+2 |
| | |||||
* | Add implementation of droplast/1. | Linus Nordberg | 2014-10-08 | 1 | -1/+6 |
| | | | | lists:droplast/1 is new as of R17. | ||||
* | Merge remote-tracking branch 'refs/remotes/map/fsync4' into origin-master | Linus Nordberg | 2014-10-08 | 18 | -139/+716 |
|\ | | | | | | | | | | | Conflicts: src/db.erl src/plop.erl | ||||
| * | Remove reference to creating database. Remove mnesia.fsync4 | Magnus Ahltorp | 2014-09-28 | 2 | -24/+3 |
| | | |||||
| * | Use raw file storage | Magnus Ahltorp | 2014-09-28 | 2 | -115/+72 |
| | | |||||
| * | Merge branch 'fsync3' into fsync4 | Magnus Ahltorp | 2014-09-27 | 14 | -0/+642 |
| |\ | |||||
| | * | index: Added fsyncfsync3 | Magnus Ahltorp | 2014-09-26 | 1 | -2/+8 |
| | | | |||||
| | * | Added implementation of index file | Magnus Ahltorp | 2014-09-26 | 1 | -0/+81 |
| | | | |||||
| | * | Add Makefile to c_src | Magnus Ahltorp | 2014-09-25 | 2 | -1/+17 |
| | | | |||||
| | * | Added atomic module | Magnus Ahltorp | 2014-09-25 | 4 | -58/+97 |
| | | | |||||
| | * | perm: Added readfile function. | Magnus Ahltorp | 2014-09-25 | 1 | -9/+16 |
| | | | |||||
| | * | perm: Don't crash if file content is different, tell caller instead. Better ↵ | Magnus Ahltorp | 2014-09-25 | 1 | -19/+35 |
| | | | | | | | | | | | | error handling. | ||||
| | * | Permanent storage implementation | Magnus Ahltorp | 2014-09-25 | 9 | -0/+477 |
| | | | |||||
| * | | Fix api problemsplop-if-cleanup | Magnus Ahltorp | 2014-09-27 | 1 | -2/+2 |
| | | | |||||
| * | | Fix api problems | Magnus Ahltorp | 2014-09-27 | 1 | -5/+12 |
| | | | |||||
| * | | wip | Linus Nordberg | 2014-09-27 | 7 | -419/+167 |
| | | | |||||
* | | | Fix api problems | Magnus Ahltorp | 2014-09-29 | 1 | -6/+13 |
| | | | |||||
* | | | Clean up the plop interface, in preparation for a new db implementation. | Linus Nordberg | 2014-09-29 | 6 | -418/+166 |
|/ / | |||||
* | | 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 |
| |