Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
JDChain
Bftsmart
提交
33859398
B
Bftsmart
项目概览
JDChain
/
Bftsmart
通知
0
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
B
Bftsmart
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
33859398
编写于
1月 10, 2021
作者:
H
huanghaiquan
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
upgraded the dependency of utils;
上级
f817655c
变更
6
显示空白变更内容
内联
并排
Showing
6 changed file
with
18 addition
and
29 deletion
+18
-29
pom.xml
pom.xml
+2
-9
src/main/java/bftsmart/communication/ServerCommunicationSystem.java
...ava/bftsmart/communication/ServerCommunicationSystem.java
+1
-2
src/main/java/bftsmart/communication/ServerCommunicationSystemImpl.java
...bftsmart/communication/ServerCommunicationSystemImpl.java
+2
-4
src/main/java/bftsmart/communication/server/ServersCommunicationLayerImpl.java
...t/communication/server/ServersCommunicationLayerImpl.java
+1
-2
src/main/java/bftsmart/tom/ServiceProxy.java
src/main/java/bftsmart/tom/ServiceProxy.java
+11
-10
src/main/java/bftsmart/tom/leaderchange/LCManager.java
src/main/java/bftsmart/tom/leaderchange/LCManager.java
+1
-2
未找到文件。
pom.xml
浏览文件 @
33859398
...
...
@@ -81,16 +81,9 @@
<version>
2.23.4
</version>
</dependency>
<dependency>
<groupId>
com.jd.blockchain
</groupId>
<artifactId>
utils-common
</artifactId>
<version>
1.4.0.RELEASE
</version>
<scope>
compile
</scope>
</dependency>
<dependency>
<groupId>
com.jd.blockchain
</groupId>
<groupId>
com.jd.utils
</groupId>
<artifactId>
utils-common
</artifactId>
<version>
1.4.0.RELEASE
</version>
<scope>
compile
</scope>
<version>
2.0.0.RELEASE
</version>
</dependency>
</dependencies>
...
...
src/main/java/bftsmart/communication/ServerCommunicationSystem.java
浏览文件 @
33859398
...
...
@@ -15,13 +15,12 @@ limitations under the License.
*/
package
bftsmart.communication
;
import
com.jd.blockchain.utils.concurrent.AsyncFuture
;
import
bftsmart.communication.client.CommunicationSystemServerSide
;
import
bftsmart.communication.client.RequestReceiver
;
import
bftsmart.communication.server.ServersCommunicationLayer
;
import
bftsmart.consensus.roles.Acceptor
;
import
bftsmart.tom.core.TOMLayer
;
import
utils.concurrent.AsyncFuture
;
/**
*
...
...
src/main/java/bftsmart/communication/ServerCommunicationSystemImpl.java
浏览文件 @
33859398
...
...
@@ -22,15 +22,11 @@ import java.util.concurrent.TimeUnit;
import
org.slf4j.LoggerFactory
;
import
com.jd.blockchain.utils.concurrent.AsyncFuture
;
import
com.jd.blockchain.utils.concurrent.CompletableAsyncFuture
;
import
bftsmart.communication.client.CommunicationSystemServerSide
;
import
bftsmart.communication.client.CommunicationSystemServerSideFactory
;
import
bftsmart.communication.client.RequestReceiver
;
import
bftsmart.communication.queue.MessageQueue
;
import
bftsmart.communication.queue.MessageQueueFactory
;
import
bftsmart.communication.queue.MessageQueue.MSG_TYPE
;
import
bftsmart.communication.server.ServersCommunicationLayer
;
import
bftsmart.communication.server.ServersCommunicationLayerImpl
;
import
bftsmart.consensus.roles.Acceptor
;
...
...
@@ -44,6 +40,8 @@ import bftsmart.tom.leaderchange.LCMessage;
import
bftsmart.tom.leaderchange.LeaderRequestMessage
;
import
bftsmart.tom.leaderchange.LeaderResponseMessage
;
import
bftsmart.tom.leaderchange.LeaderStatusRequestMessage
;
import
utils.concurrent.AsyncFuture
;
import
utils.concurrent.CompletableAsyncFuture
;
/**
*
...
...
src/main/java/bftsmart/communication/server/ServersCommunicationLayerImpl.java
浏览文件 @
33859398
...
...
@@ -39,13 +39,12 @@ import javax.crypto.spec.PBEKeySpec;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
import
com.jd.blockchain.utils.io.RuntimeIOException
;
import
bftsmart.communication.SystemMessage
;
import
bftsmart.communication.queue.MessageQueue
;
import
bftsmart.communication.queue.MessageQueueFactory
;
import
bftsmart.reconfiguration.ServerViewController
;
import
bftsmart.tom.ServiceReplica
;
import
utils.io.RuntimeIOException
;
/**
*
...
...
src/main/java/bftsmart/tom/ServiceProxy.java
浏览文件 @
33859398
...
...
@@ -15,6 +15,16 @@ limitations under the License.
*/
package
bftsmart.tom
;
import
java.security.NoSuchAlgorithmException
;
import
java.util.Arrays
;
import
java.util.Comparator
;
import
java.util.Random
;
import
java.util.concurrent.Semaphore
;
import
java.util.concurrent.TimeUnit
;
import
java.util.concurrent.locks.ReentrantLock
;
import
org.slf4j.LoggerFactory
;
import
bftsmart.reconfiguration.ReconfigureReply
;
import
bftsmart.reconfiguration.util.TOMConfiguration
;
import
bftsmart.reconfiguration.views.View
;
...
...
@@ -23,16 +33,7 @@ import bftsmart.tom.core.messages.TOMMessage;
import
bftsmart.tom.core.messages.TOMMessageType
;
import
bftsmart.tom.util.Extractor
;
import
bftsmart.tom.util.TOMUtil
;
import
com.jd.blockchain.utils.exception.ViewObsoleteException
;
import
org.slf4j.LoggerFactory
;
import
java.security.NoSuchAlgorithmException
;
import
java.util.Arrays
;
import
java.util.Comparator
;
import
java.util.Random
;
import
java.util.concurrent.Semaphore
;
import
java.util.concurrent.TimeUnit
;
import
java.util.concurrent.locks.ReentrantLock
;
import
utils.exception.ViewObsoleteException
;
/**
* This class implements a TOMSender and represents a proxy to be used on the
...
...
src/main/java/bftsmart/tom/leaderchange/LCManager.java
浏览文件 @
33859398
...
...
@@ -37,8 +37,6 @@ import javax.crypto.SecretKey;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
import
com.jd.blockchain.utils.ArrayUtils
;
import
bftsmart.communication.server.ServerConnection
;
import
bftsmart.consensus.TimestampValuePair
;
import
bftsmart.consensus.app.SHA256Utils
;
...
...
@@ -47,6 +45,7 @@ import bftsmart.reconfiguration.ServerViewController;
import
bftsmart.tom.core.TOMLayer
;
import
bftsmart.tom.core.messages.TOMMessage
;
import
bftsmart.tom.util.TOMUtil
;
import
utils.ArrayUtils
;
/**
*
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录