Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add index on
quorum_proposals.leaf_hash
(#2208)
We look up by this column during state reconstruction, so we should probably index it. The unique index will also prevent us from inserting quorum proposals with different views but the same hash, which should not be possible and would be a logic error if it happened.
- Loading branch information