Bitcoin Forum
December 15, 2024, 06:45:17 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 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 97 98 99 100 101 102 103 104 [105] 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 ... 191 »
  Print  
Author Topic: Vanitygen: Vanity bitcoin address generator/miner [v0.22]  (Read 1153671 times)
crazyearner
Legendary
*
Offline Offline

Activity: 1820
Merit: 1001



View Profile
April 12, 2015, 05:37:37 PM
 #2081

I need keyconv, does anyone have it? the latest version come without the keyconv Huh
Kangaderoo's repo has a Windows build:
https://github.com/kangaderoo/vanitygen/tree/master/WIN32Build

Would be nice if vanitygen had a GUI for it to make generating addresses with ease. Right now I have a fair few problems using to use with GPU I get it to generate but it never outputs addresses. Using cpu is perfectly fine however want to make more complex addresses with 5 digits custom of me own tan 3 to 4 if using 5 and beyond with cpu takes way too long. Any recommendations on how to get working with  an AMD R9 280x gpu
A GUI probably wouldn't help with your problems.  Would probably need somebody to look at the GPU code and figure out why it's not working properly for that card ( I seem to recall you asking about the 280x before, so I'm assuming you had no luck with existing info. )

Yeah I had looked at many different options before and indeed did look at trying to get resolved some months back and had a week on it then gave up and decided to try again with some more stuff I found and come across and still at a stand still with it. So think only way am going to succeed with this if I go on Linux or something and look at it in more detail and try to figure it out.

=
  R E B E L L I O U S 
  ▄▀▀▀▀▀▄▄                           ▄▄▀▀▀▀▀▄
▄▀        █▄▄                     ▄▄█        ▀▄
█            █████████████████████            █
█▄          ██       ██ ██       ██          ▄█
█        █            █            █        █
  █    █               █               █    █
   █ ██               █ █               ██ █
    █ █               █ █               █ █
    █ ███▄  █████▄   ██ ██   ▄█████  ▄███ █
    █     ███     █         █     ███     █
     █   █   ▀███ █  █   █  █ ███▀   █   █
     █   █      █ █  █   █  █ █      █   █
     █   █      ██  █     █  ██      █   █
      █  █     ██  █       █  ██     █  █
      █  █    ██  █ ███████ █  ██    █  █
      █ ███   ██  █         █  ██   ███ █
       █   ▀███      █   █      ███▀   █
        █     ██       █       ██     █
         █      █   ▄▄███▄▄   █      █
          ███   ███▀       ▀███   ███
             █████           █████
                  ███████████
  ▄▀▀▀▀▀▄▄                           ▄▄▀▀▀▀▀▄
▄▀        █▄▄                     ▄▄█        ▀▄
█            █████████████████████            █
█▄          ██       ██ ██       ██          ▄█
█        █            █            █        █
  █    █               █               █    █
   █ ██               █ █               ██ █
    █ █               █ █               █ █
    █ ███▄  █████▄   ██ ██   ▄█████  ▄███ █
    █     ███     █         █     ███     █
     █   █   ▀███ █  █   █  █ ███▀   █   █
     █   █      █ █  █   █  █ █      █   █
     █   █      ██  █     █  ██      █   █
      █  █     ██  █       █  ██     █  █
      █  █    ██  █ ███████ █  ██    █  █
      █ ███   ██  █         █  ██   ███ █
       █   ▀███      █   █      ███▀   █
        █     ██       █       ██     █
         █      █   ▄▄███▄▄   █      █
          ███   ███▀       ▀███   ███
             █████           █████
                  ███████████
  R E B E L L I O U S
Muhammed Zakir
Hero Member
*****
Offline Offline

Activity: 560
Merit: 509


I prefer Zakir over Muhammed when mentioning me!


View Profile WWW
April 13, 2015, 09:36:25 AM
 #2082

FYI: Bither wallet has implemented vanitygen into the wallet which gives makes it GUI vanitygen(sort of).

unamis76
Legendary
*
Offline Offline

Activity: 1512
Merit: 1012


View Profile
April 13, 2015, 03:43:46 PM
 #2083

FYI: Bither wallet has implemented vanitygen into the wallet which gives makes it GUI vanitygen(sort of).

Sounds nice, I'll try it soon! Is it the same vanitygen that is linked here? CPU+GPU or CPU only?
Muhammed Zakir
Hero Member
*****
Offline Offline

Activity: 560
Merit: 509


I prefer Zakir over Muhammed when mentioning me!


View Profile WWW
April 13, 2015, 03:55:29 PM
 #2084

FYI: Bither wallet has implemented vanitygen into the wallet which gives makes it GUI vanitygen(sort of).

Sounds nice, I'll try it soon! Is it the same vanitygen that is linked here? CPU+GPU or CPU only?

I think so.

Bither Desktop v1.3.2 released with vanitygen  Grin




Latest release:

Bither iOS v1.3.2 now supports Apple Watch  Cheesy



TheRealSteve
Hero Member
*****
Offline Offline

Activity: 686
Merit: 500

FUN > ROI


View Profile
April 13, 2015, 04:46:40 PM
 #2085

Sounds nice, I'll try it soon! Is it the same vanitygen that is linked here? CPU+GPU or CPU only?
While it's not guaranteed that it matches the binaries, you can check out their repository here:
https://github.com/bither/

You can then see that they forked the original source code from samr7 and only made some changes with regard to compiling on OS X and specific libbed linux distros.
Separate binary compiles are in /bither-desktop-java/vanitygen

Code-wise, it looks like it calls those binaries similar to the way you would on a command line - so the GUI is in effect just a front-end similar to - but more polished than - that .bat file floating around on these forums somewhere Smiley

unamis76
Legendary
*
Offline Offline

Activity: 1512
Merit: 1012


View Profile
April 13, 2015, 08:48:13 PM
 #2086

Sounds nice, I'll try it soon! Is it the same vanitygen that is linked here? CPU+GPU or CPU only?
While it's not guaranteed that it matches the binaries, you can check out their repository here:
https://github.com/bither/

You can then see that they forked the original source code from samr7 and only made some changes with regard to compiling on OS X and specific libbed linux distros.
Separate binary compiles are in /bither-desktop-java/vanitygen

Code-wise, it looks like it calls those binaries similar to the way you would on a command line - so the GUI is in effect just a front-end similar to - but more polished than - that .bat file floating around on these forums somewhere Smiley

Looks good, thanks for sharing Smiley

Also, that Apple Watch app looks really cool! Smiley
crazyearner
Legendary
*
Offline Offline

Activity: 1820
Merit: 1001



View Profile
April 13, 2015, 09:29:33 PM
 #2087

Bither Desktop looks like a nice app going to try it and see how it works. I wonder if they keep the private keys or it is legit and secure to use.

=
  R E B E L L I O U S 
  ▄▀▀▀▀▀▄▄                           ▄▄▀▀▀▀▀▄
▄▀        █▄▄                     ▄▄█        ▀▄
█            █████████████████████            █
█▄          ██       ██ ██       ██          ▄█
█        █            █            █        █
  █    █               █               █    █
   █ ██               █ █               ██ █
    █ █               █ █               █ █
    █ ███▄  █████▄   ██ ██   ▄█████  ▄███ █
    █     ███     █         █     ███     █
     █   █   ▀███ █  █   █  █ ███▀   █   █
     █   █      █ █  █   █  █ █      █   █
     █   █      ██  █     █  ██      █   █
      █  █     ██  █       █  ██     █  █
      █  █    ██  █ ███████ █  ██    █  █
      █ ███   ██  █         █  ██   ███ █
       █   ▀███      █   █      ███▀   █
        █     ██       █       ██     █
         █      █   ▄▄███▄▄   █      █
          ███   ███▀       ▀███   ███
             █████           █████
                  ███████████
  ▄▀▀▀▀▀▄▄                           ▄▄▀▀▀▀▀▄
▄▀        █▄▄                     ▄▄█        ▀▄
█            █████████████████████            █
█▄          ██       ██ ██       ██          ▄█
█        █            █            █        █
  █    █               █               █    █
   █ ██               █ █               ██ █
    █ █               █ █               █ █
    █ ███▄  █████▄   ██ ██   ▄█████  ▄███ █
    █     ███     █         █     ███     █
     █   █   ▀███ █  █   █  █ ███▀   █   █
     █   █      █ █  █   █  █ █      █   █
     █   █      ██  █     █  ██      █   █
      █  █     ██  █       █  ██     █  █
      █  █    ██  █ ███████ █  ██    █  █
      █ ███   ██  █         █  ██   ███ █
       █   ▀███      █   █      ███▀   █
        █     ██       █       ██     █
         █      █   ▄▄███▄▄   █      █
          ███   ███▀       ▀███   ███
             █████           █████
                  ███████████
  R E B E L L I O U S
btc_enigma
Hero Member
*****
Offline Offline

Activity: 692
Merit: 569


View Profile
April 14, 2015, 07:47:17 AM
 #2088

Can i run vanity miner using cpu , without opencl

Yes. Use Vanitygen or Vanitygen64. oclvanitygen(32 & 64) uses OpenCL.

Vanitygen doesn't accept pool url as parameter , Basically I want to join vanity pool vanitypool.appspot.com using cpu mining

TheRealSteve
Hero Member
*****
Offline Offline

Activity: 686
Merit: 500

FUN > ROI


View Profile
April 14, 2015, 12:21:48 PM
Last edit: April 14, 2015, 04:44:27 PM by TheRealSteve
 #2089

Vanitygen doesn't accept pool url as parameter , Basically I want to join vanity pool vanitypool.appspot.com using cpu mining
You'd need a build of oclvanityminer64(.exe) without the OpenCL requirement - or see if your CPU shows up as an OpenCL device and select it specifically with the -D parameter.
In lieu of that, you can always set it up manually with vanitygen(.exe) or with some dirty bits of code - it's just http get/post to the pool anyway. Edit: actually, I seem to recall that they're both http get.

Edit 2: Just to show how simple it could be done (no error checking/optimization/etc.), a bit of AutoIt code that polls the most popular vanitypool server for work, selects either the most lavish or the shortest entry, and attempts to mine it.  A tiny GUI shows what's being mined, and feedback from vanitygen.  Consider it BSD-style licensed, so do with it what you will; try not to quote the entire post if you just want to point out corrections/etc. though, saves legacy code popping up for people from the future.
Code:
; ==================================================
; Vanitygen simpleton mining front-end v0.01
; https://bitcointalk.org/index.php?topic=25804.msg11084323#msg11084323
;
; v0.01 - 2015/04/14
;   Initial version.  Largely untested, mostly because there's no server to test against for matches.
;   Matches are always saved, however - see configuration below - so you can always try to manually submit.
; ~ TheRealSteve
;
; Requires: AutoIt - https://www.autoitscript.com/site/autoit/
; ==================================================

; ========== Configuration ==========
; SET YOUR ADDRESS HERE
$xsPayAddress = "1BitcoinEaterAddressDontSendf59kuE"

; Do you want to mine 1. the most lavish (best payout over average time taken)
; Or do you want to mine 2. the shortest (faster solves)
; NOTE: Unlike oclvanityminer, this script does not take into account searching for multiple vanities under the same keypart!
$xiMineTarget = 2

; Check for work every how many minutes?
$xiWorkInterval = 15

; Where's vanitygen stored?  No dir = same dir as script.
; You can also use this to specify oclvanitygen with OpenCL parameters
$xfVanitygen = "vanitygen64.exe"
; $xfVanitygen = "oclvanitygen64.exe -p 1"

; Where to store the server's getWork result?  No dir = same dir as script.
$xfGetWork = "getwork.lst"

; Where to store list of submitted results and server responses? No dir = same dir as script.
;   File format:
;     URL submitted
;     first line of server response - OK! = accepted, supposedly.
$xfPostWork = "postwork.lst"

; Temporary file name?  No dir = same dir as script.
$xfTempFile = "vanity.tmp"

; ========== Script ==========
; Don't modify anything here unless you know what you're doing
#include <Constants.au3>
#include <GUIConstantsEx.au3>

; Set up a little GUI
Opt("GUIOnEventMode", 1)
GUICreate("Vanitygen simpleton mining front-end v0.01", 400, 50)
Global $guiMiningLabel = GUICtrlCreateLabel("Now mining: ", 30, 10, 350)
Global $guiVanitygenLabel = GUICtrlCreateLabel("- waiting for vanitygen output -", 30, 24, 350)
Global $guiVanitygenLabel = GUICtrlCreateLabel("Payment to: " & $xsPayAddress, 30, 24, 350)
GUISetOnEvent($GUI_EVENT_CLOSE, "fnCloseButton")
GUISetState(@SW_SHOW)

Global $iVanitygenPid
OnAutoItExitRegister("fnCleanup")
While (1) ; Infinite loops are awesome.
; some variables
Local $sLavishVanity
Local $sLavishKey
Local $iLavishByte
Local $fLavishValue = 0

Local $sShortVanity
Local $iShortVanityLen = 32
Local $sShortKey
local $iShortByte
Local $fShortValue

Local $sWorkVanity
Local $iWorkByte
Local $sWorkKey

; Get work from the server
If (FileExists($xfGetWork)) Then
FileDelete($xfGetWork)
EndIf
InetGet ("https://vanitypool.appspot.com/getWork", $xfGetWork)
$hGetwork = FileOpen($xfGetWork)

; Parse the work to find the most lavish single entry, and the shortest single entry
$aWorkEntries = FileReadToArray($hGetwork)
For $sWorkEntry In $aWorkEntries
Local $aEntryElements = StringSplit($sWorkEntry,":") ; Split work entry into constituent parts
Local $_sVanity = $aEntryElements[1]
Local $_sKey = $aEntryElements[2]
Local $_iByte = $aEntryElements[3]
Local $_fLavishness = $aEntryElements[4]
If (StringRight($_fLavishness,1) == ";") Then
$_fLavishness = StringTrimRight($_fLavishness,1) ; remove trailing semicolon if there was no comment following (optional at this time anyway)
EndIf

; Check for shortest work entry
Local $iVanityLen = StringLen($_sVanity)
If (StringLeft($_sVanity,3) <> "111") Then ; None of that repeating ones stuff that throws off calculations.
If (($iVanityLen < $iShortVanityLen) Or (($iVanityLen == $iShortVanityLen) And ($_fLavishness > $fShortValue))) Then
$sShortVanity = $_sVanity
$iShortVanityLen = $iVanityLen
$sShortKey = $_sKey
$iShortByte = $_iByte
$fShortValue = $_fLavishness
EndIf
EndIf

; Check for most lavish work entry
If ($_fLavishness > $fLavishValue) Then
$fLavishValue = $_fLavishness
$sLavishVanity = $_sVanity
$iLavishByte = $_iByte
$sLavishKey = $_sKey
EndIf
Next
FileCLose($hGetwork)

; Decide which vanity to mine for
; Why isn't this optimized into the above?  Because this way the GUI can be extended with some radiobuttons to switch modes, if desired, without re-polling.
If ($xiMineTarget == 1) Then
$sWorkVanity = $sLavishVanity
$sWorkKey = $sLavishKey
$iWorkByte = $iLavishByte
ELseif ($xiMineTarget == 2) Then
$sWorkVanity = $sShortVanity
$sWorkKey = $sShortKey
$iWorkByte = $iShortByte
EndIf

; overrides for testing
; $sWorkVanity = "1abc"
; $sWorkKey  = "NotAKey"
; $iWorkByte = 0

; Begin mining
If (FileExists($xfTempFile)) Then
FileDelete($xfTempFile)
EndIf

GuiCtrlSetData($guiMiningLabel,"Now mining: " & $sWorkVanity)
$iVanitygenPid = Run($xfVanitygen & " -F compressed -P "&$sWorkKey&" -X "&$iWorkByte&" -o "&$xfTempFile&" "&$sWorkVanity,@ScriptDir,@SW_HIDE,$STDOUT_CHILD)
$iDelayProcessCheck = 250 ; Check for the process every 0.25s
$iDelayWorkPoll = $xiWorkInterval*60*1000 ; Check for work every $xiWorkInterval minutes
For $iDelayCounter = 0 To $iDelayWorkPoll Step $iDelayProcessCheck
; Inaccurate, but it'll do.
sleep($iDelayProcessCheck)

; Let's see what vanitygen has to say...
$sStdOut = StdoutRead($iVanitygenPid)
$aStdOut = StringSplit($sStdOut,@CRLF)
If ($aStdOut[0] >= 2) Then
GuiCtrlSetData($guiVanitygenLabel,$aStdOut[$aStdOut[0]])
EndIf

; If vanitygen exited early
If (Not ProcessExists($iVanitygenPid)) Then
; Maybe it found something!
If (FileExists($xfTempFile)) Then
$sPrivKey = StringTrimLeft(FileReadLine($xfTempFile,3),13) ; This is what we need, the generator part private key
FileDelete($xfTempFile)
Local $url = "https://vanitypool.appspot.com/solve?key=" &$sWorkVanity&":"&$sWorkKey&"&privateKey="&$sPrivKey&"&bitcoinAddress=" & $xsPayAddress
FileWriteLine($xfPostWork,"Input : " & $url)
InetGet($url,$xfTempFile,1)
FileWriteLine($xfPostWork,"Output: " & FileReadLine($xfTempFile,1))
FileDelete($xfTempFile)
EndIf
; Otherwise the user probably killed the process, or it crashed, or something.
; Either way, let's exit the process check loop
ExitLoop
EndIf
Next
; We've waited $xiWorkInterval minutes, kill vanitygen (if running)
fnCleanup()
; And start anew!
WEnd

; Called when getting new work, and when exiting the script - makes sure vanitygen is closed, files are cleaned up
Func fnCleanup()
If (ProcessExists($iVanitygenPid)) Then
ProcessClose($iVanitygenPid)
EndIf
If (FileExists($xfTempFile)) Then
FileDelete($xfTempFile)
EndIf
EndFunc

; Closed the GUI?  Then we better exit (the exit handler already takes care of cleanup)
Func fnCloseButton()
Exit
EndFunc

btc_enigma
Hero Member
*****
Offline Offline

Activity: 692
Merit: 569


View Profile
April 15, 2015, 11:13:18 AM
 #2090

Vanitygen doesn't accept pool url as parameter , Basically I want to join vanity pool vanitypool.appspot.com using cpu mining
You'd need a build of oclvanityminer64(.exe) without the OpenCL requirement - or see if your CPU shows up as an OpenCL device and select it specifically with the -D parameter.
In lieu of that, you can always set it up manually with vanitygen(.exe) or with some dirty bits of code - it's just http get/post to the pool anyway. Edit: actually, I seem to recall that they're both http get.

Edit 2: Just to show how simple it could be done (no error checking/optimization/etc.), a bit of AutoIt code that polls the most popular vanitypool server for work, selects either the most lavish or the shortest entry, and attempts to mine it.  A tiny GUI shows what's being mined, and feedback from vanitygen.  Consider it BSD-style licensed, so do with it what you will; try not to quote the entire post if you just want to point out corrections/etc. though, saves legacy code popping up for people from the future.
Code:
; ==================================================
; Vanitygen simpleton mining front-end v0.01
; https://bitcointalk.org/index.php?topic=25804.msg11084323#msg11084323
;
; v0.01 - 2015/04/14
;   Initial version.  Largely untested, mostly because there's no server to test against for matches.
;   Matches are always saved, however - see configuration below - so you can always try to manually submit.
; ~ TheRealSteve
;
; Requires: AutoIt - https://www.autoitscript.com/site/autoit/
; ==================================================

; ========== Configuration ==========
; SET YOUR ADDRESS HERE
$xsPayAddress = "1BitcoinEaterAddressDontSendf59kuE"

; Do you want to mine 1. the most lavish (best payout over average time taken)
; Or do you want to mine 2. the shortest (faster solves)
; NOTE: Unlike oclvanityminer, this script does not take into account searching for multiple vanities under the same keypart!
$xiMineTarget = 2

; Check for work every how many minutes?
$xiWorkInterval = 15

; Where's vanitygen stored?  No dir = same dir as script.
; You can also use this to specify oclvanitygen with OpenCL parameters
$xfVanitygen = "vanitygen64.exe"
; $xfVanitygen = "oclvanitygen64.exe -p 1"

; Where to store the server's getWork result?  No dir = same dir as script.
$xfGetWork = "getwork.lst"

; Where to store list of submitted results and server responses? No dir = same dir as script.
;   File format:
;     URL submitted
;     first line of server response - OK! = accepted, supposedly.
$xfPostWork = "postwork.lst"

; Temporary file name?  No dir = same dir as script.
$xfTempFile = "vanity.tmp"

; ========== Script ==========
; Don't modify anything here unless you know what you're doing
#include <Constants.au3>
#include <GUIConstantsEx.au3>

; Set up a little GUI
Opt("GUIOnEventMode", 1)
GUICreate("Vanitygen simpleton mining front-end v0.01", 400, 50)
Global $guiMiningLabel = GUICtrlCreateLabel("Now mining: ", 30, 10, 350)
Global $guiVanitygenLabel = GUICtrlCreateLabel("- waiting for vanitygen output -", 30, 24, 350)
Global $guiVanitygenLabel = GUICtrlCreateLabel("Payment to: " & $xsPayAddress, 30, 24, 350)
GUISetOnEvent($GUI_EVENT_CLOSE, "fnCloseButton")
GUISetState(@SW_SHOW)

Global $iVanitygenPid
OnAutoItExitRegister("fnCleanup")
While (1) ; Infinite loops are awesome.
; some variables
Local $sLavishVanity
Local $sLavishKey
Local $iLavishByte
Local $fLavishValue = 0

Local $sShortVanity
Local $iShortVanityLen = 32
Local $sShortKey
local $iShortByte
Local $fShortValue

Local $sWorkVanity
Local $iWorkByte
Local $sWorkKey

; Get work from the server
If (FileExists($xfGetWork)) Then
FileDelete($xfGetWork)
EndIf
InetGet ("https://vanitypool.appspot.com/getWork", $xfGetWork)
$hGetwork = FileOpen($xfGetWork)

; Parse the work to find the most lavish single entry, and the shortest single entry
$aWorkEntries = FileReadToArray($hGetwork)
For $sWorkEntry In $aWorkEntries
Local $aEntryElements = StringSplit($sWorkEntry,":") ; Split work entry into constituent parts
Local $_sVanity = $aEntryElements[1]
Local $_sKey = $aEntryElements[2]
Local $_iByte = $aEntryElements[3]
Local $_fLavishness = $aEntryElements[4]
If (StringRight($_fLavishness,1) == ";") Then
$_fLavishness = StringTrimRight($_fLavishness,1) ; remove trailing semicolon if there was no comment following (optional at this time anyway)
EndIf

; Check for shortest work entry
Local $iVanityLen = StringLen($_sVanity)
If (StringLeft($_sVanity,3) <> "111") Then ; None of that repeating ones stuff that throws off calculations.
If (($iVanityLen < $iShortVanityLen) Or (($iVanityLen == $iShortVanityLen) And ($_fLavishness > $fShortValue))) Then
$sShortVanity = $_sVanity
$iShortVanityLen = $iVanityLen
$sShortKey = $_sKey
$iShortByte = $_iByte
$fShortValue = $_fLavishness
EndIf
EndIf

; Check for most lavish work entry
If ($_fLavishness > $fLavishValue) Then
$fLavishValue = $_fLavishness
$sLavishVanity = $_sVanity
$iLavishByte = $_iByte
$sLavishKey = $_sKey
EndIf
Next
FileCLose($hGetwork)

; Decide which vanity to mine for
; Why isn't this optimized into the above?  Because this way the GUI can be extended with some radiobuttons to switch modes, if desired, without re-polling.
If ($xiMineTarget == 1) Then
$sWorkVanity = $sLavishVanity
$sWorkKey = $sLavishKey
$iWorkByte = $iLavishByte
ELseif ($xiMineTarget == 2) Then
$sWorkVanity = $sShortVanity
$sWorkKey = $sShortKey
$iWorkByte = $iShortByte
EndIf

; overrides for testing
; $sWorkVanity = "1abc"
; $sWorkKey  = "NotAKey"
; $iWorkByte = 0

; Begin mining
If (FileExists($xfTempFile)) Then
FileDelete($xfTempFile)
EndIf

GuiCtrlSetData($guiMiningLabel,"Now mining: " & $sWorkVanity)
$iVanitygenPid = Run($xfVanitygen & " -F compressed -P "&$sWorkKey&" -X "&$iWorkByte&" -o "&$xfTempFile&" "&$sWorkVanity,@ScriptDir,@SW_HIDE,$STDOUT_CHILD)
$iDelayProcessCheck = 250 ; Check for the process every 0.25s
$iDelayWorkPoll = $xiWorkInterval*60*1000 ; Check for work every $xiWorkInterval minutes
For $iDelayCounter = 0 To $iDelayWorkPoll Step $iDelayProcessCheck
; Inaccurate, but it'll do.
sleep($iDelayProcessCheck)

; Let's see what vanitygen has to say...
$sStdOut = StdoutRead($iVanitygenPid)
$aStdOut = StringSplit($sStdOut,@CRLF)
If ($aStdOut[0] >= 2) Then
GuiCtrlSetData($guiVanitygenLabel,$aStdOut[$aStdOut[0]])
EndIf

; If vanitygen exited early
If (Not ProcessExists($iVanitygenPid)) Then
; Maybe it found something!
If (FileExists($xfTempFile)) Then
$sPrivKey = StringTrimLeft(FileReadLine($xfTempFile,3),13) ; This is what we need, the generator part private key
FileDelete($xfTempFile)
Local $url = "https://vanitypool.appspot.com/solve?key=" &$sWorkVanity&":"&$sWorkKey&"&privateKey="&$sPrivKey&"&bitcoinAddress=" & $xsPayAddress
FileWriteLine($xfPostWork,"Input : " & $url)
InetGet($url,$xfTempFile,1)
FileWriteLine($xfPostWork,"Output: " & FileReadLine($xfTempFile,1))
FileDelete($xfTempFile)
EndIf
; Otherwise the user probably killed the process, or it crashed, or something.
; Either way, let's exit the process check loop
ExitLoop
EndIf
Next
; We've waited $xiWorkInterval minutes, kill vanitygen (if running)
fnCleanup()
; And start anew!
WEnd

; Called when getting new work, and when exiting the script - makes sure vanitygen is closed, files are cleaned up
Func fnCleanup()
If (ProcessExists($iVanitygenPid)) Then
ProcessClose($iVanitygenPid)
EndIf
If (FileExists($xfTempFile)) Then
FileDelete($xfTempFile)
EndIf
EndFunc

; Closed the GUI?  Then we better exit (the exit handler already takes care of cleanup)
Func fnCloseButton()
Exit
EndFunc

Hey, Thanks a lot , let me try this out.  Are you contemplating commiting a c/python version to  the vanitygen repo, so that others can use this too ?

TheRealSteve
Hero Member
*****
Offline Offline

Activity: 686
Merit: 500

FUN > ROI


View Profile
April 15, 2015, 12:00:49 PM
 #2091

Hey, Thanks a lot , let me try this out.  Are you contemplating commiting a c/python version to  the vanitygen repo, so that others can use this too ?
Nah - it was purely to show how you could conceivably write a front-end to vanitygen(64) for polling a vanity mining pool, and in a language that's relatively easy to interpret and port to any other languages, so that one wouldn't have to mess with the oclvanityminer(64) code.
I might mess with it a bit just for kicks, add some buttons to the UI, check for shared keys, all that, but it'll never be something intended for general use Smiley
Keep in mind that it's unproven - I don't have nearly enough GPU power to figure out if the server ever responds with an OK! to a submission Wink  Not sure if ThePiachu put any server-side code anywhere.

crazyearner
Legendary
*
Offline Offline

Activity: 1820
Merit: 1001



View Profile
April 19, 2015, 08:10:09 PM
 #2092

Bither and vangen seems to work perfect for me nly problems is tho where to tweek settings to improve speeds on generating for use with GPU as I cant seem to find them. Any ideas where one might find the settings to tinker around with?

=
  R E B E L L I O U S 
  ▄▀▀▀▀▀▄▄                           ▄▄▀▀▀▀▀▄
▄▀        █▄▄                     ▄▄█        ▀▄
█            █████████████████████            █
█▄          ██       ██ ██       ██          ▄█
█        █            █            █        █
  █    █               █               █    █
   █ ██               █ █               ██ █
    █ █               █ █               █ █
    █ ███▄  █████▄   ██ ██   ▄█████  ▄███ █
    █     ███     █         █     ███     █
     █   █   ▀███ █  █   █  █ ███▀   █   █
     █   █      █ █  █   █  █ █      █   █
     █   █      ██  █     █  ██      █   █
      █  █     ██  █       █  ██     █  █
      █  █    ██  █ ███████ █  ██    █  █
      █ ███   ██  █         █  ██   ███ █
       █   ▀███      █   █      ███▀   █
        █     ██       █       ██     █
         █      █   ▄▄███▄▄   █      █
          ███   ███▀       ▀███   ███
             █████           █████
                  ███████████
  ▄▀▀▀▀▀▄▄                           ▄▄▀▀▀▀▀▄
▄▀        █▄▄                     ▄▄█        ▀▄
█            █████████████████████            █
█▄          ██       ██ ██       ██          ▄█
█        █            █            █        █
  █    █               █               █    █
   █ ██               █ █               ██ █
    █ █               █ █               █ █
    █ ███▄  █████▄   ██ ██   ▄█████  ▄███ █
    █     ███     █         █     ███     █
     █   █   ▀███ █  █   █  █ ███▀   █   █
     █   █      █ █  █   █  █ █      █   █
     █   █      ██  █     █  ██      █   █
      █  █     ██  █       █  ██     █  █
      █  █    ██  █ ███████ █  ██    █  █
      █ ███   ██  █         █  ██   ███ █
       █   ▀███      █   █      ███▀   █
        █     ██       █       ██     █
         █      █   ▄▄███▄▄   █      █
          ███   ███▀       ▀███   ███
             █████           █████
                  ███████████
  R E B E L L I O U S
Muhammed Zakir
Hero Member
*****
Offline Offline

Activity: 560
Merit: 509


I prefer Zakir over Muhammed when mentioning me!


View Profile WWW
April 21, 2015, 10:27:12 AM
 #2093

Bither and vangen seems to work perfect for me nly problems is tho where to tweek settings to improve speeds on generating for use with GPU as I cant seem to find them. Any ideas where one might find the settings to tinker around with?

Better to post in their thread. https://bitcointalk.org/index.php?topic=696626.0

TheGr33k
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500



View Profile
April 23, 2015, 02:25:29 PM
 #2094

I generated a address that I am very fond of, 1Greekhut. I am working on getting a few more like 1Canary 1Sinker and 1Send. All case sensitive.
tspacepilot
Legendary
*
Offline Offline

Activity: 1456
Merit: 1081


I may write code in exchange for bitcoins.


View Profile
April 23, 2015, 04:34:15 PM
 #2095

I generated a address that I am very fond of, 1Greekhut. I am working on getting a few more like 1Canary 1Sinker and 1Send. All case sensitive.

If you find a very beautiful or very weird one you should apply to the hall of fame: https://bitcointalk.org/index.php?topic=90982.0
TheGr33k
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500



View Profile
April 24, 2015, 05:02:59 PM
 #2096

I generated a address that I am very fond of, 1Greekhut. I am working on getting a few more like 1Canary 1Sinker and 1Send. All case sensitive.

If you find a very beautiful or very weird one you should apply to the hall of fame: https://bitcointalk.org/index.php?topic=90982.0
I will try to lol, right now im targeting the addresses listed because of some handles I have online.
jacktheking
Legendary
*
Offline Offline

Activity: 1484
Merit: 1001


Personal Text Space Not For Sale


View Profile
May 01, 2015, 04:41:02 AM
 #2097

Download and running at the speed of ~340 Kkey/s with CPU. Tried to use GPU but it throw me a OpenCL.dll missing error. I know this is nothing related to Vanitygen because I always get this error when trying to play high-end game. However, anyone know how to fix this error?

So sad! This profile does not appear as the #1 result (on anonymous) Google searches anymore.

Time to be active on the crypto forums again? Proud to be one of the few Legendary members of the Sparkie Red Dot!

Gonna put this on my resume if I ever join a cryptocurrency/blockchain industry!
K1773R
Legendary
*
Offline Offline

Activity: 1792
Merit: 1008


/dev/null


View Profile
May 01, 2015, 07:39:28 AM
 #2098

Download and running at the speed of ~340 Kkey/s with CPU. Tried to use GPU but it throw me a OpenCL.dll missing error. I know this is nothing related to Vanitygen because I always get this error when trying to play high-end game. However, anyone know how to fix this error?
Install GPU drivers.

[GPG Public Key]
BTC/DVC/TRC/FRC: 1K1773RbXRZVRQSSXe9N6N2MUFERvrdu6y ANC/XPM AK1773RTmRKtvbKBCrUu95UQg5iegrqyeA NMC: NK1773Rzv8b4ugmCgX789PbjewA9fL9Dy1 LTC: LKi773RBuPepQH8E6Zb1ponoCvgbU7hHmd EMC: EK1773RxUes1HX1YAGMZ1xVYBBRUCqfDoF BQC: bK1773R1APJz4yTgRkmdKQhjhiMyQpJgfN
jacktheking
Legendary
*
Offline Offline

Activity: 1484
Merit: 1001


Personal Text Space Not For Sale


View Profile
May 01, 2015, 07:53:20 AM
 #2099

Download and running at the speed of ~340 Kkey/s with CPU. Tried to use GPU but it throw me a OpenCL.dll missing error. I know this is nothing related to Vanitygen because I always get this error when trying to play high-end game. However, anyone know how to fix this error?
Install GPU drivers.

How? Anyway, generated a three letters vanity address - 1JTKeHGEjFtJ3X2M8TCt1WvT1e2cDkgUHf (J: jack, T: the, K: king).

So sad! This profile does not appear as the #1 result (on anonymous) Google searches anymore.

Time to be active on the crypto forums again? Proud to be one of the few Legendary members of the Sparkie Red Dot!

Gonna put this on my resume if I ever join a cryptocurrency/blockchain industry!
Muhammed Zakir
Hero Member
*****
Offline Offline

Activity: 560
Merit: 509


I prefer Zakir over Muhammed when mentioning me!


View Profile WWW
May 01, 2015, 08:20:52 AM
 #2100

Download and running at the speed of ~340 Kkey/s with CPU. Tried to use GPU but it throw me a OpenCL.dll missing error. I know this is nothing related to Vanitygen because I always get this error when trying to play high-end game. However, anyone know how to fix this error?
Install GPU drivers.

How? Anyway, generated a three letters vanity address - 1JTKeHGEjFtJ3X2M8TCt1WvT1e2cDkgUHf (J: jack, T: the, K: king).

You can go for more. I generated 7 letter vanity address with just ~200+ Kkeys/s.

Pages: « 1 ... 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 97 98 99 100 101 102 103 104 [105] 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 ... 191 »
  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!