mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-24 02:01:43 +00:00
move PartSetSize out of the config, into ConsensusParams
This commit is contained in:
@ -14,11 +14,6 @@ import (
|
||||
"github.com/tendermint/tmlibs/merkle"
|
||||
)
|
||||
|
||||
const (
|
||||
MaxBlockSize = 22020096 // 21MB TODO make it configurable
|
||||
DefaultBlockPartSize = 65536 // 64kB TODO: put part size in parts header?
|
||||
)
|
||||
|
||||
// Block defines the atomic unit of a Tendermint blockchain
|
||||
type Block struct {
|
||||
*Header `json:"header"`
|
||||
|
Reference in New Issue
Block a user