Bitcoin Forum
May 25, 2024, 10:18:24 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: blocknotify - yiimp  (Read 669 times)
theonlyone (OP)
Newbie
*
Offline Offline

Activity: 17
Merit: 0


View Profile
February 22, 2018, 05:06:49 AM
 #1

I'm trying to setup a pool on yiimp and having issue with blocknotify. Yiimp is in one server while daemon is in another server.

in server A ip: 1.1.1.1 yiimp is installed

in server B ip: 2.2.2.2 daemon is installed

Even though block is found however blocknotify doesn't seem to work, I doubt because bitcoin.conf file is in daemon's B server while actual pool script is on server A.

Here is the line I added to daemon's conf file at server B: 2.2.2.2

Code:
blocknotify=blocknotify 1.1.1.1:4233 307 %s 

any idea why blocknotify isn't not working? Do I need to make any changes in above line to make blocknotify work from daemon's B server to intimate server A.

PS. I'm using Linux, Ubuntu 16.04.3
 
jrian
Jr. Member
*
Offline Offline

Activity: 39
Merit: 6


View Profile
February 23, 2018, 12:50:36 PM
 #2

where is your blocknotify  executable located?
try to use full path

Code:
blocknotify=/path/to/blocknotify 1.1.1.1:4233 307 %s 
theonlyone (OP)
Newbie
*
Offline Offline

Activity: 17
Merit: 0


View Profile
February 23, 2018, 08:39:37 PM
 #3

Thanks perfect Smiley
shmocs
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
November 27, 2018, 10:37:26 PM
 #4

perfect meaning what ?
meaning that blocknotify HAS to be present on the B server, where the coin daemon is, so that it can access physically (by disk path) this compiled executable. Not on the A server where you said it is present.

So to summarize:

in server A ip: 1.1.1.1 yiimp is installed

in server B ip: 2.2.2.2 daemon is installed <- this is where blocknotify script must exist in order to work.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!