1
0
mirror of https://github.com/fluencelabs/tendermint synced 2025-05-01 17:42:16 +00:00

12 lines
380 B
Go
Raw Permalink 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: chainIDs are part of the SignBytes but not
// necessarily the object themselves.
// NOTE: Expected to panic if there is an error marshalling.
2015-11-01 11:34:08 -08:00
type Signable interface {
SignBytes(chainID string) []byte
2015-11-01 11:34:08 -08:00
}