Browse Source

return back dummy & persistent_dummy as options for proxy_app

pull/1258/head
Anton Kaliaev 7 years ago
parent
commit
87372da730
No known key found for this signature in database GPG Key ID: 7B6881D965918214
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      proxy/client.go

+ 4
- 0
proxy/client.go View File

@ -65,8 +65,12 @@ func (r *remoteClientCreator) NewABCIClient() (abcicli.Client, error) {
func DefaultClientCreator(addr, transport, dbDir string) ClientCreator {
switch addr {
case "kvstore":
fallthrough
case "dummy":
return NewLocalClientCreator(kvstore.NewKVStoreApplication())
case "persistent_kvstore":
fallthrough
case "persistent_dummy":
return NewLocalClientCreator(kvstore.NewPersistentKVStoreApplication(dbDir))
case "nilapp":
return NewLocalClientCreator(types.NewBaseApplication())


Loading…
Cancel
Save