Bitcoin Forum
May 08, 2024, 07:57:25 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: getdifficulty with Visual Basic  (Read 806 times)
Ginsley (OP)
Full Member
***
Offline Offline

Activity: 234
Merit: 114


View Profile
December 22, 2013, 07:13:09 PM
 #1

Hi,

as i have no clue, how to gather data from a coins daemon, i wanted to ask here, if and how it is possible to do so.

I am running the daemon of EmeraldCoin (emeraldd) on my local system.
RPC-Port is set to port 9050 - local mining on this port works fine.

By running "emeraldd getdifficulty" from the command-line, i get the latest difficulty value.

Now i want to "ask" emeraldd from within a Visual Basic program for its latest difficulty.

1. Is that possible? (i think so)
2. How can i do that? I googled for several hours, but havnt found something usable (or i did not understand it properly).

I hope, someone can help me with that. Thanks in advance.

1HYeuyxKHGmFs1ARvAPGgmEW9pW6u8L26U
1715155045
Hero Member
*
Offline Offline

Posts: 1715155045

View Profile Personal Message (Offline)

Ignore
1715155045
Reply with quote  #2

1715155045
Report to moderator
1715155045
Hero Member
*
Offline Offline

Posts: 1715155045

View Profile Personal Message (Offline)

Ignore
1715155045
Reply with quote  #2

1715155045
Report to moderator
1715155045
Hero Member
*
Offline Offline

Posts: 1715155045

View Profile Personal Message (Offline)

Ignore
1715155045
Reply with quote  #2

1715155045
Report to moderator
Make sure you back up your wallet regularly! Unlike a bank account, nobody can help you if you lose access to your BTC.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715155045
Hero Member
*
Offline Offline

Posts: 1715155045

View Profile Personal Message (Offline)

Ignore
1715155045
Reply with quote  #2

1715155045
Report to moderator
ebildude123
Full Member
***
Offline Offline

Activity: 223
Merit: 100


View Profile
December 23, 2013, 01:54:13 AM
 #2

http://stackoverflow.com/questions/18482179/capture-a-dos-command-response-into-a-string
Change to make it work accordingly for you.
Ginsley (OP)
Full Member
***
Offline Offline

Activity: 234
Merit: 114


View Profile
December 23, 2013, 10:45:38 AM
 #3

thanks alot!! that will help.

1HYeuyxKHGmFs1ARvAPGgmEW9pW6u8L26U
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!