mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-09 11:31:19 +00:00
10 lines
276 B
Go
10 lines
276 B
Go
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.
|
|
type Signable interface {
|
|
SignBytes() []byte
|
|
}
|