Bitcoin Forum
May 04, 2024, 07:32:28 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: BGF 5.4.0 & solo litecoin mining . NEED HELP  (Read 1453 times)
andro1970 (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
November 12, 2015, 04:46:48 AM
 #1

Good afternoon !
I appreciate that very much has been written about this FAQ, but my experience tells me that everything is written there that long ago when the check and then simply movedt of the forum in the forum and nobody cares about how to check all this. I decided to try to implement solo mining on windows 7 x64 and want to share what came of it.
So. Username computer "OTC". It has administrator privileges

0. Download Litecoin Core win x64
1. C:\Users\OTK\AppData\Roaming\Litecoin\litecoin.conf
---------- start ---------

server=1
rpcuser=lite
rpcpassword=123
rpcport=9332
gen=0

----------- end -----------
rpcallowip not need.  By default, only RPC connections from localhost are allowed (https://litecoin.info/Litecoin.conf)

2. restart Litecoin Core client.  server=1 tells Litecoin-QT to accept JSON-RPC commands.
3. download bfgminer 5.4.0 x64. Start if
bfgminer --scrypt -o http://127.0.0.1:9332 -u lite -p 123
Result:
[2015-11-12 09:09:59] Probing for an alive pool
[2015-11-12 09:10:04] Pool 0 slow/down or URL or credentials invalid
[2015-11-12 09:10:04] No servers were found that could be used to get work from.
[2015-11-12 09:10:04] Please check the details from the list below of the servers you have input
[2015-11-12 09:10:04] Most likely you have input the wrong URL, forgotten to add a port, or have not set up workers
[2015-11-12 09:10:04] Pool: 0  URL: http://127.0.0.1:9332  User: lite  Password: 123
Show Wireshark capture:

POST / HTTP/1.1
Authorization: Basic bGl0ZToxMjM=
Host: 127.0.0.1:9332
Accept: */*
Accept-Encoding: deflate, gzip
Content-type: application/json
X-Mining-Extensions: longpoll midstate rollntime submitold
Content-Length: 44
User-Agent: bfgminer/5.4.0

{"method": "getwork", "params": [], "id":0}
[2032 bytes missing in capture file]

HTTP/1.1 404 Not Found
Date: Thu, 12 Nov 2015 03:22:31 +0000
Connection: close
Content-Length: 76
Content-Type: application/json
Server: litecoin-json-rpc/v0.10.2.2

{"result":null,"error":{"code":-32601,"message":"Method not found"},"id":0} 



Litecoin Core not accept "getwork".
Correct bfgminer command
bfgminer --scrypt --no-getwork -o http://127.0.0.1:9332 -u lite -p 123

Wireshark Result:

POST / HTTP/1.1
Authorization: Basic bGl0ZToxMjM=
Host: 127.0.0.1:9332
Accept: */*
Accept-Encoding: deflate, gzip
Content-type: application/json
X-Mining-Extensions: longpoll midstate rollntime submitold
Content-Length: 235
User-Agent: bfgminer/5.4.0

{"id": 0, "method": "getblocktemplate", "params": [{"capabilities": ["coinbasetxn", "workid", "longpoll", "coinbase/append", "time/increment", "version/force", "version/reduce", "submit/coinbase", "submit/truncate"], "maxversion": 3}]}HTTP/1.1 200 OK
Date: Thu, 12 Nov 2015 04:20:49 +0000
Connection: keep-alive
Content-Length: 6673
Content-Type: application/json
Server: litecoin-json-rpc/v0.10.2.2

{"result":{"capabilities":["proposal"],"version":3,"previousblockhash":"88fef5ec90be29fb9ce4bee0646cb0d2eeab91727913f02bef2f616286f080d0","transactions":[{"data":"01000000014578870791937ad65be9acf6c6b92bd8fb4f023abad2f275f1141ad6ab1c6fc801000 000da0047304402206c7af2d4cf075661c3391ab6ae37a45000346f9a65e383d8897f1b13136432 0c022023897d29dcecc06bf759ffe55544568bd664204d7e946b4c372981f7363a6ea7014830450 22100f9f455bc711e4e8cda67e7feb3463ac1d58f1feeeb5a735bde02ca7e94fe434c02200e69f7 7981e5a81f6a62c1cc3ec2f6ec150314c956f3e3a1e4fb936afda378f10147522102f8a0171001e 4c33563f160d3ffdea0d34a953f72e3dfa8422d1e494afed097a521024c5babb50a45fa030e7569 961eacbb15f7d2c78798dae35f942366fe15fa6d5352aeffffffff020095ba0a000000001976a91 4a1614cc8b7c54c521bca8a7519fb05fc253c39a888ac00be0f986700000017a9143633995b6c05 965f11552b32567ff3ff4e2a2c628700000000","hash":"3e17bca8bee69df93c226338d79ac332b63cab1a74218c1f568020c9ae6535a4","depends":[],"fee":100000,"sigops":3},{"data":"01000000117cc3f689976b083250bc6c7d90cb4bdf913cdee67ef951d0d3b2cd9ad0cec7a456000 0006b483045022100ed5820faf3fbf1b818d0d00c590e5c01dd53f2b0ee0aa6e0a262a14ffc3769 8002201e98436dc24c86219a4f7c5123e3accc024fdb3be741506bc8e12909af7603a8012102f76 f5d5f6c1ffbce61c850eaa5adea5d9f33b38e44a49032dd3b35dbbd20f750ffffffff369ec82e58 778597fff18723ae442b2ca2742239b2a79ec301cc2aa45a1a74b5000000006a47304402200f238 5e6a00aef796bc1592891b7d838e86c6ca3d1030f4003b7f21a7b81742802204be6fd4e8551a566 21496adea5e7661e180506abd5c20282f5048cd9cd7aa7b60121037e3c9cb8648ba94f0785d1101 76032f99e5bcb31c9fe07b7a0c123e4b485673dffffffffd9ad90b75f1f4f533658f10e53853c6e 5bb4a6826b8510a3151476cde7dfe6a8450000006a473044022010b61503a1815cd92a8b2853fcc 40c3023784502de867f46eab0589d8cb5c1a102202b6dd3ca4be529f9f8d9113cf2a350a3ccb787 bf8dae21f3c3ed78d04b7ee7cd0121030c4bf74c8a28ab974c837c3cf384cf808916c1270cc8286 ba53177f2e4d851cbffffffff8fa7511015132216d14dc58ceba95ad5da33485729b90cdf21e004 8ba157fd93470000006b483045022100ce28134a811d44065b319ec00bdb83f86d7fb9910022182 3ebc6d264db99605d02205b6e363fe5e845cef9e8daeb73674df434d3b10507aa799f6611489da4 acff51012103bcfb1ee2791bd54d75c11386e600490a902758ba0a940f78f1daaa3d48866f99fff fffff8fa7511015132216d14dc58ceba95ad5da33485729b90cdf21e0048ba157fd934c0000006a 473044022053742c3ef04808bf81f1160fd564ecd7d2db3d8ced1261102029f89b88e741f002207 8af0d789dfab7247f5e145925430c7cc92175ccb26547beec982821aeadcca30121020842d106d9 63e40f1eb106a233cf6b0e78454c76d22780338b159d4c3f54f988ffffffffafb5bb2a5850065b2 f3cd3ab858e52ca882c93fcd96e781e83a5b8c20464ec67950000006b483045022100eb499c747f 457b5b5ed0104913eb6716c611b19c7ea05f68c1363b4e3786d8af022046b42c82ac8cbf199a65f 34f84fc8a8b92a6fb673dcbd55a9c60cd803f47a90a01210385978acc9d61a6300da2f99285945e 12686ee85cd6128571f2406d0cec6615caffffffffc127d54b8d2d1d36dfb1f6c465d7934f900c1 831fb0a16be2b0c321b51d6e12e340000006b483045022100c7f4cc0958fcfbe3df70c65cbfa4f9 b697fcc1a425e73305f9bd4e241ba809b30220293507361ce68ce3a6cc599a8a5f57c29c9bcc6b2 3d6985f4417537616395a1b0121027e9a4edf0c87133a859aecc30a3eefb80c5374bb432efd8eb2 c67733a646e929ffffffff0bde8bbdb3405983af9e9199bf3f7c62246581111c108704a9e5c898e 82d0ea2000000006b483045022100f4fb125d2e6628f79125840eb875ad2f137318b9198f249164 386d0addc1f88702204ba3a6fe1baed962b08063e6228793a30330f5e2e69ffb1e9395e78dcfe53 8c4012102cde37fafa9983d3dbe207d1e4681beb167e40130fec014a539c1de1ea9f0e02dffffff ff0b4910bfbe12085d412dd00817f713113422578ad62722248367390ee6bfce74190000006a473 04402200d108ec812dfe22efded8278aba7c82e27f87e0bb8fccf69f8938f74763e103f02202d9c cb6c0cc091e1e3574d47a11765d8d7e6d50e0ce621754ec98d1fba6c6296012103435a8fe0f2a48 dc2c85a9c6fe17cc19ac83ed3a6fb87d0629768bca39ebc9f4effffffff787b5af72b4dda9d8edb 049b96231b0cdc779dd8714a803059863dbb346004c2200000006b483045022100fe52b6ed4678c f0fdb62be9f26533047dde666357177b5553bce3ff0a3564d50022064c0fa37119fec0895116921 b347684dc846eafdc1f28d005d7e448eb8f608ae01210373dae96e9726ca8ad0cc6d5ac4454aacf 48b3d31105b7711d196e5f90ed49fc8ffffffffd465a0673e170fd384a06a1606f289c6d802bf2c d0994674092e8c70f4e4a5eb9d0000006b483045022100bc6484e8dde881ca741444c6952d3e0b3 6082cd67e09ff4bf21a01777650277f02205e4110eb093591498df2d5697761e2b9effb9c25db86 54e27da38e928c9ccf2d0121031771147ed44a11e7542171ca26f2a1250810789252a03a58ebe64 1a9c63fe0bbffffffffd0dbe809a8825f3aed8bfe30029ca7e78c6f3e8ae83ec78ee1dc73b8caf7 8db4000000006b483045022100a0f2a3bbe593f472957b86799b5c9f554bfe2ccfdbc3bdd1ed326 0ec4efe837d0220233a6ce9c502e7ed0f46fb5a297e8029374a8f76e50b6c3c7e0a0d883d5c1f8b 012103844d8261f81e70ddc9c8f03790494fb313a26350f384a02d679a0e0ccf057688ffffffff5 9660b7ddc03eeeebf87e60ecf456e173f67d6f57e6d1c05ea1b8c0761239527010000006a473044 022006af6809ed1e5597676710441f2b281e9721701fdfb02475d266f86ca0948cb50220167ae04 ca7ecf2716d95e230144c350f433d446b4ae81d5c2d2512a4b4a9bbf3012102c0ef38be1d121ed3 740c3151725d5db850e2c87231084a646f175ad9a94f2d32ffffffff335241abaad0e382b8d9b49 d874bb905c372f44a30e888139858bab9f1ea8ae4010000006b483045022100d509e7d80c58d859 a2ae48a7da78a64b71bbe81bcd273798e3c104ec4aaac43d022000a844a2af805416fd09e3c0e0a 177be7104f191ec3a0232ad1e17fc864c2c50012103f6f05d32eccb9b04ecf5c458b88208b0983a 514b5259b12b96c62ccaa840562bffffffff4bcfae514b5cd0efcb1fb4281be11a4a94c841a4b56 92ad3076a5b9cd2c4d6cd000000006b4830450221009dc25a34147da68d88e403d644374ebfeab2 512e1933792bb1abd2f7761e5c9202202a969fabf2f96bb3e2841196ed6777beef70b6807010572 b3e69511b4d6a6835012102ec0d4ce0542b153b726cd6c58abafe4f83dd3ea0acfc8a72458ce4c4 bbb77e9dffffffff5e5744581e47bfa40cfffaf1f15036fe04a885d9ab46b5188ef0f2fe86c5f4c 1000000006a47304402205977203b48ba07bd97ba5bdb8fc3367660a37567feb88d9b9050adcc39 5ad7ee022060c75306753f5fbb5291c6ea56c859ad3a8556f0a23cc05ab7c6f0c43bcbb09601210 22d8dfdc1dfb5d1b3ba9225dc33df098c8e5a498dcbe29cc6ec5fb5257fc88860ffffffffce277e e41c79f8ef685e4510171ce9f7bf2471bb3f15dcc5c882b6ed0a05cd96000000006a47304402204 3939171dfa47d12d0d819cfdd3e167099446db42a1a6de8b057ec0b9410997a02205eaae1448d7a 6b49695d591f82af7cb64ce527ffcf46df7b40133a9aceeb307101210280640dfafefbf29f5741f 05e99630a8a6b2e8b1231a667293fd4f3ab468784f9ffffffff02104efc09000000001976a91451 24f71801383b8b0a6eda2a16aecc2f674cd63b88ac49420f00000000001976a91488602f9c554b8 4ace74e6045e705245cc72f48de88ac00000000","hash":"11cad39db32a4f0a34aac79f3fc1f8b821b775fdbbf2a1e3a55383aaca19d950","depends":[],"fee":900000,"sigops":2}],"coinbaseaux":{"flags":""},"coinbasevalue":2501000000,"longpollid":"88fef5ec90be29fb9ce4bee0646cb0d2eeab91727913f02bef2f616286f080d0708","target":"0000000000015688000000000000000000000000000000000000000000000000","mintime":1447300813,"mutable":["time","transactions","prevblock"],"noncerange":"00000000ffffffff","sigoplimit":20000,"sizelimit":1000000,"curtime":1447302042,"bits":"1b015688","height":885239},"error":null,"id":0}

Bfgminer result:

 [2015-11-12 10:23:12] Probing for an alive pool
 [2015-11-12 10:23:12] Testing pool http://127.0.0.1:9332
 [2015-11-12 10:23:13] No servers were found that could be used to get work from.
 [2015-11-12 10:23:13] Please check the details from the list below of the servers you have input
 [2015-11-12 10:23:13] Most likely you have input the wrong URL, forgotten to add a port, or have not set up workers
 [2015-11-12 10:23:13] Pool: 0  URL: http://127.0.0.1:9332  User: lite  Password: 123
 [2015-11-12 10:23:13] Press any key to exit, or BFGMiner will try again in 15s.


What is the problem ? Help me please !!! my brain is hacked Smiley

p.s.
Coвceм кoпeц кopoчe !
1714851148
Hero Member
*
Offline Offline

Posts: 1714851148

View Profile Personal Message (Offline)

Ignore
1714851148
Reply with quote  #2

1714851148
Report to moderator
1714851148
Hero Member
*
Offline Offline

Posts: 1714851148

View Profile Personal Message (Offline)

Ignore
1714851148
Reply with quote  #2

1714851148
Report to moderator
1714851148
Hero Member
*
Offline Offline

Posts: 1714851148

View Profile Personal Message (Offline)

Ignore
1714851148
Reply with quote  #2

1714851148
Report to moderator
There are several different types of Bitcoin clients. The most secure are full nodes like Bitcoin Core, but full nodes are more resource-heavy, and they must do a lengthy initial syncing process. As a result, lightweight clients with somewhat less security are commonly used.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714851148
Hero Member
*
Offline Offline

Posts: 1714851148

View Profile Personal Message (Offline)

Ignore
1714851148
Reply with quote  #2

1714851148
Report to moderator
tanoury
Full Member
***
Offline Offline

Activity: 235
Merit: 100



View Profile
November 13, 2015, 06:56:26 PM
 #2

I'm not sure if this will help, but you can try adding this to your litecoin.conf :

Quote
daemon=1
rpcconnect=127.0.0.1
rpcallowip=192.168.1.71 <change this to your computers IP
tanoury
Full Member
***
Offline Offline

Activity: 235
Merit: 100



View Profile
November 13, 2015, 11:58:39 PM
 #3

One more thought, just in case the litecoin.conf is not being read, you can start litecoin-qt like this:

Quote
litecoin-qt.exe -server=1 -rpcuser=lite -rpcpassword=123 -rpcconnect=127.0.0.1 -rpcport=9332 -gen=0
freemanjackal
Sr. Member
****
Offline Offline

Activity: 378
Merit: 250


View Profile
July 11, 2017, 05:04:38 PM
 #4

i am trying to test litecoin 0.13 with bfgminer and getting the same error that OP, bfgminer with cpu and scrypt enabled just for testing(non profitable i know), no pool.
any thoughts?Huh/
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!