forked from cerc-io/plugeth
info => debug
This commit is contained in:
parent
0f3bf7ef4d
commit
3f4c1aaf01
@ -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>
|
||||
|
||||
|
@ -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(),
|
||||
|
@ -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":
|
||||
|
Loading…
Reference in New Issue
Block a user