From 76fce2d53be9919921646986f26b41e2a7347ac2 Mon Sep 17 00:00:00 2001 From: CaiHQ Date: Sat, 27 May 2023 16:30:50 +0800 Subject: [PATCH] add change DOIPConfig --- build.gradle | 2 +- src/main/java/org/bdware/ypkdeploy/SmartContractClientExt.java | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 135e774..fbce79a 100755 --- a/build.gradle +++ b/build.gradle @@ -20,7 +20,7 @@ dependencies { implementation 'org.bouncycastle:bcprov-jdk15on:1.69' implementation 'org.apache.httpcomponents:httpclient:4.5.13' implementation 'org.apache.httpcomponents:httpmime:4.5.13' - implementation 'org.bdware.doip:bdosclient:0.0.2' + implementation 'org.bdware.doip:bdosclient:0.0.6' // implementation 'org.bdware.doip:doip-audit-tool:1.2.4' testImplementation 'junit:junit:4.13.2' } diff --git a/src/main/java/org/bdware/ypkdeploy/SmartContractClientExt.java b/src/main/java/org/bdware/ypkdeploy/SmartContractClientExt.java index b5a7d65..848ba6c 100644 --- a/src/main/java/org/bdware/ypkdeploy/SmartContractClientExt.java +++ b/src/main/java/org/bdware/ypkdeploy/SmartContractClientExt.java @@ -193,6 +193,8 @@ public class SmartContractClientExt extends SmartContractClient { return null; } + + public static class ContractExecType { public static final int Sole = 0; // 单点锚定合约 public static final int RequestOnce = 1;// 多点不同步合约