Config is passed into each module. Remove tendermint/confer

This commit is contained in:
Jae Kwon
2015-05-15 18:05:09 -07:00
parent 183fa85cae
commit 75ef479547
41 changed files with 710 additions and 372 deletions

15
test/init.go Normal file
View File

@ -0,0 +1,15 @@
// Import this in all *_test.go files to initialize ~/.tendermint_test.
// TODO: Reset each time?
package test
import (
cfg "github.com/tendermint/tendermint/config"
tmcfg "github.com/tendermint/tendermint/config/tendermint_test"
)
func init() {
// Creates ~/.tendermint_test/*
config := tmcfg.GetConfig("")
cfg.ApplyConfig(config)
}