github.com/RobustRoundRobin/quorum@v20.10.0+incompatible/internal/plugin/protocol.go (about)

     1  package plugin
     2  
     3  import (
     4  	"errors"
     5  
     6  	"github.com/hashicorp/go-plugin"
     7  )
     8  
     9  const (
    10  	DefaultProtocolVersion = 1
    11  )
    12  
    13  var (
    14  	DefaultHandshakeConfig = plugin.HandshakeConfig{
    15  		ProtocolVersion:  DefaultProtocolVersion,
    16  		MagicCookieKey:   "QUORUM_PLUGIN_MAGIC_COOKIE",
    17  		MagicCookieValue: "CB9F51969613126D93468868990F77A8470EB9177503C5A38D437FEFF7786E0941152E05C06A9A3313391059132A7F9CED86C0783FE63A8B38F01623C8257664",
    18  	}
    19  
    20  	ErrNotSupported = errors.New("not supported")
    21  )