Bitcoin Forum
April 27, 2018, 03:33:20 AM *
News: Latest stable version of Bitcoin Core: 0.16.0  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: cgminer API  (Read 1541 times)
unicore
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
February 19, 2014, 04:33:41 AM
 #1

День добрый. Просьба помочь подсказкой.
cgminer версии 3.7.2 подключаюсь по tcp протоколу для использования API майнера.
Настройки в конфиге такие:

"api-listen" : true,
"api-network" : true,
"api-port" : "4028"

В итоге, после первой отправки любой команды, майнер на нее отвечает и закрывает сокет.
Что нужно прописать в конфиге майнера, что бы он не разрывал подключение после каждого ответа?
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1524800000
Hero Member
*
Offline Offline

Posts: 1524800000

View Profile Personal Message (Offline)

Ignore
1524800000
Reply with quote  #2

1524800000
Report to moderator
1524800000
Hero Member
*
Offline Offline

Posts: 1524800000

View Profile Personal Message (Offline)

Ignore
1524800000
Reply with quote  #2

1524800000
Report to moderator
1524800000
Hero Member
*
Offline Offline

Posts: 1524800000

View Profile Personal Message (Offline)

Ignore
1524800000
Reply with quote  #2

1524800000
Report to moderator
grizscom
Sr. Member
****
Offline Offline

Activity: 248
Merit: 250


View Profile WWW
February 20, 2014, 01:04:09 PM
 #2

Что говорит дебаг майнера при обращении/краха?

http://ethereumpool.co/ - Stable, fair & transparent Ethereum mining pool
johnyquest
Full Member
***
Offline Offline

Activity: 175
Merit: 100



View Profile WWW
February 21, 2014, 08:38:56 AM
 #3

я бы добавил ещё "api-allow" : "W:192.168.1/24,127.0.0.1"
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!