Bitcoin Forum
May 11, 2024, 11:56:35 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 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 72 73 74 75 76 77 78 79 80 81 ... 96 »
  Print  
Author Topic: BitCrack - A tool for brute-forcing private keys  (Read 74463 times)
Noname400
Newbie
*
Offline Offline

Activity: 26
Merit: 0


View Profile
January 14, 2021, 10:10:04 AM
 #601

good evening to all enthusiasts.
I found many versions and modifications of this project. In addition to the original branch from the respected brichard19, I found a branch with a random search. Should I use it? the better or worse it is.
in the original branch, everything is simple (start + step + step + N step)
random points are generated in the branch. but I don’t understand after the generation, the search proceeds further by random choice or also (random point + step + step + N step)

Are you talking about the points being chosen by an RNG? I am not totally sure how long does the process of generating random numbers takes because I haven't measured it, but I'd say it could take a noticeable percentage of the time it takes to check a private key.

I still feel like pregenerating a bunch of keyspace ranges beforehand and passing those to bitcrack serially is a better approach at randomization than generating a random number 2^X times per second (X is an arbitrary number proportional to the speed of your GPU).

Anyway it would be nice if you linked that version of Bitcrack you're talking about so we can take a look at it's commit history to see what it changed.
He is probably talking about Pica's version with random feature. Many say it had some bugs in it. I neve used it.

My version generates millions of random starting points, in the bit range you desire, and then counts sequentially, from each of those random starting points. So if you only want to look in the 8F00000000000000 range, it will generate millions of starting points all starting with 8F, and then compute sequentially. It doesn't take long to generate the points, no longer than generating Kangaroos. It's fast at finding keys in any 2^48 range, but above that, It's better to just search sequentially starting with one key. IMO. So if we took #64 puzzle, and assigned people the front 2^16 range, example 8F00, and another person 8F01, and another person 8F02, etc. all the way to 8FFF, then we only need 256 people to check the 8F range quickly. Now, once that range is done, start with another one like 80, 81, 82, 83, C0, C1, etc.
Who's in?! lol  Grin

Yes that's right.
I am currently using version (Pica's) https://github.com/neutron220/BitCrack

but based on the above, when finding (example) 30m points, I would like to have a random search within the range between the points. I think this will speed up the search.
and it also gives a chance for people with slow and old cards to play this game. as fast cards go through consistently much faster and we have no chance.
1715471795
Hero Member
*
Offline Offline

Posts: 1715471795

View Profile Personal Message (Offline)

Ignore
1715471795
Reply with quote  #2

1715471795
Report to moderator
1715471795
Hero Member
*
Offline Offline

Posts: 1715471795

View Profile Personal Message (Offline)

Ignore
1715471795
Reply with quote  #2

1715471795
Report to moderator
1715471795
Hero Member
*
Offline Offline

Posts: 1715471795

View Profile Personal Message (Offline)

Ignore
1715471795
Reply with quote  #2

1715471795
Report to moderator
The Bitcoin software, network, and concept is called "Bitcoin" with a capitalized "B". Bitcoin currency units are called "bitcoins" with a lowercase "b" -- this is often abbreviated BTC.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715471795
Hero Member
*
Offline Offline

Posts: 1715471795

View Profile Personal Message (Offline)

Ignore
1715471795
Reply with quote  #2

1715471795
Report to moderator
Noname400
Newbie
*
Offline Offline

Activity: 26
Merit: 0


View Profile
January 14, 2021, 10:32:26 AM
 #602


why are you using OPENCL?
CUDA 2080TI = 1350mh/s
dextronomous
Full Member
***
Offline Offline

Activity: 429
Merit: 105


View Profile
January 14, 2021, 12:13:47 PM
 #603

cubitcrack does - the provided PTX was compiled with an unsupported toolchain

clbitcrack works fine,
dptrdm
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
January 14, 2021, 07:06:11 PM
 #604

 Error: misaligned address
Huh?
yoyodapro
Jr. Member
*
Offline Offline

Activity: 50
Merit: 7


View Profile
January 14, 2021, 08:22:33 PM
 #605

Error: misaligned address
Huh?

What is your hardware and -t -b -p settings?

Bitcoin Puzzle Transactions Discord

https://discord.gg/WQSB6cwkQE








₿̶̛̛͖̺̝̳͓͈̰̹̱̝̪͙̹̦̹̯̬͙̠͂̌̉͐͊̎̓͋̓͗̑̏͒̉̈́̇̐̇̔̅̾͗̐̆̐͛͂̿̿̏̎̔̌̚̕͜͝͝͠͝͝
dextronomous
Full Member
***
Offline Offline

Activity: 429
Merit: 105


View Profile
January 14, 2021, 08:38:11 PM
 #606

i am using a 1070, 128 1000 256
yoyodapro
Jr. Member
*
Offline Offline

Activity: 50
Merit: 7


View Profile
January 14, 2021, 11:55:13 PM
 #607

try -t 128 -b 256 -t 1024

Bitcoin Puzzle Transactions Discord

https://discord.gg/WQSB6cwkQE








₿̶̛̛͖̺̝̳͓͈̰̹̱̝̪͙̹̦̹̯̬͙̠͂̌̉͐͊̎̓͋̓͗̑̏͒̉̈́̇̐̇̔̅̾͗̐̆̐͛͂̿̿̏̎̔̌̚̕͜͝͝͠͝͝
NotATether
Legendary
*
Offline Offline

Activity: 1596
Merit: 6735


bitcoincleanup.com / bitmixlist.org


View Profile WWW
January 15, 2021, 12:41:53 AM
 #608

cubitcrack does - the provided PTX was compiled with an unsupported toolchain

I sometimes got that error when changing the compute cap and arch to different values from whatever the GPU's using e.g to compute_70 and sm_70 when working with a compute cap 86 GPU.

Try building the program again but with COMPUTE_CAP variable changed to 61 , that is the corresponding value for Pascal GPUs.

try -t 128 -b 256 -t 1024

I doubt that aligning the thread size to 1024 will fix an unsupported PTX binary problem since according to the error, the CUDA program cannot even be read by the GPU.

The worst a misaligned thread size (not aligned to 32 threads i.e the size of a warp) can do is degrade performance.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
dextronomous
Full Member
***
Offline Offline

Activity: 429
Merit: 105


View Profile
January 15, 2021, 01:07:58 AM
 #609

Thanks for the help a ton, and only changed the c_c to 35 in my case. made the solution file work as a charm,
otherwise no issues yet.
is there a verbose mode on this bitcrack as of no others have that, like show where it is now instead of continue file.
changed to 1024 now.
thanks guys
Noname400
Newbie
*
Offline Offline

Activity: 26
Merit: 0


View Profile
January 15, 2021, 07:59:41 PM
Last edit: January 15, 2021, 08:10:23 PM by Noname400
 #610

Thanks for the help a ton, and only changed the c_c to 35 in my case. made the solution file work as a charm,
otherwise no issues yet.
is there a verbose mode on this bitcrack as of no others have that, like show where it is now instead of continue file.
changed to 1024 now.
thanks guys

I compiled for you.
try it. if it starts, I will give the value MAKE ()

https://drive.google.com/drive/folders/1LJNcU_CGvWJONH0fJf6KEWi0qmxxW5Ro?usp=sharing

NVCCFLAGS=-std=c++11 -gencode=arch=compute_50,code=sm_50 -gencode=arch=compute_52,code=sm_52 -gencode=arch=compute_60,code=sm_60 -gencode=arch=compute_61,code=sm_61 -gencode=arch=compute_61,code=compute_61 -gencode=arch=compute_70,code=sm_70 -gencode=arch=compute_75,code=sm_75 -Xptxas="-v" -Xcompiler "${CXXFLAGS}"

I compiled for you.
try it. if it starts, I will give the value MAKE
or try changing MAKE and compile it yourself.
The CUDA version is very good.
https://github.com/djarumlights/BitCrack
Noname400
Newbie
*
Offline Offline

Activity: 26
Merit: 0


View Profile
January 15, 2021, 08:08:55 PM
 #611

good evening to all enthusiasts.
I found many versions and modifications of this project. In addition to the original branch from the respected brichard19, I found a branch with a random search. Should I use it? the better or worse it is.
in the original branch, everything is simple (start + step + step + N step)
random points are generated in the branch. but I don’t understand after the generation, the search proceeds further by random choice or also (random point + step + step + N step)

Are you talking about the points being chosen by an RNG? I am not totally sure how long does the process of generating random numbers takes because I haven't measured it, but I'd say it could take a noticeable percentage of the time it takes to check a private key.

I still feel like pregenerating a bunch of keyspace ranges beforehand and passing those to bitcrack serially is a better approach at randomization than generating a random number 2^X times per second (X is an arbitrary number proportional to the speed of your GPU).

Anyway it would be nice if you linked that version of Bitcrack you're talking about so we can take a look at it's commit history to see what it changed.

https://github.com/brichard19/BitCrack/pull/148/commits

I will be grateful for any thoughts.
WhyMe
Sr. Member
****
Offline Offline

Activity: 661
Merit: 250


View Profile
January 15, 2021, 08:20:20 PM
 #612

16jY7qLJnN4eqD1eArr9vRVABixvcbLyXY   KwDiBf89QgGbjEhKnhXJuH7LrciVrZi3qYxZTMH89fVdXM613vVD   0x0000000000000000000000000000000000000000000000009A97E3E4A6A15391
...
16jY7qLJDnq54cdpm6RSrj1QPocvQkTeii   KwDiBf89QgGbjEhKnhXJuH7LrciVrZi3qZ55RfbNgUCsLt7ZBzXj   0x000000000000000000000000000000000000000000000000E8D53BD260ED66E5

may be this will help someone to solve P 64
With what tool have you generated keys ? VanitySearch ? Thanks
dextronomous
Full Member
***
Offline Offline

Activity: 429
Merit: 105


View Profile
January 15, 2021, 10:02:32 PM
 #613

yes that is an edited vanitsearch used there, used with wildcards. * stronger cards and more means more chances,
or to say lesser wildcards. good luck there,

Noname, COMPUTE_CAP=35 this in the makefile instead of COMPUTE_CAP=30 makes it work for me same with
your files as with yoyodapro's files, thanks for the help there mate
,
bitcoinforktech
Jr. Member
*
Offline Offline

Activity: 32
Merit: 4


View Profile WWW
January 16, 2021, 03:32:55 AM
 #614

Ive compiled cuBitCrack.exe and clBitCrack.exe using 11.2 targets. clBitCrack confirmed working using -t 128 -b 256 -p 1024, if anyone could provide the recommended settings for these cards it would be greatly appreciated! cuBitCrack still not working for 20** and 30** series cards, hoping someone can help me figure it out  Cool

I've done a bit of CUDA development, I might be able to help out.  I have a 3070 card arriving by courier in a few days.

Can you tell me any specific error messages you are getting?   Smiley
NotATether
Legendary
*
Offline Offline

Activity: 1596
Merit: 6735


bitcoincleanup.com / bitmixlist.org


View Profile WWW
January 16, 2021, 03:48:32 AM
 #615

Noname, COMPUTE_CAP=35 this in the makefile instead of COMPUTE_CAP=30 makes it work for me same with
your files as with yoyodapro's files, thanks for the help there mate

Oh my goodness, you just reminded me something. I keep forgetting that CUDA toolkit 11 dropped compute cap 30 so that you need to make it at least 35.

CUDA SDK 11.0 – 11.2 support for compute capability 3.5 – 8.6 (Kepler (in part), Maxwell, Pascal, Volta, Turing, Ampere)[33] New data types: Bfloat16 and TF32 on third-generations Tensor Cores.[34]

Now we can redirect people here next time their compilation fails.

I've done a bit of CUDA development, I might be able to help out.  I have a 3070 card arriving by courier in a few days.

Can you tell me any specific error messages you are getting?   Smiley

See this message. Some function is feeding bad pointers to batchBeginAdd() and batchBeginAddWithDouble(), and these are passed to MulModP() --> copyBigInt() to the point where array access of either of copyBigInt() parameters generates athe Misaligned Access exception everyone here is getting.

It might be something in host code that's giving batchBeginAdd some pointer that's incremented by 1 and not aligned or something. I didn't get a chance to check.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
bitcoinforktech
Jr. Member
*
Offline Offline

Activity: 32
Merit: 4


View Profile WWW
January 16, 2021, 04:16:51 AM
Merited by NotATether (1)
 #616

See this message. Some function is feeding bad pointers to batchBeginAdd() and batchBeginAddWithDouble(), and these are passed to MulModP() --> copyBigInt() to the point where array access of either of copyBigInt() parameters generates athe Misaligned Access exception everyone here is getting.

It might be something in host code that's giving batchBeginAdd some pointer that's incremented by 1 and not aligned or something. I didn't get a chance to check.

Thanks for that, I suspect it needs some alignment specifiers, e.g. __align__(16) for the data.  I will have to compile myself and test.  I will come back here when I've done that with the results.

Cheers!
t0nyst4r
Newbie
*
Offline Offline

Activity: 18
Merit: 0


View Profile
January 16, 2021, 06:49:15 AM
 #617

I have compiled cuBitCrack using CUDA 11.2, confirmed working on 2080, 2080ti, and 3070 without the multiplication issue preventing private keys from being found.

Can anyone help me create a windows binary?

https://github.com/yoyodapro/BitCrack/releases/tag/v11.2-alpha

Apologize for the late reply to this comment, but @yoyodapro, what "multiplication issue" are you referring to? I've read this entire thread and do not recall an issue like that being mentioned. While I am using a 3090, I was able to compile the current build of bitcrack against CUDA 11.2 but updating the references from CUDA 10.1 to 11.2. While cubitcrack still gives the misaligned address error, clbitcrack seems to work fine, albeit at a slower rate. But curious what issue you are referring to so I can understand how it may or may not affect what I am working on.
dextronomous
Full Member
***
Offline Offline

Activity: 429
Merit: 105


View Profile
January 16, 2021, 11:51:14 AM
 #618

clbitcrack has always had issues, still does, and did you change the compute_cap in your makefile,
otherwise compiling the cubitcrack won't succeed. even if succeeded won't work with your hardware.
change it accordingly to your hardware.
Noname400
Newbie
*
Offline Offline

Activity: 26
Merit: 0


View Profile
January 16, 2021, 02:58:06 PM
 #619

I have compiled cuBitCrack using CUDA 11.2, confirmed working on 2080, 2080ti, and 3070 without the multiplication issue preventing private keys from being found.

Can anyone help me create a windows binary?

https://github.com/yoyodapro/BitCrack/releases/tag/v11.2-alpha

Apologize for the late reply to this comment, but @yoyodapro, what "multiplication issue" are you referring to? I've read this entire thread and do not recall an issue like that being mentioned. While I am using a 3090, I was able to compile the current build of bitcrack against CUDA 11.2 but updating the references from CUDA 10.1 to 11.2. While cubitcrack still gives the misaligned address error, clbitcrack seems to work fine, albeit at a slower rate. But curious what issue you are referring to so I can understand how it may or may not affect what I am working on.

if I understood correctly you have P2SH addresses in the list
they start with "3"
BitCrack does not accept them
t0nyst4r
Newbie
*
Offline Offline

Activity: 18
Merit: 0


View Profile
January 16, 2021, 03:57:03 PM
 #620

clbitcrack has always had issues, still does, and did you change the compute_cap in your makefile,
otherwise compiling the cubitcrack won't succeed. even if succeeded won't work with your hardware.
change it accordingly to your hardware.

I didn't change the compute_cap value and was still able to compile cubitcrack on windows simply by updating the references to CUDA 10.1 to 11.2 and making sure project resources were in the correct locations. I'm not able to actually run it because of the "misaligned address" error, so I am using clbitcrack instead until someone is able to fix cubitcrack and allow it to run again with CUDA 11.2+.

In the meantime, what issues should I expect clbitcrack to have running on Windows? I'm not working with any P2SH addresses. What other issues would cause clbitcrack to not find a private key, as @yoyodapro mentioned?
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 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 72 73 74 75 76 77 78 79 80 81 ... 96 »
  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!