const ( EndorsementPluginEnvVar = "ENDORSEMENT_PLUGIN_ENV_VAR" ValidationPluginEnvVar = "VALIDATION_PLUGIN_ENV_VAR" )
func CountEndorsementPluginActivations() int
CountEndorsementPluginActivations returns the number of peers that activated the endorsement plugin
func CountValidationPluginActivations() int
CountValidationPluginActivations returns the number of peers that activated the validation plugin
func EndorsementPluginActivationFolder() string
EndorsementPluginActivationFolder returns the name of the folder that if the file of the peer's id in it exists - it indicates that the endorsement plugin was activated for that peer
func PublishEndorsementPluginActivation()
PublishEndorsementPluginActivation makes it known that the endorsement plugin was activated for the peer that is invoking this function
func PublishValidationPluginActivation()
PublishValidationPluginActivation makes it known that the validation plugin was activated for the peer that is invoking this function
func SetEndorsementPluginActivationFolder(path string)
SetEndorsementPluginActivationFolder sets the name of the folder that if the file of the peer's id in it exists - it indicates that the endorsement plugin was activated for that peer
func SetValidationPluginActivationFolder(path string)
SetValidationPluginActivationFolder sets the name of the folder that if the file of the peer's id in it exists - it indicates that the validation plugin was activated for that peer
func ValidationPluginActivationFolder() string
ValidationPluginActivationFilePath returns the name of the folder that if the file of the peer's id in it exists - it indicates that the validation plugin was activated for that peer