25 lines
426 B
Go
25 lines
426 B
Go
|
package types
|
||
|
|
||
|
import (
|
||
|
proto "github.com/gogo/protobuf/proto"
|
||
|
tmcrypto "github.com/tendermint/tendermint/crypto"
|
||
|
)
|
||
|
|
||
|
// PubKey interface extends proto.Message
|
||
|
// and tendermint crypto.PubKey
|
||
|
type PubKey interface {
|
||
|
proto.Message
|
||
|
tmcrypto.PubKey
|
||
|
}
|
||
|
|
||
|
// PrivKey interface extends proto.Message
|
||
|
// and tendermint crypto.PrivKey
|
||
|
type PrivKey interface {
|
||
|
proto.Message
|
||
|
tmcrypto.PrivKey
|
||
|
}
|
||
|
|
||
|
type (
|
||
|
Address = tmcrypto.Address
|
||
|
)
|