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
39d86a28
Commit
39d86a28
authored
Dec 14, 2014
by
zelig
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adapt to new eth pkg and p2p
parent
5022a318
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
block_manager.go
core/block_manager.go
+3
-5
No files found.
core/block_manager.go
View file @
39d86a28
...
...
@@ -2,7 +2,6 @@ package core
import
(
"bytes"
"container/list"
"errors"
"fmt"
"math/big"
...
...
@@ -14,10 +13,10 @@ import (
"github.com/ethereum/go-ethereum/ethutil"
"github.com/ethereum/go-ethereum/event"
"github.com/ethereum/go-ethereum/logger"
"github.com/ethereum/go-ethereum/p2p"
"github.com/ethereum/go-ethereum/pow"
"github.com/ethereum/go-ethereum/pow/ezp"
"github.com/ethereum/go-ethereum/state"
"github.com/ethereum/go-ethereum/wire"
)
var
statelogger
=
logger
.
NewLogger
(
"BLOCK"
)
...
...
@@ -38,13 +37,12 @@ type EthManager interface {
BlockManager
()
*
BlockManager
ChainManager
()
*
ChainManager
TxPool
()
*
TxPool
Broadcast
(
msgType
wire
.
MsgType
,
data
[]
interface
{})
PeerCount
()
int
IsMining
()
bool
IsListening
()
bool
Peers
()
*
list
.
List
Peers
()
[]
*
p2p
.
Peer
KeyManager
()
*
crypto
.
KeyManager
ClientIdentity
()
wire
.
ClientIdentity
ClientIdentity
()
p2p
.
ClientIdentity
Db
()
ethutil
.
Database
EventMux
()
*
event
.
TypeMux
}
...
...
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