Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Q
quorum-docker-Nnodes
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Wen Wei Li
quorum-docker-Nnodes
Commits
3530a116
Commit
3530a116
authored
Mar 17, 2020
by
Wen Wei Li
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add config.sh
parent
78dfda94
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
63 additions
and
0 deletions
+63
-0
Nnodes/config.sh
Nnodes/config.sh
+63
-0
No files found.
Nnodes/config.sh
0 → 100755
View file @
3530a116
#!/bin/bash
#### Configuration options #############################################
# Port prefix
port_range
=
61000
rpc_start_port
=
$((
port_range+100
))
node_start_port
=
$((
port_range+200
))
raft_start_port
=
$((
port_range+300
))
constellation_start_port
=
$((
port_range+400
))
# Old version
#rpc_start_port=22000
#node_start_port=25000
#raft_start_port=28000
#constellation_start_port=32000
# Default port number
raft_port
=
50400
constellation_port
=
9000
rlp_port
=
30303
rpc_port
=
8545
#Disable constellation node
use_constellation
=
false
# VIP Subnet
subnet
=
"172.14.0.0/16"
# Use docker host network for RLP connection.
use_host_net
=
true
# Interface IP for RLP listening when using docker host network
interface_ip
=
"192.168.2.100"
# Total nodes to deploy
total_nodes
=
5
# Signer nodes for Clique and IBFT
signer_nodes
=
4
# Consensus engine ex. raft, clique, istanbul
consensus
=
clique
# Block period for Clique and IBFT
block_period
=
0
# Docker image name
image
=
quorum
# Service name for docker-compose.yml
service
=
n1
# Send some ether for pre-defined accounts
alloc_ether
=
true
node_name_prefix
=
master
auto_start_containers
=
false
########################################################################
[[
"
$total_nodes
"
-lt
"
$signer_nodes
"
]]
&&
total_nodes
=
$signer_nodes
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment