Byzantine faulty operation recovery and cost analysis of SPURT: A distributed randomness beacon