<<  >> (p.3)
    Author Topic: Vanitygen: Vanity bitcoin address generator/miner [v0.22]  (Read 1155143 times)
    samr7 (OP)
    Full Member
    ***
    Offline

    Activity: 140
    Merit: 440

    Firstbits: 1samr7


    View Profile
    July 06, 2011, 07:22:06 AM
     #41

    By the way, did you find anything about the single-proc behaviour? I'm not sure my laptop would handle the heat of having both CPUs working anyway, but other people with several CPUs might be interested in taking advantage of all of them.

    this is cool.   I noticed it seems to only fill up 1 cpu core.  Should I kick off multiple instances so as to max out all my CPU power?   Or will it be redundant re-searching keyspace it already searched for my vanity phrase?

    That's correct.  For the time being, you need to kick off one instance for each CPU core you want to use.  The key space searches won't be coordinated, but it's quite unlikely that any two instances of this program that are ever started by anybody will ever check the same keys.

    Proper entropy is hard.

    Process ID is 16 bits. Unix time is about 26 bits of entropy (assuming 2 year span, second resolution). Total Entropy: 42 bits. (unless I am missing a source of entropy)

    Digging through OpenSSL 1.0.0d, the main source of entropy for the default RNG on Linux would appear to bedev/urandom, or failing that,dev/random ordev/srandom.  In fact, if you want to, you can load it up in strace and watch it opendev/urandom and read random bytes.
Page 2
Viewing Page: 3