use of org.hyperledger.besu.ethereum.worldstate.WorldStatePreimageStorage in project besu by hyperledger.
the class BesuCommand method createPrivateWorldStateArchive.
public WorldStateArchive createPrivateWorldStateArchive(final StorageProvider storageProvider) {
final WorldStateStorage privateWorldStateStorage = storageProvider.createPrivateWorldStateStorage();
final WorldStatePreimageStorage preimageStorage = storageProvider.createPrivateWorldStatePreimageStorage();
return new DefaultWorldStateArchive(privateWorldStateStorage, preimageStorage);
}
Aggregations