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

Do customer balance get persisted? #112

Open
androiduser14919 opened this issue Jan 14, 2022 · 1 comment
Open

Do customer balance get persisted? #112

androiduser14919 opened this issue Jan 14, 2022 · 1 comment

Comments

@androiduser14919
Copy link

Risk module stores account balance in memory but it is not clear as to how the data gets persisted.

@mzheravin
Copy link
Collaborator

It is persisted into snapshot - if you request it with corresponding command.
Then you can do a journal replay to reach recent known point - exchange state will be consistent, including the balance.

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

3 participants
@mzheravin @androiduser14919 and others