Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MustPubKeyToProto ¶
func MustPubKeyToProto(k crypto.PubKey) cryptoproto.PublicKey
MustPubKeyToProto returns protobuf encoded public-key otherwise panics error
func PubKeyFromProto ¶
func PubKeyFromProto(k cryptoproto.PublicKey) (crypto.PubKey, error)
PubKeyFromProto takes a protobuf Pubkey and transforms it to a crypto.Pubkey
func PubKeyToProto ¶
func PubKeyToProto(k crypto.PubKey) (cryptoproto.PublicKey, error)
PubKeyToProto takes crypto.PubKey and transforms it to a protobuf Pubkey
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.