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
282 B

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