Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

map mail-id to cc-info and persist that data #21

Open
azul opened this issue May 10, 2018 · 1 comment
Open

map mail-id to cc-info and persist that data #21

azul opened this issue May 10, 2018 · 1 comment
Labels
optimization improving efficency but not requried

Comments

@azul
Copy link
Member

azul commented May 10, 2018

In order to retrieve a block for an old mail we need to be able to look it up without relying on having the entire mail.
muacrypt keeps a log of all mails it sees. But it does not store all the headers of the encrypted part. Therefore it also does not store the GossipClaims and ChainStore headers. It does however store the mail-id. So if we remember the GossipClaim and ChainStore values for a mail-id we can retrieve them later on.

@azul
Copy link
Member Author

azul commented May 10, 2018

not sure we need this anymore. It's more an optimization. We could as well just use the latest block from every chain and follow the chain from there on.

@azul azul added the optimization improving efficency but not requried label May 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
optimization improving efficency but not requried
Projects
None yet
Development

No branches or pull requests

1 participant