Browse Source

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

return back dummy & persistent_dummy as options for proxy_app
pull/1259/head
Anton Kaliaev 7 years ago
committed by GitHub
parent
commit
e92c87630d
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 2 deletions
  1. +3
    -2
      CHANGELOG.md
  2. +4
    -0
      proxy/client.go

+ 3
- 2
CHANGELOG.md View File

@ -30,11 +30,12 @@ BUG FIXES:
BREAKING: BREAKING:
- [genesis] rename `app_options` to `app_state` - [genesis] rename `app_options` to `app_state`
## 0.16.1 (TBD)
IMPROVEMENTS: IMPROVEMENTS:
- [config] exposed `auth_enc` flag to enable/disable encryption - [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 - [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) ## 0.16.0 (February 20th, 2017)


+ 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 { func DefaultClientCreator(addr, transport, dbDir string) ClientCreator {
switch addr { switch addr {
case "kvstore": case "kvstore":
fallthrough
case "dummy":
return NewLocalClientCreator(kvstore.NewKVStoreApplication()) return NewLocalClientCreator(kvstore.NewKVStoreApplication())
case "persistent_kvstore": case "persistent_kvstore":
fallthrough
case "persistent_dummy":
return NewLocalClientCreator(kvstore.NewPersistentKVStoreApplication(dbDir)) return NewLocalClientCreator(kvstore.NewPersistentKVStoreApplication(dbDir))
case "nilapp": case "nilapp":
return NewLocalClientCreator(types.NewBaseApplication()) return NewLocalClientCreator(types.NewBaseApplication())


Loading…
Cancel
Save