Refactor basecoin example (#332)

Refactor basecoin example
This commit is contained in:
Jae Kwon
2018-01-17 16:59:40 -08:00
committed by GitHub
parent fdc7316fda
commit 14a0dce920
11 changed files with 297 additions and 125 deletions
+2
View File
@@ -54,9 +54,11 @@ type CommitMultiStore interface {
MultiStore
// Add a substore loader.
// Panics on a nil key.
SetSubstoreLoader(key SubstoreKey, loader CommitStoreLoader)
// Gets the substore, which is a CommitSubstore.
// Panics on a nil key.
GetSubstore(key SubstoreKey) CommitStore
// Load the latest persisted version.