Bitcoin Forum
June 26, 2024, 12:57:51 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 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 »
  Print  
Author Topic: BitCrack - A tool for brute-forcing private keys  (Read 74628 times)
NotATether
Legendary
*
Offline Offline

Activity: 1638
Merit: 6913


bitcoincleanup.com / bitmixlist.org


View Profile WWW
March 26, 2021, 04:21:22 AM
 #961

Just curious, why bitcrack?  If you want to improve upon anything, I would suggest to look at VanitySearch. It already handles multi GPU and is faster. The issue is reading full address, but works with partial/strings. It already does what bitcrack does, and faster, just full address issue.

Just a question.

Because I can just paste the Int class from Kangaroo to VanitySearch to provide an initial speed boost while Inwork on other things  Wink



On the positive side though, I did manage to replace the Misaligned access error with an Invalid Argument error, I think that one should be reproducible in a debug environment.

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

Activity: 107
Merit: 61


View Profile
March 26, 2021, 06:10:09 AM
 #962

And I don't care about speed at all; I care about results...in time.
On the one hand, of course you are right. But we are discussing a bruteforce program here. For bruteforce, the only indicator of the quality of work is important - it is the number of keys/addresses per second.

If we are talking about randomness, then it is obvious that the program can select starting points in such a way that one target key is far from them, and the other is close, but this is not at all an indicator of the quality of work. For example, it is possible that someone wrote a program that instantly solved a some key in a wide range, due to the fact that one of the starting points coincided with the key - will this be an indicator of the speed of work?

Personally, I'm interested in testing different algorithms, but in this case your program is not available, you only show some working logs.
I also cannot fully test the modification from the sp_, since only executables for Windows are available, and 99% of my GPUs on Ubuntu. However, I saw a slight increase in speed on Windows machines, so in my opinion this modification at least has the right to life.
WanderingPhilospher
Full Member
***
Offline Offline

Activity: 1078
Merit: 219

Shooters Shoot...


View Profile
March 26, 2021, 06:22:16 AM
 #963

And I don't care about speed at all; I care about results...in time.
On the one hand, of course you are right. But we are discussing a bruteforce program here. For bruteforce, the only indicator of the quality of work is important - it is the number of keys/addresses per second.

If we are talking about randomness, then it is obvious that the program can select starting points in such a way that one target key is far from them, and the other is close, but this is not at all an indicator of the quality of work. For example, it is possible that someone wrote a program that instantly solved a some key in a wide range, due to the fact that one of the starting points coincided with the key - will this be an indicator of the speed of work?

Personally, I'm interested in testing different algorithms, but in this case your program is not available, you only show some working logs.
I also cannot fully test the modification from the sp_, since only executables for Windows are available, and 99% of my GPUs on Ubuntu. However, I saw a slight increase in speed on Windows machines, so in my opinion this modification at least has the right to life.

Again, here you are talking about speed in MKey/s...why?

Take away random, because my program kicks his backside, period. Small range.

What I am talking about is getting through a range and finding the key(s)...the results!

So are you willing to buy a program I created that will SHOW you on the screen that you are getting 2000 MKey/s with an old Nvidia or AMD card? Because I can sure fudge the speed on the screen to appear to be getting 2000 MKey/s

Or would you rather use a program that gets through a range quicker and finds all keys in the range?  That is my point. Someone can posts speed and increases in speed but unless you compare them, actually working through an entire range, not just finding one random key, then it's all talk and quite frankly, BS.

I did a test with the original bitcrack with a less powerful card than what sp was using with his mod and the numbers didn't compute. My lesser card only trailed his by a few seconds in finding the key, but his speed showed 450+ MKey/s while mine was at 93 or 113 MKey/s ... see the problem there? His program and card should have finished 4x faster than mine. But it didn't.

I asked someone do a true comparison test, through a range, with 1 key up front, 1 key in middle, and 1 at the end.  That's how you compare the two programs, not by MKey/s on a screen.
_Counselor
Member
**
Offline Offline

Activity: 107
Merit: 61


View Profile
March 26, 2021, 07:23:51 AM
Last edit: March 26, 2021, 09:42:00 AM by _Counselor
 #964

Again, here you are talking about speed in MKey/s...why?

Take away random, because my program kicks his backside, period. Small range.

What I am talking about is getting through a range and finding the key(s)...the results!

So are you willing to buy a program I created that will SHOW you on the screen that you are getting 2000 MKey/s with an old Nvidia or AMD card? Because I can sure fudge the speed on the screen to appear to be getting 2000 MKey/s

Or would you rather use a program that gets through a range quicker and finds all keys in the range?  That is my point. Someone can posts speed and increases in speed but unless you compare them, actually working through an entire range, not just finding one random key, then it's all talk and quite frankly, BS.

I did a test with the original bitcrack with a less powerful card than what sp was using with his mod and the numbers didn't compute. My lesser card only trailed his by a few seconds in finding the key, but his speed showed 450+ MKey/s while mine was at 93 or 113 MKey/s ... see the problem there? His program and card should have finished 4x faster than mine. But it didn't.

Of course I'm talking about real MKeys/sec, not about some digits on screen. I have my own Vanity modification for range searching, but I still have not fixed the speed multiplier by 6 when outputting to the screen, because the numbers on the screen are not the most important thing.

I asked someone do a true comparison test, through a range, with 1 key up front, 1 key in middle, and 1 at the end.  That's how you compare the two programs, not by MKey/s on a screen.
I made a simple syntetic test within puzzle 33 range, and run it on my old laptop. The grid on original and mod versions is same, to ensure that number of starting points not affecting the speed.

Keys generation:
Code:
import random
import btc

a = 0x100000000
b = 0x1ffffffff
for i in range(1,10):
  k = random.randint(a,b)
  print(hex(k), btc.key_to_address(k, True))
  
------
0x1e5594206 15MjvwJbHtbxJKy8AmZWXjXppk66qxYaoV
0x15ab52be9 15CvUrFPRuTmRfrqdyeJmzJyBm5XSgG2pF
0x16750f92f 13ePh5jTqAScHpHn64veJCjsNercbY2Vk8
0x16e34fd54 1FHcbX4NRHyM7czubge2qGvTyWbm7mpHAj
0x1377cdc0c 131P4vKA1Udm4pYLR6AdxqTS8MicrtHwAP
0x1a80ec32e 1CXTEzbAATX1D5YB3Ncci1gtBEEchT2JJs
0x1d3667a73 1KGqdarqVdTDS7qDxb4haaMqBMRZ4kJvEU
0x1343f12f9 13vN1zbeNJaLEAapSEB5q6Tx2u8Czbg3PC
0x1a7ceb1e9 1F7GmqBsaijtTzubeuk32qC6Nn5MYAyfkT

Original BitCrack:
Code:
oBitCrack.exe -b 6 -t 512 -p 512 --keyspace 100000000:1ffffffff -i addresses.txt
[2021-03-26.10:07:36] [Info] Compression: compressed
[2021-03-26.10:07:36] [Info] Starting at: 0000000000000000000000000000000000000000000000000000000100000000
[2021-03-26.10:07:36] [Info] Ending at:   00000000000000000000000000000000000000000000000000000001FFFFFFFF
[2021-03-26.10:07:36] [Info] Counting by: 0000000000000000000000000000000000000000000000000000000000000001
[2021-03-26.10:07:36] [Info] Initializing GeForce 940M
[2021-03-26.10:07:36] [Info] Generating 1,572,864 starting points (60.0MB)
[2021-03-26.10:07:38] [Info] 10.0%
[2021-03-26.10:07:38] [Info] 20.0%
[2021-03-26.10:07:38] [Info] 30.0%
[2021-03-26.10:07:38] [Info] 40.0%
[2021-03-26.10:07:39] [Info] 50.0%
[2021-03-26.10:07:39] [Info] 60.0%
[2021-03-26.10:07:39] [Info] 70.0%
[2021-03-26.10:07:40] [Info] 80.0%
[2021-03-26.10:07:40] [Info] 90.0%
[2021-03-26.10:07:40] [Info] 100.0%
[2021-03-26.10:07:40] [Info] Done
[2021-03-26.10:07:40] [Info] Loading addresses from 'addresses.txt'
[2021-03-26.10:07:40] [Info] 9 addresses loaded (0.0MB)
GeForce 940M     503 / 2048MB | 9 targets 31.25 MKey/s (849,346,560 total) [00:00:25][2021-03-26.10:08:08] [Info] Address:     13vN1zbeNJaLEAapSEB5q6Tx2u8Czbg3PC
                             Private key: 00000000000000000000000000000000000000000000000000000001343F12F9
                             Compressed:  yes
                             Public key:
                             03C9A5A30DBEDAF27F315A0C7A1F4BFDF2A1537396F500CDD51101CDB0B131F4C7

GeForce 940M     503 / 2048MB | 8 targets 30.96 MKey/s (905,969,664 total) [00:00:27][2021-03-26.10:08:10] [Info] Address:     131P4vKA1Udm4pYLR6AdxqTS8MicrtHwAP
                             Private key: 00000000000000000000000000000000000000000000000000000001377CDC0C
                             Compressed:  yes
                             Public key:
                             02452A6D3FB3C4EBF93EDC7EFE5ABB1C1F953FFA033D9D397FE9E68261EFDA1E25

GeForce 940M     503 / 2048MB | 7 targets 31.23 MKey/s (1,478,492,160 total) [00:00:45][2021-03-26.10:08:29] [Info] Address:     15CvUrFPRuTmRfrqdyeJmzJyBm5XSgG2pF
                             Private key: 000000000000000000000000000000000000000000000000000000015AB52BE9
                             Compressed:  yes
                             Public key:
                             02DC0DF5814157C4134F4FC16B47CE49CDB20597EBDC5F3F71265BB75152C20416

GeForce 940M     503 / 2048MB | 6 targets 31.23 MKey/s (1,706,557,440 total) [00:00:52][2021-03-26.10:08:36] [Info] Address:     13ePh5jTqAScHpHn64veJCjsNercbY2Vk8
                             Private key: 000000000000000000000000000000000000000000000000000000016750F92F
                             Compressed:  yes
                             Public key:
                             0307CD9AA9FEB167423BA03675FCC911BFCE47D860FAB89E9E6CF2E8ABC7C181F8

GeForce 940M     503 / 2048MB | 5 targets 31.29 MKey/s (1,821,376,512 total) [00:00:56][2021-03-26.10:08:39] [Info] Address:     1FHcbX4NRHyM7czubge2qGvTyWbm7mpHAj
                             Private key: 000000000000000000000000000000000000000000000000000000016E34FD54
                             Compressed:  yes
                             Public key:
                             02D58BEA141737AE1B010188BDDAB3D91729E2E4385C85451F8BC47002099FFBCF

GeForce 940M     503 / 2048MB | 4 targets 31.56 MKey/s (2,801,270,784 total) [00:01:27][2021-03-26.10:09:10] [Info] Address:     1F7GmqBsaijtTzubeuk32qC6Nn5MYAyfkT
                             Private key: 00000000000000000000000000000000000000000000000000000001A7CEB1E9
                             Compressed:  yes
                             Public key:
                             03FD0E95164339B2F228CCF60A95F596FC706F5C5559F2D06AC7BBEED4BE1B2578

[2021-03-26.10:09:10] [Info] Address:     1CXTEzbAATX1D5YB3Ncci1gtBEEchT2JJs
                             Private key: 00000000000000000000000000000000000000000000000000000001A80EC32E
                             Compressed:  yes
                             Public key:
                             020C60BB4BED07723B7D4537E4C7A6C437477EDD9CF19FDD458EFDA1EFDE1C02FE

GeForce 940M     503 / 2048MB | 2 targets 31.58 MKey/s (3,493,330,944 total) [00:01:49][2021-03-26.10:09:34] [Info] Address:     1KGqdarqVdTDS7qDxb4haaMqBMRZ4kJvEU
                             Private key: 00000000000000000000000000000000000000000000000000000001D3667A73
                             Compressed:  yes
                             Public key:
                             0218FEB4168B89B4A118C8B1DA28309FD97405D979CA96165BC86FBA8E2C59A7E1

GeForce 940M     503 / 2048MB | 1 target 31.84 MKey/s (3,840,933,888 total) [00:02:00][2021-03-26.10:09:43] [Info] Address:     15MjvwJbHtbxJKy8AmZWXjXppk66qxYaoV
                             Private key: 00000000000000000000000000000000000000000000000000000001E5594206
                             Compressed:  yes
                             Public key:
                             0259B67380B41AD100F4592503C2F260B13334374238724105BE03EE1602C1F1AE

[2021-03-26.10:09:43] [Info] No targets remaining

sp_'s mod:
Code:
cuBitCrack.exe -b 6 -t 512 -p 512 --keyspace 100000000:1ffffffff -i addresses.txt


Bitcrack sp-mod #4 (https://github.com/sp-hash)


[2021-03-26.10:10:15] [Info] Compression: compressed
[2021-03-26.10:10:15] [Info] Starting at: 0000000000000000000000000000000000000000000000000000000100000000
[2021-03-26.10:10:15] [Info] Ending at:   00000000000000000000000000000000000000000000000000000001FFFFFFFF
[2021-03-26.10:10:15] [Info] Counting by: 0000000000000000000000000000000000000000000000000000000000000001
[2021-03-26.10:10:15] [Info] Initializing GeForce 940M
[2021-03-26.10:10:15] [Info] Generating 1,572,864 starting points (60.0MB)
[2021-03-26.10:10:16] [Info] 10.0%
[2021-03-26.10:10:16] [Info] 20.0%
[2021-03-26.10:10:17] [Info] 30.0%
[2021-03-26.10:10:17] [Info] 40.0%
[2021-03-26.10:10:17] [Info] 50.0%
[2021-03-26.10:10:18] [Info] 60.0%
[2021-03-26.10:10:18] [Info] 70.0%
[2021-03-26.10:10:18] [Info] 80.0%
[2021-03-26.10:10:18] [Info] 90.0%
[2021-03-26.10:10:19] [Info] 100.0%
[2021-03-26.10:10:19] [Info] Done
[2021-03-26.10:10:19] [Info] Loading addresses from 'addresses.txt'
[2021-03-26.10:10:19] [Info] 9 addresses loaded (0.0MB)
GeForce 940M     505 / 2048MB | 9 targets 32.99 MKey/s (871,366,656 total) [00:00:23][2021-03-26.10:10:45] [Info] Address:     13vN1zbeNJaLEAapSEB5q6Tx2u8Czbg3PC
                             Private key: 00000000000000000000000000000000000000000000000000000001343F12F9
                             Compressed:  yes
                             Public key:
                             03C9A5A30DBEDAF27F315A0C7A1F4BFDF2A1537396F500CDD51101CDB0B131F4C7

[2021-03-26.10:10:46] [Info] Address:     131P4vKA1Udm4pYLR6AdxqTS8MicrtHwAP
                             Private key: 00000000000000000000000000000000000000000000000000000001377CDC0C
                             Compressed:  yes
                             Public key:
                             02452A6D3FB3C4EBF93EDC7EFE5ABB1C1F953FFA033D9D397FE9E68261EFDA1E25

GeForce 940M     505 / 2048MB | 7 targets 30.36 MKey/s (1,480,065,024 total) [00:00:42][2021-03-26.10:11:04] [Info] Address:     15CvUrFPRuTmRfrqdyeJmzJyBm5XSgG2pF
                             Private key: 000000000000000000000000000000000000000000000000000000015AB52BE9
                             Compressed:  yes
                             Public key:
                             02DC0DF5814157C4134F4FC16B47CE49CDB20597EBDC5F3F71265BB75152C20416

GeForce 940M     505 / 2048MB | 6 targets 34.14 MKey/s (1,711,276,032 total) [00:00:49][2021-03-26.10:11:11] [Info] Address:     13ePh5jTqAScHpHn64veJCjsNercbY2Vk8
                             Private key: 000000000000000000000000000000000000000000000000000000016750F92F
                             Compressed:  yes
                             Public key:
                             0307CD9AA9FEB167423BA03675FCC911BFCE47D860FAB89E9E6CF2E8ABC7C181F8

GeForce 940M     505 / 2048MB | 5 targets 32.97 MKey/s (1,830,813,696 total) [00:00:53][2021-03-26.10:11:14] [Info] Address:     1FHcbX4NRHyM7czubge2qGvTyWbm7mpHAj
                             Private key: 000000000000000000000000000000000000000000000000000000016E34FD54
                             Compressed:  yes
                             Public key:
                             02D58BEA141737AE1B010188BDDAB3D91729E2E4385C85451F8BC47002099FFBCF

GeForce 940M     505 / 2048MB | 4 targets 27.78 MKey/s (2,809,135,104 total) [00:01:22][2021-03-26.10:11:43] [Info] Address:     1F7GmqBsaijtTzubeuk32qC6Nn5MYAyfkT
                             Private key: 00000000000000000000000000000000000000000000000000000001A7CEB1E9
                             Compressed:  yes
                             Public key:
                             03FD0E95164339B2F228CCF60A95F596FC706F5C5559F2D06AC7BBEED4BE1B2578

[2021-03-26.10:11:43] [Info] Address:     1CXTEzbAATX1D5YB3Ncci1gtBEEchT2JJs
                             Private key: 00000000000000000000000000000000000000000000000000000001A80EC32E
                             Compressed:  yes
                             Public key:
                             020C60BB4BED07723B7D4537E4C7A6C437477EDD9CF19FDD458EFDA1EFDE1C02FE

GeForce 940M     505 / 2048MB | 2 targets 34.42 MKey/s (3,496,476,672 total) [00:01:42][2021-03-26.10:12:05] [Info] Address:     1KGqdarqVdTDS7qDxb4haaMqBMRZ4kJvEU
                             Private key: 00000000000000000000000000000000000000000000000000000001D3667A73
                             Compressed:  yes
                             Public key:
                             0218FEB4168B89B4A118C8B1DA28309FD97405D979CA96165BC86FBA8E2C59A7E1

GeForce 940M     505 / 2048MB | 1 target 34.14 MKey/s (3,792,175,104 total) [00:01:51][2021-03-26.10:12:14] [Info] Address:     15MjvwJbHtbxJKy8AmZWXjXppk66qxYaoV
                             Private key: 00000000000000000000000000000000000000000000000000000001E5594206
                             Compressed:  yes
                             Public key:
                             0259B67380B41AD100F4592503C2F260B13334374238724105BE03EE1602C1F1AE

[2021-03-26.10:12:14] [Info] No targets remaining

As you can see, not only MKey/s on screen is faster, but also time to solve is ~5% faster. Unfortunally I cannot test sp_'s mod on my Tesla GPUs, because, as I said earlier, it all working under Ubuntu. So I'll waiting for Linux release to made a more complex and interesting tests.
WanderingPhilospher
Full Member
***
Offline Offline

Activity: 1078
Merit: 219

Shooters Shoot...


View Profile
March 26, 2021, 07:34:34 AM
 #965

Quote
As you can see, not only MKey/s on screen is faster, but also time to solve is ~5% faster. Unfortunally I cannot test sp_'s mod on my Tesla GPUs, because, as I said earlier, it all working under Ubuntu. So I'll waiting for Linux release to made a more complex and interesting tests.
TBH, kinda hard to read it all but looks like 8 or 9 seconds faster. I'll take your word for it and we will say 5%.  But not 20%? 

Also, what is oBitCrack?
_Counselor
Member
**
Offline Offline

Activity: 107
Merit: 61


View Profile
March 26, 2021, 07:41:13 AM
 #966

Quote
As you can see, not only MKey/s on screen is faster, but also time to solve is ~5% faster. Unfortunally I cannot test sp_'s mod on my Tesla GPUs, because, as I said earlier, it all working under Ubuntu. So I'll waiting for Linux release to made a more complex and interesting tests.
TBH, kinda hard to read it all but looks like 8 or 9 seconds faster. I'll take your word for it and we will say 5%.  But not 20%? 

Also, what is oBitCrack?
9 sec from 180 sec total is ~5%.
20% will probably be on more powerful GPUs of a different architecture, which is why I wrote about the need for tests on powerful video cards.

oBitCrack it is just renamed original cuBitCrack.exe.
sp_
Legendary
*
Offline Offline

Activity: 2912
Merit: 1087

Team Black developer


View Profile
March 26, 2021, 07:53:21 AM
Last edit: March 26, 2021, 08:25:51 AM by sp_
 #967

And I don't care about speed at all; I care about results...in time.
On the one hand, of course you are right. But we are discussing a bruteforce program here. For bruteforce, the only indicator of the quality of work is important - it is the number of keys/addresses per second.

Here is sp-mod #4 in vankraken mode: 7 seconds to solve puzzle 39 (4 seconds to set up the poins 3 secs to solve). Note that the speed is only 278Mkeys/s because I only set up 100 starting points.

Quote
cubitcrack --keyspace 4B00000000:4C00000000 122AJhKLEfkFBaGAd84pLp1kfE7xK3GdT8 -p 100


Bitcrack sp-mod #4 (https://github.com/sp-hash)


[2021-03-26.08:49:07] [Info] Compression: compressed
[2021-03-26.08:49:07] [Info] Starting at: 0000000000000000000000000000000000000000000000000000004B00000000
[2021-03-26.08:49:07] [Info] Ending at:   0000000000000000000000000000000000000000000000000000004C00000000
[2021-03-26.08:49:07] [Info] Counting by: 0000000000000000000000000000000000000000000000000000000000000001
[2021-03-26.08:49:07] [Info] Initializing GeForce GTX 1070 Ti
[2021-03-26.08:49:07] [Info] Generating 1,945,600 starting points (74.2MB)
[2021-03-26.08:49:08] [Info] 10.0%
[2021-03-26.08:49:08] [Info] 20.0%
[2021-03-26.08:49:08] [Info] 30.0%
[2021-03-26.08:49:08] [Info] 40.0%
[2021-03-26.08:49:08] [Info] 50.0%
[2021-03-26.08:49:08] [Info] 60.0%
[2021-03-26.08:49:08] [Info] 70.0%
[2021-03-26.08:49:08] [Info] 80.0%
[2021-03-26.08:49:08] [Info] 90.0%
[2021-03-26.08:49:09] [Info] 100.0%
[2021-03-26.08:49:09] [Info] Done
GeForce GTX 1070 416 / 8192MB | 1 target 282.24 MKey/s (1,533,132,800 total) [00:00:03][2021-03-26.08:49:14] [Info] Address:     122AJh
LEfkFBaGAd84pLp1kfE7xK3GdT8
                             Private key: 0000000000000000000000000000000000000000000000000000004B5F8303E9
                             Compressed:  yes
                             Public key:
                             022D77CD1467019A6BF28F7375D0949CE30E6B5815C2758B98A74C2700BC006543

[2021-03-26.08:49:14] [Info] No targets remaining
Execution time = 7 seconds

Here is the original bitcrack in bitkraken mode with -p 100 (4-5 seconds to set up the poins 5 secs to solve)

Quote
GeForce GTX 1070 312 / 8192MB | 1 target 200.62 MKey/s (1,456,537,600 total) [00:00:05][2021-03-26.08:59:19] [Info] Address:     122AJhK
LEfkFBaGAd84pLp1kfE7xK3GdT8
                             Private key: 0000000000000000000000000000000000000000000000000000004B5F8303E9
                             Compressed:  yes
                             Public key:
                             022D77CD1467019A6BF28F7375D0949CE30E6B5815C2758B98A74C2700BC006543

Team Black Miner (ETHB3 ETH ETC VTC KAWPOW FIROPOW MEOWPOW + dual mining + tripple mining.. https://github.com/sp-hash/TeamBlackMiner
WanderingPhilospher
Full Member
***
Offline Offline

Activity: 1078
Merit: 219

Shooters Shoot...


View Profile
March 26, 2021, 07:57:09 AM
 #968

Quote
As you can see, not only MKey/s on screen is faster, but also time to solve is ~5% faster. Unfortunally I cannot test sp_'s mod on my Tesla GPUs, because, as I said earlier, it all working under Ubuntu. So I'll waiting for Linux release to made a more complex and interesting tests.
TBH, kinda hard to read it all but looks like 8 or 9 seconds faster. I'll take your word for it and we will say 5%.  But not 20%? 

Also, what is oBitCrack?
9 sec from 180 sec total is ~5%.
20% will probably be on more powerful GPUs of a different architecture, which is why I wrote about the need for tests on powerful video cards.

oBitCrack it is just renamed original cuBitCrack.exe.
May need to tweak your test...standby
WanderingPhilospher
Full Member
***
Offline Offline

Activity: 1078
Merit: 219

Shooters Shoot...


View Profile
March 26, 2021, 08:29:54 AM
Last edit: March 26, 2021, 08:41:33 AM by WanderingPhilospher
 #969

Quote
As you can see, not only MKey/s on screen is faster, but also time to solve is ~5% faster. Unfortunally I cannot test sp_'s mod on my Tesla GPUs, because, as I said earlier, it all working under Ubuntu. So I'll waiting for Linux release to made a more complex and interesting tests.
Ok, I did the comparison test differently since I felt your test was still missing the point as "points, threads" can be spread out differently. I get it was ok for your test since you were comparing an original versus sp's modded version.

What I did was place an extra address that was outside of the range so that each program would actually have to find the 9 in the range and then reach the end of keyspace...that's what I wanted to see, how fast could it get through a range while finding all keys (in the range).

Here are my results:

original bitcrack:
Code:
[2021-03-26.01:13:58] [Info] Compression: compressed
[2021-03-26.01:13:58] [Info] Starting at: 0000000000000000000000000000000000000000000000000000000100000000
[2021-03-26.01:13:58] [Info] Ending at:   00000000000000000000000000000000000000000000000000000001FFFFFFFF
[2021-03-26.01:13:58] [Info] Counting by: 0000000000000000000000000000000000000000000000000000000000000001
[2021-03-26.01:13:58] [Info] Initializing GeForce GTX 1060 6GB
[2021-03-26.01:13:59] [Info] Generating 4,194,304 starting points (160.0MB)
[2021-03-26.01:14:00] [Info] 10.0%
[2021-03-26.01:14:00] [Info] 20.0%
[2021-03-26.01:14:00] [Info] 30.0%
[2021-03-26.01:14:00] [Info] 40.0%
[2021-03-26.01:14:00] [Info] 50.0%
[2021-03-26.01:14:01] [Info] 60.0%
[2021-03-26.01:14:01] [Info] 70.0%
[2021-03-26.01:14:01] [Info] 80.0%
[2021-03-26.01:14:01] [Info] 90.0%
[2021-03-26.01:14:01] [Info] 100.0%
[2021-03-26.01:14:01] [Info] Done
[2021-03-26.01:14:01] [Info] Loading addresses from 'compare.txt'
[2021-03-26.01:14:01] [Info] 10 addresses loaded (0.0MB)
GeForce GTX 1060 1441 / 6144MB | 10 targets 84.16 MKey/s (775,946,240 total) [00:00:07][2021-03-26.01:14:11] [Info] Found key for address '13vN1zbeNJaLEAapSEB5q6Tx2u8Czbg3PC'. Written to 'comparetest.txt'
GeForce GTX 1060 1441 / 6144MB | 9 targets 83.33 MKey/s (926,941,184 total) [00:00:09][2021-03-26.01:14:12] [Info] Found key for address '131P4vKA1Udm4pYLR6AdxqTS8MicrtHwAP'. Written to 'comparetest.txt'
GeForce GTX 1060 1441 / 6144MB | 8 targets 85.65 MKey/s (1,396,703,232 total) [00:00:14][2021-03-26.01:14:19] [Info] Found key for address '15CvUrFPRuTmRfrqdyeJmzJyBm5XSgG2pF'. Written to 'comparetest.txt'
GeForce GTX 1060 1441 / 6144MB | 7 targets 84.20 MKey/s (1,707,081,728 total) [00:00:18][2021-03-26.01:14:22] [Info] Found key for address '13ePh5jTqAScHpHn64veJCjsNercbY2Vk8'. Written to 'comparetest.txt'
[2021-03-26.01:14:23] [Info] Found key for address '1FHcbX4NRHyM7czubge2qGvTyWbm7mpHAj'. Written to 'comparetest.txt'
GeForce GTX 1060 1441 / 6144MB | 5 targets 84.16 MKey/s (2,793,406,464 total) [00:00:31][2021-03-26.01:14:34] [Info] Found key for address '1F7GmqBsaijtTzubeuk32qC6Nn5MYAyfkT'. Written to 'comparetest.txt'
[2021-03-26.01:14:34] [Info] Found key for address '1CXTEzbAATX1D5YB3Ncci1gtBEEchT2JJs'. Written to 'comparetest.txt'
GeForce GTX 1060 1441 / 6144MB | 3 targets 86.48 MKey/s (3,426,746,368 total) [00:00:38][2021-03-26.01:14:43] [Info] Found key for address '1KGqdarqVdTDS7qDxb4haaMqBMRZ4kJvEU'. Written to 'comparetest.txt'
GeForce GTX 1060 1441 / 6144MB | 2 targets 85.60 MKey/s (3,741,319,168 total) [00:00:42][2021-03-26.01:14:46] [Info] Found key for address '15MjvwJbHtbxJKy8AmZWXjXppk66qxYaoV'. Written to 'comparetest.txt'
GeForce GTX 1060 1441 / 6144MB | 1 target 86.43 MKey/s (4,219,469,824 total) [00:00:47][2021-03-26.01:14:51] [Info] Reached end of keyspace

C:\Users\your\Documents\VanSearch>pause
Press any key to continue . . .
It took right at 53 seconds to find the 9 keys in the range and actually reach the end of keyspace.

VanBitCracken results:
Code:
VanBitCracken v1.0
Keyspace start=100000000
Keyspace   end=1FFFFFFFF
Search: 10 addresses (Lookup size 10,[1,1]) [Compressed]
Start at Fri Mar 26 01:12:43 2021
Number of CPU thread: 0
GPU: GPU #0 GeForce GTX 1060 6GB (10x128 cores) Grid(512x512)
[EXIT] Reached end of keyspace. (2^32.09) [00:00:37 Elapsed Time//Time Left 00:00:00][9]
Finish at Fri Mar 26 01:13:23 2021

C:\Users\your\Documents\VanSearch>pause
Press any key to continue . . .
VBC took right at 40 seconds to find the 9 keys in the range and actually reach the end of keyspace.

So VanBitCracken was 13 seconds faster. Which is what, 24.5% faster than the original cuBitCrack, right?

If I run the same exact test that you did, just finding the 9 keys, here are the results:

original bitcrack:
Code:
[2021-03-26.01:31:49] [Info] Compression: compressed
[2021-03-26.01:31:49] [Info] Starting at: 0000000000000000000000000000000000000000000000000000000100000000
[2021-03-26.01:31:49] [Info] Ending at:   00000000000000000000000000000000000000000000000000000001FFFFFFFF
[2021-03-26.01:31:49] [Info] Counting by: 0000000000000000000000000000000000000000000000000000000000000001
[2021-03-26.01:31:49] [Info] Initializing GeForce GTX 1060 6GB
[2021-03-26.01:31:49] [Info] Generating 4,194,304 starting points (160.0MB)
[2021-03-26.01:31:50] [Info] 10.0%
[2021-03-26.01:31:51] [Info] 20.0%
[2021-03-26.01:31:51] [Info] 30.0%
[2021-03-26.01:31:51] [Info] 40.0%
[2021-03-26.01:31:51] [Info] 50.0%
[2021-03-26.01:31:51] [Info] 60.0%
[2021-03-26.01:31:51] [Info] 70.0%
[2021-03-26.01:31:51] [Info] 80.0%
[2021-03-26.01:31:51] [Info] 90.0%
[2021-03-26.01:31:51] [Info] 100.0%
[2021-03-26.01:31:51] [Info] Done
[2021-03-26.01:31:51] [Info] Loading addresses from 'compare.txt'
[2021-03-26.01:31:51] [Info] 9 addresses loaded (0.0MB)
GeForce GTX 1060 1441 / 6144MB | 9 targets 85.65 MKey/s (775,946,240 total) [00:00:07][2021-03-26.01:32:02] [Info] Found key for address '13vN1zbeNJaLEAapSEB5q6Tx2u8Czbg3PC'. Written to 'comparetest.txt'
GeForce GTX 1060 1441 / 6144MB | 8 targets 85.60 MKey/s (931,135,488 total) [00:00:09][2021-03-26.01:32:02] [Info] Found key for address '131P4vKA1Udm4pYLR6AdxqTS8MicrtHwAP'. Written to 'comparetest.txt'
GeForce GTX 1060 1441 / 6144MB | 7 targets 84.90 MKey/s (1,396,703,232 total) [00:00:14][2021-03-26.01:32:09] [Info] Found key for address '15CvUrFPRuTmRfrqdyeJmzJyBm5XSgG2pF'. Written to 'comparetest.txt'
GeForce GTX 1060 1441 / 6144MB | 6 targets 84.90 MKey/s (1,707,081,728 total) [00:00:18][2021-03-26.01:32:12] [Info] Found key for address '13ePh5jTqAScHpHn64veJCjsNercbY2Vk8'. Written to 'comparetest.txt'
[2021-03-26.01:32:13] [Info] Found key for address '1FHcbX4NRHyM7czubge2qGvTyWbm7mpHAj'. Written to 'comparetest.txt'
GeForce GTX 1060 1441 / 6144MB | 4 targets 86.43 MKey/s (2,818,572,288 total) [00:00:31][2021-03-26.01:32:24] [Info] Found key for address '1F7GmqBsaijtTzubeuk32qC6Nn5MYAyfkT'. Written to 'comparetest.txt'
[2021-03-26.01:32:24] [Info] Found key for address '1CXTEzbAATX1D5YB3Ncci1gtBEEchT2JJs'. Written to 'comparetest.txt'
GeForce GTX 1060 1441 / 6144MB | 2 targets 86.48 MKey/s (3,451,912,192 total) [00:00:38][2021-03-26.01:32:33] [Info] Found key for address '1KGqdarqVdTDS7qDxb4haaMqBMRZ4kJvEU'. Written to 'comparetest.txt'
GeForce GTX 1060 1441 / 6144MB | 1 target 86.43 MKey/s (3,766,484,992 total) [00:00:42][2021-03-26.01:32:36] [Info] Found key for address '15MjvwJbHtbxJKy8AmZWXjXppk66qxYaoV'. Written to 'comparetest.txt'
[2021-03-26.01:32:36] [Info] No targets remaining

C:\Users\your\Documents\VanSearch>pause
Press any key to continue . . .

and VanBit:
Code:
VanBitCracken v1.0
Keyspace start=100000000
Keyspace   end=1FFFFFFFF
Search: 9 addresses (Lookup size 9,[1,1]) [Compressed]
Start at Fri Mar 26 01:33:34 2021
Number of CPU thread: 0
GPU: GPU #0 GeForce GTX 1060 6GB (10x128 cores) Grid(512x512)
Finish at Fri Mar 26 01:34:07 2021^31.70) [00:00:28 Elapsed Time//Time Left 00:00:07][9]

C:\Users\your\Documents\VanSearch>pause
Press any key to continue . . .

To compare, original bitcrack took 48 seconds and VanBit took 33 seconds.  Which is what, 31.25% faster than the original cuBitCrack, right?
WanderingPhilospher
Full Member
***
Offline Offline

Activity: 1078
Merit: 219

Shooters Shoot...


View Profile
March 26, 2021, 08:57:26 AM
 #970

Quote
Here is sp-mod #4 in vankraken mode: 7 seconds to solve puzzle 39 (4 seconds to set up the poins 3 secs to solve). Note that the speed is only 278Mkeys/s because I only set up 100 starting points.
You make me laugh...I mean that is good and all but you shrunk the 39 bit range down to a 33 bit range.  the correct range is 4000000000:7FFFFFFFFF NOT the range you have dialed in, 4B00000000:4C00000000 . If I shrunk the range down to a 33 bit range, the program would stop before it started with the key.

Come on sp, you're better than that.

Doesn't matter, random is random, and you can't even do that fairly.

I posted my results for side by side comparisons of original bitcrack versus vanbitcracken. vanbitcracken Exceeds your mods' "speed-up" percentages.

Post your best time in a 40 bit range (normal, not random, meaning reach the end of keyspace) and let me show you what vanbitcracken can really do...
I bet you I will beat your mods' best time by 100s of percents, maybe even 1000s of percents.  What say you?
Markzuberg64
Jr. Member
*
Offline Offline

Activity: 35
Merit: 2


View Profile
March 26, 2021, 08:58:19 AM
 #971

It is slow? Yet my program found the key in 44 seconds but yours took around 10 minutes?  

I have a program that find the key in 1ms. It is written in sql. Local database. Here is the sourcecode. It is OpenSource:

select privatekey from compressed_bitcoinadresses where adress="122AJhKLEfkFBaGAd84pLp1kfE7xK3GdT8";


Quote
So you are telling everyone how fast your mod is but it takes your mod over 10 times longer to find the same key, with a better GPU than the one I am using?

I just showed you my 1ms opensource program (puzzle #39). You can show me yours and we can compare them.

Where is the source code ?
nft29377
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
March 26, 2021, 09:56:46 AM
 #972

guys help
i am compiling but after successful i am getting this error
HW : RTX 3080 , OPENCL Nvidia 9.2 cuda , Visual studio 2017 ,

[2021-03-26.13:46:51] [Info] Compression: compressed
[2021-03-26.13:46:51] [Info] Starting at: 0000000000000000000000000000000000000000000000000000000000000001
[2021-03-26.13:46:51] [Info] Ending at:   FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364140
[2021-03-26.13:46:51] [Info] Counting by: 0000000000000000000000000000000000000000000000000000000000000001
[2021-03-26.13:46:52] [Info] Compiling OpenCL kernels...
[2021-03-26.13:46:52] [Info] Error: <kernel>:51:5: error: use of undeclared identifier 'uint64_t'
                                 uint64_t idx[5];
                                 ^
                             <kernel>:53:5: error: use of undeclared identifier 'idx'
                                 idx[0] = ((hash[0] << 6) | (h5 & 0x3f)) & mask;
                                 ^
                             <kernel>:54:5: error: use of undeclared identifier 'idx'
                                 idx[1] = ((hash[1] << 6) | ((h5 >> 6) & 0x3f)) & mask;
                                 ^
                             <kernel>:55:5: error: use of undeclared identifier 'idx'
                                 idx[2] = ((hash[2] << 6) | ((h5 >> 12) & 0x3f)) & mask;
                                 ^
                             <kernel>:56:5: error: use of undeclared identifier 'idx'
                                 idx[3] = ((hash[3] << 6) | ((h5 >> 18) & 0x3f)) & mask;
                                 ^
                             <kernel>:57:5: error: use of undeclared identifier 'idx'
                                 idx[4] = ((hash[4] << 6) | ((h5 >> 24) & 0x3f)) & mask;
                                 ^
                             <kernel>:60:26: error: use of undeclared identifier 'idx'
                                     unsigned int j = idx;
                                                      ^
                             <kernel>:122:9: warning: implicit declaration of function 'readInt' is invalid in C99
                                     readInt(privateKeys, i, p);
                                     ^
                             <kernel>:132:17: warning: implicit declaration of function 'isInfinity' is invalid in C99
                                         if(!isInfinity(x)) {
                                             ^
                             <kernel>:133:17: warning: implicit declaration of function 'beginBatchAddWithDouble' is invalid in C99
                                             beginBatchAddWithDouble(gx, gy, xPtr, chain, i, batchIdx, inverse);
                                             ^
                             <kernel>:139:5: warning: implicit declaration of function 'doBatchInverse' is invalid in C99
                                 doBatchInverse(inverse);
                                 ^
                             <kernel>:159:17: warning: implicit declaration of function 'completeBatchAddWithDouble' is invalid in C99
                                             completeBatchAddWithDouble(gx, gy, xPtr, yPtr, i, batchIdx, chain, inverse, newX, newY);
                                             ^
                             <kernel>:161:17: warning: implicit declaration of function 'copyBigInt' is invalid in C99
                                             copyBigInt(gx, newX);
                                             ^
                             <kernel>:165:13: warning: implicit declaration of function 'writeInt' is invalid in C99
                                         writeInt(xPtr, i, newX);
                                         ^
                             <kernel>:177:5: warning: implicit declaration of function 'sha256PublicKey' is invalid in C99
                                 sha256PublicKey(x, y, hash);
                                 ^
                             <kernel>:184:5: warning: implicit declaration of function 'ripemd160sha256NoFinal' is invalid in C99
                                 ripemd160sha256NoFinal(hash, digestOut);
                                 ^
                             <kernel>:191:5: warning: implicit declaration of function 'sha256PublicKeyCompressed' is invalid in C99
                                 sha256PublicKeyCompressed(x, yParity, hash);
                                 ^
                             <kernel>:272:40: warning: implicit declaration of function 'readLSW' is invalid in C99
                                         hashPublicKeyCompressed(x, readLSW(yPtr, i), digest);
                                                                    ^
                             <kernel>:281:9: warning: implicit declaration of function 'beginBatchAdd' is invalid in C99
                                     beginBatchAdd(incX, x, chain, i, i, inverse);
                                     ^
                             <kernel>:291:9: warning: implicit declaration of function 'completeBatchAdd' is invalid in C99
                                     completeBatchAdd(incX, incY, xPtr, yPtr, i, i, chain, inverse, newX, newY);
nft29377
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
March 26, 2021, 10:08:11 AM
 #973

also during compile on VS 2017 i am getting there warnings

4>The system cannot find the file specified.
4>Error occurred while processing: ripemd160.cl.
4>The system cannot find the file specified.
4>Error occurred while processing: secp256k1.cl.
4>The system cannot find the file specified.
4>Error occurred while processing: sha256.cl.
4>
WanderingPhilospher
Full Member
***
Offline Offline

Activity: 1078
Merit: 219

Shooters Shoot...


View Profile
March 26, 2021, 10:13:28 AM
 #974

Did some tinkering.

Latest results of VBC (from earlier comparison test):

Code:
VanBitCracken v1.1a
Keyspace start=100000000
Keyspace   end=1FFFFFFFF
Search: 9 addresses (Lookup size 9,[1,1]) [Compressed]
Start at Fri Mar 26 03:07:30 2021
CPU threads used: 0
GPU: GPU #0 GeForce GTX 1060 6GB (10x128 cores) Grid(80x512)
165.542 MK/s (GPU 165.542 MK/s) (2^31.80) [00:00:22 Elapsed Time][9]
Finish at Fri Mar 26 03:07:54 2021

C:\Users\your\Documents\VanSearch>pause
Press any key to continue . . .


Finished test in 24 seconds.  Reduced overall search from 33 seconds to 24 seconds.

Compared to original bitcrack, this program is now 50% faster!
Original bitcrack did the search in 48 seconds, VBC in 24 seconds.
sp_
Legendary
*
Offline Offline

Activity: 2912
Merit: 1087

Team Black developer


View Profile
March 26, 2021, 10:30:18 AM
Last edit: March 26, 2021, 10:59:50 AM by sp_
 #975

sp-mod #5 has been released

https://github.com/sp-hash/Bitcrack/releases/tag/sp-mod5

-Fixed out of memory error on highend gpu's
-Faster hashing
-2nd. try to fix rtx cards compability

gtx 1080ti: 705 Mkeys
gtx titanx pascal 685 Mkeys
gtx 1070ti: 488 Mkeys
gtx 10603gb 366Mkeys

Solve puzzle 64 (0.64BTC):
cuBitCrack.exe -r --keyspace 8000000000000000:ffffffffffffffff 16jY7qLJnxb7CHZyqBP8qca9d51gAjyXQNQ


Team Black Miner (ETHB3 ETH ETC VTC KAWPOW FIROPOW MEOWPOW + dual mining + tripple mining.. https://github.com/sp-hash/TeamBlackMiner
NotATether
Legendary
*
Offline Offline

Activity: 1638
Merit: 6913


bitcoincleanup.com / bitmixlist.org


View Profile WWW
March 26, 2021, 11:18:00 AM
 #976

also during compile on VS 2017 i am getting there warnings

4>The system cannot find the file specified.
4>Error occurred while processing: ripemd160.cl.
4>The system cannot find the file specified.
4>Error occurred while processing: secp256k1.cl.
4>The system cannot find the file specified.
4>Error occurred while processing: sha256.cl.
4>

I have a feeling that OpenCL doesn't like the uint64_t type and wants you to use unsigned long long (?) instead. Neither does CUDA.

I guess check if the above files are missing from the filesystem too?

You're compiling from the dev branch right? It's not exactly stable, so I wouldn't be surprised if it's riddled with compiler errors too.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Robert_BIT
Newbie
*
Offline Offline

Activity: 33
Merit: 0


View Profile
March 26, 2021, 11:19:37 AM
 #977

For me #4 and #5 finished the same search in the exact same amount of time, so no difference on #4 vs #5 on my side  Huh

https://i.imgur.com/y0rKeXB.png


https://i.imgur.com/u30nrLk.png
sp_
Legendary
*
Offline Offline

Activity: 2912
Merit: 1087

Team Black developer


View Profile
March 26, 2021, 11:28:36 AM
 #978

For me #4 and #5 finished the same search in the exact same amount of time, so no difference on #4 vs #5 on my side  Huh

Try to let the program choose the launchconfig automaticly. And solve a harder puzzle. The program is optimized to solve 2^64 - 2^160 keys

Team Black Miner (ETHB3 ETH ETC VTC KAWPOW FIROPOW MEOWPOW + dual mining + tripple mining.. https://github.com/sp-hash/TeamBlackMiner
sp_
Legendary
*
Offline Offline

Activity: 2912
Merit: 1087

Team Black developer


View Profile
March 26, 2021, 11:48:34 AM
 #979

All four mods are not working in 30 series GPUs Sad waiting for your 5th mod Smiley

Can you try #5? Does it work?

Team Black Miner (ETHB3 ETH ETC VTC KAWPOW FIROPOW MEOWPOW + dual mining + tripple mining.. https://github.com/sp-hash/TeamBlackMiner
Robert_BIT
Newbie
*
Offline Offline

Activity: 33
Merit: 0


View Profile
March 26, 2021, 11:49:13 AM
 #980

For me #4 and #5 finished the same search in the exact same amount of time, so no difference on #4 vs #5 on my side  Huh

Try to let the program choose the launchconfig automaticly. And solve a harder puzzle. The program is optimized to solve 2^64 - 2^160 keys

Yup, with no arguments for -b -t -d  #5 found the same above key 12 secs faster. While #4 gave me memory error...so #5 is improved  Smiley I'll try with an A100 as well soon and post the results.


https://i.imgur.com/APBj1tU.png
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 82 83 84 85 86 87 88 89 90 91 92 93 94 95 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!