Pages:
Author

Topic: Utility for checking IXCoin difficulty amongst other things, within the client - page 2. (Read 2946 times)

legendary
Activity: 1022
Merit: 1001
I care, but use getinfo.

Agreed. I did run it but Im not sure what this utility provides that the command line doesnt?
hero member
Activity: 812
Merit: 502
I care, but use getinfo.
full member
Activity: 168
Merit: 100
Seriously?

So I suppose no one cares about IXCoin difficulty
full member
Activity: 168
Merit: 100
Download here



THIS WORKS FOR BITCOIN TOO, you will just have to change all IXCoin variables to Bitcoin in the DOS code

Installation instructions:
1. Download .bat file
2. Right click-->edit
3. Change "IXCoindirectoryhere" to the program files directory of IXCoin. For example, mine is F:\IXCoin:
Code:
set LOCATION=F:\IXCoin
4. Go to IXCoin.conf and add the following to the end of the code:
Code:
server=1
5. Done. Run batch file.

MS-DOS Code:

Code:
@ECHO OFF
set LOCATION=IXCoindirectoryhere
set PING=PING 1.1.1.1 -n 1 -w 700
set LONGPING=PING 1.1.1.1 -n 1 -w 1000
set tempfile=%HOMEDRIVE%\getinfo.txt
tasklist > %tempfile%
ECHO Checking if IXCoin is open...
%PING% > nul
type %tempfile% | find /i "ixcoin.exe" > nul
IF %ERRORLEVEL%==0 (
ECHO IXCoin is open
goto :open
) ELSE (
ECHO IXCoin is closed
goto :close
)

:open
%PING% > nul
ECHO Getting info...
start /d "%LOCATION%" ixcoin.exe getinfo
%PING% > nul
echo Y|del %TEMPFILE% > nul
exit

:close
%PING% > nul
ECHO Starting IXCoin in server mode...
start /d "%LOCATION%" ixcoin.exe -server
%PING% > nul
ECHO Waiting...10 seconds
%LONGPING% > nul
ECHO Waiting...9 seconds
%LONGPING% > nul
ECHO Waiting...8 seconds
%LONGPING% > nul
ECHO Waiting...7 seconds
%LONGPING% > nul
ECHO Waiting...6 seconds
%LONGPING% > nul
ECHO Waiting...5 seconds
%LONGPING% > nul
ECHO Waiting...4 seconds
%LONGPING% > nul
ECHO Waiting...3 seconds
%LONGPING% > nul
ECHO Waiting...2 seconds
%LONGPING% > nul
ECHO Waiting...1 seconds
%LONGPING% > nul
ECHO Getting info...
start /d "%LOCATION%" ixcoin.exe getinfo
%PING% > nul
echo Y|del %TEMPFILE% > nul
exit
Pages:
Jump to: