Files
tendermint/internal/blocksync/msgs.go
2021-07-28 17:25:42 +02:00

13 lines
280 B
Go

package blocksync
import (
bcproto "github.com/tendermint/tendermint/proto/tendermint/blocksync"
"github.com/tendermint/tendermint/types"
)
const (
MaxMsgSize = types.MaxBlockSizeBytes +
bcproto.BlockResponseMessagePrefixSize +
bcproto.BlockResponseMessageFieldKeySize
)