Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LedgerPrivKey ¶
type LedgerPrivKey interface { Bytes() []byte Sign(msg []byte) ([]byte, error) PubKey() PubKey Equals(LedgerPrivKey) bool Type() string ProtoReflect() protoreflect.Message }
LedgerPrivKey defines a private key that is not a proto message. For now, LedgerSecp256k1 keys are not converted to proto.Message yet, this is why they use LedgerPrivKey instead of PrivKey. All other keys must use PrivKey instead of LedgerPrivKey. TODO https://github.com/cosmos/cosmos-sdk/issues/7357.
type PrivKey ¶
type PrivKey interface { proto.Message LedgerPrivKey }
PrivKey defines a private key and extends proto.Message. For now, it extends LedgerPrivKey (see godoc for LedgerPrivKey). Ultimately, we should remove LedgerPrivKey and add its methods here directly. TODO https://github.com/cosmos/cosmos-sdk/issues/7357.
Click to show internal directories.
Click to hide internal directories.