Add tests for uncle timestamps and refactor timestamp type

This commit is contained in:
Gustav Simonsson
2015-08-24 02:52:53 +02:00
parent d51d0022ce
commit 7324176f70
21 changed files with 380 additions and 43 deletions

View File

@ -33,7 +33,7 @@ type Environment interface {
BlockNumber() *big.Int
GetHash(n uint64) common.Hash
Coinbase() common.Address
Time() uint64
Time() *big.Int
Difficulty() *big.Int
GasLimit() *big.Int
CanTransfer(from Account, balance *big.Int) bool