use of org.hyperledger.besu.tests.acceptance.dsl.node.configuration.privacy.PrivacyNodeConfiguration in project besu by hyperledger.
the class PluginPrivacySigningAcceptanceTest method setup.
@Before
public void setup() throws IOException {
minerNode = privacyBesu.create(new PrivacyNodeConfiguration(false, false, true, new BesuNodeConfigurationBuilder().name("miner").miningEnabled().jsonRpcEnabled().webSocketEnabled().enablePrivateTransactions().keyFilePath(BOB.getPrivateKeyPath()).plugins(Collections.singletonList("testPlugins")).extraCLIOptions(List.of("--plugin-privacy-service-encryption-prefix=0xAA", "--plugin-privacy-service-signing-enabled=true", "--plugin-privacy-service-signing-key=8f2a55949038a9610f50fb23b5883af3b4ecb3c3bb792cbcefbd1542c692be63")).build(), new EnclaveKeyConfiguration(BOB.getEnclaveKeyPaths(), BOB.getEnclavePrivateKeyPaths())), EnclaveType.NOOP, Optional.empty());
privacyCluster.start(minerNode);
}
Aggregations