Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Introduction
Since the release of the multiple private states feature the only way to switch from a standalone node to an MPS enabled configuration was to do a full node resync. This feature introduces a new
geth
command that allows a more expedient upgrade.MPS DB Upgrade Command
MPS can be enabled on a standalone node by executing the
mpsdbupgrade
command. It should be significantly faster than a normal sync from block 0 (especially if the network has reached a significant number of blocks).The effect of the
mpsdbupgrade
command is to restructure/upgrade the existing database to present itself as an MPS enabled database with a single private state (and to set the chainconfig.isMPS
totrue
).Once the upgrade completes additional private states can be introduced but only from the current block height (you can't introduce private states at historic block heights).
Command parameters:
--datadir
- the directory containing the GoQuorum node databaseExample:
Related PRs
Docs: Consensys/doc.goquorum#109
QAT: Consensys/quorum-acceptance-tests#134