提交 33859398 编写于 作者: H huanghaiquan

upgraded the dependency of utils;

上级 f817655c
......@@ -81,17 +81,10 @@
<version>2.23.4</version>
</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>
<dependency>
<groupId>com.jd.blockchain</groupId>
<artifactId>utils-common</artifactId>
<version>1.4.0.RELEASE</version>
<scope>compile</scope>
</dependency>
</dependencies>
......
......@@ -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;
/**
*
......
......@@ -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;
/**
*
......
......@@ -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;
/**
*
......
......@@ -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
......
......@@ -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.
先完成此消息的编辑!
想要评论请 注册