github.com/ari-anchor/sei-tendermint@v0.0.0-20230519144642-dc826b7b56bb/types/signable.go (about)

     1  package types
     2  
     3  import (
     4  	"github.com/ari-anchor/sei-tendermint/crypto/ed25519"
     5  	tmmath "github.com/ari-anchor/sei-tendermint/libs/math"
     6  )
     7  
     8  var (
     9  	// MaxSignatureSize is a maximum allowed signature size for the Proposal
    10  	// and Vote.
    11  	// XXX: secp256k1 does not have Size nor MaxSize defined.
    12  	MaxSignatureSize = tmmath.MaxInt(ed25519.SignatureSize, 64)
    13  )