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
819ecd45
Commit
819ecd45
authored
Jul 08, 2015
by
Jeffrey Wilcke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
miner, xeth: fire log event during mining. Fix return raw tx
parent
a2333bcb
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
2 deletions
+2
-2
filter.go
core/filter.go
+1
-1
worker.go
miner/worker.go
+1
-0
xeth.go
xeth/xeth.go
+0
-1
No files found.
core/filter.go
View file @
819ecd45
...
...
@@ -99,7 +99,7 @@ done:
switch
{
case
block
.
NumberU64
()
==
0
:
break
done
case
block
.
NumberU64
()
==
earliestBlockNo
:
case
block
.
NumberU64
()
<
earliestBlockNo
:
break
done
case
self
.
max
<=
len
(
logs
)
:
break
done
...
...
miner/worker.go
View file @
819ecd45
...
...
@@ -298,6 +298,7 @@ func (self *worker) wait() {
self
.
mux
.
Post
(
core
.
ChainEvent
{
block
,
block
.
Hash
(),
logs
})
if
stat
==
core
.
CanonStatTy
{
self
.
mux
.
Post
(
core
.
ChainHeadEvent
{
block
})
self
.
mux
.
Post
(
logs
)
}
}(
block
,
self
.
current
.
state
.
Logs
())
...
...
xeth/xeth.go
View file @
819ecd45
...
...
@@ -781,7 +781,6 @@ func (self *XEth) PushTx(encodedTx string) (string, error) {
addr
:=
crypto
.
CreateAddress
(
from
,
tx
.
Nonce
())
glog
.
V
(
logger
.
Info
)
.
Infof
(
"Tx(%x) created: %x
\n
"
,
tx
.
Hash
(),
addr
)
return
addr
.
Hex
(),
nil
}
else
{
glog
.
V
(
logger
.
Info
)
.
Infof
(
"Tx(%x) to: %x
\n
"
,
tx
.
Hash
(),
tx
.
To
())
}
...
...
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