Module Tezos_signer_services.Signer_messages

request_pkh ?version pkh builds the pkh field of a signing request, tagging it with version only when the signature version changes how pkh signs.

BLS is the only scheme for which it does, and pkh is encoded accordingly: it has a versioned case for BLS only. The other schemes either sign identically in every version, or exist in a single one (Mldsa44 was introduced by version 3). A scheme whose signature starts to depend on the version needs both a branch here and a versioned case in the encoding.

module type Authenticated_signing_request = sig ... end
module Sign : sig ... end
module type Authenticated_request = sig ... end
module Deterministic_nonce : sig ... end
module Deterministic_nonce_hash : sig ... end
module Supports_deterministic_nonces : sig ... end
module Public_key : sig ... end
module Authorized_keys : sig ... end
module Known_keys : sig ... end
module Bls_prove_possession : sig ... end
module Request : sig ... end