in message AccumulatorProof
uint64 bitmap = 1;
in message SparseMerkleProof
bytes bitmap = 2;
in message AccumulatorProof
uint64 bitmap = 1;
in message SparseMerkleProof
bytes bitmap = 2;
The accumulator index only has a 64-bit range, while the Sparse Merkle tree has a 256-bit key.
Thanks.
We just finished the verification of AccumulatorProof
and SparseMerkleProof
in libra-client. It’s a really complicated task.