| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Also, add more specs to db.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Wait for mnesia tables in init() and make the init-functions do some more.
|
| |
|
|
|
|
| |
Warning: Rough edges.
|
|
Including half crazy rewrite of most of the data structures.
|