mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-20 15:04:22 +00:00
blockchain/store: comment about panics
This commit is contained in:
+2
-1
@@ -25,7 +25,8 @@ Currently the precommit signatures are duplicated in the Block parts as
|
|||||||
well as the Commit. In the future this may change, perhaps by moving
|
well as the Commit. In the future this may change, perhaps by moving
|
||||||
the Commit data outside the Block.
|
the Commit data outside the Block.
|
||||||
|
|
||||||
Panics indicate probable corruption in the data
|
// NOTE: BlockStore methods will panic if they encounter errors
|
||||||
|
// deserializing loaded data, indicating probable corruption on disk.
|
||||||
*/
|
*/
|
||||||
type BlockStore struct {
|
type BlockStore struct {
|
||||||
db dbm.DB
|
db dbm.DB
|
||||||
|
|||||||
Reference in New Issue
Block a user