mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-20 06:54:41 +00:00
blockstore: fix race conditions when loading data (#5382)
Fixes #5377 and comments in #4588 (review).
This commit is contained in:
@@ -21,6 +21,7 @@ type BlockStore interface {
|
||||
Height() int64
|
||||
Size() int64
|
||||
|
||||
LoadBaseMeta() *types.BlockMeta
|
||||
LoadBlockMeta(height int64) *types.BlockMeta
|
||||
LoadBlock(height int64) *types.Block
|
||||
|
||||
|
||||
Reference in New Issue
Block a user