Add compression to timestamps

Now references previous digests by number, rather than by their full
digest