Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
Geth-Modification
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张蕾
Geth-Modification
Commits
804af965
Commit
804af965
authored
Dec 24, 2014
by
obscuren
Browse files
Options
Browse Files
Download
Plain Diff
merge
parents
fb1edd05
9d429180
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
main.go
cmd/ethereum/main.go
+1
-1
main.go
cmd/mist/main.go
+1
-1
websockets.go
cmd/utils/websockets.go
+5
-0
No files found.
cmd/ethereum/main.go
View file @
804af965
...
...
@@ -31,7 +31,7 @@ import (
const
(
ClientIdentifier
=
"Ethereum(G)"
Version
=
"0.7.1
0
"
Version
=
"0.7.1
1
"
)
var
clilogger
=
logger
.
NewLogger
(
"CLI"
)
...
...
cmd/mist/main.go
View file @
804af965
...
...
@@ -31,7 +31,7 @@ import (
const
(
ClientIdentifier
=
"Mist"
Version
=
"0.7.1
0
"
Version
=
"0.7.1
1
"
)
var
ethereum
*
eth
.
Ethereum
...
...
cmd/utils/websockets.go
View file @
804af965
...
...
@@ -3,10 +3,13 @@ package utils
import
(
"github.com/ethereum/go-ethereum/eth"
"github.com/ethereum/go-ethereum/ethutil"
"github.com/ethereum/go-ethereum/logger"
"github.com/ethereum/go-ethereum/websocket"
"github.com/ethereum/go-ethereum/xeth"
)
var
wslogger
=
logger
.
NewLogger
(
"WS"
)
func
args
(
v
...
interface
{})
[]
interface
{}
{
return
v
}
...
...
@@ -106,6 +109,8 @@ func (self *WebSocketServer) Serv() {
}
func
StartWebSockets
(
eth
*
eth
.
Ethereum
)
{
wslogger
.
Infoln
(
"Starting WebSockets"
)
sock
:=
NewWebSocketServer
(
eth
)
go
sock
.
Serv
()
}
...
...
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