I can not create a worker. System is ubuntu 12.04 bitcoind http://gitorious.org/~Luke-Jr/bitcoin/luke-jr-bitcoin/commits/next-eligiusgetinfo { "version" : 60010, "protocolversion" : 70000, "walletversion" : 60000, "balance" : 0.00000000, "blocks" : 202383, "connections" : 13, "proxy" : "", "difficulty" : 3054627.52694864, "testnet" : false, "keypoololdest" : 1349160278, "keypoolsize" : 101, "paytxfee" : 0.00000000, "maxtxfee" : 0.01000000, "forcetxfee" : false, "errors" : "" } #EDIT, the prev printed error is replaced, it was a wrong username set. This error most probably is a wrong bitcoin version. =ERROR REPORT==== 8-Oct-2012::17:18:32 === ** Generic server <0.232.0> terminating ** Last message in was {'$gen_cast',post_workunit} ** When Server state == {state,<<"1cade7e67fdab5080fab0a2afd0050c1">>,btc, "http://127.0.0.1:8332/", {"user", "passwd"}, <<"eco">>, {default, <<80,214,174,106,246,223,58,77,209,76,17,192, 154,154,39,42,98,241,111,85>>}, undefined,<<"81c8fd55f5316039ae579bbf0900870e">>, 106535,110632,undefined,undefined,undefined, undefined,undefined} ** Reason for termination == ** {{case_clause,{ok,"404", [{"Date","Mon, 08 Oct 2012 17:18:32 +0000"}, {"Connection","close"}, {"Content-Length","79"}, {"Content-Type","application/json"}, {"Server","bitcoin-json-rpc/0.6.0.10-beta"}], "{\"result\":null,\"error\":{\"code\":-32601,\"message\":\"Method not found\"},\"id\":null}\n"}}, [{btc_daemon_util,get_memory_pool,5, [{file,"src/btc_daemon_util.erl"},{line,225}]}, {btc_daemon_util,fetch_work,11, [{file,"src/btc_daemon_util.erl"},{line,316}]}, {btc_coindaemon,fetch_work_with_state,1, [{file,"src/btc_coindaemon.erl"},{line,206}]}, {btc_coindaemon,handle_cast,2, [{file,"src/btc_coindaemon.erl"},{line,150}]}, {gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,597}]}, {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,227}]}]} =CRASH REPORT==== 8-Oct-2012::17:18:32 === crasher: initial call: btc_coindaemon:init/1 pid: <0.232.0> registered_name: [] exception exit: {{case_clause, {ok,"404", [{"Date","Mon, 08 Oct 2012 17:18:32 +0000"}, {"Connection","close"}, {"Content-Length","79"}, {"Content-Type","application/json"}, {"Server","bitcoin-json-rpc/0.6.0.10-beta"}], "{\"result\":null,\"error\":{\"code\":-32601,\"message\":\"Method not found\"},\"id\":null}\n"}}, [{btc_daemon_util,get_memory_pool,5, [{file,"src/btc_daemon_util.erl"},{line,225}]}, {btc_daemon_util,fetch_work,11, [{file,"src/btc_daemon_util.erl"},{line,316}]}, {btc_coindaemon,fetch_work_with_state,1, [{file,"src/btc_coindaemon.erl"},{line,206}]}, {btc_coindaemon,handle_cast,2, [{file,"src/btc_coindaemon.erl"},{line,150}]}, {gen_server,handle_msg,5, [{file,"gen_server.erl"},{line,597}]}, {proc_lib,init_p_do_apply,3, [{file,"proc_lib.erl"},{line,227}]}]} in function gen_server:terminate/6 (gen_server.erl, line 737) ancestors: [<0.158.0>,ecoinpool_sup,<0.100.0>] messages: [] links: [<0.158.0>] dictionary: [] trap_exit: true status: running heap_size: 2584 stack_size: 24 reductions: 4215 neighbours: =SUPERVISOR REPORT==== 8-Oct-2012::17:18:32 === Supervisor: {global, ecoinpool_server_sup_1cade7e67fdab5080fab0a2afd0050c1} Context: child_terminated Reason: {{case_clause,{ok,"404", [{"Date","Mon, 08 Oct 2012 17:18:32 +0000"}, {"Connection","close"}, {"Content-Length","79"}, {"Content-Type","application/json"}, {"Server", "bitcoin-json-rpc/0.6.0.10-beta"}], "{\"result\":null,\"error\":{\"code\":-32601,\"message\":\"Method not found\"},\"id\":null}\n"}}, [{btc_daemon_util,get_memory_pool,5, [{file,"src/btc_daemon_util.erl"}, {line,225}]}, {btc_daemon_util,fetch_work,11, [{file,"src/btc_daemon_util.erl"}, {line,316}]}, {btc_coindaemon,fetch_work_with_state,1, [{file,"src/btc_coindaemon.erl"}, {line,206}]}, {btc_coindaemon,handle_cast,2, [{file,"src/btc_coindaemon.erl"}, {line,150}]}, {gen_server,handle_msg,5, [{file,"gen_server.erl"},{line,597}]}, {proc_lib,init_p_do_apply,3, [{file,"proc_lib.erl"},{line,227}]}]} Offender: [{pid,<0.232.0>}, {name,coindaemon}, {mfargs, {btc_coindaemon,start_link, [<<"1cade7e67fdab5080fab0a2afd0050c1">>, [{pool_type,btc}, {host,<<"127.0.0.1">>}, {port,8332}, {user,<<"user">>}, {pass,<<"passwd">>}, {ebitcoin_client_id, <<"81c8fd55f5316039ae579bbf0900870e">>}]]}}, {restart_type,permanent}, {shutdown,5000}, {child_type,worker}] [17:18:32.276][daemon/warn] Bitcoin-btc CoinDaemon terminated. =ERROR REPORT==== 8-Oct-2012::17:18:32 === ** Generic server <0.245.0> terminating ** Last message in was {'$gen_cast',post_workunit} ** When Server state == {state,<<"1cade7e67fdab5080fab0a2afd0050c1">>,btc, "http://127.0.0.1:8332/", {"user", "passwd"}, <<"eco">>, {default, <<80,214,174,106,246,223,58,77,209,76,17,192, 154,154,39,42,98,241,111,85>>}, undefined,<<"81c8fd55f5316039ae579bbf0900870e">>, 114727,118824,undefined,undefined,undefined, undefined,undefined} ** Reason for termination == ** {{case_clause,{ok,"404", [{"Date","Mon, 08 Oct 2012 17:18:32 +0000"}, {"Connection","close"}, {"Content-Length","79"}, {"Content-Type","application/json"}, {"Server","bitcoin-json-rpc/0.6.0.10-beta"}], "{\"result\":null,\"error\":{\"code\":-32601,\"message\":\"Method not found\"},\"id\":null}\n"}}, [{btc_daemon_util,get_memory_pool,5, [{file,"src/btc_daemon_util.erl"},{line,225}]}, {btc_daemon_util,fetch_work,11, [{file,"src/btc_daemon_util.erl"},{line,316}]}, {btc_coindaemon,fetch_work_with_state,1, [{file,"src/btc_coindaemon.erl"},{line,206}]}, {btc_coindaemon,handle_cast,2, [{file,"src/btc_coindaemon.erl"},{line,150}]}, {gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,597}]}, {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,227}]}]} =CRASH REPORT==== 8-Oct-2012::17:18:32 === crasher: initial call: btc_coindaemon:init/1 pid: <0.245.0> registered_name: [] exception exit: {{case_clause, {ok,"404", [{"Date","Mon, 08 Oct 2012 17:18:32 +0000"}, {"Connection","close"}, {"Content-Length","79"}, {"Content-Type","application/json"}, {"Server","bitcoin-json-rpc/0.6.0.10-beta"}], "{\"result\":null,\"error\":{\"code\":-32601,\"message\":\"Method not found\"},\"id\":null}\n"}}, [{btc_daemon_util,get_memory_pool,5, [{file,"src/btc_daemon_util.erl"},{line,225}]}, {btc_daemon_util,fetch_work,11, [{file,"src/btc_daemon_util.erl"},{line,316}]}, {btc_coindaemon,fetch_work_with_state,1, [{file,"src/btc_coindaemon.erl"},{line,206}]}, {btc_coindaemon,handle_cast,2, [{file,"src/btc_coindaemon.erl"},{line,150}]}, {gen_server,handle_msg,5, [{file,"gen_server.erl"},{line,597}]}, {proc_lib,init_p_do_apply,3, [{file,"proc_lib.erl"},{line,227}]}]} in function gen_server:terminate/6 (gen_server.erl, line 737) ancestors: [<0.158.0>,ecoinpool_sup,<0.100.0>] messages: [] links: [<0.158.0>] dictionary: [] trap_exit: true status: running heap_size: 2584 stack_size: 24 reductions: 4215 neighbours: =SUPERVISOR REPORT==== 8-Oct-2012::17:18:32 === Supervisor: {global, ecoinpool_server_sup_1cade7e67fdab5080fab0a2afd0050c1} Context: child_terminated Reason: {{case_clause,{ok,"404", [{"Date","Mon, 08 Oct 2012 17:18:32 +0000"}, {"Connection","close"}, {"Content-Length","79"}, {"Content-Type","application/json"}, {"Server", "bitcoin-json-rpc/0.6.0.10-beta"}], "{\"result\":null,\"error\":{\"code\":-32601,\"message\":\"Method not found\"},\"id\":null}\n"}}, [{btc_daemon_util,get_memory_pool,5, [{file,"src/btc_daemon_util.erl"}, {line,225}]}, {btc_daemon_util,fetch_work,11, [{file,"src/btc_daemon_util.erl"}, {line,316}]}, {btc_coindaemon,fetch_work_with_state,1, [{file,"src/btc_coindaemon.erl"}, {line,206}]}, {btc_coindaemon,handle_cast,2, [{file,"src/btc_coindaemon.erl"}, {line,150}]}, {gen_server,handle_msg,5, [{file,"gen_server.erl"},{line,597}]}, {proc_lib,init_p_do_apply,3, [{file,"proc_lib.erl"},{line,227}]}]} Offender: [{pid,<0.245.0>}, {name,coindaemon}, {mfargs, {btc_coindaemon,start_link, [<<"1cade7e67fdab5080fab0a2afd0050c1">>, [{pool_type,btc}, {host,<<"127.0.0.1">>}, {port,8332}, {user,<<"user">>}, {pass,<<"passwd">>}, {ebitcoin_client_id, <<"81c8fd55f5316039ae579bbf0900870e">>}]]}}, {restart_type,permanent}, {shutdown,5000}, {child_type,worker}] [17:18:32.277][default/warn] ecoinpool_rpc: Stopped RPC on port 8888 =SUPERVISOR REPORT==== 8-Oct-2012::17:18:32 === Supervisor: {global, ecoinpool_server_sup_1cade7e67fdab5080fab0a2afd0050c1} Context: shutdown Reason: reached_max_restart_intensity Offender: [{pid,<0.245.0>}, {name,coindaemon}, {mfargs, {btc_coindaemon,start_link, [<<"1cade7e67fdab5080fab0a2afd0050c1">>, [{pool_type,btc}, {host,<<"127.0.0.1">>}, {port,8332}, {user,<<"user">>}, {pass,<<"8passwd">>}, {ebitcoin_client_id, <<"81c8fd55f5316039ae579bbf0900870e">>}]]}}, {restart_type,permanent}, {shutdown,5000}, {child_type,worker}] [17:18:32.277][server/warn] Subpool 1cade7e67fdab5080fab0a2afd0050c1 terminated. [17:18:32.285][ebitcoin/warn] srae44sss: Connecting to 127.0.0.1:8333... [17:18:32.285][ebitcoin/warn] srae44sss: Connection established. [17:18:32.306][ebitcoin/warn] srae44sss: Alert received: URGENT: upgrade required, see http://bitcoin.org/dos for details
|
|
|
http://pastebin.com/ph1PJKgJseems its working with the solution makuu stated erlier. Replace all dependencies with the ones linked in the /ecoinpool/deps folder - seems to work on ubuntu 12, will post once i connected a miner.
|
|
|
Error setting up share logger sql: (<class 'NameError'>, NameError("name 'long' is not defined",), <traceback object at 0x188a0e0>) Any idea what this means? Im trying to setup eloipool sharelogger for either psql or mysql. The config of eloi looks like this: {
'type': 'sql',
'engine': 'postgres',
'dbopts': {
'host': 'localhost',
'database': 'pooldb',
'user': 'eloipool',
'password': 'somethingsecret',
},
'statement': "insert into shares (rem_host, username, our_result, upstream_result, reason, solution) values ({Q(remoteHost)}, {username}, {YN(not(rejectReason))}, {YN(upstreamResult)}, {rejectReason}, decode({solution}, 'hex'))",
},
{
'type': 'sql',
'engine': 'mysql',
'dbopts': {
'host': 'localhost',
'db': 'pooldb',
'user': 'eloipool',
'password': 'somethingsecret',
},
'statement': "insert into shares (rem_host, username, our_result, upstream_result, reason, solution) values ({Q(remoteHost)}, {username}, {YN(not(rejectReason))}, {YN(upstreamResult)}, {rejectReason}, unhex({solution}))",
}, Maybe i have to create tables manually?? But how?? EDIT: I need both database setups (mysql and psql), so i need the correct commands most probably to create the required tables but im not familiar enough with both languages to do this correctly.
|
|
|
http://pastebin.com/vjHVuJxqFound this yesterday, ironically this never got linked here, obv p2k has written it. Would love to have something that exactly for the config file. My idea right now is thats a database (maybe tables have to be created manually or a sql imported) or writing permission error.
|
|
|
wizstats as linked is the frontend eligius has right now http://eligius.st/~wizkid057/newstats/, at least the index.php looks the same, may i miss something`??. Guess artefact2 is the old frontend from eligius?? Heres a link btw, dont know if it was the correct one https://github.com/omes/eligius-stats. I dont plan to have a public pool yet, but indeed i want to display statistics for me and pool users Right now i try to find the best option to archiv that, ecoinpool has build in frontend but currently a error others facing too and most probably will not be resolved soon. Poolserverj the other option has the simplecoin template what most probably would work but as you mentioned all the bugs an security flaws and additional required time to setup poolj. So it still seems the best option for me is the eloipool with a simple stats disply like the 2 existing templates.
|
|
|
One from the posted above, there was also the artefact2 frontend, dont have the link yet but i got the files.
|
|
|
I just want to get this one to work, from there it might be not that difficult for me. Its just kind of difficult to edit something that does not work, so i cant understand how its working.
|
|
|
I have edited the post above, couchdb is 1.2. Dont know how spidermonkey was installed but libmozjs185-1.0 and libmozjs185-dev seem to be installed. root@j064:/opt/ecoinpool# apt-cache search spidermonkey js2-mode - Emacs mode for editing Javascript programs libmozjs185-1.0 - Spidermonkey javascript engine libmozjs185-dev - Spidermonkey javascript library - development headers root@j064:/opt/ecoinpool# sudo apt-get install libmozjs185-1.0 Reading package lists... Done Building dependency tree Reading state information... Done libmozjs185-1.0 is already the newest version. libmozjs185-1.0 set to manually installed. 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. root@j064:/opt/ecoinpool# sudo apt-get install libmozjs185-dev Reading package lists... Done Building dependency tree Reading state information... Done libmozjs185-dev is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
|
|
|
root@j064:~# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 12.04.1 LTS Release: 12.04 Codename: precise root@j064:~#
root@j064:~# dpkg -p libmozjs-dev Package `libmozjs-dev' is not available. Use dpkg --info (= dpkg-deb --info) to examine archive files, and dpkg --contents (= dpkg-deb --contents) to list their contents. root@j064:~# couchdb - Apache CouchDB 1.2.0 Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
root@j064:~# root@j064:~# erl --version Erlang R15B (erts-5.9) [source] [64-bit] [smp:4:4] [async-threads:0] [hipe] [kernel-poll:false] root@j064:~#
|
|
|
Unemployed philosoph
|
|
|
Nobody arround in the whole forum who can setup a frontend for my pool??
|
|
|
I tried once again to get ecoinpool working. Im pretty sure everything is setup fine (couchdb, erlang) except the last part of the configuration file. Here is the error i actually encounter: root@j064:/opt/ecoinpool# ./test_launch.sh ==> ecoinpool (compile) ==> ebitcoin (compile) ==> rel (compile) ==> ecoinpool (compile) Erlang R15B (erts-5.9) [source] [64-bit] [smp:4:4] [async-threads:0] [hipe] [kernel-poll:true]
Eshell V5.9 (abort with ^G) (ecoinpool_test@j064)1> {"init terminating in do_boot",{{badmatch,{error,{shutdown,{ebitcoin_app,start,[normal,[]]}}}},[{ecoinpool_test_launch,start,0,[{file,"src/ecoinpool_test_launch.erl"},{line,34}]},{init,start_it,1,[]},{init,start_em,1,[]}]}}
Crash dump was written to: erl_crash.dump init terminating in do_boot () root@j064:/opt/ecoinpool# Anybody here who can post a sample config and a describtion on the nessecary steps from here to get this working? What parts to be edited, removed, replaced and database settings outside of this config file. % This is a setting that certainly has to be changed. Configure one or % more worker table replicators here (if you have multiple sub-pools). % Please only connect one sub-pool to one table or things get jammed up. {replicator_configs, [ % Format: {<ecoinpool sub-pool ID>, <MySQL worker table>, <MySQL sync interval in seconds, 1 or more>} {"24aa68ec6c910de0850ed0c575621ec9", "pool_worker", 15} ]}, % Next is your blowfish secret key. Copy it from above. {blowfish_secret, "Replace me!"}, % And the last one, also to be likely changed, is the shares deployer % configuration. There are two possible formats here, one with and one % without using merged mining. The config ID is used as basename for % saving the deployment state file and for the "source" column. {share_deployer_configs, [ % Non-MM Format: {<config ID string>, <pool name>, <MySQL shares table>, <MySQL write interval in seconds, 0 allowed>} {"ltc_test_shares", "ltc-test", "shares", 60}, % MM Format: {<config ID string>, <main pool name>, <aux pool name>, <MySQL shares table>, <MySQL write interval in seconds, 0 allowed>} {"btc_nmc_test_shares", "btc-test", "nmc-test", "shares", 60} ]} ]} ].
|
|
|
Forgot to mention that, i used nvpn, they accept bitcoin, dont log and have multiple servers.
|
|
|
BTW, i recognized you posting multiple times about ecoinpool and pushpool, why not try eloi or poolserverj, both are mostprobably more easy to setup and eloi is still supported.
|
|
|
As it says, line 88. % MM Format: {<config ID string>, <main pool name>, <aux pool name>, <MySQL shares table>, <MySQL write interval in seconds, 0 allowed>} {"btc_nmc_test_shares", "btc-test", "nmc-test", "shares", 60} ]} ]} ]. Im not a coder, so maybe im wrong but i would try to unkomment it was default.
|
|
|
What i wonder is, bitcoin by law is not threated as currency as a lawyer told me. How does this complains with the regulation?. On your website http://bit4x.com/ is no statement of regulation. From the http://venetfx.com/regulations/This disclosure is made in respect of Worth. IT Financial Services Ltd, or short ‘Worth Ltd’, which is au-thorised and regulated by the Financial Services Authority (‘FSA’) to provide FX margin trading services. This disclosure does not include any statements for any other member or affiliate of the ‘Worth Ltd’. On the http://venetfx.com/ is nothing mentioned about MFID standard. I also miss a privacy statement. As http://venetfx.com/ also states that they accept bitcoin for deposit, i conclude that http://bit4x.com/ is just a normal white label introducing broker (affiliate). Now the question for me would be, how are you compensated for the introduccing service? IS there any spread/commission markup?
|
|
|
you cant forward any haspower by running a pool as i know! Running a pool means you mine on your own, you solve the blocks on your own.
You can of course, donate a percentual gain to a specific address with a coinbaser.
You can also run a miner and enter the donation addres sfrom ozcoin.
|
|
|
Most dont know that i guess but you can run a bucket white label brokerage with a simple financial srevice proider licence which can be optained between 2.5 and 30k USD depending on the jurisdication. Thats how unregulated brokers get founded, next step would be to get a regulation but i really dont now how hard its to get a regulation documents. There are indeed a lot of black sheeps out there but some are as stupid as black, 2 years ago i got fridays quotes on a sunday opening in forex, could have made a killing if i wasnt sucha noob back then xD.
|
|
|
|