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

How i to regenerate the MP_persist/{BALANCE_FILE} file state? #1242

Open
bailantaotao opened this issue Oct 1, 2021 · 1 comment
Open

How i to regenerate the MP_persist/{BALANCE_FILE} file state? #1242

bailantaotao opened this issue Oct 1, 2021 · 1 comment

Comments

@bailantaotao
Copy link

As title, does anyone known how to regenerate the folder: MP_persist file?
I have lost the some balance file, i need it...

And who can tell me the describe about MP_persist folder?

@bailantaotao bailantaotao changed the title How i to regenerate the balance file state? How i to regenerate the MP_persist/{BALANCE_FILE} file state? Oct 1, 2021
@dexX7
Copy link
Member

dexX7 commented Oct 25, 2021

Hello @bailantaotao,

generally you can rebuild all databases by restarting Omni Core with -startclean flag. However, this triggers a full reparse of all Omni Layer transactions and can easily consume more than 24 hours.

However, I think there might be something else going on:

The persist files are frequently cleaned and only the latest ones are kept. They include all "current" balances.

What is your use case, or rephrased: what are you intending to do? Maybe we have another solution for it.

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