Pages:
Author

Topic: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy - page 16. (Read 123152 times)

legendary
Activity: 2576
Merit: 1186
Just a note that updating Eloipool within the next week or so is critical to surviving the subsidy halving.
Previous code had 50 BTC hard-coded in the "blank" coinbase.
Shhh! Wink I predict at least some pools will have bugs and will continue to pay out as before the halving.
Perhaps, but that won't be helped by pools producing invalid blocks Wink
mrb
legendary
Activity: 1512
Merit: 1028
Just a note that updating Eloipool within the next week or so is critical to surviving the subsidy halving.
Previous code had 50 BTC hard-coded in the "blank" coinbase.

Shhh! Wink I predict at least some pools will have bugs and will continue to pay out as before the halving.
legendary
Activity: 2576
Merit: 1186
Just a note that updating Eloipool within the next week or so is critical to surviving the subsidy halving.
Previous code had 50 BTC hard-coded in the "blank" coinbase.
legendary
Activity: 4634
Merit: 1851
Linux since 1997 RedHat 4
and what about  Stratum is it ok ? or GBT  is better ? 
So cgminer does not work with this pool back end?
cgminer still works with getwork. BFGMiner does everything cgminer does and more (including GBT support)
BarbieMiner still works with getwork.

Meanwhile ...

Hmm - well a good example of this so called 'more' is the MMQ driver.

Luke-jr wrote it for BarbieMiner and then sent pull requests to cgminer.
The cgminer pull requests didn't work - and he didn't send the pull requests that fixed that.

... however ... there is only one driver in cgminer that falsifies it's hash rate - the MMQ driver - coz the code Luke-jr wrote for BarbieMiner (and cgminer) falsifies it by up to 5% over and still does in both miners.
(I haven't rewritten the mining loop to fix this yet)
So yeah there's a good example of his 'more' for you ...

Though, cgminer fully supports Stratum ... yet BarbieMiner doesn't ... I guess that's called more also?

Hmm, what dictionary do you use to define the word 'everything' ?
legendary
Activity: 2576
Merit: 1186
and what about  Stratum is it ok ? or GBT  is better ? 
So cgminer does not work with this pool back end?
cgminer still works with getwork. BFGMiner does everything cgminer does and more (including GBT support)
hero member
Activity: 780
Merit: 510
Bitcoin - helping to end bankster enslavement.
and what about  Stratum is it ok ? or GBT  is better ? 
So cgminer does not work with this pool back end?
legendary
Activity: 2576
Merit: 1186
and what about  Stratum is it ok ? or GBT  is better ?
Stratum is just ASIC-friendly getwork. GBT solves that problem as well as the more important decentralization concern: https://en.bitcoin.it/wiki/Getblocktemplate
member
Activity: 76
Merit: 10
and what about  Stratum is it ok ? or GBT  is better ? 
legendary
Activity: 2576
Merit: 1186
so any PPS pool is vulnerable not only eloipool  ?
It's not really a PPS-only problem. Any pool is vulnerable period.
member
Activity: 76
Merit: 10
so any PPS pool is vulnerable not only eloipool  ?
legendary
Activity: 2576
Merit: 1186
is eloipool  resistant to this type of sabotage?
No, that problem's inherent in Bitcoin itself.
member
Activity: 76
Merit: 10
sr. member
Activity: 322
Merit: 250
Got it working, mining right now on it.
I installed it on ubuntu 12.04

EDIT: i decided to remove the guide i wrote as i dont know how secure this way of installing was/is, please excuse.
sr. member
Activity: 322
Merit: 250
I already made another thread, however i think its better placed here because its mianly about eloipool.
https://bitcointalksearch.org/topic/m.1235209
This is the error i get:
Code:
root@j064:/opt/eloipool# ./eloipool.py
Traceback (most recent call last):
  File "./eloipool.py", line 46, in
    import jsonrpc
ImportError: No module named jsonrpc
root@j064:/opt/eloipool#

legendary
Activity: 2576
Merit: 1186
Code:
midstatemodule.c:5:20: error: Python.h: Datei oder Verzeichnis nicht gefunden
Looks like it can't find Python.h. It's probably under /usr/local/... ? Maybe edit the Makefile as needed :/
sr. member
Activity: 322
Merit: 250
I installed python3.2 from source, what am i doing wrong?

Code:
root@j064:/opt/midstate# make
gcc -march=native -Wall -funroll-all-loops -O3 -fstrict-aliasing -Wall -std=c99 -I/usr/include/python3.2  midstatemodule.c -o test -Wl,-O1 -Wl,--as-needed -lpython3.2
midstatemodule.c:5:20: error: Python.h: Datei oder Verzeichnis nicht gefunden
midstatemodule.c:96: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â*â token
midstatemodule.c:138: error: array type has incomplete element type
midstatemodule.c:139: error: âmidstate_helperâ undeclared here (not in a function)
midstatemodule.c:139: error: âMETH_Oâ undeclared here (not in a function)
midstatemodule.c:144: error: variable âmidstatemoduleâ has initializer but incomplete type
midstatemodule.c:145: error: âPyModuleDef_HEAD_INITâ undeclared here (not in a function)
midstatemodule.c:145: warning: excess elements in struct initializer
midstatemodule.c:145: warning: (near initialization for âmidstatemoduleâ)
midstatemodule.c:146: warning: excess elements in struct initializer
midstatemodule.c:146: warning: (near initialization for âmidstatemoduleâ)
midstatemodule.c:147: warning: excess elements in struct initializer
midstatemodule.c:147: warning: (near initialization for âmidstatemoduleâ)
midstatemodule.c:148: warning: excess elements in struct initializer
midstatemodule.c:148: warning: (near initialization for âmidstatemoduleâ)
midstatemodule.c:149: warning: excess elements in struct initializer
midstatemodule.c:149: warning: (near initialization for âmidstatemoduleâ)
midstatemodule.c:150: warning: excess elements in struct initializer
midstatemodule.c:150: warning: (near initialization for âmidstatemoduleâ)
midstatemodule.c:151: warning: excess elements in struct initializer
midstatemodule.c:151: warning: (near initialization for âmidstatemoduleâ)
midstatemodule.c:152: warning: excess elements in struct initializer
midstatemodule.c:152: warning: (near initialization for âmidstatemoduleâ)
midstatemodule.c:154: warning: excess elements in struct initializer
midstatemodule.c:154: warning: (near initialization for âmidstatemoduleâ)
midstatemodule.c:157: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before âPyInit_midstateâ
make: *** [test] Fehler 1
legendary
Activity: 2576
Merit: 1186
How do i install the python-bitcoinrpc and python-base58 ?
Thx
It's usually sufficient to just get the git checkout linked under your eloipool directory.
sr. member
Activity: 322
Merit: 250
How do i install the python-bitcoinrpc and python-base58 ?
Thx
legendary
Activity: 2576
Merit: 1186
That one's a real bug. try this until it works, for now: git checkout HEAD^
Same problem
Code:
~/bc/eloipool$ git checkout HEAD^
Previous HEAD position was 5e363be... Merge branch 'sharetarget'
HEAD is now at ac36d06... Merge branch 'sharetarget'
~/bc/eloipool$ ./gmp-proxy.py http://
:[email protected]:8337
WARNING:jsonrpc_getwork:Error importing 'midstate' module; work will not provide midstates
Traceback (most recent call last):
  File "./gmp-proxy.py", line 134, in
    server.serve_forever()
  File "/home/alan/bc/eloipool/networkserver.py", line 267, in serve_forever
    self.final_init()
  File "/home/alan/bc/eloipool/jsonrpcserver.py", line 300, in final_init
    ShareTargetHex = '%064x' % (self.ShareTarget,)
AttributeError: 'JSONRPCServer' object has no attribute 'ShareTarget'
"until it works"
full member
Activity: 165
Merit: 100
That one's a real bug. try this until it works, for now: git checkout HEAD^
EDIT: Working now, cheers!
Pages:
Jump to: