Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
nucleo
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Miguel Montes
nucleo
Commits
1f731ae4
Commit
1f731ae4
authored
7 years ago
by
Robert Martin-Legene
Browse files
Options
Downloads
Patches
Plain Diff
renamed $tcpport to $netport
parent
b6df3357
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
bin/libbfa.sh
+2
-2
2 additions, 2 deletions
bin/libbfa.sh
bin/start.sh
+1
-1
1 addition, 1 deletion
bin/start.sh
with
3 additions
and
3 deletions
bin/libbfa.sh
+
2
−
2
View file @
1f731ae4
...
...
@@ -125,8 +125,8 @@ function nodedir
test
-d
"
${
BFANODEDIR
}
/geth/chaindata"
||
fatal
"Node is not initialised. Consider running: geth --datadir
$BFANODEDIR
init
${
BFANETWORKDIR
}
/genesis.json"
test
-r
"
${
BFANODEDIR
}
/port"
||
echo
$((
$RANDOM
/
2
+
12345
))
>
${
BFANODEDIR
}
/
tcp
port
httpport
=
$(
cat
${
BFANODEDIR
}
/
tcp
port
)
echo
$((
$RANDOM
/
2
+
12345
))
>
${
BFANODEDIR
}
/
net
port
httpport
=
$(
cat
${
BFANODEDIR
}
/
net
port
)
test
-r
"
${
BFANODEDIR
}
/rpcport"
||
echo
$((
$RANDOM
/
2
+
12345
))
>
${
BFANODEDIR
}
/rpcport
rpcport
=
$(
cat
${
BFANODEDIR
}
/rpcport
)
...
...
This diff is collapsed.
Click to expand it.
bin/start.sh
+
1
−
1
View file @
1f731ae4
...
...
@@ -80,7 +80,7 @@ exec flock --nonblock --exclusive ${dir}/rpcport \
--networkid
$BFANETWORKID
\
--rpc
\
--rpcport
$rpcport
\
--port
$
tcp
port
\
--port
$
net
port
\
--syncmode
full
\
--nousb
\
--bootnodes
"
${
bootnodes
}
"
\
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment