Modified to suit Minerals

Various changes to serve nodes to Minerals wallets and daemon.