Pages:
Author

Topic: PoolServerJ - Tech Support - page 4. (Read 27532 times)

full member
Activity: 175
Merit: 102
December 16, 2011, 11:36:38 AM
#94
Has anyone added MS SQL support to PoolServerJ?

Because it uses JDBC this should be (almost) trivial as MS SQL is fully ODBC 92 compliant, just wondering if anyone's made the effort to actually write the associated bit of code.

I can dive in myself, I'm reasonably proficient in Java but I look to save time where possible Smiley

Also... shads.. you're outdoing yourself man... I'm very impressed with the built-in coinbasing & work generation now.  It eliminates almost all of the custom mods I had made to my version of bitcoind, which lowers my support profile and barrier to upgrades.

Really impressed here.
full member
Activity: 147
Merit: 100
PooL-X.eu
December 12, 2011, 11:50:34 AM
#93
have to vote on poolers suggestion it would be nice if worked with diff being lower then 1
hero member
Activity: 896
Merit: 1000
Buy this account on March-2019. New Owner here!!
December 01, 2011, 12:45:02 PM
#92
Quote
5619 [shared-httpclient-60] WARN org.eclipse.jetty.util.log - Unknown Security Realm: jsonrpc
5623 [shared-httpclient-60] WARN org.eclipse.jetty.util.log - Unknown Security Realm: jsonrpc
5627 [shared-httpclient-61] WARN org.eclipse.jetty.util.log - Unknown Security Realm: jsonrpc
[17:41:28.137] [WARN] Bad HTTP response connecting to auxDaemon http://localhost:8335.  Work generated from this AuxInfo will not be valid for chain: namecoin. HTTP response code: 401


Dunno what is wrong. Using 0.3.24.64 and get that. Password AND username are correct.

WorkMaker edition, pushpool compatibility is OFF

why not upgrade?

I may be able to help you but I need a little more info

do you want to send me your config?

send to [email protected] and I will see if anything pops out at me

are you using coinbassing? local work generation?

legendary
Activity: 1862
Merit: 1011
Reverse engineer from time to time
December 01, 2011, 12:43:25 PM
#91
This still does not answer my problem.
hero member
Activity: 896
Merit: 1000
Buy this account on March-2019. New Owner here!!
December 01, 2011, 11:26:29 AM
#90
So I thought about it for a sec and your right about the security issue and in that setup it's not needed to allow rpcallowip=* anyways. It's just a habit I got into when helping people to setup pools to skip over needless problems

So I finished polishing up the tutorial today

http://devtome.org/wiki/index.php?title=How_to_Setup_a_Merged_Mining_Bitcoin_Pool_with_PoolServerJ

I also included step by step instructions on how to access the database with phpmyadmin and add a worker.

Also if anyone would like to see a public pool in action that I setup check out

http://pool.devcoin.org

Of course it is for mining devcoins and not Bitcoins.



hero member
Activity: 896
Merit: 1000
Buy this account on March-2019. New Owner here!!
December 01, 2011, 09:57:49 AM
#89
I created a PoolserverJ tutorial
Why do the conf files for bitcoin/namecoin in the tutorial specify "rpcallowip=*". Doesn't this open the JSON-RPC port of the daemon for anyone to connect to? This gives access to 'sendtoaddress' and other commands for sending coins out of the wallet. Or am I missing something?

This is an interesting security concern you bring up and very valid. The idea of the tutorial is to be something for people who really have little or no idea what they are doing. It does not seem very plausible however that there are going to be people out there scanning IP addresses for open RPC ports to that may have used my tutorial. I tried to make it as fool proof as possible thus the reason for the *, people have different network setups and I am trying to eliminate needless problems and the possibility that this could turn into an actual security incident seems very remote to me.

I am doing some polishing up soon of this tutorial and I will take this in mind. Thank you.
hero member
Activity: 780
Merit: 510
Bitcoin - helping to end bankster enslavement.
December 01, 2011, 07:48:37 AM
#88
I created a PoolserverJ tutorial
Why do the conf files for bitcoin/namecoin in the tutorial specify "rpcallowip=*". Doesn't this open the JSON-RPC port of the daemon for anyone to connect to? This gives access to 'sendtoaddress' and other commands for sending coins out of the wallet. Or am I missing something?
You are correct DoubleC
However I do that but I have a firewall and I open up the port to the IP's I trust, in other words IP's I own and control.
legendary
Activity: 1078
Merit: 1005
December 01, 2011, 07:33:29 AM
#87
I created a PoolserverJ tutorial
Why do the conf files for bitcoin/namecoin in the tutorial specify "rpcallowip=*". Doesn't this open the JSON-RPC port of the daemon for anyone to connect to? This gives access to 'sendtoaddress' and other commands for sending coins out of the wallet. Or am I missing something?
hero member
Activity: 847
Merit: 507
December 01, 2011, 06:55:50 AM
#86
Any chance PoolServerJ will support difficulties less than 1?
I have tried setting it up for Litecoin (current difficulty is about 0.66), but with version 0.4.0rc2 all I get is a bunch of
Code:
com.google.bitcoin.core.VerificationException: Difficulty target is bad: 40474064220290374717375238241067511033434108403022755503819899011072
at com.google.bitcoin.core.Block.getDifficultyTargetAsInteger(Block.java:582)
hero member
Activity: 896
Merit: 1000
Buy this account on March-2019. New Owner here!!
November 27, 2011, 07:02:14 PM
#85
will do,

and thats mostly a rough draft I am polishing it up a bit more

Also just want to let you know I started from scratch when testing this tutorial to make sure everything worked the way I laid it out

I tested on a old dell with a Pentium 4 1.7 Ghz CPU and 256 mb ram

and PoolServerJ is mining on both BTC/NMC networks right now with no problems

talk about efficiency!
 Smiley
sr. member
Activity: 266
Merit: 254
November 27, 2011, 06:15:26 PM
#84
I created a PoolserverJ tutorial

anyone should be able to get PoolServerJ working if they follow this step by step:

http://devtome.org/wiki/index.php?title=How_to_Setup_a_Merged_Mining_Bitcoin_Pool_with_PoolServerJ

let me know what you think!

That's fantastic cablepair!  I'll put a link to it on the PSJ site and in the other thread. 

My only suggestion is that you point people to download page rather than linking to the specific versions.  I leave the old versions on the server so those links will be valid long after the psj version has incremented.
hero member
Activity: 896
Merit: 1000
Buy this account on March-2019. New Owner here!!
November 27, 2011, 11:26:17 AM
#83
I created a PoolserverJ tutorial

anyone should be able to get PoolServerJ working if they follow this step by step:

http://devtome.org/wiki/index.php?title=How_to_Setup_a_Merged_Mining_Bitcoin_Pool_with_PoolServerJ

let me know what you think!
legendary
Activity: 1862
Merit: 1011
Reverse engineer from time to time
November 23, 2011, 10:43:32 AM
#82
Quote
5619 [shared-httpclient-60] WARN org.eclipse.jetty.util.log - Unknown Security Realm: jsonrpc
5623 [shared-httpclient-60] WARN org.eclipse.jetty.util.log - Unknown Security Realm: jsonrpc
5627 [shared-httpclient-61] WARN org.eclipse.jetty.util.log - Unknown Security Realm: jsonrpc
[17:41:28.137] [WARN] Bad HTTP response connecting to auxDaemon http://localhost:8335.  Work generated from this AuxInfo will not be valid for chain: namecoin. HTTP response code: 401


Dunno what is wrong. Using 0.3.24.64 and get that. Password AND username are correct.

WorkMaker edition, pushpool compatibility is OFF
sr. member
Activity: 266
Merit: 254
November 23, 2011, 09:10:17 AM
#81
What is the difference between 0.3.X and a Workmaker edition? Also, do i really need the 4diff patch? Cause i am using 0.3.24(I can upgrade if the problem is resolved) on windows, and it would be a pain in the ass to compile Bitcoin(with or without gui) on windows.

The differences are all explained here: https://bitcointalksearch.org/topic/announce-poolserverj-workmaker-edition-released-040rc1-51226

It runs with vanilla bitcoin 0.5.0.  I've seen the rpc thread crash in bitcoind a few times in my test environment but I've never heard of it happening in a production environment so it could just be something peculiar to my setup.  I do put my poor little bitcoind through some pretty horrible contortions that probably don't happen on a normal pool setup.
legendary
Activity: 1862
Merit: 1011
Reverse engineer from time to time
November 23, 2011, 09:00:41 AM
#80
What is the difference between 0.3.X and a Workmaker edition? Also, do i really need the 4diff patch? Cause i am using 0.3.24(I can upgrade if the problem is resolved) on windows, and it would be a pain in the ass to compile Bitcoin(with or without gui) on windows.
sr. member
Activity: 266
Merit: 254
November 10, 2011, 09:38:00 AM
#79
ok smart and I have that problem fixed by using the mini binary shads posted


Poolserverj is starting now

we are getting this message:

[06:07:45.255] Exception in Cleaner Thread
java.lang.NullPointerException
        at com.shadworld.poolserver.workmaker.WorkMaker.update(WorkMaker.java:178)
        at com.shadworld.poolserver.source.merged.MergedMiningGroup.updateAuxes(MergedMiningGroup.java:249)
        at com.shadworld.poolserver.Cleaner.run(Cleaner.java:54)


and miners cannot connect

although sometimes it will say "retriving worker from database"

any ideas?

see: https://bitcointalksearch.org/topic/m.613256

can people please keep tech support questions specific to the workmaker release in that thread...

I'm thinking I might close the other threads and link them all to that one to keep it simple.
hero member
Activity: 896
Merit: 1000
Buy this account on March-2019. New Owner here!!
November 10, 2011, 09:09:33 AM
#78
ok smart and I have that problem fixed by using the mini binary shads posted


Poolserverj is starting now

we are getting this message:

[06:07:45.255] Exception in Cleaner Thread
java.lang.NullPointerException
        at com.shadworld.poolserver.workmaker.WorkMaker.update(WorkMaker.java:178)
        at com.shadworld.poolserver.source.merged.MergedMiningGroup.updateAuxes(MergedMiningGroup.java:249)
        at com.shadworld.poolserver.Cleaner.run(Cleaner.java:54)


and miners cannot connect

although sometimes it will say "retriving worker from database"

any ideas?
vip
Activity: 448
Merit: 252
November 10, 2011, 06:25:24 AM
#77
I would test to install PoolServerJ for merge mining but i have a problem and i dont know why ?

Namecoin Client running all Blocks Downloaded version 0.5
Bitcoin Client running all Blocks Downloaded version 0.5

Ubunut Version 10.11
PoolserverJ Version : poolserverj-0.4.0rc2
Mysql and all Daemons on the same server




but after start i get this

Quote
[03:18:03.560] Realm resolved null for key: localhost:8331/ Realm: jsonrpc
205349 [shared-httpclient-97] WARN org.eclipse.jetty.util.log - Unknown Security Realm: jsonrpc
[03:18:03.560] RETRY
[03:18:03.561] getblocknumber response status: 401 for url: http://localhost:8330/
[03:18:03.561] getblocknumber response status: 401 for url: http://localhost:8330/
[03:18:03.561] Realm resolved null for key: localhost:8331/ Realm: jsonrpc
205350 [shared-httpclient-229] WARN org.eclipse.jetty.util.log - Unknown Security Realm: jsonrpc
[03:18:03.562] RETRY
[03:18:03.562] Realm resolved null for key: localhost:8331/ Realm: jsonrpc
205351 [shared-httpclient-125] WARN org.eclipse.jetty.util.log - Unknown Security Realm: jsonrpc
[03:18:03.562] RETRY
[03:18:03.562] Realm resolved null for key: localhost:8331/ Realm: jsonrpc
205352 [shared-httpclient-82] WARN org.eclipse.jetty.util.log - Unknown Security Realm: jsonrpc
[03:18:03.563] RETRY
[03:18:03.563] getblocknumber response status: 401 for url: http://localhost:8330/
210667 [shared-httpclient-19] WARN org.eclipse.jetty.util.log - EXPIRED ContentExchange@1872384842=POST//localhost:8331/#8
[03:18:08.879] [WARN] Failed to build auxblock for chain: namecoin
java.lang.NullPointerException
   at com.shadworld.poolserver.source.merged.MergedMiningGroup.buildAuxBlock(MergedMiningGroup.java:262)
   at com.shadworld.poolserver.source.merged.MergedMiningGroup.updateAuxes(MergedMiningGroup.java:163)
   at com.shadworld.poolserver.Cleaner.run(Cleaner.java:54)
[03:18:08.879] [WARN] Reverting to rpc getauxblock for chain: namecoin
[03:18:33.480] getblocknumber response status: 401 for url: http://localhost:8330/
[03:18:33.485] Realm resolved null for key: localhost:8331/ Realm: jsonrpc
235274 [shared-httpclient-124] WARN org.eclipse.jetty.util.log - Unknown Security Realm: jsonrpc
[03:18:33.499] Realm resolved null for key: localhost:8331/ Realm: jsonrpc
235288 [shared-httpclient-70] WARN org.eclipse.jetty.util.log - Unknown Security Realm: jsonrpc

After start that checked all :

Quote
[03:45:31.932] Mapped parameter 1 to field 1 (remote_host)
[03:45:31.932] Mapped parameter 2 to field 2 (username)
[03:45:31.932] Mapped parameter 3 to field 3 (our_result)
[03:45:31.932] Mapped parameter 4 to field 4 (upstream_result)
[03:45:31.933] Mapped parameter 5 to field 5 (reason)
[03:45:31.933] Mapped parameter 6 to field 7 (time)
[03:45:31.933] Mapped parameter 7 to field 8 (source)
[03:45:31.933] Mapped parameter 8 to field 9 (block_num)
[03:45:31.933] Mapped parameter 9 to field 11 (useragent)
[03:45:31.935] Building Shares-DB-flush-engine: DefaultPreparedStatementSharesDBFlushEngine.class with extraParams: []
[03:45:31.936] Building Worker-authentication-engine: WorkerAuthenticator.class with extraParams: null
[03:45:31.979] Configuring aux daemon for WorkSource: bitcoind-mm
[03:45:31.979] Chain name: namecoin
[03:45:31.980] Chain id: 1
[03:45:31.980] Chain url: http://localhost:8331/
[03:45:31.980] Chain username: smart
[03:45:31.980] Chain payoutAddress: Mz3Qs4eDoE7USV8sjnCf8aATeHCJAtM5Zp
[03:45:31.980] Chain password: s***t
^C[03:45:32.343] Shutting down poolserver...
[03:45:32.343] Flushing cached shares...
[03:45:32.343] Flush shares cache complete...
[03:45:32.343] Waiting to complete upstream share submits...
[03:45:32.350] Finished upstream submits...
[03:45:32.350] Flushing final shares...
[03:45:32.365] 0 shares in 1,320,925,568 seconds. Current hashRate: 0 GH/s
[03:45:32.365] Submit Throttling on: false
[03:45:32.365] All share submits flushed...
[03:45:32.366] Waiting for threads to die...
[03:45:32.367] Dumping workmap to file: /home/smart/Downloads/poolserverj-0.4.0rc2/tmp/workmap-8332.bin
2449 [main] INFO org.eclipse.jetty.util.log - jetty-7.4.0.v20110414
2768 [main] INFO org.eclipse.jetty.util.log - started o.e.j.s.ServletContextHandler{/,null}
2869 [main] INFO org.eclipse.jetty.util.log - Started [email protected]:8332 STARTING
2873 [main] INFO org.eclipse.jetty.util.log - jetty-7.4.0.v20110414
2873 [main] INFO org.eclipse.jetty.util.log - started o.e.j.s.ServletContextHandler{/,null}
2907 [main] INFO org.eclipse.jetty.util.log - Started [email protected]:8997 STARTING
[03:45:32.919] Starting local work source proxy: bitcoind-mm

whats wrong ? any idea ?

i can need help to configure this -.- ....  pushpoold works without problems but i need a java version Tongue



best regards
Smart
sr. member
Activity: 291
Merit: 250
BTCRadio Owner
November 06, 2011, 10:18:25 PM
#76
WOW! Thank you!!

 I'm about to start my Litecoin pool, in portuguese for the brazillian people...

 Would love to use PoolServJ instead of PushPool...

Regards,
Thiago

I second that statemment, psj with scrypt compatibility would be extremely helpful for those of us who think "psj 0wnz pp in the face :O"
legendary
Activity: 1204
Merit: 1000
฿itcoin: Currency of Resistance!
November 06, 2011, 10:09:19 PM
#75
And about being SCrypt compatible?!
Maybe this can be a major problem?!
Pages:
Jump to: