mirror of
https://github.com/fluencelabs/tendermint
synced 2025-04-25 06:42:16 +00:00
update comment for MaxBlockSizeBytes
This commit is contained in:
parent
e873fed815
commit
02d1b03abb
@ -18,8 +18,12 @@ const (
|
|||||||
MaxHeaderBytes = 478
|
MaxHeaderBytes = 478
|
||||||
|
|
||||||
// MaxAminoOverheadForBlock - maximum amino overhead to encode a block (up to
|
// MaxAminoOverheadForBlock - maximum amino overhead to encode a block (up to
|
||||||
// MaxBlockSizeBytes in size).
|
// MaxBlockSizeBytes in size) not including it's parts (only varint len +
|
||||||
MaxAminoOverheadForBlock = 4
|
// fields without data).
|
||||||
|
//
|
||||||
|
// Uvarint length of MaxBlockSizeBytes: 4 bytes
|
||||||
|
// 4 fields: 4 bytes
|
||||||
|
MaxAminoOverheadForBlock = 8
|
||||||
)
|
)
|
||||||
|
|
||||||
// Block defines the atomic unit of a Tendermint blockchain.
|
// Block defines the atomic unit of a Tendermint blockchain.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user