A survey on blockchain consensus mechanism: research overview, current advances and future directions