stratum-mining如何设置

时间:2013-05-23 04:33:28

标签: bitcoin mining

以下是stratum协议的配置文件的一些行:

    parser.add_argument('-o', '--host', dest='host', type=str, default='198.20.177.17', help='Hostname of Stratum mining pool')
    parser.add_argument('-p', '--port', dest='port', type=int, default=8338, help='Port of Stratum mining pool')
    parser.add_argument('-sh', '--stratum-host', dest='stratum_host', type=str, default='198.20.177.17', help='On which network interface listen for stratum miners. Use "localhost" for listening on internal IP only.')
    parser.add_argument('-sp', '--stratum-port', dest='stratum_port', type=int, default=8344, help='Port on which port listen for stratum miners.')
    parser.add_argument('-oh', '--getwork-host', dest='getwork_host', type=str, default='198.20.177.17', help='On which network interface listen for getwork miners. Use "localhost" for listening on internal IP only.')
    parser.add_argument('-gp', '--getwork-port', dest='getwork_port', type=int, default=3334, help='Port on which port listen for getwork miners. Use another port if you have bitcoind RPC running on this machine already.')

任何人都可以解释一下我应该在每个参数中加入什么值?我真的很困惑......

0 个答案:

没有答案