update comment for MaxBlockSizeBytes

This commit is contained in:
Anton Kaliaev
2018-08-31 16:01:22 +04:00
parent e873fed815
commit 02d1b03abb
+6 -2
View File
@@ -18,8 +18,12 @@ const (
MaxHeaderBytes = 478
// MaxAminoOverheadForBlock - maximum amino overhead to encode a block (up to
// MaxBlockSizeBytes in size).
MaxAminoOverheadForBlock = 4
// MaxBlockSizeBytes in size) not including it's parts (only varint len +
// fields without data).
//
// Uvarint length of MaxBlockSizeBytes: 4 bytes
// 4 fields: 4 bytes
MaxAminoOverheadForBlock = 8
)
// Block defines the atomic unit of a Tendermint blockchain.