Type Alias common_runtime::Signature

source ·
pub type Signature = MultiSignature;
Expand description

Alias to 512-bit hash when used in the context of a transaction signature on the chain.

Aliased Type§

enum Signature {
    Ed25519(CryptoBytes<64, (SignatureTag, Ed25519Tag)>),
    Sr25519(CryptoBytes<64, (SignatureTag, Sr25519Tag)>),
    Ecdsa(CryptoBytes<65, (SignatureTag, EcdsaTag)>),
}

Variants§

§

Ed25519(CryptoBytes<64, (SignatureTag, Ed25519Tag)>)

An Ed25519 signature.

§

Sr25519(CryptoBytes<64, (SignatureTag, Sr25519Tag)>)

An Sr25519 signature.

§

Ecdsa(CryptoBytes<65, (SignatureTag, EcdsaTag)>)

An ECDSA/SECP256k1 signature.