use minfee for tx; added flag to debug miner