pan-3127-remove-enclave-url-plugin (#8)

Signed-off-by: Lucas Saldanha <lucas.saldanha@consensys.net>
pull/19/head
Ivaylo Kirilov 5 years ago committed by Lucas Saldanha
parent 9aadbcb9ca
commit e47edb584a
  1. 7
      besu/src/main/java/org/hyperledger/besu/services/BesuConfigurationImpl.java
  2. 2
      plugin-api/build.gradle
  3. 10
      plugin-api/src/main/java/org/hyperledger/besu/plugin/services/BesuConfiguration.java

@ -14,9 +14,7 @@ package org.hyperledger.besu.services;
import org.hyperledger.besu.plugin.services.BesuConfiguration;
import java.net.URI;
import java.nio.file.Path;
import java.util.Optional;
public class BesuConfigurationImpl implements BesuConfiguration {
@ -30,9 +28,4 @@ public class BesuConfigurationImpl implements BesuConfiguration {
public Path getStoragePath() {
return storagePath;
}
@Override
public Optional<URI> getEnclaveUrl() {
return Optional.empty();
}
}

@ -56,7 +56,7 @@ Calculated : ${currentHash}
tasks.register('checkAPIChanges', FileStateChecker) {
description = "Checks that the API for the Plugin-API project does not change without deliberate thought"
files = sourceSets.main.allJava.files
knownHash = 'Qnc8VXZ1+kdpAlp2m+f5Kuxb1rwoxD74iBOGFpdDQ8Y='
knownHash = 'mBaqR6fbWYPndHOw7CymPkR3KKb+f8pxLldBnTCjYAg='
}
check.dependsOn('checkAPIChanges')

@ -12,9 +12,7 @@
*/
package org.hyperledger.besu.plugin.services;
import java.net.URI;
import java.nio.file.Path;
import java.util.Optional;
/** Generally useful configuration provided by Besu. */
public interface BesuConfiguration {
@ -25,12 +23,4 @@ public interface BesuConfiguration {
* @return location of the storage in the file system of the client.
*/
Path getStoragePath();
/**
* Url of the enclave that stores private transaction data.
*
* @return an optional containing the url of the enclave Besu is connected to, or empty if privacy
* is not enabled.
*/
Optional<URI> getEnclaveUrl();
}

Loading…
Cancel
Save