Skip to content

Commit

Permalink
Release 3.0.0 rc2 (#99)
Browse files Browse the repository at this point in the history
* <fix>(resource): rename default group name to group0.

* <fix>(project): update log4j2 version to 2.17.1.

* <fix>(build): update java sdk version. (#98)
  • Loading branch information
kyonRay authored Feb 22, 2022
1 parent 4ac0c95 commit 71ed67d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 代码如下:(**以项目最新文件为准**

Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/example/demo/config/SystemConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
@Configuration
@ConfigurationProperties(prefix = "system")
public class SystemConfig {
private String groupName = "group";
private String groupName = "group0";

private String hexPrivateKey;
}
2 changes: 1 addition & 1 deletion src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 71ed67d

Please sign in to comment.