主題: Darkcoin P2pool 作者: 苦勞礦工 於 2014 五月 20, 上午 12:29 DOGE P2POOL 範例:
http://www.reddit.com/r/dogemining/comments/1wmw3j/how_to_setup_p2pool_locally_windows DARK P2Pool ------- 先想辦法 可以執行 .py 檔 要安裝一堆軟體 下載此軟體: https://github.com/chaeplin/p2pool-drk 下載此軟體 解壓縮至 py_module 目錄下: https://github.com/darkcoinproject/xcoin-hash 用dos模式 到此目錄 py_module\xcoin-hash 執行此參數 setup.py build --compile=mingw32 install 回 p2pool-drk目錄下, 建立一個 .bat 檔 , 檔案中的參數類似於: run_p2pool.py --net darkcoin --give-author 0 -f 1 ????????????????? ?????????? --no-bugreport --max-conns 1000 --outgoing-conns 10 --------- 若拒絕連線, 可能是 port 沒對應好, 請在 darkcoin.conf 設定 port; rpcport=9998 port=9999 --- dark p2pool 對外 worker 的 port 為 7903 主題: run_p2pool.py --help 作者: 苦勞礦工 於 2014 五月 20, 上午 12:38 run_p2pool.py --help
usage: run_p2pool.py [-h] [--version] [--net {darkcoin}] [--testnet] [--debug] [-a ADDRESS] [--datadir DATADIR] [--logfile LOGFILE] [--merged MERGED_URLS] [--give-author DONATION_PERCENTAGE] [--iocp] [--irc-announce] [--no-bugreport] [--p2pool-port PORT] [-n ADDR[:PORT]] [--disable-upnp] [--max-conns CONNS] [--outgoing-conns CONNS] [--disable-advertise] [-w PORT or ADDR:PORT] [-f FEE_PERCENTAGE] [--bitcoind-address BITCOIND_ADDRESS] [--bitcoind-rpc-port BITCOIND_RPC_PORT] [--bitcoind-rpc-ssl] [--bitcoind-p2p-port BITCOIND_P2P_PORT] [BITCOIND_RPCUSERPASS [BITCOIND_RPCUSERPASS ...]] p2pool (version unknown 7032706f6f6c2d4441524b) optional arguments: -h, --help show this help message and exit --version show program's version number and exit --net {darkcoin} use specified network (default: bitcoin) --testnet use the network's testnet --debug enable debugging mode -a ADDRESS, --address ADDRESS generate payouts to this address (default: <address requested from bitcoind>) --datadir DATADIR store data in this directory (default: <directory run_p2pool.py is in>/data) --logfile LOGFILE log to this file (default: data/<NET>/log) --merged MERGED_URLS call getauxblock on this url to get work for merged mining (example: http://ncuser:ncpass@127.0.0.1:10332/) --give-author DONATION_PERCENTAGE donate this percentage of work towards the development of p2pool (default: 1.0) --iocp use Windows IOCP API in order to avoid errors due to large number of sockets being open --irc-announce announce any blocks found on irc://irc.freenode.net/#p2pool --no-bugreport disable submitting caught exceptions to the author --disable-upnp don't attempt to use UPnP to forward p2pool's P2P port from the Internet to this computer --disable-advertise don't advertise local IP address as being available for incoming connections. useful for running a dark node, along with multiple -n ADDR's and --outgoing- conns 0 p2pool interface: --p2pool-port PORT use port PORT to listen for connections (forward this port from your router!) (default: darkcoin:7902) -n ADDR[:PORT], --p2pool-node ADDR[:PORT] connect to existing p2pool node at ADDR listening on port PORT (defaults to default p2pool P2P port) in addition to builtin addresses --max-conns CONNS maximum incoming connections (default: 40) --outgoing-conns CONNS outgoing connections (default: 6) worker interface: -w PORT or ADDR:PORT, --worker-port PORT or ADDR:PORT listen on PORT on interface with ADDR for RPC connections from miners (default: all interfaces, darkcoin:7903) -f FEE_PERCENTAGE, --fee FEE_PERCENTAGE charge workers mining to their own bitcoin address (by setting their miner's username to a bitcoin address) this percentage fee to mine on your p2pool instance. Amount displayed at http://127.0.0.1:WORKER_PORT/fee (default: 0) bitcoind interface: --bitcoind-address BITCOIND_ADDRESS connect to this address (default: 127.0.0.1) --bitcoind-rpc-port BITCOIND_RPC_PORT connect to JSON-RPC interface at this port (default: darkcoin:9998 <read from bitcoin.conf if password not provided>) --bitcoind-rpc-ssl connect to JSON-RPC interface using SSL --bitcoind-p2p-port BITCOIND_P2P_PORT connect to P2P interface at this port (default: darkcoin:9999 <read from bitcoin.conf if password not provided>) BITCOIND_RPCUSERPASS bitcoind RPC interface username, then password, space- separated (only one being provided will cause the username to default to being empty, and none will cause P2Pool to read them from bitcoin.conf) |