CommitMultiStore - CosmosSwift/swift-coin GitHub Wiki
CommitMultiStore
public protocol CommitMultiStore: Commiter, MultiStore
Inheritance
Commiter, MultiStore
Requirements
mountStoreWithDatabase(key:type:database:)
func mountStoreWithDatabase(key: StoreKey, type: StoreType, database: Database?)
commitStore(key:)
func commitStore(key: StoreKey) -> CommitStore?
commitKeyValueStore(key:)
func commitKeyValueStore(key: StoreKey) -> CommitKeyValueStore?
loadLatestVersion()
func loadLatestVersion() throws
loadLatestVersionAndUpgrade(upgrades:)
func loadLatestVersionAndUpgrade(upgrades: StoreUpgrades) throws
loadVersionAndUpgrade(version:upgrades:)
func loadVersionAndUpgrade(version: Int64, upgrades: StoreUpgrades) throws
load(version:)
func load(version: Int64) throws
set(interBlockCache:)
func set(interBlockCache: MultiStorePersistentCache)