Untested, uncompiled partial merkle tree stuff