PrivacyPluginService

public interface PrivacyPluginService
extends BesuService


A service that plugins can use to define how private transactions should be handled.

You must register a PrivacyPluginPayloadProvider when using this plugin and can optionally register a PrivateMarkerTransactionFactory and a PrivacyGroupGenesisProvider


Method Summar

Modifier and TypeMethodDescription
PrivacyPluginPayloadProvidergetPayloadProvider()
PrivacyGroupAuthProvidergetPrivacyGroupAuthProvider()
PrivacyGroupGenesisProvidergetPrivacyGroupGenesisProvider()
PrivateMarkerTransactionFactorygetPrivateMarkerTransactionFactory()
voidsetPayloadProvider​(PrivacyPluginPayloadProvider privacyPluginPayloadProvider)

Register a provider to use when handling privacy marker transactions.

voidsetPrivacyGroupAuthProvider​(PrivacyGroupAuthProvider privacyGroupAuthProvider)

Register a provider to use when auth requests for a multi-tenant environment.

voidsetPrivacyGroupGenesisProvider​(PrivacyGroupGenesisProvider privacyGroupAuthProvider)

Register a provider for initialising private state genesis

voidsetPrivateMarkerTransactionFactory​(PrivateMarkerTransactionFactory privateMarkerTransactionFactory)

Register a factory to specify your own method for signing and serializing privacy marker transactions.


Method Details