mirror of
https://github.com/oceanprotocol/ocean.js.git
synced 2024-11-26 20:39:05 +01:00
1.8 KiB
1.8 KiB
@oceanprotocol/lib / Exports / ServiceComputeOptions
Interface: ServiceComputeOptions
Table of contents
Properties
Properties
allowNetworkAccess
• allowNetworkAccess: boolean
If true, the algorithm job will have network access.
Defined in
allowRawAlgorithm
• allowRawAlgorithm: boolean
If true, any passed raw text will be allowed to run. Useful for an algorithm drag & drop use case, but increases risk of data escape through malicious user input. Should be false by default in all implementations.
Defined in
publisherTrustedAlgorithmPublishers
• publisherTrustedAlgorithmPublishers: string
[]
If empty, then any published algorithm is allowed. Otherwise, only published algorithms by some publishers are allowed
Defined in
publisherTrustedAlgorithms
• publisherTrustedAlgorithms: PublisherTrustedAlgorithm
[]
If empty, then any published algorithm is allowed. (see below)