quorum/docs/PluggableArchitecture/Plugins/init_interface.md

1.6 KiB

init.proto

It is mandatory that every plugin must implement this RPC service

Via this service, plugins receive a raw configuration sent by geth. It's up to the plugin to interpret and parse the configuration then do the initialization to make sure the plugin is ready to serve

Services

PluginInitializer

Required RPC service to initialize the plugin after plugin process is started successfully

Method Name Request Type Response Type Description
Init PluginInitialization.Request PluginInitialization.Response

Messsages

PluginInitialization

A wrapper message to logically group other messages

PluginInitialization.Request

Initialization data for the plugin

Field Type Label Description
hostIdentity string geth node identity
rawConfiguration bytes Raw configuration to be processed by the plugin

PluginInitialization.Response