/
PermissioningService
PermissioningService
public interface PermissioningService extends BesuService
This service allows plugins to decide who you should connect to and what you should send them.
Currently, there are two hooks available; connection permissioning and message permissioning.
- Connection permissioning - checks if inbound and outbound connections to peers are permitted.
NodeConnectionPermissioningProvider
- Message permissioning - checks if a devp2p message can be sent to a peer.
NodeMessagePermissioningProvider
Method Summary
Modifier and Type | Method | Description |
---|---|---|
void | registerNodeMessagePermissioningProvider(NodeMessagePermissioningProvider provider) | Registers a callback to allow the interception of a devp2p message sending request |
void | registerNodePermissioningProvider(NodeConnectionPermissioningProvider provider) | Registers a callback to allow the interception of a peer connection request |
Method Details
registerNodePermissioningProvider
void registerNodePermissioningProvider(NodeConnectionPermissioningProvider provider)
Registers a callback to allow the interception of a peer connection requestParameters: provider - The provider to register
registerNodeMessagePermissioningProvider
void registerNodeMessagePermissioningProvider(NodeMessagePermissioningProvider provider)
Registers a callback to allow the interception of a devp2p message sending requestParameters: provider - The provider to register
, multiple selections available,
Related content
Permissions
Permissions
More like this
PrivacyPluginService
PrivacyPluginService
More like this
Plugin Services
Plugin Services
More like this
2020-08-21 Iroha RFC discussion: Permissions, part II - Meeting notes
2020-08-21 Iroha RFC discussion: Permissions, part II - Meeting notes
More like this
RPC Endpoint Service
RPC Endpoint Service
More like this
DRAFT - Pico CLI Plugin Integration
DRAFT - Pico CLI Plugin Integration
More like this