Optimal Flexible Consensus and its Application to Ethereum | IEEE Conference Publication | IEEE Xplore