Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To retain full backwards compatibility a new methods `boolean isLegacyStateBackend` will be added to the StateBackend interface with a default implementation of true. When in legacy modeall deprecated StateBackends (Memory, Fs, RocksDB) will implement the SnapshotStorage interface. When a state backend that implements this interface is provided, its snapshot storage methods will take precedence over any other provided configuration. This way, all existing state backend implementations will continue to function as they do today and any provided SnapshotStorage will be ignored.


Migration

Because And because we are using the same internal data structures, users will be able to trivially migrate to the new API.

...