Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PubKeyType ¶
type PubKeyType uint8
const ( Unknown PubKeyType = iota Ed25519 Secp256k1 )
func PubKeyFromProto ¶
PubKeyFromProto takes a protobuf Pubkey and transforms it to a crypto.Pubkey Return one more parameter to prevent of slowing down the whole procedure
Click to show internal directories.
Click to hide internal directories.