initial changes to litecoin source