You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
240 B

  1. package consensus
  2. import (
  3. "github.com/tendermint/go-amino"
  4. "github.com/tendermint/tendermint/types"
  5. )
  6. var cdc = amino.NewCodec()
  7. func init() {
  8. RegisterConsensusMessages(cdc)
  9. RegisterWALMessages(cdc)
  10. types.RegisterBlockAmino(cdc)
  11. }