Browse Source

rename dummy*.go files to kvstore*.go

pull/1780/head
zramsay 7 years ago
parent
commit
594db86069
4 changed files with 3 additions and 3 deletions
  1. +3
    -3
      cmd/abci-cli/abci-cli.go
  2. +0
    -0
      example/kvstore/kvstore.go
  3. +0
    -0
      example/kvstore/kvstore_test.go
  4. +0
    -0
      example/kvstore/persistent_kvstore.go

+ 3
- 3
cmd/abci-cli/abci-cli.go View File

@ -682,10 +682,10 @@ func cmdKVStore(cmd *cobra.Command, args []string) error {
// Create the application - in memory or persisted to disk
var app types.Application
if flagPersist == "" {
app = kvstore.NewDummyApplication()
app = kvstore.NewKVStoreApplication()
} else {
app = kvstore.NewPersistentDummyApplication(flagPersist)
app.(*kvstore.PersistentDummyApplication).SetLogger(logger.With("module", "kvstore"))
app = kvstore.NewPersistentKVStoreApplication(flagPersist)
app.(*kvstore.PersistentKVStoreApplication).SetLogger(logger.With("module", "kvstore"))
}
// Start the listener


example/kvstore/dummy.go → example/kvstore/kvstore.go View File


example/kvstore/dummy_test.go → example/kvstore/kvstore_test.go View File


example/kvstore/persistent_dummy.go → example/kvstore/persistent_kvstore.go View File


Loading…
Cancel
Save