Skip to content

Commit

Permalink
config(api): add config for api
Browse files Browse the repository at this point in the history
  • Loading branch information
halibobo1205 committed Jun 17, 2024
1 parent c2bf297 commit 76f0488
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
8 changes: 7 additions & 1 deletion framework/src/main/resources/config.conf
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,8 @@ node {
fullNodePort = 8090
solidityEnable = true
solidityPort = 8091
PBFTEnable = true
PBFTPort = 8092
}

# use your ipv6 address for node discovery and tcp connection, default false
Expand All @@ -225,8 +227,12 @@ node {
}

rpc {
enable = true
port = 50051
#solidityPort = 50061
solidityEnable = true
solidityPort = 50061
PBFTEnable = true
PBFTPort = 50071
# Number of gRPC thread, default availableProcessors / 2
# thread = 16

Expand Down
12 changes: 9 additions & 3 deletions framework/src/test/resources/config-localtest.conf
Original file line number Diff line number Diff line change
Expand Up @@ -117,23 +117,29 @@ node {

http {
fullNodeEnable = false
fullNodePort = 8090
solidityEnable = false
solidityPort = 8091
PBFTEnable = false
PBFTPort = 8092
}

jsonrpc {
httpFullNodeEnable = false
httpFullNodePort = 8545
httpSolidityEnable = false
httpSolidityPort = 8555
httpPBFTEnable = false
httpPBFTPort = 8565
}

rpc {
enable = false
port = 50051
solidityEnable = false
solidityPort = 50061
PBFTEnable = false
port = 50051
# default value is 50061
# solidityPort = 50061
PBFTPort = 50071

# Number of gRPC thread, default availableProcessors / 2
# thread = 16
Expand Down

0 comments on commit 76f0488

Please sign in to comment.