Bitcoin Forum
July 17, 2018, 11:39:48 PM *
News: Latest stable version of Bitcoin Core: 0.16.1  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: cgminer API  (Read 1544 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"

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

Posts: 1531870788

View Profile Personal Message (Offline)

Ignore
1531870788
Reply with quote  #2

1531870788
Report to moderator
1531870788
Hero Member
*
Offline Offline

Posts: 1531870788

View Profile Personal Message (Offline)

Ignore
1531870788
Reply with quote  #2

1531870788
Report to moderator
1531870788
Hero Member
*
Offline Offline

Posts: 1531870788

View Profile Personal Message (Offline)

Ignore
1531870788
Reply with quote  #2

1531870788
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
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!