Pages:
Author

Topic: Antminer S1 SoloMining Setup/Easy Solo/Own Pool Setup! - page 2. (Read 19343 times)

sr. member
Activity: 369
Merit: 250
Yes, I went down the list and installed all.

Forgive me for the late reply I was super busy. It looks as if a dependency may have not installed correctly. Make sure to install python components with MingW if possible or something equivalent, if you are sure you did so then it may be some thing within the configuration itself. Post up both network.py files so I can look them over.
sr. member
Activity: 369
Merit: 250
legendary
Activity: 1372
Merit: 1000
CTO für den Bundesverband Bitcoin e. V.
Hello all,

i´ve installed all components, synched wallet and configured everything. But when i start the bat-file i get several errors.
Access the Graphs & Stats works.

Can someone help me with this issue, please?

Quote
E:\p2pool-rav-master>CALL.bat

E:\p2pool-rav-master>run_p2pool.py --net bitcoin --give-author 0.0 --no-bugreport --disable-upnp --bitcoind-config-path E:\Blockchain\bitcoin.conf
2014-07-23 15:35:33.466000 p2pool (version unknown 7032706f6f6c2d7261762d6d6173746572)
2014-07-23 15:35:33.466000
2014-07-23 15:35:33.466000 Testing bitcoind RPC connection to 'http://127.0.0.1:17444/' with username 'Solo'...
2014-07-23 15:35:33.880000     ...success!
2014-07-23 15:35:33.881000     Current block hash: 1fcd0ac4fb6b1d2386c09d450a16bca857ec715594c4de2
2014-07-23 15:35:33.881000     Current block height: 312120
2014-07-23 15:35:33.881000
2014-07-23 15:35:33.881000 Testing bitcoind P2P connection to '127.0.0.1:17334'...
2014-07-23 15:35:33.997000     ...success!
2014-07-23 15:35:34.009000
2014-07-23 15:35:34.010000 Determining payout address...
2014-07-23 15:35:34.010000     Loaded cached address: 153EjPGN5AnAsrYPBhin8BUjSq3VNAL6HP...
2014-07-23 15:35:34.019000     ...success! Payout address: 153EjPGN5AnAsrYPBhin8BUjSq3VNAL6HP
2014-07-23 15:35:34.019000
2014-07-23 15:35:34.019000 Loading shares...
2014-07-23 15:35:34.020000     ...done loading 0 shares (0 verified)!
2014-07-23 15:35:34.020000
2014-07-23 15:35:34.021000 Initializing work...
2014-07-23 15:35:34.495000     ...success!
2014-07-23 15:35:34.496000
2014-07-23 15:35:34.496000 Joining p2pool network using port 9333...
2014-07-23 15:35:34.499000 > Unhandled Error
2014-07-23 15:35:34.500000 > Traceback (most recent call last):
2014-07-23 15:35:34.500000 >   File "E:\Python27\lib\site-packages\twisted\internet\defer.py", line 1163, in gotResult
2014-07-23 15:35:34.500000 >     _inlineCallbacks(r, g, deferred)
2014-07-23 15:35:34.501000 >   File "E:\Python27\lib\site-packages\twisted\internet\defer.py", line 1107, in _inlineCallbacks
2014-07-23 15:35:34.501000 >     result = g.send(result)
2014-07-23 15:35:34.501000 >   File "E:\p2pool-rav-master\p2pool\main.py", line 159, in main
2014-07-23 15:35:34.501000 >     for addr_df in map(parse, net.BOOTSTRAP_ADDRS):
2014-07-23 15:35:34.501000 >   File "E:\Python27\lib\site-packages\twisted\internet\defer.py", line 1245, in unwindGenerator
2014-07-23 15:35:34.502000 >     return _inlineCallbacks(None, gen, Deferred())
2014-07-23 15:35:34.502000 > --- ---
2014-07-23 15:35:34.502000 >   File "E:\Python27\lib\site-packages\twisted\internet\defer.py", line 1107, in _inlineCallbacks
2014-07-23 15:35:34.502000 >     result = g.send(result)
2014-07-23 15:35:34.502000 >   File "E:\p2pool-rav-master\p2pool\main.py", line 150, in parse
2014-07-23 15:35:34.503000 >     defer.returnValue(((yield reactor.resolve(host)), port))
2014-07-23 15:35:34.503000 >   File "E:\Python27\lib\site-packages\twisted\internet\base.py", line 567, in resolve
2014-07-23 15:35:34.503000 >     if abstract.isIPAddress(name):
2014-07-23 15:35:34.503000 >   File "E:\Python27\lib\site-packages\twisted\internet\abstract.py", line 496, in isIPAddress
2014-07-23 15:35:34.503000 >     dottedParts = addr.split('.')
2014-07-23 15:35:34.504000 > exceptions.AttributeError: 'list' object has no attribute 'split'
2014-07-23 15:35:34.508000     ...success!
2014-07-23 15:35:34.508000
2014-07-23 15:35:34.508000 Listening for workers on '' port 9332...
2014-07-23 15:35:34.579000     ...success!
2014-07-23 15:35:34.580000
2014-07-23 15:35:34.580000 Started successfully!
2014-07-23 15:35:34.580000 Go to http://127.0.0.1:9332/ to view graphs and statistics!
2014-07-23 15:35:34.580000 Donating 0.0% of work towards P2Pool's development. Please donate to encourage further development of P2Pool!
2014-07-23 15:35:34.581000
2014-07-23 15:35:37.581000 P2Pool: 0 shares in chain (0 verified/0 total) Peers: 0 (0 incoming)
2014-07-23 15:35:37.581000  Local: 0H/s in last 0.0 seconds Local dead on arrival: Huh Expected time to share: Huh
2014-07-23 15:35:39.776000 > Unhandled Error
2014-07-23 15:35:39.777000 > Traceback (most recent call last):
2014-07-23 15:35:39.777000 >   File "E:\p2pool-rav-master\p2pool\main.py", line 595, in run
2014-07-23 15:35:39.777000 >     reactor.run()
2014-07-23 15:35:39.777000 >   File "E:\Python27\lib\site-packages\twisted\internet\base.py", line 1192, in run
2014-07-23 15:35:39.778000 >     self.mainLoop()
2014-07-23 15:35:39.778000 >   File "E:\Python27\lib\site-packages\twisted\internet\base.py", line 1201, in mainLoop
2014-07-23 15:35:39.778000 >     self.runUntilCurrent()
2014-07-23 15:35:39.778000 >   File "E:\Python27\lib\site-packages\twisted\internet\base.py", line 824, in runUntilCurrent
2014-07-23 15:35:39.778000 >     call.func(*call.args, **call.kw)
2014-07-23 15:35:39.779000 > --- ---
2014-07-23 15:35:39.779000 >   File "E:\p2pool-rav-master\p2pool\bitcoin\stratum.py", line 38, in _send_work
2014-07-23 15:35:39.779000 >     x, got_response = self.wb.get_work(*self.wb.preprocess_request('' if self.username is None else self.username))
2014-07-23 15:35:39.779000 >   File "E:\p2pool-rav-master\p2pool\work.py", line 177, in preprocess_request
2014-07-23 15:35:39.780000 >     raise jsonrpc.Error_for_code(-12345)(u'p2pool is not connected to any peers')
2014-07-23 15:35:39.780000 > p2pool.util.jsonrpc.NarrowError: -12345 p2pool is not connected to any peers
2014-07-23 15:35:55.581000 P2Pool: 0 shares in chain (0 verified/0 total) Peers: 0 (0 incoming)
2014-07-23 15:35:55.581000  Local: 0H/s in last 0.0 seconds Local dead on arrival: Huh Expected time to share: Huh
newbie
Activity: 5
Merit: 0
Yes, I went down the list and installed all.
sr. member
Activity: 369
Merit: 250
When I run my batch file, I get a notepad that says "#!/usr/bin/env python

from p2pool import main

main.run()"     and I get a command box that says "run_p2pool.py --net "zetacoin" --give-author 0.0 --no-bugreport --disable-upnp"

and that's it.


Have you all dependencies installed yet?
newbie
Activity: 5
Merit: 0
When I run my batch file, I get a notepad that says "#!/usr/bin/env python

from p2pool import main

main.run()"     and I get a command box that says "run_p2pool.py --net "zetacoin" --give-author 0.0 --no-bugreport --disable-upnp"

and that's it.
sr. member
Activity: 369
Merit: 250
My bitcoin conf

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

My Bitcoin.conf

Quote
daemon=1
listen=1
server=1
rpcuser=xxxxxx
rpcpassword=xxxxx
rpcport=3333
rpcallowip=192.168.1.120 (my computer Ip)
gen=0
blockmaxsize=1000000
mintxfee=0.00000001
minrelaytxfee=0.00000001
maxconnections=20




I see you have block size at 1000000 and max connections at 20. I would recommend setting that at 10 and block size at 250000. The default block size is 500000 so it is currently double the normal amount. For me base settings is max connections at 10 and max block size at 250000 and that seems to be the normal amount for most coins and finding the right block size for fine tuning afterwards.

It's different for each set up so give this guide a seriously good reading for your circumstances:
http://www.guugll.eu/guide-mining-efficiently-p2pool/
full member
Activity: 202
Merit: 100
My bitcoin conf

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

My Bitcoin.conf

Quote
daemon=1
listen=1
server=1
rpcuser=xxxxxx
rpcpassword=xxxxx
rpcport=3333
rpcallowip=192.168.1.120 (my computer Ip)
gen=0
blockmaxsize=1000000
mintxfee=0.00000001
minrelaytxfee=0.00000001
maxconnections=20


sr. member
Activity: 369
Merit: 250
i did a complete deletion and installed it again. now i am facing a peculiar problem. the difficulty is at 29.999571 and the share difficulty is also the same. whether i point 50 gh/s  at the pool or 1th/s, the diffiuclty is remaining the same. as a result i am getting a lot of dead shares.

Show us your set up and we'll see what we can do.
full member
Activity: 202
Merit: 100
i did a complete deletion and installed it again. now i am facing a peculiar problem. the difficulty is at 29.999571 and the share difficulty is also the same. whether i point 50 gh/s  at the pool or 1th/s, the diffiuclty is remaining the same. as a result i am getting a lot of dead shares.
sr. member
Activity: 369
Merit: 250
newbie
Activity: 12
Merit: 0
sr. member
Activity: 369
Merit: 250
newbie
Activity: 12
Merit: 0
I setup the Litecoin P2Pool but there is some mistake


You are using Scrypt miners to mine Litecoin correct?
You also did the extra step for Scrypt coins?


I cannot double check p2pool configs at the moment hardware fault with the box I was using for testing.
That and I have to revise the guide due to some changes in p2pool.
I'll update when I can.


Yeah i've installed mingw and created litecoin_scrypt, and i use maxconnection and blockmaxsize already. My S1 still doesnt mine at all.


2014-07-08 14:54:52.692000 New work for worker! Difficulty: 0.232827 Share diffi
culty: 29.852189 Total block value: 50.001000 LTC including 2 transactions
2014-07-08 14:54:55.534000 P2Pool: 17307 shares in chain (8661 verified/17342 to
tal) Peers: 6 (0 incoming)
2014-07-08 14:54:55.536000  Local: 0H/s in last 0.0 seconds Local dead on arriva
l: Huh Expected time to share: Huh
2014-07-08 14:54:55.537000  Shares: 0 (0 orphan, 0 dead) Stale rate: Huh Efficie
ncy: Huh Current payout: 0.0000 LTC
2014-07-08 14:54:55.538000  Pool: 2514MH/s Stale rate: 14.0% Expected time to bl
ock: 7.9 hours
2014-07-08 14:54:55.748000 New work for worker! Difficulty: 0.232827 Share diffi
culty: 29.852189 Total block value: 50.001000 LTC including 2 transactions
2014-07-08 14:54:58.544000 P2Pool: 17308 shares in chain (8662 verified/17343 to
tal) Peers: 6 (0 incoming)
2014-07-08 14:54:58.546000  Local: 0H/s in last 0.0 seconds Local dead on arriva
l: Huh Expected time to share: Huh
2014-07-08 14:54:58.547000  Shares: 0 (0 orphan, 0 dead) Stale rate: Huh Efficie
ncy: Huh Current payout: 0.0000 LTC
2014-07-08 14:54:58.549000  Pool: 2489MH/s Stale rate: 14.3% Expected time to bl
ock: 7.9 hours
2014-07-08 14:55:13.591000 P2Pool: 17308 shares in chain (8662 verified/17343 to
tal) Peers: 6 (0 incoming)
2014-07-08 14:55:14.324000  Local: 0H/s in last 0.0 seconds Local dead on arriva
newbie
Activity: 12
Merit: 0
Thank guys Smiley
newbie
Activity: 3
Merit: 0
Did the BTC you receive come from "mined" or an address? If it came from an address then it would be from something from before you had already coming in. But if you are mining via BTC then you definitely will not get any blocks to test this out with only 400 GHs. I suggest an easier coin like ASIC or Tigercoin but from I see everything looks in order.

My set up with the original settings in the guide did show up as "mined" in my recent transactions. I have since tested my new settings with ASIC and was able to successfully get blocks so all does appear to be in order now. Thanks!

Hope this helps someone else who would like to solo mine SHA256 with an Antminer S1. I AM able to successfully solo mine blocks with the p2pool settings in my last post. If I try to solo mine directly to the QT wallet with the S1, I get all rejects on my blocks. Happy Mining!!
sr. member
Activity: 369
Merit: 250
newbie
Activity: 3
Merit: 0
Hi All!

I followed this guide in every little detail and got it working mining bitcoin... however, after the first 48 hours I got 2 small deposits from p2pool mining .0023BTC and .0025BTC testing this setup with 2 Antminer S1's.. this leads me to believe I am mining in the pool and NOT solo mining. I haven't found any blocks to confirm/deny I am indeed solo mining, but it doesn't seem like I should be getting small pool mining deposits if I am..

After some research.. I tried some changes which I think makes sense and I think I'm solo mining, but I cannot confirm since I still haven't found any blocks. can anyone elaborate or chime in on my settings everything appears to be running fine...I haven't gotten any small deposits after my new changes...Thanks!

Here's my setup...

my p2pool.bat (i added --disable-advertise --outgoing-conns 0 apart from the original guide):
Code:
python run_p2pool.py --net "bitcoin" --give-author 0.0 --no-bugreport --disable-upnp --disable-advertise --outgoing-conns 0

my bitcoin.conf  (added maxconnections=12 apart from the original guide)
Code:
server=1
rpcuser=aaa
rpcpassword=bbb
rpcallowip=192.168.1.*
rpcport=17444
rpcconnect=127.0.0.1

maxconnections=12

p2pools bitcoin.py in networks: (I changed P2P_PORT = 9333 to 11333 apart from the original guide)
Code:
PARENT = networks.nets['bitcoin']
SHARE_PERIOD = 30 # 30
CHAIN_LENGTH = 24*60*60//10 # shares
REAL_CHAIN_LENGTH = 24*60*60//10 # shares
TARGET_LOOKBEHIND = 200 # shares
SPREAD = 3 # 3 blocks
IDENTIFIER = 'fc70035c7a81bc6f'.decode('hex')
PREFIX = '2472ef181efcd37b'.decode('hex')
P2P_PORT = 11333 #was 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

my p2pool console (up and running at 100.6% efficiency):
Code:
2014-07-06 12:35:22.657000 GOT SHARE! ant2 ad91977b prev af13ef76 age 1.45s
2014-07-06 12:35:22.710000 New work for worker! Difficulty: 64.000000 Share difficulty: 2681.672153 Total block value: 25.022961 BTC including 210 transactions
2014-07-06 12:35:22.737000 New work for worker! Difficulty: 64.000000 Share difficulty: 2681.672153 Total block value: 25.022961 BTC including 210 transactions
2014-07-06 12:35:25.491000 P2Pool: 17510 shares in chain (17514 verified/17514 total) Peers: 0 (0 incoming)
2014-07-06 12:35:25.492000  Local: 392GH/s in last 10.0 minutes Local dead on arrival: ~1.4% (0-3%) Expected time to share: 30.0 seconds
2014-07-06 12:35:25.493000  Shares: 5590 (0 orphan, 57 dead) Stale rate: ~1.0% (0-2%) Efficiency: ~100.6% (100-101%) Current payout: 25.0230 BTC
2014-07-06 12:35:25.494000  Pool: 391GH/s Stale rate: 1.6%
sr. member
Activity: 369
Merit: 250
i used this guide and solo mined for a few days. after that i installed the p2pool version 13.4 and was mining bitcoins on p2pool with every one else and not solo mining. however, when i now want to solo mine and run the bat file, it connects to the bitcoin p2pool and is not solo mining any more. can anyone help me with this. i cant figure out why this is happening.
thanks.

We need more information. Tell us how your files are set up now so we can look them over.
sr. member
Activity: 369
Merit: 250
I setup the Litecoin P2Pool but there is some mistake

ock: 6.7 hours
2014-07-04 12:12:10.854000 New work for worker! Difficulty: 0.232827 Share diffi
culty: 27.127695 Total block value: 50.000000 LTC including 0 transactions
2014-07-04 12:12:11.104000 P2Pool: 17317 shares in chain (9029 verified/17321 to
tal) Peers: 6 (0 incoming)
2014-07-04 12:12:11.104000  Local: 0H/s in last 0.0 seconds Local dead on arriva
l: Huh Expected time to share: Huh
2014-07-04 12:12:11.104000  Shares: 0 (0 orphan, 0 dead) Stale rate: Huh Efficie
ncy: Huh Current payout: 0.0000 LTC
2014-07-04 12:12:11.104000  Pool: 2690MH/s Stale rate: 14.3% Expected time to bl
ock: 6.7 hours

My miner status is alive and found 3-15 blooks just for 30mins?Huh

i config it to mine at port 9327

litecoin.conf is

server=1
daemon=1
rpcuser=Kun
rpcpassword=fire
rpcallowip=10.1.211.51
rpcallowip=127.0.0.1
rpcport=10332
port=10333
gen=0




If you conf file is as you say you need to limit connections and workload so it can handle the work. Just running P2Pool as is isn't enough. Make sure to read through the tutorial in the link a few posts up I listed for more information.

For now try adding:

maxconnections=10
blockmaxsize=250000
Pages:
Jump to: