APP: Add blockheader and midstate functions
APP: Add blockheader and midstate functions

Canaan-Creative/Avalon-nano,Canaan-Creative/Avalon-nano,Canaan-Creative/Avalon-nano,Canaan-Creative/Avalon-nano,Canaan-Creative/Avalon-nano,Canaan-Creative/Avalon-nano,Canaan-Creative/Avalon-nano,Canaan-Creative/Avalon-nano