How to add write to txt resoult option tihs code?
from bitcoin import *
with open("pubkey.txt") as f:
for line in f:
print(pubtoaddr(line.strip()))
Jeanluc GPU version launched, Enjoy high speed
https://github.com/JeanLucPons/KangarooThanks Jean Luc Pons. This is generally a super version!
P.S. If you do not take into account problems with limit RAM.
./vs-kangaroo-hybrid -v 1 -gpu -g 112,128 -d 14 -bits 65 0230210c23b1a047bc9bdbb13448e67deddc108946de6de639bcc75d47c0216b1b
[###########################################################]
[# Pollard-kangaroo PrivKey Recovery Tool #]
[# (based on engine of VanitySearch 1.15) #]
[# bitcoin ecdsa secp256k1 #]
[# ver 0.01 GPU Hybrid v50 #]
[# GPU implementation changes by alek76 #]
[# Tips: 1NULY7DhzuNvSDtPkFzNo6oRTZQWBqXNE9 #]
[###########################################################]
[DATE(utc)] 01 May 2020 15:14:56
[~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~]
[pow2bits] 65
[Wsqrt] (2^32) 100000000
[M] 18000000000000000
[rangeW] 2^64..2^65 ; W = U - L = 2^64
[DPsize] 1048576 (hashtable size)
[~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~]
[pubkey#65] loaded
[Xcoordinate] 30210C23B1A047BC9BDBB13448E67DEDDC108946DE6DE639BCC75D47C0216B1B
[Ycoordinate] E383C4A8ED4FAC77C0D2AD737D8499A362F483F8FE39D1E86AAED578A9455DFC
[~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~]
[+] Sp-table of pow2 points - ready
[~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~]
[UV] U*V=0*0=0 (0x00)
[optimal_mean_jumpsize] 0
[meanjumpsize#1] 1(now) <= 0(optimal) <= 1(next)
[i] Sp[0]|J-|Sp[1]
[i] this Sp set has low efficiency (over -25%) for this mean jumpsize
[JmaxofSp] Sp[1]=0 nearer to optimal mean jumpsize of Sp set
[i] Old DPmodule: 2^30
[i] New DPmodule: 2^24
[DPmodule] 2^24 = 16777216 (0x0000000001000000)
[+] 0T+0W kangaroos - ready
[CPU] threads: 0
[GPU] threads: 1 Hang on to your hats... ;-)
[optimal_mean_jumpsize] 80000000
[meanjumpsize#36] 71C71C71(now) <= 80000000(optimal) <= DD67C8A6(next)
[i] Sp[36]|-------J----------------------------------------------------|Sp[37]
[JmaxofSp] Sp[36]=71C71C71 nearer to optimal mean jumpsize of Sp set
GPUEngine: Fixed DPmodule = 2^14
GPUEngine: Total kangaroos and their close relatives 1835008 ;-)
GPUEngine: Fixed DPmodule: 0x4000 2^14 Hop_modulo: 36 Power: 0
GPU GPU #0 Tesla P100-PCIE-16GB (56x64 cores) Grid(112x128) (372.0 MB used)
GPU Bits: 65
GPU Tame Points: [M] + Rand(pow2W-0)
GPU Tame Starting Key 0: 18000000000000000
GPU Tame Starting Key 1: 193D59863DC7D95EA
GPU Tame Starting Key 2: 27C1C9DD7D2198AE2
GPU Tame Starting Key 3: 23A612EF12ACD2F8A
GPU Tame Starting Key 4: 1F7F356916028DDE6
GPU Tame Starting Key 5: 26C5D4077F4F9BAF3
GPU Tame Starting Key 6: 18F9564C21CA3C460
GPU Tame Starting Key 7: 227A6741514615CEC
GPU Tame Starting Key 8: 233067A266E443E92
GPU Tame Starting Key 9: 22FA44E610CAF4A63
GPU Tame Starting Key 917503: 1B9F82DD482A6D001 Kangaroo: 917504
GPU Wild Points: [Target] + Rand(pow2W-0)
GPU Wild Starting Key 0: FA17B0C34E557333
GPU Wild Starting Key 1: D09F6EB87C39FA2A
GPU Wild Starting Key 2: 918CEDCBD36F520A
GPU Wild Starting Key 3: 4E3121FF3923172E
GPU Wild Starting Key 4: AF8ED64F7C8C81F7
GPU Wild Starting Key 5: 693E3EE39CD8C525
GPU Wild Starting Key 6: C13DDA4BFE17E34F
GPU Wild Starting Key 7: 8DFF6B3F42A6E494
GPU Wild Starting Key 8: B0136F53A1CD07F6
GPU Wild Starting Key 9: BBA55D8E08853A61
GPU Wild Starting Key 917503: 127466BB14A4021E Kangaroo: 917504
[i] Used Comparator in Python
[+] Runing Comparator every: 10 sec
Python Comparator time: 176.599 msec
[\][ 0: 0:10 ; 412.2M j/s; [GPU 412.22 Mj/s] 4.0Gj 48.0%; dp/kgr=0.0; 0: 0:10 ]
Python Comparator time: 1281.692 msec
[/][ 0: 0:22 ; 411.9M j/s; [GPU 411.88 Mj/s] 9.0Gj 105.4%; dp/kgr=0.0; 0: 0: 0 ]
Python Comparator time: 2502.736 msec
[|][ 0: 0:36 ; 410.0M j/s; [GPU 410.05 Mj/s] 14.0Gj 172.2%; dp/kgr=0.0; 0: 0: 0 ]
SOLVED: 0x1a838b13505b26867L
Tips: 1NULY7DhzuNvSDtPkFzNo6oRTZQWBqXNE9
[i] No Cleaning wild-1.txt, wild-2.txt, tame-1.txt, tame-2.txt
Python Comparator time: 3935.007 msec
[i] 409.9M j/s; 15.0Gj of 8.0Gj 181.2%; DP 0T+0W=0+0=0; dp/kgr=0.0;
[runtime] 0: 0:38
[~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~]
[DATE(utc)] 01 May 2020 15:15:54
[~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~]
[x] EXIT
Now high speed. During long work, it turned out that a large number of saved points (more than 5 GB) did not affect the speed of the GPU. DP was selected 2 ^ 16. If the value is less than 14, writing a large amount of data to files slows down the speed.