add a new protocol for longcoinbase and fix temperature bug