Add Block + Uncle Rewards calculation

This commit is contained in:
Matt Krump
2017-12-28 09:46:14 -06:00
parent cb4e745464
commit 3ca4370221
5 changed files with 221 additions and 4 deletions
+2
View File
@@ -1,6 +1,7 @@
package core
type Block struct {
BlockReward float64
Difficulty int64
ExtraData string
GasLimit int64
@@ -15,4 +16,5 @@ type Block struct {
Time int64
Transactions []Transaction
UncleHash string
UncleReward float64
}