Implemented hashcash.
Fixed warnings.