Author

Topic: blkmond dies after a minute or so (Read 2301 times)

legendary
Activity: 1204
Merit: 1000
฿itcoin: Currency of Resistance!
November 06, 2011, 05:43:17 PM
#7
try poolserverj... it uses a combination of prev_blcok_hash comparisons and getblocknumber polling which works perfectly well (yes it might cost you a few ms but it's a hell of a lot more reliable and you make up the loss with much faster LP delivery anyway) so no need for blockmond.  It also has an alpha native LP implementation you can use JK patched bitcoind.  Will be working on stabilising that a bit more shortly but from reports I've heard it's working well.

Mmm... Sounds great! I'll give it a try.

Weel, I'll start my own Litecoin pool, based on PoolServerJ but, what Web Interface do you recommends?! mmcFE, SimpleCoin, MiningFarm or Coinmines?

I like mmcFE and the Litecoin pool http://pool-x.eu/ is based on it plus pushpool... I don't know how they did it (litecoin + longpool / pushpool + mmcFE) because blkmond does not work with Litecoin...

Anyway, time to go to PoolServerJ now.

Best!
Thiago
sr. member
Activity: 266
Merit: 254
November 06, 2011, 04:44:48 AM
#6
try poolserverj... it uses a combination of prev_blcok_hash comparisons and getblocknumber polling which works perfectly well (yes it might cost you a few ms but it's a hell of a lot more reliable and you make up the loss with much faster LP delivery anyway) so no need for blockmond.  It also has an alpha native LP implementation you can use JK patched bitcoind.  Will be working on stabilising that a bit more shortly but from reports I've heard it's working well.
legendary
Activity: 1204
Merit: 1000
฿itcoin: Currency of Resistance!
November 06, 2011, 03:33:04 AM
#5
Hi!

 I'm trying to setup my own Bitcoin / Litecoin pool...

 Same problem here... But, with bitcoind (0.4.0), no problems. This problem appear when I run blkmon with Litecoin.

 Does anybody knows it I need blkmon to make a pool with longpool support enabled using pushpool / litecoin?

Best!
Thiago
hero member
Activity: 780
Merit: 510
Bitcoin - helping to end bankster enslavement.
August 06, 2011, 06:21:07 PM
#4
I'm trying to set up long polling on a new pool but for some reason blkmond stops after it has only been running for a minute or two.  This is happening both on testnet and mainnet.  Everything else is working fine.  To start blkmond I'm using:
Code:
./blkmond blkmon.cfg &
where blkmon.cfg contains (when bitcoind is running against mainnet):
Code:
host=127.0.0.1
port=8333
pid=/MYPATH-TO/pushpoold.pid

and when testing against testnet
Code:
host=127.0.0.1
port=18333
pid=/MYPATH-TO/pushpoold.pid

(In the above examples I've replaced the actual path to the pushpool.pid with MYPATH-TO ).


This is the output that I'm getting (from testnet as an example):
Code:
send msg_version(nVersion=312 nServices=1 nTime=Wed Jun 15 00:32:43 2011 addrTo=CAddress(nServices=1 ip=127.0.0.1 port=18333) addrFrom=CAddress(nServices=1 ip=0.0.0.0 port=0) nNonce=0xC6AB017501B82BD9 strSubVer=.4 nStartingHeight=-1)
connecting
connected
close
close

Has anyone experienced this or have any ideas?


To make it work set the port from 18333 to 8332 or whatever port is set in bitcoin.conf as the RPC port for JONS

It worked for me.  Only figured that out after reading the source code.
legendary
Activity: 1596
Merit: 1012
Democracy is vulnerable to a 51% attack.
July 16, 2011, 09:26:50 PM
#3
Bullethead21 and anyone else with similar problems with blkmond, it seems JoelKatz's patch for bitcoind should get long poling working for us.
Yep. That patch eliminates the need for blkmond. If you want the full patch set, including a variety of other performance improvements specifically aimed at pooled mining controllers, see this link:
http://davids.webmaster.com/~davids/bitcoin-4diff.txt
(This is based against 0.3.24 now and includes a few more micro-optimizations.)
full member
Activity: 127
Merit: 100
July 16, 2011, 08:18:02 AM
#2
Bullethead21 and anyone else with similar problems with blkmond, it seems JoelKatz's patch for bitcoind should get long poling working for us.
full member
Activity: 127
Merit: 100
June 14, 2011, 07:45:05 PM
#1
I'm trying to set up long polling on a new pool but for some reason blkmond stops after it has only been running for a minute or two.  This is happening both on testnet and mainnet.  Everything else is working fine.  To start blkmond I'm using:
Code:
./blkmond blkmon.cfg &
where blkmon.cfg contains (when bitcoind is running against mainnet):
Code:
host=127.0.0.1
port=8333
pid=/MYPATH-TO/pushpoold.pid

and when testing against testnet
Code:
host=127.0.0.1
port=18333
pid=/MYPATH-TO/pushpoold.pid

(In the above examples I've replaced the actual path to the pushpool.pid with MYPATH-TO ).


This is the output that I'm getting (from testnet as an example):
Code:
send msg_version(nVersion=312 nServices=1 nTime=Wed Jun 15 00:32:43 2011 addrTo=CAddress(nServices=1 ip=127.0.0.1 port=18333) addrFrom=CAddress(nServices=1 ip=0.0.0.0 port=0) nNonce=0xC6AB017501B82BD9 strSubVer=.4 nStartingHeight=-1)
connecting
connected
close
close

Has anyone experienced this or have any ideas?
Jump to: