Bitcoin Forum
March 28, 2024, 12:58:48 PM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 [3] 4 »  All
  Print  
Author Topic: [CLOSED] 2000 YAC bounty for adapting minerd for YAC  (Read 13036 times)
msm595
Full Member
***
Offline Offline

Activity: 185
Merit: 100


View Profile
May 09, 2013, 02:18:29 PM
 #41

How did you manage to compile it without errors? That might be useful information in case of future problems.

The library used for scrypt-jane included some embedded assembly. This assembly wasn't suited for Windows, so I had to hack together some a bit of new assembly based on the old stuff.

1711630728
Hero Member
*
Offline Offline

Posts: 1711630728

View Profile Personal Message (Offline)

Ignore
1711630728
Reply with quote  #2

1711630728
Report to moderator
1711630728
Hero Member
*
Offline Offline

Posts: 1711630728

View Profile Personal Message (Offline)

Ignore
1711630728
Reply with quote  #2

1711630728
Report to moderator
There are several different types of Bitcoin clients. The most secure are full nodes like Bitcoin Core, which will follow the rules of the network no matter what miners do. Even if every miner decided to create 1000 bitcoins per block, full nodes would stick to the rules and reject those blocks.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
procrypto
Full Member
***
Offline Offline

Activity: 224
Merit: 100


Shitcoin Maximalist


View Profile
May 09, 2013, 02:19:26 PM
 #42

FYI, hope the cross posting is ok - seemed logical.

msm595's Win32 binary is working..


Caesar V
Sr. Member
****
Offline Offline

Activity: 369
Merit: 250



View Profile
May 09, 2013, 02:20:08 PM
 #43

C:\Users\USERUSER\AppData\Local\Temp\cc4kfJms.s: Assembler messages:
C:\Users\USERUSER\AppData\Local\Temp\cc4kfJms.s:25: Warning: .type pseudo-op use
d outside of .def/.endef ignored.
C:\Users\USERUSER\AppData\Local\Temp\cc4kfJms.s:25: Error: junk at end of line,
first unrecognized character is `h'

See my fix:

I have to go to bed, but if anyone wants to get a step closer to compiling it on windows, replace line 173 in ./code/scrypt-jane-portable-x86.h with

Code:
#define asm_naked_fn_end(fn) ".att_syntax prefix;\n.def " #fn "; .scl 2; .type 32; .size .-" #fn "; .endef \n"  );

The new error complains about _has_cpuid@0 not being defined (in minerd-scrypt-jane.o, after compiling to asm).

EDIT: I have managed to compile it! Here is a link for all you windows users Cheesy
cpuminer-scrypt-jane-win32.zip

If this helped you and you want to donate, please send to any in my sig or YMKPwfHMR72cjw21aBJjLvq3LDfRb7AZ1b Smiley. I really appreciate it.

https://www.virustotal.com/en/file/2b7e630cfb2d173eb14e4dd88a7879527f5c52cbc77ace0c0742942aad46faec/analysis/1368106358/

Shows it is a bitcoin miner! Watch out!
you're kidding, right?
juhakall
Sr. Member
****
Offline Offline

Activity: 657
Merit: 250


View Profile WWW
May 09, 2013, 02:21:53 PM
 #44

It's working, but I'm getting less than half of what's produced by the linux version. 25kh/s vs. 60kh/s per thread on a 2500K. And I'm actually running the linux version with VirtualBox, so it might be even faster when run natively.

EDIT: This post might be relevant to the speed difference: https://bitcointalk.org/index.php?topic=196196.msg2082435#msg2082435

I'm currently developing an experimental social AI platform
iamalitecoin
Member
**
Offline Offline

Activity: 112
Merit: 10



View Profile
May 09, 2013, 02:29:16 PM
 #45

Can anyone walk me through getting this working on Linux like I'm 5 years old?

skyangel
Sr. Member
****
Offline Offline

Activity: 301
Merit: 260


FLO dev


View Profile
May 09, 2013, 02:33:16 PM
 #46

EDIT: I have managed to compile it! Here is a link for all you windows users Cheesy
cpuminer-scrypt-jane-win32.zip

If this helped you and you want to donate, please send to any in my sig or YMKPwfHMR72cjw21aBJjLvq3LDfRb7AZ1b Smiley. I really appreciate it.

Thanks. Tiny tip sent.

procrypto
Full Member
***
Offline Offline

Activity: 224
Merit: 100


Shitcoin Maximalist


View Profile
May 09, 2013, 02:43:16 PM
 #47

It's working, but I'm getting less than half of what's produced by the linux version. 25kh/s vs. 60kh/s per thread on a 2500K. And I'm actually running the linux version with VirtualBox, so it might be even faster when run natively.

EDIT: This post might be relevant to the speed difference: https://bitcointalk.org/index.php?topic=196196.msg2082435#msg2082435

Hopefully may be solved in the Win64 binary msm595 is working on.. (see https://bitcointalk.org/index.php?topic=196196.msg2087030#msg2087030)
iamalitecoin
Member
**
Offline Offline

Activity: 112
Merit: 10



View Profile
May 09, 2013, 02:50:44 PM
 #48

Can anyone walk me through getting this working on Linux like I'm 5 years old?

Getting this after ./configure CFLAGS="-O3"

Code:
./configure: line 5506: 'LIBCURL_CHECK_CONFIG(, 7.10.1, ,'

what this means?

turtle83 (OP)
Sr. Member
****
Offline Offline

Activity: 322
Merit: 250


Supersonic


View Profile WWW
May 09, 2013, 02:53:58 PM
 #49

Can anyone walk me through getting this working on Linux like I'm 5 years old?

Getting this after ./configure CFLAGS="-O3"

Code:
./configure: line 5506: 'LIBCURL_CHECK_CONFIG(, 7.10.1, ,'

what this means?

this one got me stuck up for few mins earlier.

Basically install the libcurl dev libraries. on ubuntu :-
sudo apt-get install libcurl-ocaml-dev

and then run ./autogen.sh again to generate fresh configure script.

I think there is something in autogen which writes a bad configure script if libcurl development headers were missing.

KrLos
Hero Member
*****
Offline Offline

Activity: 768
Merit: 1000



View Profile
May 09, 2013, 02:54:37 PM
Last edit: May 10, 2013, 06:23:40 AM by KrLos
 #50

i think we need also a minerd x64, that's why we are getting few hashrate on windows... maybe that's why.
iamalitecoin
Member
**
Offline Offline

Activity: 112
Merit: 10



View Profile
May 09, 2013, 03:01:12 PM
 #51

Can anyone walk me through getting this working on Linux like I'm 5 years old?

Getting this after ./configure CFLAGS="-O3"

Code:
./configure: line 5506: 'LIBCURL_CHECK_CONFIG(, 7.10.1, ,'

what this means?

this one got me stuck up for few mins earlier.

Basically install the libcurl dev libraries. on ubuntu :-
sudo apt-get install libcurl-ocaml-dev

and then run ./autogen.sh again to generate fresh configure script.

I think there is something in autogen which writes a bad configure script if libcurl development headers were missing.

PM me your YAC address for a tip!

turtle83 (OP)
Sr. Member
****
Offline Offline

Activity: 322
Merit: 250


Supersonic


View Profile WWW
May 09, 2013, 03:09:56 PM
 #52

PM me your YAC address for a tip!

Y8ckhnhQYz1HHKJoccwJYj6SHHVXaz7uh9

It would be my first crypto-tip ever! Cheesy

BTW if you want u can send the tip to author : https://github.com/ali1234/cpuminer/wiki for quick turn-around.

mebezac
Member
**
Offline Offline

Activity: 112
Merit: 10



View Profile
May 09, 2013, 03:29:06 PM
 #53

C:\Users\USERUSER\AppData\Local\Temp\cc4kfJms.s: Assembler messages:
C:\Users\USERUSER\AppData\Local\Temp\cc4kfJms.s:25: Warning: .type pseudo-op use
d outside of .def/.endef ignored.
C:\Users\USERUSER\AppData\Local\Temp\cc4kfJms.s:25: Error: junk at end of line,
first unrecognized character is `h'

See my fix:

I have to go to bed, but if anyone wants to get a step closer to compiling it on windows, replace line 173 in ./code/scrypt-jane-portable-x86.h with

Code:
#define asm_naked_fn_end(fn) ".att_syntax prefix;\n.def " #fn "; .scl 2; .type 32; .size .-" #fn "; .endef \n"  );

The new error complains about _has_cpuid@0 not being defined (in minerd-scrypt-jane.o, after compiling to asm).

EDIT: I have managed to compile it! Here is a link for all you windows users Cheesy
cpuminer-scrypt-jane-win32.zip

If this helped you and you want to donate, please send to any in my sig or YMKPwfHMR72cjw21aBJjLvq3LDfRb7AZ1b Smiley. I really appreciate it.

https://www.virustotal.com/en/file/2b7e630cfb2d173eb14e4dd88a7879527f5c52cbc77ace0c0742942aad46faec/analysis/1368106358/

Shows it is a bitcoin miner! Watch out!
you're kidding, right?

Yes. It's really hard to sound sarcastic in writing  Smiley

BTC: 168d57nW72Y6DidPgE88iL7vYmpQD45dYK|LTC: LLPttXuFF2uTo2CWeEwXU5CwcUcgQ4NGd3
Neverest
Newbie
*
Offline Offline

Activity: 70
Merit: 0



View Profile
May 09, 2013, 10:24:30 PM
 #54

C:\Users\USERUSER\AppData\Local\Temp\cc4kfJms.s: Assembler messages:
C:\Users\USERUSER\AppData\Local\Temp\cc4kfJms.s:25: Warning: .type pseudo-op use
d outside of .def/.endef ignored.
C:\Users\USERUSER\AppData\Local\Temp\cc4kfJms.s:25: Error: junk at end of line,
first unrecognized character is `h'

See my fix:

I have to go to bed, but if anyone wants to get a step closer to compiling it on windows, replace line 173 in ./code/scrypt-jane-portable-x86.h with

Code:
#define asm_naked_fn_end(fn) ".att_syntax prefix;\n.def " #fn "; .scl 2; .type 32; .size .-" #fn "; .endef \n"  );

The new error complains about _has_cpuid@0 not being defined (in minerd-scrypt-jane.o, after compiling to asm).

EDIT: I have managed to compile it! Here is a link for all you windows users Cheesy
cpuminer-scrypt-jane-win32.zip[/ur

If this helped you and you want to donate, please send to any in my sig or YMKPwfHMR72cjw21aBJjLvq3LDfRb7AZ1b Smiley. I really appreciate it.

Cool, thanks. What would be the cmd/bat file command for this version? Where and how to put your wallet address, or does it run as a server etc?
Ps: any news on the 64-bit version?

Thanks!
tallbikeguy
Newbie
*
Offline Offline

Activity: 35
Merit: 0


View Profile
May 10, 2013, 02:26:29 AM
 #55

C:\Users\USERUSER\AppData\Local\Temp\cc4kfJms.s: Assembler messages:
C:\Users\USERUSER\AppData\Local\Temp\cc4kfJms.s:25: Warning: .type pseudo-op use
d outside of .def/.endef ignored.
C:\Users\USERUSER\AppData\Local\Temp\cc4kfJms.s:25: Error: junk at end of line,
first unrecognized character is `h'

See my fix:

I have to go to bed, but if anyone wants to get a step closer to compiling it on windows, replace line 173 in ./code/scrypt-jane-portable-x86.h with

Code:
#define asm_naked_fn_end(fn) ".att_syntax prefix;\n.def " #fn "; .scl 2; .type 32; .size .-" #fn "; .endef \n"  );

The new error complains about _has_cpuid@0 not being defined (in minerd-scrypt-jane.o, after compiling to asm).

EDIT: I have managed to compile it! Here is a link for all you windows users Cheesy
cpuminer-scrypt-jane-win32.zip[/ur

If this helped you and you want to donate, please send to any in my sig or YMKPwfHMR72cjw21aBJjLvq3LDfRb7AZ1b Smiley. I really appreciate it.

Cool, thanks. What would be the cmd/bat file command for this version? Where and how to put your wallet address, or does it run as a server etc?
Ps: any news on the 64-bit version?

Thanks!

That's awesome that you got it to compile - but what did you change in the source code?

Thanks!
xibeijan
Legendary
*
Offline Offline

Activity: 1232
Merit: 1001


View Profile
May 10, 2013, 12:00:43 PM
 #56

Nice work!

Notable projects 2019: Semux, Dero, Wagerr, BEAM
alex_fun
Full Member
***
Offline Offline

Activity: 196
Merit: 100


View Profile
May 10, 2013, 01:31:37 PM
 #57

Thanks Ali Cheesy

e521
Full Member
***
Offline Offline

Activity: 196
Merit: 100


View Profile
May 10, 2013, 01:34:59 PM
 #58

PM me your YAC address for a tip!

Y8ckhnhQYz1HHKJoccwJYj6SHHVXaz7uh9

It would be my first crypto-tip ever! Cheesy

BTW if you want u can send the tip to author : https://github.com/ali1234/cpuminer/wiki for quick turn-around.

you don't need tips looking at what you are pulling out at the moment LOL

wesjuhnl
Member
**
Offline Offline

Activity: 112
Merit: 10


View Profile
May 10, 2013, 09:04:55 PM
 #59

Why would you use such a retarded upload site..  everytime i click download i get spam and get redirected

Btc: 1BxeYiGGk64tCsotMwVhepVcAfoRRsR81k

Ltc: LanjQbwLhYSQkQbyuy5KDCEP6bmakZJd2V

Yac: YN5gfrrgupTN76m787YfDf2GNVRvxR67Ge

Ftc: 6efpCJD7mkEe79U4gzq6oEsAvnZGJub1Dj
pjheinz
Member
**
Offline Offline

Activity: 84
Merit: 10


MEC - MFLtNSHN6GSxxP3VL8jmL786tVa9yfRS4p


View Profile
May 11, 2013, 08:09:49 AM
 #60

how do you do the config fiile>?/?/ it keeps trying to connect to 127.0.0.1

♠♠♠https://btce-bot.me♠♠♠ Most popular BTC-E bot made! ♠♠♠ Free Trial Available!! ♠♠♠
Pages: « 1 2 [3] 4 »  All
  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!