Skip to content

Commit

Permalink
Merge branch 'release-3.5.0' into auto_platform
Browse files Browse the repository at this point in the history
  • Loading branch information
morebtcg authored Oct 9, 2023
2 parents 8ef606c + d0a090d commit 70aa1f3
Show file tree
Hide file tree
Showing 4 changed files with 106 additions and 51 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ ext {
if (!project.hasProperty("ossrhPassword")) {
ossrhPassword = "xxx"
}
jacksonVersion = '2.14.2'
jacksonVersion = '2.14.3'
commonsIOVersion = '2.11.0'
commonsLang3Version = '3.12.0'
toml4jVersion = "0.7.2"
Expand Down
25 changes: 23 additions & 2 deletions src/main/java/org/fisco/bcos/sdk/v3/client/Client.java
Original file line number Diff line number Diff line change
Expand Up @@ -963,14 +963,35 @@ void getTransactionReceiptAsync(
@Deprecated
EnumNodeVersion getChainVersion();

/**
* get the chain compatibility version
*
* @return the chain compatibility version
*/
EnumNodeVersion.Version getChainCompatibilityVersion();

/**
* async get the chain compatibility version
*
* @param versionRespCallback the callback instance
* @param versionRespCallback the callback that will be called when receive the response
*/
void getChainCompatibilityVersionAsync(
RespCallback<EnumNodeVersion.Version> versionRespCallback);

/**
* Set node name to send rpc request directly, if not set, will use random node in the
* groupInfoList. Node name should choose from groupInfo.
*
* @param nodeToSendRequest the node name
*/
void setNodeToSendRequest(String nodeToSendRequest);

/**
* get node name to send rpc request directly
*
* @return the node name
*/
void getChainVersionAsync(RespCallback<EnumNodeVersion.Version> versionRespCallback);
String getNodeToSendRequest();

void start();

Expand Down
Loading

0 comments on commit 70aa1f3

Please sign in to comment.