ipld-eth-server/pkg/core/block.go

21 lines
373 B
Go
Raw Normal View History

package core
type Block struct {
2017-12-28 16:06:13 +00:00
Reward float64
2017-11-02 14:36:53 +00:00
Difficulty int64
2017-12-27 18:10:08 +00:00
ExtraData string
GasLimit int64
GasUsed int64
2017-11-02 14:36:53 +00:00
Hash string
2017-12-27 18:10:08 +00:00
IsFinal bool
Miner string
2017-11-02 14:36:53 +00:00
Nonce string
Number int64
ParentHash string
Size int64
Time int64
2017-10-31 13:58:04 +00:00
Transactions []Transaction
2017-11-02 14:36:53 +00:00
UncleHash string
2017-12-28 16:06:13 +00:00
UnclesReward float64
}