Post
Topic
Board Bitcoin Discussion
Re: Bitcoin challenge transaction: ~100 BTC total bounty to solvers!
by
Ambirus
on 18/12/2019, 10:29:33 UTC
kangaroo work with only one key.

You can run on a large list of public keys.
Telariust answered this question

https://github.com/Telariust/pollard-kangaroo/issues/3#issuecomment-530904845

Code:

@Echo Off
COLOR 0A

SET file=PublicKey0001.txt

setlocal enabledelayedexpansion

SET sessFile=_session.txt

SET Npubkey=0
echo [~] calc total Npubkey in file "!file!" ..
For /F %%a In (%file%) Do (
SET /a Npubkey+=1
)

SET lastN=0
IF EXIST !sessFile! (
SET /P lastN=)

SET n=0
For /F %%a In (%file%) Do (
echo =================================================
REM date /T && time /T
powershell Get-Date
echo [!n!/!Npubkey!] %%a

IF !lastN! == !n! (
echo !n!>!sessFile!

C:\Python37\python.exe pollard-kangaroo.py 32 %%a
REM timeout /T 1

SET /a lastN+=1
)

SET /a n+=1
)