mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-04 20:23:59 +00:00
* Obvious changes (including bugs) * Update privval/file.go Co-authored-by: Thane Thomson <connect@thanethomson.com> Co-authored-by: Thane Thomson <connect@thanethomson.com>
15 lines
331 B
Go
15 lines
331 B
Go
package test
|
|
|
|
import (
|
|
"github.com/tendermint/tendermint/types"
|
|
)
|
|
|
|
// ConsensusParams returns a default set of ConsensusParams that are suitable
|
|
// for use in testing
|
|
func ConsensusParams() *types.ConsensusParams {
|
|
c := types.DefaultConsensusParams()
|
|
// enable vote extensions
|
|
c.ABCI.VoteExtensionsEnableHeight = 1
|
|
return c
|
|
}
|