aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-04-02 18:58:17 +0800
committerobscuren <geffobscura@gmail.com>2015-04-02 18:58:17 +0800
commit3f4c1aaf01032787367a97b6e4574c2784179546 (patch)
treee1f2dfa401557e07f520ceade83988c15e0ab463
parent0f3bf7ef4de95b8012eb9bba717323b9e89c5908 (diff)
downloadgo-tangerine-3f4c1aaf01032787367a97b6e4574c2784179546.tar.gz
go-tangerine-3f4c1aaf01032787367a97b6e4574c2784179546.tar.zst
go-tangerine-3f4c1aaf01032787367a97b6e4574c2784179546.zip
info => debug
-rw-r--r--cmd/mist/assets/examples/coin.html2
-rw-r--r--miner/worker.go2
-rw-r--r--rpc/api.go2
3 files changed, 4 insertions, 2 deletions
diff --git a/cmd/mist/assets/examples/coin.html b/cmd/mist/assets/examples/coin.html
index a15345ab3..0528a5ad0 100644
--- a/cmd/mist/assets/examples/coin.html
+++ b/cmd/mist/assets/examples/coin.html
@@ -3,7 +3,7 @@
<title>JevCoin</title>
<head>
<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>
<body>
diff --git a/miner/worker.go b/miner/worker.go
index 2ba3faed8..3357c6f7b 100644
--- a/miner/worker.go
+++ b/miner/worker.go
@@ -171,6 +171,8 @@ func (self *worker) wait() {
}
self.mux.Post(core.NewMinedBlockEvent{block})
+ minerlogger.Infof("ð”¨#%v", block.Number())
+
jsonlogger.LogJson(&logger.EthMinerNewBlock{
BlockHash: block.Hash().Hex(),
BlockNumber: block.Number(),
diff --git a/rpc/api.go b/rpc/api.go
index d9206eb79..4a17d3b15 100644
--- a/rpc/api.go
+++ b/rpc/api.go
@@ -36,7 +36,7 @@ func (api *EthereumApi) xethAtStateNum(num int64) *xeth.XEth {
func (api *EthereumApi) GetRequestReply(req *RpcRequest, reply *interface{}) error {
// Spec at https://github.com/ethereum/wiki/wiki/JSON-RPC
- rpclogger.Infof("%s %s", req.Method, req.Params)
+ rpclogger.Debugf("%s %s", req.Method, req.Params)
switch req.Method {
case "web3_sha3":