Bitcoin Forum
January 22, 2018, 07:03:10 AM *
News: Electrum users must upgrade to 3.0.5 if they haven't already. More info.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: cgminer API  (Read 1534 times)
unicore
Newbie
*
Offline Offline

Activity: 10


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"

В итоге, после первой отправки любой команды, майнер на нее отвечает и закрывает сокет.
Что нужно прописать в конфиге майнера, что бы он не разрывал подключение после каждого ответа?
1516604590
Hero Member
*
Offline Offline

Posts: 1516604590

View Profile Personal Message (Offline)

Ignore
1516604590
Reply with quote  #2

1516604590
Report to moderator
1516604590
Hero Member
*
Offline Offline

Posts: 1516604590

View Profile Personal Message (Offline)

Ignore
1516604590
Reply with quote  #2

1516604590
Report to moderator
1516604590
Hero Member
*
Offline Offline

Posts: 1516604590

View Profile Personal Message (Offline)

Ignore
1516604590
Reply with quote  #2

1516604590
Report to moderator
"Bitcoin: the cutting edge of begging technology." -- Giraffe.BTC
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1516604590
Hero Member
*
Offline Offline

Posts: 1516604590

View Profile Personal Message (Offline)

Ignore
1516604590
Reply with quote  #2

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

Activity: 248


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



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!