Quick and dirty implementation of Greg Maxwell's proof of liability scheme