You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
280 B

  1. package blocksync
  2. import (
  3. bcproto "github.com/tendermint/tendermint/proto/tendermint/blocksync"
  4. "github.com/tendermint/tendermint/types"
  5. )
  6. const (
  7. MaxMsgSize = types.MaxBlockSizeBytes +
  8. bcproto.BlockResponseMessagePrefixSize +
  9. bcproto.BlockResponseMessageFieldKeySize
  10. )