Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New change difficulty and WRONG difficulty AGAIN #671

Open
asdlsd opened this issue Apr 29, 2012 · 69 comments
Open

New change difficulty and WRONG difficulty AGAIN #671

asdlsd opened this issue Apr 29, 2012 · 69 comments

Comments

@asdlsd
Copy link

asdlsd commented Apr 29, 2012

in my BH difficulty is 1,577,913 now (

@TimLinton
Copy link

isn't that shares?

@asdlsd
Copy link
Author

asdlsd commented Apr 30, 2012

see previos my issues

@TimLinton
Copy link

Why not post your previous issues in the previous thread?

@c00w
Copy link
Owner

c00w commented Apr 30, 2012

I've hardcoded it again. It updates on my side after 60 seconds to the correct difficulty. There may be something wierd happening.

@c00w
Copy link
Owner

c00w commented Apr 30, 2012

pip install btcnet_info --upgrade

@asdlsd
Copy link
Author

asdlsd commented Apr 30, 2012

not result (

@c00w
Copy link
Owner

c00w commented May 1, 2012

Thats not good, let me doublecheck btcnet_info.

@asdlsd
Copy link
Author

asdlsd commented May 8, 2012

What about check? New difficulty comes soon.

@c00w
Copy link
Owner

c00w commented May 8, 2012

The library converges to the new difficulty in 40 seconds. I'm not sure why bitHopper isn't picking up the updated difficulty.

@asdlsd
Copy link
Author

asdlsd commented May 8, 2012

this bag only in my BH or for all?

@asdlsd
Copy link
Author

asdlsd commented May 9, 2012

today is new difficulty.
pip install btcnet_info --upgrade
restart
and!!! difficulty is 1,508,589 in my BH
ah... I would have this difficulty 2 weeks ago ((

@c00w
Copy link
Owner

c00w commented May 9, 2012

bitHopper picks up the new difficulty in 60 seconds. There is nothing wrong on our end. Wait for it to synchronize. It won't be correct instantly upon startup.

If it doesn't pickup the difficulty within 120 seconds then I recommend deleting the btcnet_info folder inside the bitHopper directory.

@asdlsd
Copy link
Author

asdlsd commented May 9, 2012

difficulty not change (.

my action:
del btcnet_info (it was empty)
pip install btcnet_info --upgrade
restart
wait 5 minits
((
nothing changes, difficulty is 1,508,589

@asdlsd
Copy link
Author

asdlsd commented May 9, 2012

my BH installed on VPS. I can give you access, if it interesting for you.

@c00w
Copy link
Owner

c00w commented May 10, 2012

I can poke around it this weekend, send me an email [email protected]. How are you determining what difficulty bitHopper is using?

@asdlsd
Copy link
Author

asdlsd commented May 15, 2012

difficulty stay is 1,508,589 (

@c00w
Copy link
Owner

c00w commented May 15, 2012

I verified that bitHopper was updating the difficulty on your vps. The display of current shares is probably broken in some manner. I'll take a look.

@asdlsd
Copy link
Author

asdlsd commented May 26, 2012

difficulty stay is 1,508,589 ((

@c00w
Copy link
Owner

c00w commented May 26, 2012

Delete bitHopper and redownload. something is messed up with your btcnet_info folder.

@asdlsd
Copy link
Author

asdlsd commented May 26, 2012

ok. del and install
difficulty stay is 1,000,000

@asdlsd
Copy link
Author

asdlsd commented May 26, 2012

pip install btcnet_info --upgrade
restart
and difficulty is 1,508,589 (((((((

@c00w
Copy link
Owner

c00w commented May 26, 2012

Update bitHopper, I made it output the difficulty every time it updates. Can you check the output after the second update?

@asdlsd
Copy link
Author

asdlsd commented May 27, 2012

it after update
root@Debian-60-squeeze-64-minimal:/opt/bitHopper# git pull
remote: Counting objects: 25, done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 14 (delta 9), reused 14 (delta 9)
Unpacking objects: 100% (14/14), done.
From git://github.com/c00w/bitHopper
5fb94a2..eb7df91 master -> origin/master
2ad87f1..4fc0374 0.3.2 -> origin/0.3.2
Updating 5fb94a2..eb7df91
Fast-forward
diff.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)

it after ferst start
08:57:27|bitHopper: Debugging Enabled
08:57:27|database: Cleaning Database
08:57:27|pool: pools-custom.cfg not found.
08:57:27|database: Cleaning Database
08:57:27|pool: Please configure some pools!
08:57:27|pool: Go to localhost:8337/worker
08:57:27|pool: Then restart bitHopper
08:57:27|node: Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/btcnet_info/node.py", line 120, in _poll
headers, content = Http.request(self.name, headers={'Connection':'close'})
File "/usr/local/lib/python2.7/dist-packages/httplib2/init.py", line 1544, in request
(response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
File "/usr/local/lib/python2.7/dist-packages/httplib2/init.py", line 1294, in _request
(response, content) = self._conn_request(conn, request_uri, method, body, headers)
File "/usr/local/lib/python2.7/dist-packages/httplib2/init.py", line 1230, in _conn_request
conn.connect()
File "/usr/local/lib/python2.7/dist-packages/httplib2/init.py", line 890, in connect
raise socket.error, msg
error: [Errno 111] Connection refused

08:57:27|node: http://localhost:9332
08:57:28|lp: LP Module Load
08:57:28|plugin: Loading Config Files
08:57:28|pool: pools-custom.cfg not found.
08:57:28|database: Cleaning Database
08:57:28|plugin: Plugin loading mode: manual
08:57:28|plugin: Loading Plugins
08:57:28|plugin: hookexample failed reading main config file: No option 'hookexample' in section: 'plugins'
08:57:28|plugin: hookexample has been disabled
08:57:28|plugin: payouts has been disabled
08:57:28|plugin: blockaccuracy has been disabled
08:57:28|plugin: poolblocks has been disabled
08:57:28|plugin: test has been disabled
08:57:28|plugin: lpbot has been disabled
08:57:28|plugin: rpcworklog loaded
08:57:28|plugin: lpdump has been disabled
08:57:28|plugin: backdoor has been disabled
08:57:28|apiangel: Check interval: 60
08:57:28|apiangel: Re-Incarnate interval: 3600
08:57:28|plugin: apiangel loaded
08:57:28|plugin: poclbm has been disabled
08:57:28|plugin: lpworkbench has been disabled
08:57:28|bitHopper: Selecting scheduler: DefaultScheduler
08:57:28|work: Error with a work.get() http request: Only absolute URIs are allowed. uri = alex
08:57:28|api: alex api error:'api_method'
08:57:28|work: Error with a work.get() http request: Only absolute URIs are allowed. uri = arsbitcoin
08:57:28|api: arsbitcoin api error:'api_method'
08:57:28|work: Error with a work.get() http request: Only absolute URIs are allowed. uri = gpumax
08:57:28|api: Share estimation disabled for: GPUmax (PPS)
08:57:28|api: gpumax: 0

and difficulty is 1,000,000 ))

@c00w
Copy link
Owner

c00w commented May 28, 2012

Can you wait longer? There should have been a couple lines printed that looked like:

21:34:53|diff: Difficulty for nmc:518525.941302
21:34:53|diff: Difficulty for ixc:236.115
21:34:53|diff: Difficulty for btc:1508589
21:34:53|diff: Difficulty for geg:1.63535
21:34:53|diff: Difficulty for scc:8108.883
21:34:53|diff: Difficulty for i0c:448.348

@Locky7
Copy link
Contributor

Locky7 commented May 28, 2012

I agree with c00w. Moreover, there are a few lines referring to pools that should now be removed, are you on the latest clone? Otherwise, I notice that I no longer have that same difficulty issue and considered it resolved.

I am running a recent clone using the windows git client 1.0...loving it! Beautiful work Colin

@asdlsd
Copy link
Author

asdlsd commented May 28, 2012

"Moreover, there are a few lines referring to pools that should now be removed"
what is file?

@Locky7
Copy link
Contributor

Locky7 commented May 28, 2012

delete everything but the user.cfg, bh.cfg, and worker.cfg and clone the repository... Someone please correct me if I am wrong..but that is what I would do. Again, I had the same issue as you so I, too, hard codded it... c00w has now fixed it. I just did FRESH install. ;)

@asdlsd
Copy link
Author

asdlsd commented May 28, 2012

i reinstall BH
pip install btcnet_info --upgrade
and

09:44:44|bitHopper: Debugging Enabled
09:44:44|database: Cleaning Database
09:44:44|pool: pools-custom.cfg not found.
09:44:44|database: Cleaning Database
09:44:44|pool: Please configure some pools!
09:44:44|pool: Go to localhost:8337/worker
09:44:44|pool: Then restart bitHopper
09:44:44|node: Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/btcnet_info/node.py", line 120, in _poll
headers, content = Http.request(self.name, headers={'Connection':'close'})
File "/usr/local/lib/python2.7/dist-packages/httplib2/init.py", line 1544, in request
(response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
File "/usr/local/lib/python2.7/dist-packages/httplib2/init.py", line 1294, in _request
(response, content) = self._conn_request(conn, request_uri, method, body, headers)
File "/usr/local/lib/python2.7/dist-packages/httplib2/init.py", line 1230, in _conn_request
conn.connect()
File "/usr/local/lib/python2.7/dist-packages/httplib2/init.py", line 890, in connect
raise socket.error, msg
error: [Errno 111] Connection refused

09:44:44|node: http://localhost:9332
09:44:44|diff: Difficulty for i0c:448.348
09:44:44|diff: Difficulty for scc:8108.883
09:44:44|diff: Difficulty for btc:1508589
09:44:44|diff: Difficulty for geg:1.63535
09:44:44|diff: Difficulty for nmc:518525.941302
09:44:44|diff: Difficulty for ixc:236.115
09:44:44|node_handle: Potential type error None, Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/btcnet_info/node_handle.py", line 210, in duration
duration += float(result.group(index)) * prefix_multiplier(prefix)
TypeError: float() argument must be a string or a number

09:44:44|node_handle: Potential type error None, Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/btcnet_info/node_handle.py", line 210, in duration
duration += float(result.group(index)) * prefix_multiplier(prefix)
TypeError: float() argument must be a string or a number

09:44:45|lp: LP Module Load

is came
i will wait...

@asdlsd
Copy link
Author

asdlsd commented May 29, 2012

difficulty stay is 1,508,589
what files should be in dir "btcnet_info"?

@c00w
Copy link
Owner

c00w commented Jul 29, 2012

It should automatically download them. Its not a great solution and I should just update everything to version 0.3.2.

@asdlsd
Copy link
Author

asdlsd commented Aug 4, 2012

python run.py --debug

08:37:16|init|print_btcni_ver: btcnet_info version 0.1.2.22
08:37:16|node|_poll: Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/btcnet_info-0.1.2.22-py2.7.egg/btcnet_info/node.py", line 120, in _poll
headers, content = Http.request(self.name, headers={'Connection':'close'})
File "/usr/local/lib/python2.7/dist-packages/httplib2-0.7.4-py2.7.egg/httplib2/init.py", line 1544, in request
(response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
File "/usr/local/lib/python2.7/dist-packages/httplib2-0.7.4-py2.7.egg/httplib2/init.py", line 1294, in _request
(response, content) = self._conn_request(conn, request_uri, method, body, headers)
File "/usr/local/lib/python2.7/dist-packages/httplib2-0.7.4-py2.7.egg/httplib2/init.py", line 1236, in _conn_request
raise ServerNotFoundError("Unable to find the server at %s" % conn.host)
ServerNotFoundError: Unable to find the server at www.namebit.org

08:37:16|node|_poll: http://www.namebit.org/
08:37:16|ServerLogic|rebuild_servers: No valid pools configured
08:37:16|node|_poll: Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/btcnet_info-0.1.2.22-py2.7.egg/btcnet_info/node.py", line 120, in _poll
headers, content = Http.request(self.name, headers={'Connection':'close'})
File "/usr/local/lib/python2.7/dist-packages/httplib2-0.7.4-py2.7.egg/httplib2/init.py", line 1544, in request
(response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
File "/usr/local/lib/python2.7/dist-packages/httplib2-0.7.4-py2.7.egg/httplib2/init.py", line 1294, in _request
(response, content) = self._conn_request(conn, request_uri, method, body, headers)
File "/usr/local/lib/python2.7/dist-packages/httplib2-0.7.4-py2.7.egg/httplib2/init.py", line 1230, in _conn_request
conn.connect()
File "/usr/local/lib/python2.7/dist-packages/httplib2-0.7.4-py2.7.egg/httplib2/init.py", line 1019, in connect
raise socket.error, msg
error: [Errno 111] Connection refused

08:37:16|node|_poll: https://www.arsbitcoin.com/api.php
08:37:21|ServerLogic|rebuild_servers: No valid pools configured

yes and acsess to worker page:

08:38:12|Worker_Page|worker: Ignoring <Pool None, None, None>
08:38:12|Worker_Page|worker: Ignoring <Pool None, None, None>
08:38:12|Worker_Page|worker: Ignoring <Pool None, None, None>
08:38:12|Worker_Page|worker: Ignoring <Pool None, None, None>
08:38:12|Worker_Page|worker: Ignoring <Pool None, None, None>
08:38:12|Worker_Page|worker: Ignoring <Pool None, None, None>
08:38:12|Worker_Page|worker: Ignoring <Pool None, None, None>

but in "%PYTHON%/Lib/site-packages/btcnet_info-0.1.2.22-py2.7.egg/btcnet_info/pools" several files is not empty...

@c00w
Copy link
Owner

c00w commented Aug 4, 2012

Hmmm. I'll figure it out. I think ignoring means that we didn't selected the pool because it was invalid. Add eligius and mtred. I know we have them listed as pps pools

@c00w
Copy link
Owner

c00w commented Aug 4, 2012

And by invalid I mean it was a prop pool with too many shares to be worth mining.

@asdlsd
Copy link
Author

asdlsd commented Aug 4, 2012

@add eligius and mtred. I know we have them listed as pps pools@

how to do it?

@c00w
Copy link
Owner

c00w commented Aug 9, 2012

Ignoring means we are ignoring the pool because it doesn't have a valid pool name. If this is happening you should update btcnet_info, prerably by running pip install --uprade btcnet_info

@c00w
Copy link
Owner

c00w commented Nov 13, 2012

Go to localhost:8339 and add worker information

@asdlsd
Copy link
Author

asdlsd commented Nov 17, 2012

after update btcnet_info for ver. 0.1.2.27 difficulty is correct. I still use old BH (not 3.2)...
in 3.2 after "python run.py" i get error:
Traceback (most recent call last):
File "run.py", line 6, in
import bitHopper
ImportError: No module named bitHopper

@c00w
Copy link
Owner

c00w commented Nov 20, 2012

Are you doing python run.py from the bitHopper directory.

@asdlsd
Copy link
Author

asdlsd commented Nov 20, 2012

yes, but directorys name is bithopper032

@asdlsd
Copy link
Author

asdlsd commented Nov 20, 2012

rename directory - not result

@c00w
Copy link
Owner

c00w commented Nov 20, 2012

Hmmm. What is in the bitHopper folder inside of the bitHopper(or bitHopper032) folder.

@c00w
Copy link
Owner

c00w commented Nov 20, 2012

Also you are running from the master branch not 0.3.2 right?

@asdlsd
Copy link
Author

asdlsd commented Nov 20, 2012

git clone git://github.com/c00w/bitHopper.git
and regulary
git pull

@c00w
Copy link
Owner

c00w commented Nov 20, 2012

Ok.

@asdlsd
Copy link
Author

asdlsd commented Nov 20, 2012

is it master?

@c00w
Copy link
Owner

c00w commented Nov 20, 2012

That is master.

@c00w
Copy link
Owner

c00w commented Nov 20, 2012

What version of python are you running?

@asdlsd
Copy link
Author

asdlsd commented Nov 20, 2012

Python 2.7.3

@c00w
Copy link
Owner

c00w commented Nov 20, 2012

Hmmm. I have absolutely no idea. Can you zip up your bitHopper 0.3.2 folder and email it to me? [email protected]

@asdlsd
Copy link
Author

asdlsd commented Nov 20, 2012

ок

@asdlsd
Copy link
Author

asdlsd commented Nov 20, 2012

i reinstall BH
git clone git://github.com/c00w/bitHopper.git
and start ok

@asdlsd
Copy link
Author

asdlsd commented Nov 20, 2012

but old problem with stats was still... please see (adress send on email)

@c00w
Copy link
Owner

c00w commented Jan 21, 2013

Was this resolved when I ssh'd into your server? I can't remember

@asdlsd
Copy link
Author

asdlsd commented Jan 25, 2013

now working on old BH... but on Deepbit incorrect hopping

PS. hohoho... difficulty is 1000 now ( ... update library?

22.01.2013, 01:42, "Colin Rice" [email protected]:

Was this resolved when I ssh'd into your server? I can't remember


Reply to this email directly or view it on GitHub.

@c00w
Copy link
Owner

c00w commented Jan 27, 2013

Yeah

sudo pip install --upgrade btcnet_info

@asdlsd
Copy link
Author

asdlsd commented Jan 28, 2013

 Hi.  I did this yestoday, but not result... diff is 1000 (( What about Deepbit... they not hopping for now? 28.01.2013, 02:10, "Colin Rice" [email protected]:Yeahsudo pip install --upgrade btcnet_info— Reply to this email directly or view it on GitHub.

@c00w
Copy link
Owner

c00w commented Jan 28, 2013

You are using the old bitHopper. I don't think it does anything dumb but can you tell me the exact version so I an check it out and confirm?

@asdlsd
Copy link
Author

asdlsd commented Jan 28, 2013

exact version??? where can i see it? 28.01.2013, 16:31, "Colin Rice" [email protected]:You are using the old bitHopper. I don't think it does anything dumb but can you tell me the exact version so I an check it out and confirm?— Reply to this email directly or view it on GitHub.

@c00w
Copy link
Owner

c00w commented Jan 28, 2013

I'm assuming you are using git, so the output of
git log -1
Otherwise it should be in the zip file name.

@asdlsd
Copy link
Author

asdlsd commented Jan 28, 2013

not gitbut from arh v0.3.1.6.tar.gz  28.01.2013, 20:02, "Colin Rice" [email protected]:I'm assuming you are using git, so the output of git log -1 Otherwise it should be in the zip file name.— Reply to this email directly or view it on GitHub.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants