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

Pruning for Seraphis transactions? #9

Open
rbrunner7 opened this issue Sep 11, 2022 · 1 comment
Open

Pruning for Seraphis transactions? #9

rbrunner7 opened this issue Sep 11, 2022 · 1 comment

Comments

@rbrunner7
Copy link
Member

There is a mechanism called pruning where the blockchain stores the full information only about 1/8th of all transactions; the information stored about the other 7/8th is "pruned" i.e. reduced to a minimum that is needed for the daemon and wallets to still use the transactions. This reduces the size of the blockchain file substantially, to about 1/3rd, to 50 GB instead of 150 GB at the time of writing.

Read more general info about pruning e.g. in this getmonero.org blog post.

If you go through the Monero code base you frequently stumble over bits and pieces of code that deals with pruning, with many alternative code paths for pruned instead of "full" transactions. moneromooo's PR with the original implementation changes no less than 52 files.

This all leads to the question of this issue: Will there pruning for Seraphis transactions? And if yes, what does that mean for the implementation of the wallet?

@UkoeHB
Copy link

UkoeHB commented Sep 14, 2022

Yes I think Seraphis txs should be prunable. It should not matter for seraphis wallets, which should only care about managing the user's transaction activity (history of created txs, balance recovery, new transactions, address book [I kind of wonder if this even needs to be in the domain of wallets aside from maybe read-only hmm]).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants