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