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
3f4c1aaf
Commit
3f4c1aaf
authored
Apr 02, 2015
by
obscuren
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
info => debug
parent
0f3bf7ef
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
+4
-2
coin.html
cmd/mist/assets/examples/coin.html
+1
-1
worker.go
miner/worker.go
+2
-0
api.go
rpc/api.go
+1
-1
No files found.
cmd/mist/assets/examples/coin.html
View file @
3f4c1aaf
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<title>
JevCoin
</title>
<title>
JevCoin
</title>
<head>
<head>
<script
type=
"text/javascript"
src=
"../ext/bignumber.min.js"
></script>
<script
type=
"text/javascript"
src=
"../ext/bignumber.min.js"
></script>
<script
type=
"text/javascript"
src=
"../ext/ethereum.js/dist/ethereum.js"
></script>
<script
type=
"text/javascript"
src=
"../ext/ethereum.js/dist/ethereum
-light.min
.js"
></script>
</head>
</head>
<body>
<body>
...
...
miner/worker.go
View file @
3f4c1aaf
...
@@ -171,6 +171,8 @@ func (self *worker) wait() {
...
@@ -171,6 +171,8 @@ func (self *worker) wait() {
}
}
self
.
mux
.
Post
(
core
.
NewMinedBlockEvent
{
block
})
self
.
mux
.
Post
(
core
.
NewMinedBlockEvent
{
block
})
minerlogger
.
Infof
(
"ð¨#%v"
,
block
.
Number
())
jsonlogger
.
LogJson
(
&
logger
.
EthMinerNewBlock
{
jsonlogger
.
LogJson
(
&
logger
.
EthMinerNewBlock
{
BlockHash
:
block
.
Hash
()
.
Hex
(),
BlockHash
:
block
.
Hash
()
.
Hex
(),
BlockNumber
:
block
.
Number
(),
BlockNumber
:
block
.
Number
(),
...
...
rpc/api.go
View file @
3f4c1aaf
...
@@ -36,7 +36,7 @@ func (api *EthereumApi) xethAtStateNum(num int64) *xeth.XEth {
...
@@ -36,7 +36,7 @@ func (api *EthereumApi) xethAtStateNum(num int64) *xeth.XEth {
func
(
api
*
EthereumApi
)
GetRequestReply
(
req
*
RpcRequest
,
reply
*
interface
{})
error
{
func
(
api
*
EthereumApi
)
GetRequestReply
(
req
*
RpcRequest
,
reply
*
interface
{})
error
{
// Spec at https://github.com/ethereum/wiki/wiki/JSON-RPC
// Spec at https://github.com/ethereum/wiki/wiki/JSON-RPC
rpclogger
.
Info
f
(
"%s %s"
,
req
.
Method
,
req
.
Params
)
rpclogger
.
Debug
f
(
"%s %s"
,
req
.
Method
,
req
.
Params
)
switch
req
.
Method
{
switch
req
.
Method
{
case
"web3_sha3"
:
case
"web3_sha3"
:
...
...
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