Move auxiliary functions to Lib.js
Deprecate cashout amount
Keep track of confirmed blocks.