hpk42 / muacrypt

Autocrypt and more for Mail User Agents
Other
36 stars 15 forks source link

completely refactor storage layer to use Kappa architecture (Chains and Claims) #38

Closed hpk42 closed 6 years ago

hpk42 commented 6 years ago

this fixes #28 and rebases all persistence handling into append-only logs and States (maybe to be renamed Views but i choose "State" because then it better matches the Autocrypt spec naming)

This is a a very large refactoring as can be expected because we had state handling all over the places. The current structure is much safer, there is type-checking on persistent objects (with help from the excellent https://attrs.org which is a new dependency).