Eloipool矿池

项目依赖:
Dependencies
------------
Python 3.2+               http://python.org
python-bitcoinrpc     https://github.com/jgarzik/python-bitcoinrpc  (JSON RPC API)
python-base58          https://gitorious.org/bitcoin/python-base58

Optional Dependencies
---------------------
midstate               http://gitorious.org/midstate/midstate
Psycopg2               http://initd.org/psycopg/
PyMySQL                     http://www.pymysql.org/


项目用到的JSON RPC:
jsonrpc_getblocktemplate.py
jsonrpc_getmemorypool
jsonrpc_getwork
jsonrpc_setworkaux
jsonrpcserver
薛向磊:
stratum:协议名,gotwork协议的演进。
share:矿机根据节点设定的难度系数提交的符合要求的nonce。(节点给矿机设定的难度系数<全网难度系数[hash值前缀0的个数])

Eloipool  supports merged mining using the  setworkaux / gotwork  RPC interface.
A simple port of namecoin's merged-mine-  proxy  to this interface is available
Eloipool 支持多币种挖矿,使用的是setworkaux/gotwork 接口。支持namecoin的merged-mine- proxy端口配置。
here:
       https://gitorious.org/~Luke-Jr/bitcoin/luke-jr-bitcoin/blobs/namecoin_mmm/contrib/merged-mine-proxy
Please be advised that:
-  Eloipool  does not provide any interface for  longpolling  aux  chains.不为长轮询的  aux chain提供接口
- Empty and  longpoll  merkle  roots are generated only as-needed, and will NOT be
  regenerated when CoinbaseAux changes. This means shares found by  getwork
  miners after a  longpoll  will almost always be stale on your  aux  chain(s).
  This problem does not affect GBT or stratum miners.

配置文件:config.py
Eloipool的配置文件在源代码里。
# JSONRPCAddresses, etc) excluding the final comma.
# For example (this is WRONG):
#     JSONRPCAddresses = (
#         ('', 8337)  # <-- 每个address条目后必须以","结尾,最后一个条目后也要加
#     )
# 没有最后的,option list只能包含一个条目,Python解析的时候会把main()当做一个子表达式而不是list。
# 如果发生这样的情况,会出现crazy errors,系统无法正常运行。所以别忘了",".

### server相关配置

# server的Name
ServerName = 'Private  Eloipool '

### server scaling/load配置

# Share hashes must be below this to be valid shares
# If dynamic targetting is enabled, this is a minimum???
ShareTarget = 0x00000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值