Pages:
Author

Topic: Antminer S1 SoloMining Setup/Easy Solo/Own Pool Setup! (Read 19356 times)

sr. member
Activity: 506
Merit: 253
I have this setup all looks good apart from the current payout is always 0 BTC any ideas? Is this normal? Are there any better ways to mine solo now?
Yes, buy a thousand S5s and operate a mining farm from your personal warehouse. Smiley

Please read ch. 8 §Mining Pools of Mastering Bitcoin.
newbie
Activity: 3
Merit: 0
Hi guys,

I have this setup all looks good apart from the current payout is always 0 BTC any ideas? Is this normal? Are there any better ways to mine solo now?
full member
Activity: 174
Merit: 100
Being Human
hello obe any can help me..i have bitmain antminer s4 and power supply IC has burn...any one can tell IC number


newbie
Activity: 1
Merit: 0
Hi, first time trying to setup a python p2p pool. I am trying to set up my own P2Ppool to use my Antminer S5 to mine Freicoin. I keep getting error:



C:\Users\Daveman\Downloads\Mining\Stratum Setup\p2pool-freicoin>run_p2pool.py --
net "freicoin" --give-author 0.0 --no-bugreport --disable-upnp --disable-adverti
se --outgoing-conns 0 -a 14rE9A42Nu4Pvmq9cXjAyRLR38w8nyiQyg
Traceback (most recent call last):
  File "C:\Users\Daveman\Downloads\Mining\Stratum Setup\p2pool-freicoin\p2pool\_
_init__.py", line 42, in _get_version
    return 'unknown %s' % (dir_name.encode('hex'),)
LookupError: 'hex' is not a text encoding; use codecs.encode() to handle arbitra
ry codecs
Traceback (most recent call last):
  File "C:\Users\Daveman\Downloads\Mining\Stratum Setup\p2pool-freicoin\p2pool\_
_init__.py", line 42, in _get_version
    return 'unknown %s' % (dir_name.encode('hex'),)
LookupError: 'hex' is not a text encoding; use codecs.encode() to handle arbitra
ry codecs

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\Daveman\Downloads\Mining\Stratum Setup\p2pool-freicoin\run_p2po
ol.py", line 3, in
    from p2pool import main
  File "C:\Users\Daveman\Downloads\Mining\Stratum Setup\p2pool-freicoin\p2pool\_
_init__.py", line 47, in
    __version__ = _get_version()
  File "C:\Users\Daveman\Downloads\Mining\Stratum Setup\p2pool-freicoin\p2pool\_
_init__.py", line 45, in _get_version
    return 'unknown %s' % (str(e).encode('hex'),)
LookupError: 'hex' is not a text encoding; use codecs.encode() to handle arbitra
ry codecs

C:\Users\Daveman\Downloads\Mining\Stratum Setup\p2pool-freicoin>pause
Press any key to continue . . .

Freicoin.py settings:

from p2pool.bitcoin import networks

# CHAIN_LENGTH = number of shares back client keeps
# REAL_CHAIN_LENGTH = maximum number of shares back client uses to compute payout
# REAL_CHAIN_LENGTH must always be <= CHAIN_LENGTH
# REAL_CHAIN_LENGTH must be changed in sync with all other clients
# changes can be done by changing one, then the other

PARENT = networks.nets['freicoin']
SHARE_PERIOD = 30 # seconds
CHAIN_LENGTH = 24*60*60//10 # shares
REAL_CHAIN_LENGTH = 24*60*60//10 # shares
TARGET_LOOKBEHIND = 200 # shares
SPREAD = 3 # blocks
IDENTIFIER = '5b1e3d23ecfd2dd4'.decode('hex')
PREFIX = 'a6e1a35238aa0392'.decode('hex')
P2P_PORT = 6859
MIN_TARGET = 0
MAX_TARGET = 2**256//2**32 - 1
PERSIST = False
WORKER_PORT = 6858
BOOTSTRAP_ADDRS = ''.split(' ')
ANNOUNCE_CHANNEL = '#p2pool-frc'
VERSION_CHECK = lambda v: 50700 <= v < 60000 or 60010 <= v < 60100 or 60400 <= v
VERSION_WARNING = lambda v: 'Upgrade Freicoin to >=0.8.5!' if v < 80500 else None



Any ideas why I am getting the errors? I followed the guide at the beginning of the thread.

Thanks!
sr. member
Activity: 506
Merit: 253
Why do you have to go through all this when Antminers use cgminer, and cgminer certainly supports GBT, which is used for solo-mining?
sr. member
Activity: 369
Merit: 250
Dear
I've setup a new pool and i think it's my private pool but how come the pool have high local speed and 6 peers? So does my pool connect to other p2pool? If yes then how to create a private pool?

2014-12-05 12:06:42.107000 P2Pool: 17312 shares in chain (8687 verified/17316 to
tal) Peers: 6 (0 incoming)
2014-12-05 12:06:42.107000  Local: 984GH/s in last 10.0 minutes Local dead on ar
rival: ~2.2% (1-4%) Expected time to share: 13.2 hours
2014-12-05 12:06:42.107000  Shares: 0 (0 orphan, 0 dead) Stale rate: Huh Efficie
ncy: Huh Current payout: 0.0000 BTC
2014-12-05 12:06:42.123000  Pool: 2610TH/s Stale rate: 22.1% Expected time to bl
ock: 18.3 hours
2014-12-05 12:06:42.139000 Peer sent entire transaction 8c7ad7aeaa047bbe1d8f3817
e009bb521ba11a9e307aeaa217ec0a61e9b68acf that was already received
2014-12-05 12:06:44.198000 Peer sent entire transaction 46c07fe54c5cb23865574eee
faf0d33b9bd2177f593fc147bc4377e7398a49e7 that was already received
2014-12-05 12:06:45.134000 P2Pool: 17312 shares in chain (8687 verified/17316 to
tal) Peers: 6 (0 incoming)



    If I understand your question correctly you would need to remove the all the other addresses from the bootstrap addresses section of the "networks.py" file of the coin you are trying to mine. So it would look like this: BOOTSTRAP_ADDRS=''.split(' '), otherwise it will try to connect to those addresses as well.

    Let me know if that helped.
sr. member
Activity: 369
Merit: 250
I know that there are people that are solo mining but it takes allot of horse power.  at 9Th of hashing power the software shows 218 days to find a block.  So i am still playing with it but the pools pays the bills.

    It depends what you are mining and when. For example, if a previously delisted coin is about to return to an exchange and the difficulty is easy with no pools up then you can solo mine some profits. Another example is if the currency is still being traded on a lesser known exchange or is trading between currencies such as DOGE then you can mine it with the intent of trading it for profit instead of directly dumping it.

    As usual, the easy buck is still elusive as ever. But having this as an option is good even if to learn the ins and outs of you miner.

    Personally, my best pool results come from ones that allow payments in other currencies such as FOOD or DIEM. I am mainly speaking from someone who trades for BTC income and not from the mining directly.
If you are curious their information can be found at: https://bitcointalksearch.org/topic/annmultipool-service-thepoolpw-multipool-733216 and http://thepool.pw

    What is your mining strategy?
newbie
Activity: 12
Merit: 0
Dear
I've setup a new pool and i think it's my private pool but how come the pool have high local speed and 6 peers? So does my pool connect to other p2pool? If yes then how to create a private pool?

2014-12-05 12:06:42.107000 P2Pool: 17312 shares in chain (8687 verified/17316 to
tal) Peers: 6 (0 incoming)
2014-12-05 12:06:42.107000  Local: 984GH/s in last 10.0 minutes Local dead on ar
rival: ~2.2% (1-4%) Expected time to share: 13.2 hours
2014-12-05 12:06:42.107000  Shares: 0 (0 orphan, 0 dead) Stale rate: Huh Efficie
ncy: Huh Current payout: 0.0000 BTC
2014-12-05 12:06:42.123000  Pool: 2610TH/s Stale rate: 22.1% Expected time to bl
ock: 18.3 hours
2014-12-05 12:06:42.139000 Peer sent entire transaction 8c7ad7aeaa047bbe1d8f3817
e009bb521ba11a9e307aeaa217ec0a61e9b68acf that was already received
2014-12-05 12:06:44.198000 Peer sent entire transaction 46c07fe54c5cb23865574eee
faf0d33b9bd2177f593fc147bc4377e7398a49e7 that was already received
2014-12-05 12:06:45.134000 P2Pool: 17312 shares in chain (8687 verified/17316 to
tal) Peers: 6 (0 incoming)

full member
Activity: 312
Merit: 100
Bcnex - The Ultimate Blockchain Trading Platform
I know that there are people that are solo mining but it takes allot of horse power.  at 9Th of hashing power the software shows 218 days to find a block.  So i am still playing with it but the pools pays the bills.
full member
Activity: 312
Merit: 100
Bcnex - The Ultimate Blockchain Trading Platform
Well I am happy to report I am Solo mining with 99 to 100% Effecency. Grin
full member
Activity: 312
Merit: 100
Bcnex - The Ultimate Blockchain Trading Platform
I just finished setting up and installing bitcoind, all synced up after almost 2 days, seems fine except when running with the -server option.  It errors unable to find the bitcoin.conf and the file is there.

My biggest issue is when calling the p2pool in the batch fine it can not see the bitcoin.conf file either.

I went looking for the networks.py files and there not there, i never removed them and now there gone.  I searched the entire drive for them and found a networks.lnk file but not the py files.

and the P2pool will not launch

Very frustrated, i sure could use some help.


Thanks
full member
Activity: 188
Merit: 100

Download and Install:
Windows:(Yes only Windows I havent tested Linux though it should be the same)
* Install Python 2.7: http://www.python.org/getit/
* Install Twisted: http://twistedmatrix.com/trac/wiki/Downloads
* Install Zope.Interface: http://pypi.python.org/pypi/zope.interface/3.8.0
* Install python win32 api: http://sourceforge.net/projects/pywin32/files/pywin32/Build%20218/
* Install python win32 api wmi wrapper: https://pypi.python.org/pypi/WMI/#downloads

Download and Install:
Wallet Client for whatever coin you want to mine.

Run and Sync the Wallet Client.
Close the client.

Hi all,
Can anyone please tell me where I can obtain a fastcoin wallet from?
sr. member
Activity: 369
Merit: 250
Just curious, has anyone found a Bitcoin block using this method?

It is possible to solo, if that is what you mean, a BTC block with this method but the difficulty is too high now for one person. But to give you a direct answer to your question, I do not know anyone personally who has done so.
hero member
Activity: 543
Merit: 500
Just curious, has anyone found a Bitcoin block using this method?
sr. member
Activity: 369
Merit: 250
So you got your Antminer S1 pointed it at a local wallet server and watched as every block it found was rejected?
You asked on the forum for help and nobody answered or better still suggested the above.
Follow these steps and you can mine Any Sha256 P2pool Compatible Coin (Still waiting for Peercoin) with an Antminer S1 or setup your own P2pool Pool for Scrypt Mining as long as it has a P2pool Compatible Config.
Revised 11/07/2014

First Pick the coin you wish to mine:
Download and Unpack
https://github.com/Rav3nPL/p2pool-rav
Make sure the coin you wish to mine is listed in the Directory p2pool\networks\
EG.
Code:
bitcoin.py
     
Download and Install:
Windows:(Yes only Windows I havent tested Linux though it should be the same)
* Install Python 2.7: http://www.python.org/getit/
* Install Twisted: http://twistedmatrix.com/trac/wiki/Downloads
* Install Zope.Interface: http://pypi.python.org/pypi/zope.interface/3.8.0
* Install python win32 api: http://sourceforge.net/projects/pywin32/files/pywin32/Build%20218/
* Install python win32 api wmi wrapper: https://pypi.python.org/pypi/WMI/#downloads

Download and Install:
Wallet Client for whatever coin you want to mine.

Run and Sync the Wallet Client.
Close the client.
Enter the Directory of the Blockchain/Wallet Dir of the Coin (Windows %AppData% or %Users%Blank%Roaming%)
Create coinname.conf EG. bitcoin.conf
Input
Code:
rpcuser=Thinkofsomething
rpcpassword=Randomlystabatkeyboard
rpcallowip=192.*.*.* #Or whatever your network is only the p2pool has to connect
rpcport=17444 #Pick Something p2pool reads the conf for all settings
port=17334 #Pick Something p2pool reads the conf for all settings

Editing p2pool Configs
Goto where you unpacked https://github.com/Rav3nPL/p2pool-rav
Find the coin you wish to mine.
Edit p2pool\networks\coiname.py

Find
Code:
WORKER_PORT = 

The above numbers is the worker port to connect miners use with the Ip address of the computer running P2pool.
Find
Code:
 PERSIST=True 
Change to:
Code:
 PERSIST=False 
Find
Code:
 BOOTSTRAP_ADDRS='A bunch of other p2pool Nodes'.split(' '),
Change to:
Code:
BOOTSTRAP_ADDRS=''.split(' '),
Save and exit.

Create a Bat in the main p2pool Dir where run_p2pool.py or anywhere if edited properly with the following.
Code:
run_p2pool.py --net Coinyourmining --give-author 0.0 --no-bugreport --disable-upnp 
Save.

Now create a shortcut for the wallet client that adds "-server"

Run Your New Shortcut.
LET IT SYNC.
Run your p2pool Bat.
Point your miners at the worker port of your Solo p2pool Node with:
Ip of the Server running p2pool and Worker port.
Code:
Eg. 192.168.1.128:9374
Address of where you want funds to go MUST NOT BE an exchange address remember this is a p2pool and payment have to mature.
Password "x"

You are now SoloMining/Running your own pool and you can check status by pointing a web browser at the worker port of the p2pool server.
Problems, things I've missed whatever just ask.

Big thanks to seocrow of litecointalk.org for giving me the idea when My Ant S1 kept rejecting blocks found.
Rav3nPL for the multiple coins in individual files now under the networks Directory.
https://www.bitmaintech.com/ for making such a good bit of hardware.











Hi I am trying to setup my s1 to solo mine. I have been going through your walkthrough. However as I am installing the different softwares, each one is requiring different version of python. one wants 2.6, another wants 2.7 , another wants 3.3. Any suggestions?

If you believe all the requirements have been installed check to make sure they are all on the correct system paths.
newbie
Activity: 17
Merit: 0
So you got your Antminer S1 pointed it at a local wallet server and watched as every block it found was rejected?
You asked on the forum for help and nobody answered or better still suggested the above.
Follow these steps and you can mine Any Sha256 P2pool Compatible Coin (Still waiting for Peercoin) with an Antminer S1 or setup your own P2pool Pool for Scrypt Mining as long as it has a P2pool Compatible Config.
Revised 11/07/2014

First Pick the coin you wish to mine:
Download and Unpack
https://github.com/Rav3nPL/p2pool-rav
Make sure the coin you wish to mine is listed in the Directory p2pool\networks\
EG.
Code:
bitcoin.py
     
Download and Install:
Windows:(Yes only Windows I havent tested Linux though it should be the same)
* Install Python 2.7: http://www.python.org/getit/
* Install Twisted: http://twistedmatrix.com/trac/wiki/Downloads
* Install Zope.Interface: http://pypi.python.org/pypi/zope.interface/3.8.0
* Install python win32 api: http://sourceforge.net/projects/pywin32/files/pywin32/Build%20218/
* Install python win32 api wmi wrapper: https://pypi.python.org/pypi/WMI/#downloads

Download and Install:
Wallet Client for whatever coin you want to mine.

Run and Sync the Wallet Client.
Close the client.
Enter the Directory of the Blockchain/Wallet Dir of the Coin (Windows %AppData% or %Users%Blank%Roaming%)
Create coinname.conf EG. bitcoin.conf
Input
Code:
rpcuser=Thinkofsomething
rpcpassword=Randomlystabatkeyboard
rpcallowip=192.*.*.* #Or whatever your network is only the p2pool has to connect
rpcport=17444 #Pick Something p2pool reads the conf for all settings
port=17334 #Pick Something p2pool reads the conf for all settings

Editing p2pool Configs
Goto where you unpacked https://github.com/Rav3nPL/p2pool-rav
Find the coin you wish to mine.
Edit p2pool\networks\coiname.py

Find
Code:
WORKER_PORT = 

The above numbers is the worker port to connect miners use with the Ip address of the computer running P2pool.
Find
Code:
 PERSIST=True 
Change to:
Code:
 PERSIST=False 
Find
Code:
 BOOTSTRAP_ADDRS='A bunch of other p2pool Nodes'.split(' '),
Change to:
Code:
BOOTSTRAP_ADDRS=''.split(' '),
Save and exit.

Create a Bat in the main p2pool Dir where run_p2pool.py or anywhere if edited properly with the following.
Code:
run_p2pool.py --net Coinyourmining --give-author 0.0 --no-bugreport --disable-upnp 
Save.

Now create a shortcut for the wallet client that adds "-server"

Run Your New Shortcut.
LET IT SYNC.
Run your p2pool Bat.
Point your miners at the worker port of your Solo p2pool Node with:
Ip of the Server running p2pool and Worker port.
Code:
Eg. 192.168.1.128:9374
Address of where you want funds to go MUST NOT BE an exchange address remember this is a p2pool and payment have to mature.
Password "x"

You are now SoloMining/Running your own pool and you can check status by pointing a web browser at the worker port of the p2pool server.
Problems, things I've missed whatever just ask.

Big thanks to seocrow of litecointalk.org for giving me the idea when My Ant S1 kept rejecting blocks found.
Rav3nPL for the multiple coins in individual files now under the networks Directory.
https://www.bitmaintech.com/ for making such a good bit of hardware.











Hi I am trying to setup my s1 to solo mine. I have been going through your walkthrough. However as I am installing the different softwares, each one is requiring different version of python. one wants 2.6, another wants 2.7 , another wants 3.3. Any suggestions?
sr. member
Activity: 369
Merit: 250


Those look fine, post the other network.py file so we can take a look at that one as well.

Hmm, which file do you mean? - I didn´t change any other files except those listed above (bitcoin.conf in the bitcoin data-path, bitcoin.py in p2pool\networks and the CALL.bat in the root of p2pool).

Did i miss something? - I only mine bitcoin.




There are two "network.py" files to be configured. More accurately one needs to be checked and the other configured.

The first is in < main P2pool folder >/p2pool/networks.py - This is the file you point your miner at and you currently have listed above.

The second is in < main P2pool folder >/p2pool/bitcoin/networks.py - This is the file P2pool uses to point itself at your wallet to connect. It is usually is set up correctly and good to go straight away but sometimes depending on how old/new the version of P2pool you are using it may have have to be updated. Mainly I'm referring to the ports listed and conf file name. For BTC:

See the "ports" section? Make sure both match your config file and the name of the conf file you are using matches the ones listed below at the end of "CONF_FILE_FUNC=lambda". If they don't you can either change what's listed here or change the files you have but either way they have to match or p2pool won't be able to work.

    bitcoin=math.Object(
        P2P_PREFIX='f9beb4d9'.decode('hex'),
        P2P_PORT=8333,
        ADDRESS_VERSION=0,
        RPC_PORT=8332,
        RPC_CHECK=defer.inlineCallbacks(lambda bitcoind: defer.returnValue(
            (yield check_genesis_block(bitcoind, '000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f')) and
            not (yield bitcoind.rpc_getinfo())['testnet']
        )),
        SUBSIDY_FUNC=lambda height: 50*100000000 >> (height + 1)//210000,
        POW_FUNC=data.hash256,
        BLOCK_PERIOD=600, # s
        SYMBOL='BTC',
        CONF_FILE_FUNC=lambda: os.path.join(os.path.join(os.environ['APPDATA'], 'Bitcoin') if platform.system() == 'Windows' else os.path.expanduser('~/Library/Application Support/Bitcoin/') if platform.system() == 'Darwin' else os.path.expanduser('~/.bitcoin'), 'bitcoin.conf'),
        BLOCK_EXPLORER_URL_PREFIX='https://blockchain.info/block/',
        ADDRESS_EXPLORER_URL_PREFIX='https://blockchain.info/address/',
        TX_EXPLORER_URL_PREFIX='https://blockchain.info/tx/',
        SANE_TARGET_RANGE=(2**256//2**32//1000 - 1, 2**256//2**32 - 1),
        DUMB_SCRYPT_DIFF=1,
        DUST_THRESHOLD=0.001e8,
    ),

Also, make sure you have the port listed in your conf file and not just the rpc port.

Let me know if this helps.
legendary
Activity: 1372
Merit: 1000
CTO für den Bundesverband Bitcoin e. V.


Those look fine, post the other network.py file so we can take a look at that one as well.

Hmm, which file do you mean? - I didn´t change any other files except those listed above (bitcoin.conf in the bitcoin data-path, bitcoin.py in p2pool\networks and the CALL.bat in the root of p2pool).

Did i miss something? - I only mine bitcoin.


sr. member
Activity: 369
Merit: 250
Hi all,

regarding to my fist post here, there was a typo in the bitcoin.conf (I´ve missed to change the persist-setting from True to False).  Wink

In the meantime i´ve installed on a other server, and it seams to be working, but on the start i still get a few errors.

See attached log.

Quote


C:\Users\Administrator>"C:\Users\Administrator\Desktop\CALL P2Pool.lnk"

E:\p2pool>run_p2pool.py --net bitcoin --give-author 0.0 --no-bugreport --disable -upnp --disable-advertise --outgoing-conns 0 --bitcoind-config-path E:\Bitcoin-Data\bitcoin.conf
2014-07-26 10:51:25.123000 p2pool (version unknown 7032706f6f6c)
2014-07-26 10:51:25.139000
2014-07-26 10:51:25.139000 Testing bitcoind RPC connection to 'http://127.0.0.1:17444/' with username 'Solo'...
2014-07-26 10:51:25.607000     ...success!
2014-07-26 10:51:25.607000     Current block hash: 1de6aa4457ae2dbdb2ef1bfb16019d0350ccf9358fad4132
2014-07-26 10:51:25.607000     Current block height: 312544
2014-07-26 10:51:25.607000
2014-07-26 10:51:25.607000 Testing bitcoind P2P connection to '127.0.0.1:17334'.
..
2014-07-26 10:51:25.638000     ...success!
2014-07-26 10:51:25.638000
2014-07-26 10:51:25.638000 Determining payout address...
2014-07-26 10:51:25.638000     Loaded cached address: 1NE5n9xuShs1mtREN7wjM1R8hcC23QYrXt...
2014-07-26 10:51:25.654000     ...success! Payout address: 1NE5n9xuShs1mtREN7wjM1R8hcC23QYrXt
2014-07-26 10:51:25.654000
2014-07-26 10:51:25.654000 Loading shares...
2014-07-26 10:51:26.730000     ...done loading 267 shares (267 verified)!
2014-07-26 10:51:26.730000
2014-07-26 10:51:26.730000 Initializing work...
2014-07-26 10:51:27.276000     ...success!
2014-07-26 10:51:27.276000
2014-07-26 10:51:27.292000 Joining p2pool network using port 9333...
2014-07-26 10:51:27.292000 > Unhandled Error
2014-07-26 10:51:27.292000 > Traceback (most recent call last):
2014-07-26 10:51:27.292000 >   File "E:\Python27\lib\site-packages\twisted\internet\defer.py", line 1163, in gotResult
2014-07-26 10:51:27.292000 >     _inlineCallbacks(r, g, deferred)
2014-07-26 10:51:27.292000 >   File "E:\Python27\lib\site-packages\twisted\internet\defer.py", line 1107, in _inlineCallbacks
2014-07-26 10:51:27.292000 >     result = g.send(result)
2014-07-26 10:51:27.292000 >   File "E:\p2pool\p2pool\main.py", line 159, in main
2014-07-26 10:51:27.292000 >     for addr_df in map(parse, net.BOOTSTRAP_ADDRS):
2014-07-26 10:51:27.307000 >   File "E:\Python27\lib\site-packages\twisted\internet\defer.py", line 1245, in unwindGenerator
2014-07-26 10:51:27.307000 >     return _inlineCallbacks(None, gen, Deferred())
2014-07-26 10:51:27.307000 > --- ---
2014-07-26 10:51:27.307000 >   File "E:\Python27\lib\site-packages\twisted\internet\defer.py", line 1107, in _inlineCallbacks
2014-07-26 10:51:27.307000 >     result = g.send(result)
2014-07-26 10:51:27.307000 >   File "E:\p2pool\p2pool\main.py", line 150, in parse
2014-07-26 10:51:27.307000 >     defer.returnValue(((yield reactor.resolve(host)), port))
2014-07-26 10:51:27.307000 >   File "E:\Python27\lib\site-packages\twisted\internet\base.py", line 567, in resolve
2014-07-26 10:51:27.307000 >     if abstract.isIPAddress(name):
2014-07-26 10:51:27.307000 >   File "E:\Python27\lib\site-packages\twisted\internet\abstract.py", line 496, in isIPAddress
2014-07-26 10:51:27.307000 >     dottedParts = addr.split('.')
2014-07-26 10:51:27.307000 > exceptions.AttributeError: 'list' object has no attribute 'split'
2014-07-26 10:51:27.323000     ...success!
2014-07-26 10:51:27.323000
2014-07-26 10:51:27.323000 Listening for workers on '' port 9332...
2014-07-26 10:51:27.744000     ...success!
2014-07-26 10:51:27.744000
2014-07-26 10:51:27.744000 Started successfully!
2014-07-26 10:51:27.744000 Go to http://127.0.0.1:9332/ to view graphs and statistics!
2014-07-26 10:51:27.744000 Donating 0.0% of work towards P2Pool's development. Please donate to encourage further development of P2Pool!
2014-07-26 10:51:27.744000
2014-07-26 10:51:30.755000 P2Pool: 257 shares in chain (267 verified/267 total)Peers: 0 (0 incoming)
2014-07-26 10:51:30.755000  Local: 0H/s in last 0.0 seconds Local dead on arrival: Huh Expected time to share: Huh
2014-07-26 10:51:30.755000  Shares: 0 (0 orphan, 0 dead) Stale rate: Huh Efficiency: Huh Current payout: 25.0450 BTC
2014-07-26 10:51:30.755000  Pool: 1362GH/s Stale rate: 50.0% Expected time to block: 1.9 years



Here ist the bitcoin.py

Quote

from p2pool.bitcoin import networks

# CHAIN_LENGTH = number of shares back client keeps
# REAL_CHAIN_LENGTH = maximum number of shares back client uses to compute payout
# REAL_CHAIN_LENGTH must always be <= CHAIN_LENGTH
# REAL_CHAIN_LENGTH must be changed in sync with all other clients
# changes can be done by changing one, then the other

PARENT = networks.nets['bitcoin']
SHARE_PERIOD = 30 # seconds
CHAIN_LENGTH = 24*60*60//10 # shares
REAL_CHAIN_LENGTH = 24*60*60//10 # shares
TARGET_LOOKBEHIND = 200 # shares
SPREAD = 3 # blocks
IDENTIFIER = 'fc70035c7a81bc6f'.decode('hex')
PREFIX = '2472ef181efcd37b'.decode('hex')
P2P_PORT = 9333
MIN_TARGET = 0
MAX_TARGET = 2**256//2**32 - 1
PERSIST = False
WORKER_PORT = 9332
BOOTSTRAP_ADDRS=''.split(' '),
ANNOUNCE_CHANNEL = '#p2pool'
VERSION_CHECK = lambda v: 50700 <= v < 60000 or 60010 <= v < 60100 or 60400 <= v
VERSION_WARNING = lambda v: 'Upgrade Bitcoin to >=0.8.5!' if v < 80500 else None



And here the bitcoin.conf

Quote

Server=1
rpcuser=Solo
rpcpassword=xxx-removed-xxx
rpcallowip=10.180.114.* #Or whatever your network is only the p2pool has to connect
rpcport=17444 #Pick Something p2pool reads the conf for all settings
port=17334 #Pick Something p2pool reads the conf for all settings
maxconnections=100




And here is the CALL.bat

Quote
run_p2pool.py --net bitcoin --give-author 0.0 --no-bugreport --disable-upnp --disable-advertise --outgoing-conns 0 --bitcoind-config-path E:\Bitcoin-Data\bitcoin.conf


I´m goining to try solomining with 4 Antminer S1.



Best regards, Carsten.


Those look fine, post the other network.py file so we can take a look at that one as well.
legendary
Activity: 1372
Merit: 1000
CTO für den Bundesverband Bitcoin e. V.
Hi all,

regarding to my fist post here, there was a typo in the bitcoin.conf (I´ve missed to change the persist-setting from True to False).  Wink

In the meantime i´ve installed on a other server, and it seams to be working, but on the start i still get a few errors.

See attached log.

Quote


C:\Users\Administrator>"C:\Users\Administrator\Desktop\CALL P2Pool.lnk"

E:\p2pool>run_p2pool.py --net bitcoin --give-author 0.0 --no-bugreport --disable -upnp --disable-advertise --outgoing-conns 0 --bitcoind-config-path E:\Bitcoin-Data\bitcoin.conf
2014-07-26 10:51:25.123000 p2pool (version unknown 7032706f6f6c)
2014-07-26 10:51:25.139000
2014-07-26 10:51:25.139000 Testing bitcoind RPC connection to 'http://127.0.0.1:17444/' with username 'Solo'...
2014-07-26 10:51:25.607000     ...success!
2014-07-26 10:51:25.607000     Current block hash: 1de6aa4457ae2dbdb2ef1bfb16019d0350ccf9358fad4132
2014-07-26 10:51:25.607000     Current block height: 312544
2014-07-26 10:51:25.607000
2014-07-26 10:51:25.607000 Testing bitcoind P2P connection to '127.0.0.1:17334'.
..
2014-07-26 10:51:25.638000     ...success!
2014-07-26 10:51:25.638000
2014-07-26 10:51:25.638000 Determining payout address...
2014-07-26 10:51:25.638000     Loaded cached address: 1NE5n9xuShs1mtREN7wjM1R8hcC23QYrXt...
2014-07-26 10:51:25.654000     ...success! Payout address: 1NE5n9xuShs1mtREN7wjM1R8hcC23QYrXt
2014-07-26 10:51:25.654000
2014-07-26 10:51:25.654000 Loading shares...
2014-07-26 10:51:26.730000     ...done loading 267 shares (267 verified)!
2014-07-26 10:51:26.730000
2014-07-26 10:51:26.730000 Initializing work...
2014-07-26 10:51:27.276000     ...success!
2014-07-26 10:51:27.276000
2014-07-26 10:51:27.292000 Joining p2pool network using port 9333...
2014-07-26 10:51:27.292000 > Unhandled Error
2014-07-26 10:51:27.292000 > Traceback (most recent call last):
2014-07-26 10:51:27.292000 >   File "E:\Python27\lib\site-packages\twisted\internet\defer.py", line 1163, in gotResult
2014-07-26 10:51:27.292000 >     _inlineCallbacks(r, g, deferred)
2014-07-26 10:51:27.292000 >   File "E:\Python27\lib\site-packages\twisted\internet\defer.py", line 1107, in _inlineCallbacks
2014-07-26 10:51:27.292000 >     result = g.send(result)
2014-07-26 10:51:27.292000 >   File "E:\p2pool\p2pool\main.py", line 159, in main
2014-07-26 10:51:27.292000 >     for addr_df in map(parse, net.BOOTSTRAP_ADDRS):
2014-07-26 10:51:27.307000 >   File "E:\Python27\lib\site-packages\twisted\internet\defer.py", line 1245, in unwindGenerator
2014-07-26 10:51:27.307000 >     return _inlineCallbacks(None, gen, Deferred())
2014-07-26 10:51:27.307000 > --- ---
2014-07-26 10:51:27.307000 >   File "E:\Python27\lib\site-packages\twisted\internet\defer.py", line 1107, in _inlineCallbacks
2014-07-26 10:51:27.307000 >     result = g.send(result)
2014-07-26 10:51:27.307000 >   File "E:\p2pool\p2pool\main.py", line 150, in parse
2014-07-26 10:51:27.307000 >     defer.returnValue(((yield reactor.resolve(host)), port))
2014-07-26 10:51:27.307000 >   File "E:\Python27\lib\site-packages\twisted\internet\base.py", line 567, in resolve
2014-07-26 10:51:27.307000 >     if abstract.isIPAddress(name):
2014-07-26 10:51:27.307000 >   File "E:\Python27\lib\site-packages\twisted\internet\abstract.py", line 496, in isIPAddress
2014-07-26 10:51:27.307000 >     dottedParts = addr.split('.')
2014-07-26 10:51:27.307000 > exceptions.AttributeError: 'list' object has no attribute 'split'
2014-07-26 10:51:27.323000     ...success!
2014-07-26 10:51:27.323000
2014-07-26 10:51:27.323000 Listening for workers on '' port 9332...
2014-07-26 10:51:27.744000     ...success!
2014-07-26 10:51:27.744000
2014-07-26 10:51:27.744000 Started successfully!
2014-07-26 10:51:27.744000 Go to http://127.0.0.1:9332/ to view graphs and statistics!
2014-07-26 10:51:27.744000 Donating 0.0% of work towards P2Pool's development. Please donate to encourage further development of P2Pool!
2014-07-26 10:51:27.744000
2014-07-26 10:51:30.755000 P2Pool: 257 shares in chain (267 verified/267 total)Peers: 0 (0 incoming)
2014-07-26 10:51:30.755000  Local: 0H/s in last 0.0 seconds Local dead on arrival: Huh Expected time to share: Huh
2014-07-26 10:51:30.755000  Shares: 0 (0 orphan, 0 dead) Stale rate: Huh Efficiency: Huh Current payout: 25.0450 BTC
2014-07-26 10:51:30.755000  Pool: 1362GH/s Stale rate: 50.0% Expected time to block: 1.9 years



Here ist the bitcoin.py

Quote

from p2pool.bitcoin import networks

# CHAIN_LENGTH = number of shares back client keeps
# REAL_CHAIN_LENGTH = maximum number of shares back client uses to compute payout
# REAL_CHAIN_LENGTH must always be <= CHAIN_LENGTH
# REAL_CHAIN_LENGTH must be changed in sync with all other clients
# changes can be done by changing one, then the other

PARENT = networks.nets['bitcoin']
SHARE_PERIOD = 30 # seconds
CHAIN_LENGTH = 24*60*60//10 # shares
REAL_CHAIN_LENGTH = 24*60*60//10 # shares
TARGET_LOOKBEHIND = 200 # shares
SPREAD = 3 # blocks
IDENTIFIER = 'fc70035c7a81bc6f'.decode('hex')
PREFIX = '2472ef181efcd37b'.decode('hex')
P2P_PORT = 9333
MIN_TARGET = 0
MAX_TARGET = 2**256//2**32 - 1
PERSIST = False
WORKER_PORT = 9332
BOOTSTRAP_ADDRS=''.split(' '),
ANNOUNCE_CHANNEL = '#p2pool'
VERSION_CHECK = lambda v: 50700 <= v < 60000 or 60010 <= v < 60100 or 60400 <= v
VERSION_WARNING = lambda v: 'Upgrade Bitcoin to >=0.8.5!' if v < 80500 else None



And here the bitcoin.conf

Quote

Server=1
rpcuser=Solo
rpcpassword=xxx-removed-xxx
rpcallowip=10.180.114.* #Or whatever your network is only the p2pool has to connect
rpcport=17444 #Pick Something p2pool reads the conf for all settings
port=17334 #Pick Something p2pool reads the conf for all settings
maxconnections=100




And here is the CALL.bat

Quote
run_p2pool.py --net bitcoin --give-author 0.0 --no-bugreport --disable-upnp --disable-advertise --outgoing-conns 0 --bitcoind-config-path E:\Bitcoin-Data\bitcoin.conf


I´m goining to try solomining with 4 Antminer S1.



Best regards, Carsten.
Pages:
Jump to: