aboutsummaryrefslogtreecommitdiffstats
path: root/logger
diff options
context:
space:
mode:
authorzelig <viktor.tron@gmail.com>2015-03-03 14:52:20 +0800
committerzelig <viktor.tron@gmail.com>2015-03-03 14:52:20 +0800
commit34be795bc11e72092460401d015852d61c769509 (patch)
treeeb6705128a4e0f6cd649b0171a68445290afe291 /logger
parent65cad14f9b27db396d036f47814d4843d947ac43 (diff)
parenta75af474f71606ed4572db216d9440b7c14a8a37 (diff)
downloaddexon-34be795bc11e72092460401d015852d61c769509.tar.gz
dexon-34be795bc11e72092460401d015852d61c769509.tar.zst
dexon-34be795bc11e72092460401d015852d61c769509.zip
Merge remote-tracking branch 'tgerring/jsonlogs' into jsonlogs
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
}