Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | | |||||
| * | Add explanatory header. | Linus Nordberg | 2014-06-05 | 1 | -0/+22 |
| | | |||||
* | | Add makefile for building. | Linus Nordberg | 2014-06-15 | 1 | -0/+4 |
|/ | |||||
* | Fix the tests. | Linus Nordberg | 2014-06-04 | 1 | -33/+53 |
| | |||||
* | Make serialise/1 return a binary. | Linus Nordberg | 2014-06-04 | 1 | -45/+36 |
| | | | | Lists became nested. | ||||
* | plop.hrl has finally moved into include/. | Linus Nordberg | 2014-06-04 | 3 | -3/+2 |
| | |||||
* | Add get/1; remove debug printouts; formatting. | Linus Nordberg | 2014-06-04 | 2 | -15/+24 |
| | |||||
* | Fix add_more_test/0 and rename it. | Linus Nordberg | 2014-06-02 | 1 | -6/+8 |
| | | | | | One probably don't want it to be run automatically since it bloats the db. | ||||
* | Don't use maps. | Linus Nordberg | 2014-06-02 | 1 | -21/+28 |
| | | | | We want to support R16 too. | ||||
* | Clean upp append/2, append/3 a bit. | Linus Nordberg | 2014-06-01 | 1 | -9/+8 |
| | |||||
* | Language. | Linus Nordberg | 2014-06-01 | 1 | -6/+6 |
| | |||||
* | Clean up the mkhash / gethash name mess a bit. | Linus Nordberg | 2014-06-01 | 1 | -9/+8 |
| | |||||
* | Implement audit_path/2. | Linus Nordberg | 2014-06-01 | 1 | -19/+54 |
| | |||||
* | Add note about appending trees. | Linus Nordberg | 2014-06-01 | 1 | -6/+10 |
| | | | | Also remove unused code and clearify append/1. | ||||
* | Implement path/1 for testing. | Linus Nordberg | 2014-06-01 | 1 | -4/+44 |
| | |||||
* | Start db prior to plop. | Linus Nordberg | 2014-05-29 | 1 | -9/+7 |
| | | | | So that plop can read the database at startup. | ||||
* | Test adding 200 3kB entries. | Linus Nordberg | 2014-05-29 | 1 | -0/+7 |
| | |||||
* | Add db:size/0 and some error checking. | Linus Nordberg | 2014-05-29 | 2 | -14/+37 |
| | |||||
* | Formatting. | Linus Nordberg | 2014-05-27 | 1 | -1/+2 |
| | |||||
* | Improve basic description of plop. | Linus Nordberg | 2014-05-27 | 1 | -6/+12 |
| | |||||
* | Make tests use v1=0 too. | Linus Nordberg | 2014-05-26 | 2 | -9/+8 |
| | |||||
* | Add db:get_by_index/2. | Linus Nordberg | 2014-05-26 | 1 | -2/+14 |
| | |||||
* | Handle error from db:find/1. | Linus Nordberg | 2014-05-26 | 1 | -10/+9 |
| | |||||
* | Change default protocol version from 1 to 0. | Linus Nordberg | 2014-05-19 | 2 | -5/+5 |
| | | | | | | RFC6962 "v1" is 0, not 1. Also, use a define and not a literal. Also also, move the define to plop.hrl. | ||||
* | Merge remote-tracking branch 'devp/master' | Linus Nordberg | 2014-05-19 | 1 | -2/+2 |
|\ | |||||
| * | Be consistent with naming of variables for priv/pub keyfiles. | Linus Nordberg | 2014-05-19 | 1 | -2/+2 |
| | |