2017-10-23 15:56:29 +00:00
|
|
|
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
|
2017-10-31 17:51:05 +00:00
|
|
|
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
|
2017-10-31 17:51:05 +00:00
|
|
|
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
|
2017-10-23 15:56:29 +00:00
|
|
|
}
|