smt icon indicating copy to clipboard operation
smt copied to clipboard

A Go library that implements a Sparse Merkle tree for a key-value map.

Results 10 smt issues
Sort by recently updated
recently updated
newest added

Fixes https://github.com/celestiaorg/smt/issues/40. It adds a `keySize` field to all SMT related structs and uses it to access values in `smt.values` map. > Maybe we should add more checks on the...

enhancement

At the moment, the tree can only safely handle one update at a time. It would be desirable to shard the tree into multiple subtrees and allow parallel updates to...

Note: this is a backwards-incompatible change in the interface, but shouldn't change the commitment so long as the library is used the same way. Currently (as of #37), values are...

If we look at this code here https://github.com/celestiaorg/smt/blob/a99c0f5249884312ab8e6864fe165371c0f461ba/treehasher.go#L68-L70 we notice that the authors assumed that we'd always have data with a length of at least 33 bytes. However, this code...

bug

Besides the usual foo, clarify which parts of the API are supposed to be non-breaking. Additionally, clarify how contributors can still propose breaking changes (and what increases their chances to...

Currently during `Update`/`Delete` operation every write on the path from leaf to root is done in a separate call. Those operations could be executed as batch. Pros: - improved consistency...

enhancement

We should pull @roysc's rewrite of smt.go upstream here (https://github.com/vulcanize/smt), as it provides a substantial and well-written performance improvement by not recomputing the root on every update, that also produces...

@musalbas This PR isn't ready for review (yet) but I was hoping to use it as a starting point for a conversation. After reading through https://github.com/cosmos/cosmos-sdk/issues/7100 as well as many...

## Overview Add [CIFuzz](https://google.github.io/oss-fuzz/getting-started/continuous-integration/) workflow action to have fuzzers build and run on each PR. This is a service offered by OSS-Fuzz where smt already runs. CIFuzz can help detect...