Backport task #7169 Redesigned datum entry into mempool: now they are recorded with the key not as a datum hash, but as a hash of its contents.