add mining pool support.