Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Optimize db:get_by_indices by not fetching entry and implementing index:getrangeoptimize-startup | Magnus Ahltorp | 2014-10-25 | 1 | -5/+7 |
| | | | | | | Conflicts: src/index.erl src/plop.erl | ||||
* | Break include dependency on plop.hrl | Magnus Ahltorp | 2014-10-24 | 1 | -1/+0 |
| | |||||
* | 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 |
| | |||||
* | Merge remote-tracking branch 'refs/remotes/map/fsync4' into origin-master | Linus Nordberg | 2014-10-08 | 1 | -114/+70 |
|\ | | | | | | | | | | | Conflicts: src/db.erl src/plop.erl | ||||
| * | Use raw file storage | Magnus Ahltorp | 2014-09-28 | 1 | -114/+71 |
| | | |||||
| * | wip | Linus Nordberg | 2014-09-27 | 1 | -51/+75 |
| | | |||||
* | | Clean up the plop interface, in preparation for a new db implementation. | Linus Nordberg | 2014-09-29 | 1 | -51/+75 |
|/ | |||||
* | Store and retrieve extra-data in/from db. | Linus Nordberg | 2014-09-20 | 1 | -8/+11 |
| | | | | Also, add more specs to db. | ||||
* | Fix crash in inclusion() and add inclusion-and-leaf(). | Linus Nordberg | 2014-09-19 | 1 | -10/+19 |
| | |||||
* | Add field 'mtlhash' to the database, for get-proof-by-hash. | Linus Nordberg | 2014-09-18 | 1 | -16/+27 |
| | | | | | | | | | | 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. | ||||
* | 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. | ||||
* | Add db:get_by_index_sorted/2. | Linus Nordberg | 2014-09-09 | 1 | -4/+26 |
| | |||||
* | Add licensing information. | Linus Nordberg | 2014-06-09 | 1 | -0/+3 |
| | |||||
* | plop.hrl has finally moved into include/. | Linus Nordberg | 2014-06-04 | 1 | -1/+1 |
| | |||||
* | Add db:size/0 and some error checking. | Linus Nordberg | 2014-05-29 | 1 | -8/+15 |
| | |||||
* | Add db:get_by_index/2. | Linus Nordberg | 2014-05-26 | 1 | -2/+14 |
| | |||||
* | Use mnesia:index_read() instead of select() bc simpler. | Linus Nordberg | 2014-05-03 | 1 | -2/+1 |
| | |||||
* | Sign using ECDSA and fix a couple bugs. | Linus Nordberg | 2014-05-02 | 1 | -3/+12 |
| | | | | | | | | | | | Revive the plop_entry and hash over that instead of the full MTL, for the db hash. We don't want the timestamp in that hash! Use ECDSA instead of RSA for signing stuff. That's what Google does and we want to use their test suites. An annoyance with DSA is that the signature isn't deterministic. Testing just became less easy. Fix db:find() now that the hash is no longer the primary key. | ||||
* | Move some records out of public header file. Improve db initialisation some. | Linus Nordberg | 2014-05-01 | 1 | -6/+10 |
| | | | | Wait for mnesia tables in init() and make the init-functions do some more. | ||||
* | Add init functions, for testing. | Linus Nordberg | 2014-04-30 | 1 | -2/+14 |
| | |||||
* | Turn it all into an application. | Linus Nordberg | 2014-04-29 | 1 | -0/+1 |
| | | | | Warning: Rough edges. | ||||
* | First cut at adding DB support. | Linus Nordberg | 2014-04-29 | 1 | -0/+86 |
Including half crazy rewrite of most of the data structures. |