aboutsummaryrefslogtreecommitdiffstats
path: root/logger
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2015-03-04 03:16:55 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2015-03-04 03:16:55 +0800
commit988391fc37d54f8ca4e49a03bf5f6b240a3dfa33 (patch)
treea77ba7a10a45ecd04ed4dbdbb3a6b9f697077860 /logger
parentb1603f166e36de5959e780c8e8fc866ae3ceeca0 (diff)
parenta75af474f71606ed4572db216d9440b7c14a8a37 (diff)
downloadgo-tangerine-988391fc37d54f8ca4e49a03bf5f6b240a3dfa33.tar
go-tangerine-988391fc37d54f8ca4e49a03bf5f6b240a3dfa33.tar.gz
go-tangerine-988391fc37d54f8ca4e49a03bf5f6b240a3dfa33.tar.bz2
go-tangerine-988391fc37d54f8ca4e49a03bf5f6b240a3dfa33.tar.lz
go-tangerine-988391fc37d54f8ca4e49a03bf5f6b240a3dfa33.tar.xz
go-tangerine-988391fc37d54f8ca4e49a03bf5f6b240a3dfa33.tar.zst
go-tangerine-988391fc37d54f8ca4e49a03bf5f6b240a3dfa33.zip
Merge pull request #409 from tgerring/jsonlogs
Updated JSON log events
Diffstat (limited to 'logger')
-rw-r--r--logger/types.go9
1 files changed, 5 insertions, 4 deletions
diff --git a/logger/types.go b/logger/types.go
index 7ab4a2b8c..86408620e 100644
--- a/logger/types.go
+++ b/logger/types.go
@@ -1,6 +1,7 @@
package logger
import (
+ "math/big"
"time"
)
@@ -53,10 +54,10 @@ func (l *P2PDisconnected) EventName() string {
}
type EthMinerNewBlock struct {
- BlockHash string `json:"block_hash"`
- BlockNumber int `json:"block_number"`
- ChainHeadHash string `json:"chain_head_hash"`
- BlockPrevHash string `json:"block_prev_hash"`
+ BlockHash string `json:"block_hash"`
+ BlockNumber *big.Int `json:"block_number"`
+ ChainHeadHash string `json:"chain_head_hash"`
+ BlockPrevHash string `json:"block_prev_hash"`
LogEvent
}