Fair and Efficient Consensus Protocols for Secure Blockchain Applications