Takes a rawhash message of length 32 bytes and a (v, r, s) tuple
        Returns a public key for the private key used in the sign function

def ecdsa_recover_raw(rawhash, vrs):
    """
        Takes a rawhash message of length 32 bytes and a (v, r, s) tuple
        Returns a public key for the private key used in the sign function
    """
    assert len(vrs) == 3
    assert len(rawhash) == 32
    return ecdsa_recover_compact(rawhash, _encode_sig(*vrs))