/
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
Besu Plug-ins: Fork-free Client Modifications to Extend Besu Use Cases
Besu Plug-ins: Fork-free Client Modifications to Extend Besu Use Cases
More like this
Cacti: Decentralized Identity Management for Trusted Interoperation
Cacti: Decentralized Identity Management for Trusted Interoperation
More like this
Project Plan - aries-vcx based message mediator service
Project Plan - aries-vcx based message mediator service
More like this
Cacti: Core Operators Modules for DLTs
Cacti: Core Operators Modules for DLTs
More like this
Hyperledger Fabric Gateway client API
Hyperledger Fabric Gateway client API
More like this
Configure, Deploy, and Manage a Besu Private Network
Configure, Deploy, and Manage a Besu Private Network
More like this