Merge pull request #470 from kanoi/master

miner.php format Best Share
avalon_cts use correct buffer