celestiaorg / celestiaorg/celestia-node
Don't store min+max namespace IDs in badger inverted index keys
Open
external
needs:triage
pending:close
- Dominant language
- Go
- Stars
- 996
- Forks
- 1.1k
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 34
Description
This should save around 50% of the storage used by the inverted index. We don't need to put min+max namespace IDs in the inverted index, as they don't contribute to collision resistance. To access a key, you can simply truncate the namespace ID.
Contributor guide
Assessment
This issue has not been assessed yet.