Working with Consensus in Bitcoin