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
fade09a7
Commit
fade09a7
authored
Jun 15, 2017
by
Alan Chen
Committed by
Felix Lange
Jun 15, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eth: remove les server from protocol manager (#14625)
parent
335abdce
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
3 deletions
+0
-3
backend.go
eth/backend.go
+0
-1
handler.go
eth/handler.go
+0
-2
No files found.
eth/backend.go
View file @
fade09a7
...
@@ -88,7 +88,6 @@ type Ethereum struct {
...
@@ -88,7 +88,6 @@ type Ethereum struct {
func
(
s
*
Ethereum
)
AddLesServer
(
ls
LesServer
)
{
func
(
s
*
Ethereum
)
AddLesServer
(
ls
LesServer
)
{
s
.
lesServer
=
ls
s
.
lesServer
=
ls
s
.
protocolManager
.
lesServer
=
ls
}
}
// New creates a new Ethereum object (including the
// New creates a new Ethereum object (including the
...
...
eth/handler.go
View file @
fade09a7
...
@@ -87,8 +87,6 @@ type ProtocolManager struct {
...
@@ -87,8 +87,6 @@ type ProtocolManager struct {
quitSync
chan
struct
{}
quitSync
chan
struct
{}
noMorePeers
chan
struct
{}
noMorePeers
chan
struct
{}
lesServer
LesServer
// wait group is used for graceful shutdowns during downloading
// wait group is used for graceful shutdowns during downloading
// and processing
// and processing
wg
sync
.
WaitGroup
wg
sync
.
WaitGroup
...
...
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