private Optional<SnapProtocolManager> createSnapProtocolManager(
      final ProtocolContext protocolContext,
      final WorldStateStorageCoordinator worldStateStorageCoordinator,
      final EthPeers ethPeers,
      final EthMessages snapMessages,
      final Synchronizer synchronizer) {
    return Optional.of(
        new SnapProtocolManager(
            worldStateStorageCoordinator,
            syncConfig.getSnapSyncConfiguration(),
            ethPeers,
            snapMessages,
            protocolContext,
            synchronizer));
  }
Create protocol context protocol context.

@param blockchain the blockchain
@param worldStateArchive the world state archive
@param consensusContext the consensus context
@param serviceManager plugin service manager
@return the protocol context
app/src/main/java/org/hyperledger/besu/controller/BesuControllerBuilder.java