Browse Source

update comment for MaxBlockSizeBytes

pull/2184/head
Anton Kaliaev 6 years ago
parent
commit
02d1b03abb
No known key found for this signature in database GPG Key ID: 7B6881D965918214
1 changed files with 6 additions and 2 deletions
  1. +6
    -2
      types/block.go

+ 6
- 2
types/block.go 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.


Loading…
Cancel
Save