A partial Bitcoin client