Legislation is the consensus algorithm,
Attorneys & Judges are the miners.
Edit: Criminals are the energy/electricity,
And the police are the power company that harness and distribute that energy.