good morning!!!!
Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
bor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
open
bor
Commits
a38bca34
Commit
a38bca34
authored
Jan 27, 2015
by
Taylor Gerring
Browse files
Options
Downloads
Patches
Plain Diff
Add wsport flag to Mist
parent
5f50fe7a
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
cmd/mist/flags.go
+2
-0
2 additions, 0 deletions
cmd/mist/flags.go
cmd/mist/main.go
+1
-1
1 addition, 1 deletion
cmd/mist/main.go
with
3 additions
and
1 deletion
cmd/mist/flags.go
+
2
−
0
View file @
a38bca34
...
...
@@ -43,6 +43,7 @@ var (
StartRpc
bool
StartWebSockets
bool
RpcPort
int
WsPort
int
UseUPnP
bool
NatType
string
OutboundPort
string
...
...
@@ -111,6 +112,7 @@ func Init() {
flag
.
BoolVar
(
&
UseUPnP
,
"upnp"
,
true
,
"enable UPnP support"
)
flag
.
IntVar
(
&
MaxPeer
,
"maxpeer"
,
30
,
"maximum desired peers"
)
flag
.
IntVar
(
&
RpcPort
,
"rpcport"
,
8080
,
"port to start json-rpc server on"
)
flag
.
IntVar
(
&
WsPort
,
"wsport"
,
40404
,
"port to start websocket rpc server on"
)
flag
.
BoolVar
(
&
StartRpc
,
"rpc"
,
false
,
"start rpc server"
)
flag
.
BoolVar
(
&
StartWebSockets
,
"ws"
,
false
,
"start websocket server"
)
flag
.
BoolVar
(
&
NonInteractive
,
"y"
,
false
,
"non-interactive mode (say yes to confirmations)"
)
...
...
This diff is collapsed.
Click to expand it.
cmd/mist/main.go
+
1
−
1
View file @
a38bca34
...
...
@@ -73,7 +73,7 @@ func run() error {
}
if
StartWebSockets
{
utils
.
StartWebSockets
(
ethereum
)
utils
.
StartWebSockets
(
ethereum
,
WsPort
)
}
gui
:=
NewWindow
(
ethereum
,
config
,
ethereum
.
ClientIdentity
()
.
(
*
p2p
.
SimpleClientIdentity
),
KeyRing
,
LogLevel
)
...
...
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