Bitcoin Forum
May 05, 2024, 08:14:13 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 [64] 65 66 67 68 69 70 71 »
  Print  
Author Topic: An (even more) optimized version of cpuminer (pooler's cpuminer, CPU-only)  (Read 1958268 times)
albert_seandhils
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
November 12, 2017, 05:28:24 PM
 #1261

Very new here.

I know that is crazy, but i need a miner that just try one value.
Don't wan't to loop for each possible nonce, just try my value then wait next block.

My candidates changes are in cpu-miner.c

1106 static void *miner_thread(void *userdata)
1107 {
1108         struct thr_info *mythr = userdata;
1109         int thr_id = mythr->id;
1110         struct work work = {{'5','6'}}; // WAS struct work work = {{0}};

Then modify the max_nonce, somewhere here :
1202                 if (work.data[19] + max64 > end_nonce)
1203                         max_nonce = end_nonce;
1204                 else
1205                         max_nonce = work.data[19] + max64;
1206                 // ADDING SOMETHING HERE TO FORCE the max_nonce

But what value must i put in max_nonce ?

Thank you ...
1714940053
Hero Member
*
Offline Offline

Posts: 1714940053

View Profile Personal Message (Offline)

Ignore
1714940053
Reply with quote  #2

1714940053
Report to moderator
1714940053
Hero Member
*
Offline Offline

Posts: 1714940053

View Profile Personal Message (Offline)

Ignore
1714940053
Reply with quote  #2

1714940053
Report to moderator
1714940053
Hero Member
*
Offline Offline

Posts: 1714940053

View Profile Personal Message (Offline)

Ignore
1714940053
Reply with quote  #2

1714940053
Report to moderator
Each block is stacked on top of the previous one. Adding another block to the top makes all lower blocks more difficult to remove: there is more "weight" above each block. A transaction in a block 6 blocks deep (6 confirmations) will be very difficult to remove.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
coskunc
Newbie
*
Offline Offline

Activity: 238
Merit: 0


View Profile WWW
November 12, 2017, 05:44:15 PM
 #1262

Thanks for the info  Cool
Yahoo01
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
November 15, 2017, 01:18:11 PM
 #1263

Okay, may be I am stupid, but:

I try to connect to pool (minergate), and always get: JSON-RPC call failed: {   "code": -32601,   "message": "Procedure not found." }

I  use WinXP and Win32 version, tryed many 2.4.x and 2.5.0 version(s).


C:\minerd>minerd -P -o stratum+tcp://xdn-xmr.pool.minergate.com:45790 -u myuser -p mypassword -x socks5://xx1.xx2.xx3.xx4:nnn1

[2017-08-08 14:33:58] Starting Stratum on stratum+tcp://xdn-xmr.pool.minergate.com:45790
[2017-08-08 14:33:58] 4 miner threads started, using 'scrypt' algorithm.
* Rebuilt URL to: http://xdn-xmr.pool.minergate.com:45790/
[2017-08-08 14:33:58] Binding thread 0 to cpu 0
* timeout on name lookup is not supported
[2017-08-08 14:33:58] Binding thread 1 to cpu 1
* Hostname was NOT found in DNS cache
[2017-08-08 14:33:58] Binding thread 2 to cpu 2
[2017-08-08 14:33:58] Binding thread 3 to cpu 3
*   Trying xx1.xx2.xx3.xx4...
* TCP_NODELAY set
* Adding handle: conn: 0x1631c98
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 0 (0x1631c98) send_pipe: 1, recv_pipe: 0
* Hostname was NOT found in DNS cache
* 176
* 9
* 2
* 145
* Connected to xx1.xx2.xx3.xx4 (xx1.xx2.xx3.xx4) port nnn1 (#0)
* Connection #0 to host xdn-xmr.pool.minergate.com left intact
[2017-08-08 14:33:58] > {"id": 1, "method": "mining.subscribe", "params": ["cpuminer/2.4.1"]}
[2017-08-08 14:33:58] < {"jsonrpc": "2.0", "error": {"code": -32601, "message": "Procedure not found."}, "id": 1}
[2017-08-08 14:33:58] > {"id": 1, "method": "mining.subscribe", "params": []}
[2017-08-08 14:33:58] < {"jsonrpc": "2.0", "error": {"code": -32601, "message": "Procedure not found."}, "id": 1}
[2017-08-08 14:33:58] JSON-RPC call failed: {
   "code": -32601,
   "message": "Procedure not found."
}
Actor_Tom_Truong_
Full Member
***
Offline Offline

Activity: 207
Merit: 101



View Profile
November 27, 2017, 02:01:47 AM
 #1264

why won't windows 10 let me extract the minerd.exe file inside that zip folder?
jadhavrajye
Newbie
*
Offline Offline

Activity: 12
Merit: 0


View Profile
November 30, 2017, 05:22:59 PM
 #1265

I am getting error "no URL supplied" while activating minerd.

I am using below stratum
stratum+tcp://ltc.viabtc.com:3333

Kindly help me resolve this error..

Thanks in advance..


Regards,
Jadhavrajye
fiubit
Member
**
Offline Offline

Activity: 168
Merit: 10


View Profile
November 30, 2017, 08:08:03 PM
 #1266

PORKO DIO BASTARDO

MA METTETEVI DACCORDO PORKO DIO MI SCOPO VOSTRA MADRE E RIESCE UN FIGLIO COGLIONE COME VOI

PORKO DIO Cool
Mijntje
Newbie
*
Offline Offline

Activity: 17
Merit: 1


View Profile
December 04, 2017, 09:06:33 PM
 #1267

Trying to install the miner on my OrangePi and getting this.. Any idea what's going on ?  Huh

This is when I do ./autogen.sh && ./configure CFLAGS="-O3" CXXFLAGS="-O3" && make

Code:
checking for curl_free... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating compat/Makefile
config.status: creating compat/jansson/Makefile
config.status: creating m7/Makefile
config.status: creating cpuminer-config.h
config.status: cpuminer-config.h is unchanged
config.status: executing depfiles commands
make  all-recursive
make[1]: Entering directory '/wolf-m7m-cpuminer-V2'
Making all in compat
make[2]: Entering directory '/wolf-m7m-cpuminer-V2/compat'
make[3]: Entering directory '/wolf-m7m-cpuminer-V2/compat'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/wolf-m7m-cpuminer-V2/compat'
make[2]: Leaving directory '/wolf-m7m-cpuminer-V2/compat'
Making all in m7
make[2]: Entering directory '/wolf-m7m-cpuminer-V2/m7'
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I..    -Ofast -march=native -flto -O3 -MT libm7m_a-haval.o -MD -MP -MF .deps/libm7m_a-haval.Tpo -c -o libm7m_a-haval.o `test -f 'haval.c' || echo './'`haval.c
haval.c:1:0: error: unknown value 'native' for -march
 /* $Id: haval.c 227 2010-06-16 17:28:38Z tp $ */
 ^
Makefile:363: recipe for target 'libm7m_a-haval.o' failed
make[2]: *** [libm7m_a-haval.o] Error 1
make[2]: Leaving directory '/wolf-m7m-cpuminer-V2/m7'
Makefile:760: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/wolf-m7m-cpuminer-V2'
Makefile:410: recipe for target 'all' failed
make: *** [all] Error 2


hoangphonglinh
Newbie
*
Offline Offline

Activity: 34
Merit: 0


View Profile
December 05, 2017, 08:53:57 AM
 #1268

please help me ! i trying mining BTX on suprnova ! when i open my BAT file on CMD windows , it dispaly


C:\Users\BINH MINH CS3\Desktop\cpuminer-timetravel-corei7-avx-1.0.4-3-windows-i3
86>minerd.exe -a timetravel -o stratum+tcp://btx.suprnova.cc:3629 -u hoangphongl
inh.user1 -p 1
[2017-12-05 15:43:38] 4 miner threads started, using 'timetravel' algorithm.
[2017-12-05 15:43:38] Starting Stratum on stratum+tcp://btx.suprnova.cc:3629
[2017-12-05 15:43:39] Stratum difficulty set to 32
[2017-12-05 15:43:50] thread 2: 131072 hashes, 12.92 khash/s
[2017-12-05 15:43:51] thread 0: 131072 hashes, 11.80 khash/s
[2017-12-05 15:43:50] thread 3: 131072 hashes, 12.84 khash/s
[2017-12-05 15:44:00] thread 1: 131072 hashes, 10.23 khash/s
[2017-12-05 15:44:52] thread 2: 774995 hashes, 12.45 khash/s
[2017-12-05 15:45:01] thread 3: 770289 hashes, 12.09 khash/s
[2017-12-05 15:45:23] thread 0: 708202 hashes, 7.70 khash/s

 but my worker is not active and not work ! My Hashrate: 0.00 MH/s and My Sharerate: 0.00
thank you !
babyspeed26227
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
December 05, 2017, 03:24:02 PM
 #1269

I can't mining. please how to step by step. Thank you!
kivkiv
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
December 06, 2017, 05:59:58 AM
 #1270

Why my BAT file only prompt up and then disappear? Any help? Here is what in BAT file

minerd -a -t 6 -s 4 -o stratum+tcp://stratum+tcp://stratum.multipools.club:1111 -u Weblogin.WorkerName -p WorkerPassword

(I replaced workername and password)

Please help. Thank you.
4ward
Member
**
Offline Offline

Activity: 473
Merit: 18


View Profile
December 06, 2017, 07:25:22 AM
 #1271

Why my BAT file only prompt up and then disappear? Any help? Here is what in BAT file

minerd -a -t 6 -s 4 -o stratum+tcp://stratum+tcp://stratum.multipools.club:1111 -u Weblogin.WorkerName -p WorkerPassword

(I replaced workername and password)

Please help. Thank you.
look carefully at the bold part

kivkiv
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
December 06, 2017, 07:45:43 AM
 #1272

Why my BAT file only prompt up and then disappear? Any help? Here is what in BAT file

minerd -a -t 6 -s 4 -o stratum+tcp://stratum+tcp://stratum.multipools.club:1111 -u Weblogin.WorkerName -p WorkerPassword

(I replaced workername and password)

Please help. Thank you.
look carefully at the bold part

hi, what is that mean? I do exactly as the web said.
Norsen
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
December 06, 2017, 12:03:56 PM
 #1273

Why my BAT file only prompt up and then disappear? Any help? Here is what in BAT file

minerd -a -t 6 -s 4 -o stratum+tcp://stratum+tcp://stratum.multipools.club:1111 -u Weblogin.WorkerName -p WorkerPassword

(I replaced workername and password)

Please help. Thank you.
look carefully at the bold part

hi, what is that mean? I do exactly as the web said.


You dont need 2x 'stratum+tcp://'... Remove one.
kivkiv
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
December 06, 2017, 01:51:09 PM
 #1274

Why my BAT file only prompt up and then disappear? Any help? Here is what in BAT file

minerd -a -t 6 -s 4 -o stratum+tcp://stratum+tcp://stratum.multipools.club:1111 -u Weblogin.WorkerName -p WorkerPassword

(I replaced workername and password)

Please help. Thank you.
look carefully at the bold part

hi, what is that mean? I do exactly as the web said.


You dont need 2x 'stratum+tcp://'... Remove one.

How to mining with algorithm X11? It keep saying "unknown algorithm x11"
Here my BAT file
minerd -a x11 -o stratum+tcp://stratum.multipools.club:1111 -u Weblogin.WorkerName -p WorkerPassword
nagaraju143
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
December 07, 2017, 09:55:35 AM
 #1275

help me also my bat file pops up and closes?? why??

minerd -a --scrypt -t 6 -s 4 -o stratum+tcp://eu.miningfield.com:3348 -u username.worker -p password
4ward
Member
**
Offline Offline

Activity: 473
Merit: 18


View Profile
December 07, 2017, 10:54:40 AM
 #1276

help me also my bat file pops up and closes?? why??

minerd -a --scrypt -t 6 -s 4 -o stratum+tcp://eu.miningfield.com:3348 -u username.worker -p password


1. add "pause" command to the end of the file

2. it should be "-a scrypt", not "-a --scrypt"

3. i suggest you don't waste time mining ASIC algos like scrypt on CPU, or even GPU

kivkiv
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
December 08, 2017, 03:49:23 AM
 #1277


How to mining with algorithm X11? It keep saying "unknown algorithm x11"
Here my BAT file
minerd -a x11 -o stratum+tcp://stratum.multipools.club:1111 -u Weblogin.WorkerName -p WorkerPassword

Any help with this?
05w3z0
Member
**
Offline Offline

Activity: 296
Merit: 10


View Profile WWW
December 09, 2017, 04:30:08 PM
 #1278


How to mining with algorithm X11? It keep saying "unknown algorithm x11"
Here my BAT file
minerd -a x11 -o stratum+tcp://stratum.multipools.club:1111 -u Weblogin.WorkerName -p WorkerPassword

Any help with this?

put - before x

   ⚡⚡ PRiVCY ⚡⚡   ▂▃▅▆█ ✅ PRiVCY (PRIV) is a new PoW/PoS revolutionary privacy project ● ☞ ✅ Best privacy crypto-market! ● █▆▅▃▂
    Own Your Privacy! ─────────────────║ WebsiteGithub  |  Bitcointalk  |  Twitter  |  Discord  |  Explorer ║─────────────────
   ✯✯✯✯✯                 ✈✈✈[Free Airdrop - Starts 9th June]✅[Tor]✈✈✈ ║───────────║ Wallet ➢ ✓ Windows  |  ✓ macOS  |  ✓ Linux
awrightus
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
December 10, 2017, 08:09:55 PM
 #1279

Using CPU Miner, it's unclear to me whether I need to specify the payout address using the --coinbase-addr argument or whether simply specifying the BTC address as the username, -u is sufficient.  Is there a difference in either of the following?  Both "seem" to work, but not knowing what's really occurring on the backend, I want to be sure I'm using it properly.  Thanks.

minerd -o stratum+tcp://solo.ckpool.org:3333 -u XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX --coinbase-addr=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX -p blah -a sha256d

or

minerd -o stratum+tcp://solo.ckpool.org:3333 -u XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX -p blah -a sha256d
timisis
Member
**
Offline Offline

Activity: 178
Merit: 10


View Profile
December 11, 2017, 03:19:21 AM
 #1280

why won't windows 10 let me extract the minerd.exe file inside that zip folder?

probably antivirus.

Guys, where is a build that supports X13? I am quite sure this one does not include most other algos
Pages: « 1 ... 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 [64] 65 66 67 68 69 70 71 »
  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!