perf: modify get hash function to decrease time sync block; store hash to avoid calculating many times
perf: modify get hash function to decrease time sync block; store hash to avoid calculating many times

fix: add check previousBlockHeader

yacoin/yacoin,yacoin/yacoin,yacoin/yacoin,yacoin/yacoin,yacoin/yacoin