Files
tendermint/types/signable.go

10 lines
276 B
Go
Raw Normal View History

2015-11-01 11:34:08 -08:00
package types
// Signable is an interface for all signable things.
// It typically removes signatures before serializing.
// SignBytes returns the bytes to be signed
// NOTE: Expected to panic if there is an error marshalling.
2015-11-01 11:34:08 -08:00
type Signable interface {
SignBytes() []byte
2015-11-01 11:34:08 -08:00
}