Testing

Contains scrypt updates and and changes to make POS minting possible while wallet is locked.