1
0
mirror of https://github.com/fluencelabs/tendermint synced 2025-07-25 09:11:56 +00:00
Files
tendermint/abci/types/pubkey.go

17 lines
233 B
Go
Raw Normal View History

package types
const (
PubKeyEd25519 = "ed25519"
)
func Ed25519Validator(pubkey []byte, power int64) Validator {
return Validator{
// Address:
PubKey: PubKey{
Type: PubKeyEd25519,
Data: pubkey,
},
Power: power,
}
}