From 71ed67d121f6fb7e5e96e4c4fd29f3366cd9f5e4 Mon Sep 17 00:00:00 2001 From: Kyon <32325790+kyonRay@users.noreply.github.com> Date: Tue, 22 Feb 2022 15:42:48 +0800 Subject: [PATCH] Release 3.0.0 rc2 (#99) * (resource): rename default group name to group0. * (project): update log4j2 version to 2.17.1. * (build): update java sdk version. (#98) --- README.md | 4 ++-- build.gradle | 2 +- src/main/java/org/example/demo/config/SystemConfig.java | 2 +- src/main/resources/application.properties | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 4745445..e253ea8 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ network.peers[0]=127.0.0.1:20200 #network.peers[1]=127.0.0.1:20201 ### System configuration -system.groupId=group +system.groupId=group0 system.hexPrivateKey= ### Springboot configuration @@ -46,7 +46,7 @@ server.port=8080 - System configuration配置部分,需要配置: - system.hexPrivateKey是16进制的私钥明文,可运行Demos.java中的`keyGeneration`生成(文件路径:src/test/java/org/example/demo/Demos.java)。该配置允许为空,此时系统会随机生成一个私钥。 - - system.groupId设为目标群组,默认为group + - system.groupId设为目标群组,默认为group0 Demos.java 代码如下:(**以项目最新文件为准**) diff --git a/build.gradle b/build.gradle index aae1e85..1ab7c0a 100644 --- a/build.gradle +++ b/build.gradle @@ -47,7 +47,7 @@ List logger = [ dependencies { implementation 'junit:junit:4.13.1' compile logger - compile ('org.fisco-bcos.java-sdk:fisco-bcos-java-sdk:3.0.0-rc1') + compile ('org.fisco-bcos.java-sdk:fisco-bcos-java-sdk:3.0.0-rc2-SNAPSHOT') compile ('org.springframework.boot:spring-boot-starter-web') compileOnly ('org.projectlombok:lombok') annotationProcessor ('org.projectlombok:lombok') diff --git a/src/main/java/org/example/demo/config/SystemConfig.java b/src/main/java/org/example/demo/config/SystemConfig.java index 64016be..6bf58db 100644 --- a/src/main/java/org/example/demo/config/SystemConfig.java +++ b/src/main/java/org/example/demo/config/SystemConfig.java @@ -8,7 +8,7 @@ @Configuration @ConfigurationProperties(prefix = "system") public class SystemConfig { - private String groupName = "group"; + private String groupName = "group0"; private String hexPrivateKey; } diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index deb1abe..bdec3fe 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -4,7 +4,7 @@ cryptoMaterial.useSMCrypto=false network.peers[0]=127.0.0.1:20200 ### System configuration -system.groupName=group +system.groupName=group0 ### Springboot configuration server.port=8080