-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Bank maintains state outside of Accounts #2210
Comments
@aeyakovenko, have you seen |
@garious it is a bit more complicated. We basically need to define a TVU bank and a TPU bank. Which are the global bank state forks for those units. Computations that depend on either should reference those, but we also have some computation that is derived just from whatever fork is being proposed at the moment. To make it easier to manage this in a way that isn't tied to a specific consensus algorithm, the computations should just take a bank fork as a parameter. |
@rob-solana, I assigned this one to you under the assumption it's part of what you're already doing as part of taking over #2289. |
Problem
Due to rollback, any state outside of
Accounts
cannot be maintained as consistent. Any state must be computed from theAccounts
structure from a desired checkpoint.Proposed Solution
fn compute_state(bank: &Bank) -> DesiredState
things that need to be moved:
tag: @mvines @carllin @CriesofCarrots @sakridge
The text was updated successfully, but these errors were encountered: