|
|
|
@ -67,10 +67,10 @@ func (l *EthMinerNewBlock) EventName() string { |
|
|
|
|
|
|
|
|
|
type EthChainReceivedNewBlock struct { |
|
|
|
|
BlockHash string `json:"block_hash"` |
|
|
|
|
BlockNumber int `json:"block_number"` |
|
|
|
|
BlockNumber *big.Int `json:"block_number"` |
|
|
|
|
ChainHeadHash string `json:"chain_head_hash"` |
|
|
|
|
BlockPrevHash string `json:"block_prev_hash"` |
|
|
|
|
RemoteId int `json:"remote_id"` |
|
|
|
|
RemoteId string `json:"remote_id"` |
|
|
|
|
LogEvent |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -80,7 +80,7 @@ func (l *EthChainReceivedNewBlock) EventName() string { |
|
|
|
|
|
|
|
|
|
type EthChainNewHead struct { |
|
|
|
|
BlockHash string `json:"block_hash"` |
|
|
|
|
BlockNumber int `json:"block_number"` |
|
|
|
|
BlockNumber *big.Int `json:"block_number"` |
|
|
|
|
ChainHeadHash string `json:"chain_head_hash"` |
|
|
|
|
BlockPrevHash string `json:"block_prev_hash"` |
|
|
|
|
LogEvent |
|
|
|
|