Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDifficult ¶
func GetDifficult(time uint64, parentHeader *types.BlockHeader) *big.Int
getDifficult adjust difficult by parent info
func VerifyDifficulty ¶
func VerifyDifficulty(parent *types.BlockHeader, header *types.BlockHeader) error
func VerifyHeaderCommon ¶
func VerifyHeaderCommon(header, parent *types.BlockHeader) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.