Bitcoin Forum
July 29, 2024, 02:54:04 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 [2] 3 4 »
21  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] [UMO] UniversalMolecule Blake256 (New WIN Downloads 2015-12-15) on: January 17, 2018, 07:06:04 PM
Is there anything special library needed to compile the wallet on Ubuntu 16.04? The mentioned dependancies are installed and working (at least so they did for other wallet compiles).

Got the files from https://github.com/BlueDragon747/universalmol

When doing
Code:
make -f makefile.unix
it is running a while but then aborting with following error:

Code:
rpcrawtransaction.cpp:241:77:   required from here
/usr/include/boost/variant/get.hpp:178:5: error: invalid application of ‘sizeof’ to incomplete type ‘boost::STATIC_ASSERTION_FAILURE<false>’
     BOOST_STATIC_ASSERT_MSG(
     ^
makefile.unix:177: recipe for target 'obj/rpcrawtransaction.o' failed
make: *** [obj/rpcrawtransaction.o] Error 1

boost itself is installed, as i compiled 3 other wallets (BLC, PHO & LIT) without problems.

---------------------------------

EDIT: Think i found it. Its the problem with boost compatibility (iirc) at line 241 in rpcrawtransaction.cpp

From UMO repo:
Code:
const CScriptID& hash = boost::get<const CScriptID&>(address);
should be
Code:
const CScriptID& hash = boost::get<CScriptID>(address);

I changed it on UMO files (locally) and make worked.
22  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][BLC] Blakecoin Blake-256 for GPU/FPGA With Merged Mined Pools Stable Net on: January 17, 2018, 12:54:43 PM
It works! Got a BLC and a PHO block solved Smiley

Still curious, that it works now - didnt change anything else than the wait line. As i want to install the other four Blake-Coins too, i will see if it will work again after restarting the system / processes.

Thanks alot for your patience and your help!
23  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][BLC] Blakecoin Blake-256 for GPU/FPGA With Merged Mined Pools Stable Net on: January 17, 2018, 10:44:52 AM
So now. Maybe i should have said i start eloipool and mmp in one runit.sh

Code:
#!/bin/sh

PYTHONPATH=/home/osboxes/Desktop/eloipool_Blakecoin/python-bitcoinrpc:/home/osboxes/Desktop/eloipool_Blakecoin/python-base58:/home/osboxes/Desktop/eloipool_Blakecoin/midstate \
nohup /home/osboxes/Desktop/eloipool_Blakecoin/eloipool.py 2>&1 >/dev/null &

python /home/osboxes/Desktop/eloipool_Blakecoin/merged-mine-proxy.py -w 8330 -p http://ssecreteloipool:222@localhost:8337/ -x http://phousername:phopassword@localhost:9377/ -l /home/osboxes/Desktop/eloipool_Blakecoin/mmp_log.txt >/dev/null &

i have changed it now to

Code:
#!/bin/sh

PYTHONPATH=/home/osboxes/Desktop/eloipool_Blakecoin/python-bitcoinrpc:/home/osboxes/Desktop/eloipool_Blakecoin/python-base58:/home/osboxes/Desktop/eloipool_Blakecoin/midstate \
nohup /home/osboxes/Desktop/eloipool_Blakecoin/eloipool.py 2>&1 >/dev/null &
wait
python /home/osboxes/Desktop/eloipool_Blakecoin/merged-mine-proxy.py -w 8330 -p http://ssecreteloipool:222@localhost:8337/ -x http://phousername:phopassword@localhost:9377/ -l /home/osboxes/Desktop/eloipool_Blakecoin/mmp_log.txt >/dev/null &

and now it is as followed:
The error occurs further, but even after the exception it still writes the logfile. I will leave it hashing now to see if it really finds a block on PHO chain too. Can it be, that i started both processes too fast?

But even if so... it would be interesting, what raises this exception. I am using the merged-mine-proxy that is included in the eloipool_Blakecoin git. Is there maybe a separate updated one?
Could you think of any place where to get further information on this fault? I googled for it, but didnt find any suitable thing (suitable for my mind Cheesy ).

I will report back, when i found a BLC block, as latest then i should have found a PHO block too... i'm a bit excited and nervous now, as i want it to run Cheesy
24  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][BLC] Blakecoin Blake-256 for GPU/FPGA With Merged Mined Pools Stable Net on: January 17, 2018, 10:07:05 AM
Waited for a few minutes now and have to say it fails after the exception. No more output. Sad Hoped it will go on.

Have not tried to change gotwork diff yet. But can do so.
25  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][BLC] Blakecoin Blake-256 for GPU/FPGA With Merged Mined Pools Stable Net on: January 17, 2018, 09:50:42 AM
Then at least i am not alone.

But anything must have changed again... now i get constant output into my logfile:

Code:
2018-01-17T09:48:16.833780,solve,=,0,1c3bbd5c20a7c19d65088877a814cdf9d5107c96293f5b840389c90000000000
2018-01-17T09:48:20.372013,solve,=,0,c7ff512c368a5e5cc9074f41bba82a8cbdda3b6b16a953dcec27160000000000
2018-01-17T09:48:29.984226,solve,=,0,efac8bb9e695ea58b3e147aaf1a40dfbf39b6ae685db6837d608110200000000
2018-01-17T09:48:39.473773,solve,=,0,0da20844bd71b4b7b40a824434afc017d0216f01101918ee5a4f710100000000
2018-01-17T09:48:48.302358,solve,=,0,b81e5ec36fb684ecc8667748477af01d7dc3ddbf1e82de7c7614d80000000000
2018-01-17T09:48:57.405491,solve,=,0,e03ba51a21407d8cb2481b63a75a989e8157a5eb1c493e578edc130700000000
2018-01-17T09:49:07.811988,solve,=,0,aef5efa6927f258ceb4b8cd96f152627288cac6f31c6614a7fa21a0300000000
2018-01-17T09:49:10.203183,solve,=,0,b81ea62197b151004a17a86de7a823c76c2619da974245b32c11320200000000
2018-01-17T09:49:11.433996,solve,=,0,fbfaacd89cadc66e5812b62873e66520127c1bce96575940b20b840100000000
2018-01-17T09:49:12.659532,solve,=,0,395c318f43cfe5ddbf006f857e732a2082b06d1eb4d6c8b97252440300000000
2018-01-17T09:49:13.891554,solve,=,0,f7f07c7518dd2491e7d315229bbc48bd91e7ca39834ba4c86ea3600700000000
2018-01-17T09:49:15.024088,solve,=,0,fb01681f1a8cb1e35d59301b749d0eeb3c7f673d5df27e14bfdcd30100000000
2018-01-17T09:49:21.452645,solve,=,0,7e21814bd25fa4a5762d310ba10beb149465115d641b0d2f9a27860500000000
2018-01-17T09:49:30.904590,solve,=,0,0ce49924d878ad6bbab8fc8a13551ea9478228f4df42853fbc2b2b0400000000
2018-01-17T09:49:36.527601,solve,=,0,9d40954184fc919c90b2093730e9a7d1310ffcbed911039c9338cc0000000000
2018-01-17T09:49:39.678575,solve,=,0,4134073e9a214621d19b9f6229d656055de7d2ab9c688fbbc331220100000000
2018-01-17T09:49:49.482030,solve,=,0,d08e5ea22b39e707c478a6d3ad7064227001a1a7763463a998eb8f0200000000
2018-01-17T09:49:50.303801,solve,=,0,5871736c60d1a6b5f05117146d154c479935eedc5ca09cd3b9a2370000000000

But the exception is still occurring
26  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][BLC] Blakecoin Blake-256 for GPU/FPGA With Merged Mined Pools Stable Net on: January 17, 2018, 09:36:24 AM
This is how i call mmp

Code:
python /home/osboxes/Desktop/eloipool_Blakecoin/merged-mine-proxy.py -w 8330 -p http://ssecreteloipool:222@localhost:8337/ -x http://phousername:phopassword@localhost:9377/ -l /home/osboxes/Desktop/eloipool_Blakecoin/mmp_log.txt -s 16 >/dev/null &

Here the part of config.py

Code:
# Secret username allowed to use setworkaux
SecretUser = "ssecreteloipool"

# URI to send gotwork with info for every share submission
#GotWorkURI = 'http://mergedproxyuser:mergedproxypass@127.0.0.1:8330/'
GotWorkURI = 'http://ssecreteloipool:222@127.0.0.1:8330'

# Share hashes must be below this to be submitted to gotwork
GotWorkTarget = 0x0000000007ffffffffffffffffffffffffffffffffffffffffffffffffffffff

JSONRPCAddress is the same, as you have posted.
Checked even the Photon rpc config, it is the same as called in mmp too.
27  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][BLC] Blakecoin Blake-256 for GPU/FPGA With Merged Mined Pools Stable Net on: January 17, 2018, 08:42:49 AM
Nope didnt work as well. First the exception raised instant. Then again after a short while.

What i did? First uninstalled python-twisted and then installed 12.0.0 as you said.

As it always says Could not connect to backend http://localhost:8337 i tried to open it on the browser. Output is JSON:

Code:
	
result null
id null
error
name "JSONRPCError"
code 100
message "Parse error"

It may be just coincidence, as there shouldnt be any relation, but for me it felt as if the exception is raised, when my miners found a share bigger than 1k. Must be imagination.
28  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][BLC] Blakecoin Blake-256 for GPU/FPGA With Merged Mined Pools Stable Net on: January 17, 2018, 07:10:21 AM
So. Ubuntu 16.04:

At least now i get the trace. But Could not connect to backend? mhhm

So if i understand it correct, it is a problem with the connection of the Secret User

because this one should be connected to port 8337. Stupid i dont understand this lol Sad And why not all the time, but repetitive for a short moment.

make sure you have twisted installed for python and if it is what version do you have?

Code:
sudo apt-get install python-twisted

the secret use details are set in eloipool config.py

Twisted is installed.

Code:
osboxes@osboxes:~$ dpkg -s python-twisted
Package: python-twisted
Status: install ok installed
Priority: extra
Section: python
Installed-Size: 24
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: all
Source: twisted
Version: 16.0.0-1
Provides: python2.7-twisted
Depends: python-twisted-core (>= 16.0.0-1), python:any (<< 2.8), python:any (>= 2.7~)

The behaviour of mmp seems to be the same as in 17.04 (besides the traced output). After starting, i get something like
Code:
2018-01-16T20:28:37.615489,solve,=,0,854e4bda774d0440d4309b791cbde04e62f714d844a274be2344f50400000000
2018-01-16T20:29:22.851355,solve,=,0,6bba9e6570c7c2a219656ef603c031612beb8c6563fac25820a3890500000000
and a minute later the error trace. *sigh*

Secretuser is configured in config.py as mentioned in Ignatius' guide.
29  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][BLC] Blakecoin Blake-256 for GPU/FPGA With Merged Mined Pools Stable Net on: January 16, 2018, 06:34:16 PM
So. Ubuntu 16.04:

Set it up, pool is running but after a few minutes:

Code:
Unhandled error in Deferred:


Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1203, in mainLoop
    self.runUntilCurrent()
  File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 825, in runUntilCurrent
    call.func(*call.args, **call.kw)
  File "/home/osboxes/Desktop/eloipool_Blakecoin/merged-mine-proxy.py", line 318, in update_aux_process
    self.update_auxs()
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1274, in unwindGenerator
    return _inlineCallbacks(None, gen, Deferred())
--- <exception caught here> ---
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1128, in _inlineCallbacks
    result = g.send(result)
  File "/home/osboxes/Desktop/eloipool_Blakecoin/merged-mine-proxy.py", line 307, in update_auxs
    p.rpc_setworkaux('MM', MMAux)
  File "/home/osboxes/Desktop/eloipool_Blakecoin/merged-mine-proxy.py", line 144, in <lambda>
    return lambda *params: self.callRemote(attr[len('rpc_'):], *params)
  File "/home/osboxes/Desktop/eloipool_Blakecoin/merged-mine-proxy.py", line 140, in callRemote
    raise Error(-32099, u'Could not connect to backend', self._url)
__main__.Error: -32099 Could not connect to backend 'http://127.0.0.1:8337/'

At least now i get the trace. But Could not connect to backend? mhhm

Found a solving block - BLC generated, PHO not. So something on merged-mine-proxy seems to be not working - but i could not explain what - pool is running, both wallets are running uh...

So if i understand it correct, it is a problem with the connection of the Secret User

Code:
python /home/osboxes/Desktop/eloipool_Blakecoin/merged-mine-proxy.py -w 8330 -p http://ssecreteloipool:222@127.0.0.1:8337/ -x http://phousername:phopassword@localhost:9377/ -l /home/osboxes/Desktop/eloipool_Blakecoin/mmp_log.txt -s 16 >/dev/null &

because this one should be connected to port 8337. Stupid i dont understand this lol Sad And why not all the time, but repetitive for a short moment.
30  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][BLC] Blakecoin Blake-256 for GPU/FPGA With Merged Mined Pools Stable Net on: January 16, 2018, 09:18:32 AM
As i edited my post while you wrote an answer, i quote the edited content:

This for my understanding (or just to see, if i am understanding it right):
If i merge mine BLC and PHO - lets say BLC is at diff 50k and PHO at diff 35k
-> my rig finds a 40k share -> a PHO block but no BLC block is generated
-> my rig finds a 55k share -> a PHO and a BLC block is generated

Do both these circumstances above are right in any time? Or may it be that:
-> my rig finds a 40k share -> nothing is generated because even if the share value lies above the PHO solving diff, the hash doesnt fit into PHO
-> my rig finds a 55k share -> only a BLC block but no PHO block is generated because the hash doesnt fit into PHO

I am a bit unsure about this. Until now i thought it the first way, but there are various things that made me think about the second solution.

Okay, i will see, that i try Ubuntu 16.04 too. Maybe i will get a better working thing there. At all i will add logging to the line too.
31  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][BLC] Blakecoin Blake-256 for GPU/FPGA With Merged Mined Pools Stable Net on: January 16, 2018, 08:13:57 AM
added -s 16 but get the same error again :/ since now i have not found a solving hash, so i can not say, if Photons are generated or not (yesterday they did not, found several Blake blocks, but no Photon and then changed back onto EU1). EDIT: Nope - still no Photons generated.

the thing that changed is, that the message "merkle size = 1" doesnt show up any more when starting the mmp.

Just to ask - which Ubuntu version would you recommend for this purpose (to avoid complications that may result out of the Ubuntu version)? I am thinking about to set up a new Ubuntu to test if this works better.

This for my understanding (or just to see, if i am understanding it right):
If i merge mine BLC and PHO - lets say BLC is at diff 50k and PHO at diff 35k
-> my rig finds a 40k share -> a PHO block but no BLC block is generated
-> my rig finds a 55k share -> a PHO and a BLC block is generated

Do both these circumstances above are right in any time? Or may it be that:
-> my rig finds a 40k share -> nothing is generated because even if the share value lies above the PHO solving diff, the hash doesnt fit into PHO
-> my rig finds a 55k share -> only a BLC block but no PHO block is generated because the hash doesnt fit into PHO

I am a bit unsure about this. Until now i thought it the first way, but there are various things that made me think about the second solution.
32  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][BLC] Blakecoin Blake-256 for GPU/FPGA With Merged Mined Pools Stable Net on: January 15, 2018, 06:02:22 PM
Okay - next step now... merged with Photon.

I did the extras described in the guide (get and build photond, create photon.conf and configure it, update the config.py from eloipool and run mmd command)

the mmd-command:
Code:
python /home/osboxes/Desktop/eloipool_Blakecoin/merged-mine-proxy.py -w 8330 -p http://ssecreteloipool:222@127.0.0.1:8337/ -x http://photonrpc:photonrpcpass@localhost:9377/

As an answer i get
Code:
merkle size = 1

So what does this mean? Is it working? Yes? No? Cheesy

-----

Seems not to be working - as i am writing this post, my miner got a 3.79M share Wink BLC are generated, PHO seem not to be generated (nothing listed unter listtransactions).
In the command line window where i started mmp i got

Code:
Unhandled error in Deferred:

Nothing else...


----

EDIT: As i saw you recommend to start mmp within 3 seconds after starting eloipool, i added the start command into my runit.sh that starts the pool. Hope this is not too fast.

EDIT2: Now i got the following output in the command line window where i started runit.sh:
Code:
osboxes@osboxes:~/Desktop$ ./runpool.sh
nohup: redirecting stderr to stdout
merkle size = 1
2018-01-15T18:10:38.348769,solve,=,0,35bc9cc454348a80d768dbe0f9a11d475655588c244ed143fd2aa20200000000
2018-01-15T18:10:39.595034,solve,=,0,2002120b1da785fcaa7ea649611878ec6ec5a09d51f91282971ac90700000000
Unhandled error in Deferred:

Unhandled error in Deferred:

33  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][BLC] Blakecoin Blake-256 for GPU/FPGA With Merged Mined Pools Stable Net on: January 15, 2018, 01:54:31 PM
Code:
# Share hashes must be below this to be valid shares
# If dynamic targetting is enabled, this is a minimum
ShareTarget = 0x0000000007ffffffffffffffffffffffffffffffffffffffffffffffffffffff
#ShareTarget = 0x000000000fffffffffffffffffffffffffffffffffffffffffffffffffffffff

# Automatically adjust targets per username
# 0 = disabled
# 1 = arbitrary targets
# 2 = power of two difficulties (zero bit counts)
DynamicTargetting = 2

# How many shares per minute to try to achieve on average
DynamicTargetGoal = 6

# Number of seconds hashrate is measured over
DynamicTargetWindow = 120
Thats what i set up (and whats mentioned in the install guide).
I now have changed DynamicTargetting to 0 and it seems to be stable at diff 31.
But at all it makes me wonder, why it wont work if i say Sharetarget should be 32 and it goes down to diff 1 even if i have enough Hashpower to maintain at least 6 shares per minute with sharediff 32.

At all, i solved two blocks. Payout has gone correctly to the configurated payout address. So it works fine.
34  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][BLC] Blakecoin Blake-256 for GPU/FPGA With Merged Mined Pools Stable Net on: January 15, 2018, 11:56:39 AM
Okay. Did so and for a few second after the restart of the process i see it like "Connected to 192.168.178.41:3334 diff 31 with stratum as user blabla" but then it switches back to "diff 1". Curious.
35  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][BLC] Blakecoin Blake-256 for GPU/FPGA With Merged Mined Pools Stable Net on: January 15, 2018, 10:43:18 AM
Seems you answered on my post before my edit was finished... i changed my newblock.sh so it will kill the process and not trying to kill the file (path to file) Cheesy it now seems to work. I directed my ~16Ghs to the pool to test it. Will find a ~46k share hopefully today Wink

Question: Is the sharetarget are hard one? At the moment the sharetarget is at Diff 1 - i will change that on config.py so it will start at a higher target, but i thought it will raise automatically (as i had to set DynamicTargetting).  In theory (so my thoughts) the sharetarget change could be done on the fly by changing the sharetarget in the config.py and when the next block is found on the network, eloipool restarts? lets see.

Nevertheless - i am greatly happy it works so far - if you guys would be girls i would kiss you for your help Cheesy Wink
36  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][BLC] Blakecoin Blake-256 for GPU/FPGA With Merged Mined Pools Stable Net on: January 15, 2018, 09:31:07 AM
Sorry for doublepost but: Its running!!! Yay!

I dont know what changed... but looking for the socketlistener error i found eloipool.py was running 3 times (looked into system monitor). After rebooting Ubuntu i started blakecoind and runit and... i worked. I could connect my miner to the pool and its hashing (finding diff 1 shares) whoohoo^^

I think the path to kill eloipool.py is not correct atm, because i still get no process found messages.

Code:
/home/osboxes/Desktop/eloipool_Blakecoin/eloipool.py: no process found

Doing "ps all" i get

Code:
osboxes@osboxes:~$ ps all
F   UID   PID  PPID PRI  NI    VSZ   RSS WCHAN  STAT TTY        TIME COMMAND
4     0  1064  1023  20   0 252544 101156 -     Rsl+ tty7       0:20 /usr/lib/xorg/Xorg -core :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
4     0  1070     1  20   0   4824  1588 -      Ss+  tty1       0:00 /sbin/agetty --noclear tty1 linux
0  1000  2882  2873  20   0   7028  4464 poll_s Ss+  pts/0      0:00 bash
0  1000  2926  2873  20   0   7028  4580 poll_s Ss+  pts/1      0:00 bash
0  1000  3118  1090  20   0  73248 21120 ep_pol Sl   pts/1     10:07 /usr/bin/python3 ./eloipool_Blakecoin/eloipool.py
0  1000  3121  3118  20   0      0     0 -      Z    pts/1      0:00 [sh] <defunct>
0  1000  3182  2873  20   0   7028  4456 wait   Ss   pts/2      0:00 bash
0  1000  3203  3182  20   0   7808  1572 -      R+   pts/2      0:00 ps all

So my question is: Which path do i need to use for the newblock.sh? The "physical" path to the file eloipool.py? or what? i have no idea.

Ok - i had one - read Ignatius' guide again - my newblock.sh was faulty. I thought i need to pass the path to eloipool.py
Code:
killall -USR1 /home/osboxes/Desktop/eloipool_Blakecoin/eloipool.py
but i think i has to be
Code:
killall -USR1 eloipool.py
as not the file should be killed but the process Cheesy Changed the newblock.sh and since then no error message shows up on new found block from network.

After clearing this i will try merged setup next.
37  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][BLC] Blakecoin Blake-256 for GPU/FPGA With Merged Mined Pools Stable Net on: January 15, 2018, 09:13:29 AM
Next things now:

I moved through the eloipool installation guide from Ignatius, but it seems the pool is not working yet. I doublechecked the needed changes in config.py mentioned by Ignatius. These should be fine.

How i start:
First start blakecoind by run-blakecoind.sh

Code:
./blakecoind \
        -datadir=/home/osboxes/Desktop/Blake/BlakeData/ -daemon\
        -conf=/home/osboxes/Desktop/Blake/BlakeData/blakecoin.conf \
        -blocknotify=./newblock.sh

There the problems begin (i think).. Anytime a new block is found on the network (blakecoind has to be running properly, otherwise it wouldnt notice a new block on the network) it starts the notify process for the pool

Code:
#!/bin/sh

killall -USR1 /home/osboxes/Desktop/eloipool_Blakecoin/eloipool.py

but as answer i just get:

Code:
/home/osboxes/Desktop/eloipool_Blakecoin/eloipool.py: no process found

While eloipool.py is running issue the command "ps", what path is shown for eloipool.py? If it differs that is the issue, otherwise experiment to find the right killall usage. What OS was this again?


The path on newblock.sh is correct, when i try to just start eloipool.py with this path i get:

Code:
osboxes@osboxes:~/Desktop/Blake$ /home/osboxes/Desktop/eloipool_Blakecoin/eloipool.py
Traceback (most recent call last):
  File "/home/osboxes/Desktop/eloipool_Blakecoin/eloipool.py", line 82, in <module>
    import jsonrpc
ImportError: No module named 'jsonrpc'

Install python-jsonrpc package? It looks like eloipool crashes on startup due to a missing dependency. Fix this issue first. The killall is probably correct, it fails to kill eloipool because eloipool is not running.  You are very close now, good luck and welcome to the Blake ecosystem!



First of all - thank you for your answer.
It is not working yet. The OS i use is Ubuntu 17.04
python-jsonrpc is not a known package for this OS. I found python-jsonrpclib and installed it, but the mentioned error keeps the same. eloipool.py just says import error.

I googled for the error and found this: https://bitcointalk.org/index.php?topic=113730.msg1235643#msg1235643 but i have python-bitcoinrpc linked in the runit.sh

PYTHONPATH=/path/to/python-bitcoinrpc:/path/to/python-base58:/path/to/midstate

----

I now saw my Logfile is written: The following content was there after starting runit.sh

Quote
2018-01-15 04:05:17,066   jsonrpc_getwork   WARNING   Error importing 'midstate' module; work will not provide midstates
2018-01-15 04:05:17,171   SocketListener   ERROR   ('', 8338)
Traceback (most recent call last):
  File "/home/osboxes/Desktop/eloipool_Blakecoin/util.py", line 152, in tryErr
    return func(*a, **kw)
  File "/home/osboxes/Desktop/eloipool_Blakecoin/networkserver.py", line 254, in setup_socket
    sock = self._makebind(server_address)
  File "/home/osboxes/Desktop/eloipool_Blakecoin/networkserver.py", line 245, in _makebind
    return self._makebind_py(*a, **ka)
  File "/home/osboxes/Desktop/eloipool_Blakecoin/networkserver.py", line 227, in _makebind_py
    sock.bind(server_address)
OSError: [Errno 98] Address already in use

2018-01-15 04:05:17,210   BitcoinRPC   DEBUG   -1-> getblocktemplate [{"capabilities": ["coinbasevalue", "coinbase/append", "coinbase", "generation", "time", "transactions/remove", "prevblock"]}]
2018-01-15 04:05:17,266   BitcoinRPC   DEBUG   <-1- {"previousblockhash": "00000000000081168461f8d584734f4be8f8b9a1d42b4787746188b679ca0373", "transactions": [], "bits": "1b00c9d7", "sizelimit": 1000000, "coinbasevalue": 2503781715, "height": 672096, "version": 112, "mintime": 1516004297, "mutable": ["time", "transactions", "prevblock"], "coinbaseaux": {"flags": "062f503253482f"}, "target": "000000000000c9d7000000000000000000000000000000000000000000000000", "noncerange": "00000000ffffffff", "sigoplimit": 20000, "curtime": 1516007195}
2018-01-15 04:05:17,266   merkleMaker   INFO   New block: 00000000000081168461f8d584734f4be8f8b9a1d42b4787746188b679ca0373 (height: 672096; bits: 1b00c9d7)
2018-01-15 04:05:17,267   JSONRPCServer   INFO   Waiting 14.9 seconds to longpoll
2018-01-15 04:05:22,215   BitcoinRPC   DEBUG   -2-> getblocktemplate [{"capabilities": ["coinbasevalue", "coinbase/append", "coinbase", "generation", "time", "transactions/remove", "prevblock"]}]
2018-01-15 04:05:22,225   BitcoinRPC   DEBUG   <-2- {"previousblockhash": "00000000000081168461f8d584734f4be8f8b9a1d42b4787746188b679ca0373", "transactions": [], "bits": "1b00c9d7", "sizelimit": 1000000, "coinbasevalue": 2503781715, "height": 672096, "version": 112, "mintime": 1516004297, "mutable": ["time", "transactions", "prevblock"], "coinbaseaux": {"flags": "062f503253482f"}, "target": "000000000000c9d7000000000000000000000000000000000000000000000000", "noncerange": "00000000ffffffff", "sigoplimit": 20000, "curtime": 1516007200}
2018-01-15 04:05:22,935   JSONRPCServer   INFO   Ignoring longpoll attempt while another is waiting

Errors are bad Cheesy but at least it seems to have connection to blakecoind.
If i read an older description right, the midstate warning can be overseen. But the Socketlistener error...
38  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][BLC] Blakecoin Blake-256 for GPU/FPGA With Merged Mined Pools Stable Net on: January 14, 2018, 10:18:35 PM
Next things now:

I moved through the eloipool installation guide from Ignatius, but it seems the pool is not working yet. I doublechecked the needed changes in config.py mentioned by Ignatius. These should be fine.

How i start:
First start blakecoind by run-blakecoind.sh

Code:
./blakecoind \
        -datadir=/home/osboxes/Desktop/Blake/BlakeData/ -daemon\
        -conf=/home/osboxes/Desktop/Blake/BlakeData/blakecoin.conf \
        -blocknotify=./newblock.sh

There the problems begin (i think).. Anytime a new block is found on the network (blakecoind has to be running properly, otherwise it wouldnt notice a new block on the network) it starts the notify process for the pool

Code:
#!/bin/sh

killall -USR1 /home/osboxes/Desktop/eloipool_Blakecoin/eloipool.py

but as answer i just get:

Code:
/home/osboxes/Desktop/eloipool_Blakecoin/eloipool.py: no process found

The path on newblock.sh is correct, when i try to just start eloipool.py with this path i get:

Code:
osboxes@osboxes:~/Desktop/Blake$ /home/osboxes/Desktop/eloipool_Blakecoin/eloipool.py
Traceback (most recent call last):
  File "/home/osboxes/Desktop/eloipool_Blakecoin/eloipool.py", line 82, in <module>
    import jsonrpc
ImportError: No module named 'jsonrpc'
So its there, but i think if i try to start it manually there are arguments missing. Or is jsonrpc really missing? Thought the path to the rpc is given in the runit.sh (python-bitcoinrpc)

Code:
#!/bin/sh

PYTHONPATH=/path/to/python-bitcoinrpc:/path/to/python-base58:/path/to/midstate \
     nohup ./eloipool.py 2>&1 >/dev/null &

-----

Second thing is - if i run the runit.sh i get one line of console output

Code:
osboxes@osboxes:~/Desktop$ ./runit.sh
osboxes@osboxes:~/Desktop$ nohup: redirecting stderr to stdout

Thats it. The logfile is empty - even after minutes and hours. So i think there is exactly nothing running.

Any thoughts? Any gladly done mistakes, that i may have overseen?
Maybe there are again problems with the dependancies. I had several problems to get them under the links, that were mentioned by Ignatius, but otherwise found them on your Git folder.
39  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][BLC] Blakecoin Blake-256 for GPU/FPGA With Merged Mined Pools Stable Net on: January 13, 2018, 11:31:25 PM
Yup, block matured and after that the coins could be transfered properly into my main wallet.

Just to say it: I wouldnt wonder if i made a mistake at some point, as i'm not used to compiling manually - i'm a Windows user (you know what i want to say).
It just seems i have problems with boost. Two days ago i had another error, so i couldnt start the blakecoind. In the error message stood something of boost too - i had to reboot the system, the it worked again. So maybe its the Ubuntu version or just stupidity of myself^^
40  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][BLC] Blakecoin Blake-256 for GPU/FPGA With Merged Mined Pools Stable Net on: January 13, 2018, 01:14:25 PM
I tried to stop the server with

Code:
./blakecoind -datadir=/home/osboxes/Desktop/Blake/BlakeData stop

but it didnt work first. When i tried to restart the server, it said it seem to be running (cannot obtain lock on data directory). I again had to kill the process.


Then i tried

Code:
sudo ./blakecoind -datadir=/home/osboxes/Desktop/Blake/BlakeData stop

and got the following response on the first try:

Code:
terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::lock_error> >'
  what():  boost: mutex lock failed in pthread_mutex_lock: Invalid argument

The server was stopped (obv. by the exception).

After that i tried it again. The server stopped without any exception and could be restarted without any process kill. But sometimes i have to call the stop command two times until the server really stops (sometime the try to lock the data dir fails, when i only stopped the server once).

If i just try
Code:
sudo ./blakecoind stop
it fails, because the datadir isnt the one blakecoind wants to set without params.


BTW. i used the linked guide from Ignatius to install the eloipool. But as for now, i just want to make sure blakecoind is running well before trying to use mining it over eloipool (and then trying to get into merged mining, if i come that far).
Pages: « 1 [2] 3 4 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!