Skip to content

Commit

Permalink
Merge branch 'master' into PAN-3155/handle-discovery-peers-with-updat…
Browse files Browse the repository at this point in the history
…ed-endpoints
  • Loading branch information
mbaxter authored Sep 17, 2019
2 parents 6fe18b1 + e47edb5 commit 29a0e7e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@

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 {

Expand All @@ -30,9 +28,4 @@ public BesuConfigurationImpl(final Path storagePath) {
public Path getStoragePath() {
return storagePath;
}

@Override
public Optional<URI> getEnclaveUrl() {
return Optional.empty();
}
}
2 changes: 1 addition & 1 deletion plugin-api/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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')

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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();
}

0 comments on commit 29a0e7e

Please sign in to comment.