Merge pull request #1258 from tendermint/return-dummy-app

return back dummy & persistent_dummy as options for proxy_app
This commit is contained in:
Anton Kaliaev 2018-03-01 15:14:07 +04:00 committed by GitHub
commit e92c87630d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 2 deletions

View File

@ -30,11 +30,12 @@ BUG FIXES:
BREAKING:
- [genesis] rename `app_options` to `app_state`
## 0.16.1 (TBD)
IMPROVEMENTS:
- [config] exposed `auth_enc` flag to enable/disable encryption
- [p2p] when `auth_enc` is true, all dialed peers must have a node ID in their address
- [all] renamed `dummy` (`persistent_dummy`) to `kvstore`
(`persistent_kvstore`) (name "dummy" is deprecated and will not work in
release after this one)
## 0.16.0 (February 20th, 2017)

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())