pub fn seal<Hash, P>(
    header_hash: &Hash,
    public: &P::Public,
    keystore: &KeystorePtr
) -> Result<DigestItem, ConsensusError>where
    Hash: AsRef<[u8]>,
    P: Pair,
    P::Signature: Codec + TryFrom<Vec<u8>>,
    P::Public: AppPublic,
Expand description

Produce the seal digest item by signing the hash of a block.

Note that after this is added to a block header, the hash of the block will change.