merge merkle tree

- adding  PR for comments
I'd guess we can use/share typespec for hashes between `ppspp.hrl` and this when I push my typespec branch. Not a blocker BTW!