Bitcoin Forum
May 14, 2024, 09:58:01 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: cgminer API  (Read 1636 times)
unicore (OP)
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
February 19, 2014, 04:33:41 AM
Last edit: February 19, 2014, 05:58:04 AM by unicore
 #1

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

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

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

Posts: 1715680681

View Profile Personal Message (Offline)

Ignore
1715680681
Reply with quote  #2

1715680681
Report to moderator
1715680681
Hero Member
*
Offline Offline

Posts: 1715680681

View Profile Personal Message (Offline)

Ignore
1715680681
Reply with quote  #2

1715680681
Report to moderator
"With e-currency based on cryptographic proof, without the need to trust a third party middleman, money can be secure and transactions effortless." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715680681
Hero Member
*
Offline Offline

Posts: 1715680681

View Profile Personal Message (Offline)

Ignore
1715680681
Reply with quote  #2

1715680681
Report to moderator
1715680681
Hero Member
*
Offline Offline

Posts: 1715680681

View Profile Personal Message (Offline)

Ignore
1715680681
Reply with quote  #2

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

Activity: 245
Merit: 256


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: 169
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:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!