Transcript for #bitcoin-dev 2017/04/01

18:51 arubi shot in the dark, did anyone ever set up oclvanitygen or related in a VM with pcie passthrough to a GPU? I can get gpu passthrough to the guest, I'm pretty certain (done this before a long time ago), my issue is getting oclvanitygen to use the gpu device. it lists two opencl devices, both at index '0:', the cpu /and/ the gpu are both index '0:', so no matter which I choose the cpu does the work. this is my output for getting the list of
18:51 arubi devices: https://paste.ubuntu.com/24294492/
18:52 arubi alternatively, if anyone can explain how I can easily rent gpu compute for oclvanitygen, that would also be good :)
18:53 arubi that space in the last line appears verbatim in the output
18:54 arubi er, the space right in the beginning
20:23 Victorsueca arubi: if you're going to rent GPU power for that you should use split key generation then
20:26 arubi Victorsueca, I wanna run it myself on some platform. I did that a while ago, rented a bunch of servers running gpu's, but I think it might be cheaper now with amazon etc, it's not for financial use, so no money is involved with that key
20:26 arubi not for identification either, really just looking for one of the many keys that fits what I wanna do :)
20:29 Victorsueca arubi: then somebody might as well generate it on his own computer and share the private key with you or you're searching for still some grade of security?
20:30 arubi it's going to take a while to find a key with one computer. I calculated about a year's worth of searching with one gpu at 80 million keys a second
20:30 arubi I don't mind letting someone else generate it for me, if they're up to it :)
20:31 Victorsueca gee, what pattern are you searching for?
20:33 arubi it's a pattern in the hash160, not the address, it's about 6-7 bytes of pattern
20:33 Victorsueca in the ripemd thing you mean?
20:33 arubi yep
20:35 arubi hmm maybe more, now that I think about it it might take more than a year with just one..
20:36 arubi need to go over this, hopefully I didn't miss a factor of x100 :), still it might be doable in a year, just more expensive
20:38 Victorsueca maybe you need a rendering farm for this or something....
20:39 Victorsueca or a ripemd160 ASIC + sah256 ASIC
20:39 arubi I wanted to rent a rendering\compute resource, right, that's what I did a long time ago for something unrelated
20:40 arubi I think amazon, google, offer gpu instances now, but I never tried
20:41 arubi but first I wanna see that I can get oclvanitygen working, try to set up the hash160 pattern as it's just accepting addresses
23:27 omarshibli I'm trying to figure out a way to use BIP32 child key derivation with an arbitrary string rather than a number or 'm/*' path.
23:27 omarshibli I came up with this method:
23:27 omarshibli 1. for a given input compute the sha512 hash
23:27 omarshibli 2. covert output to hex
23:27 omarshibli 3. breakup the hex number into 32 chunks, each chunk 4 characters
23:27 omarshibli 4. map each chunk to decimal
23:27 omarshibli 5. join all decimals with '/'
23:27 omarshibli 6. prepend 'm/0'
23:27 omarshibli the output would be in this form: m/0/321/323/323...
23:27 omarshibli Is this secure key derivation?
23:27 omarshibli a
23:27 omarshibli I'm trying to figure out a way to use BIP32 child key derivation with an arbitrary string rather than a number or 'm/*' path.
23:27 omarshibli I came up with this method:
23:27 omarshibli 1. for a given input compute the sha512 hash
23:28 omarshibli 2. covert output to hex
23:28 omarshibli 3. breakup the hex number into 32 chunks, each chunk 4 characters
23:28 omarshibli 4. map each chunk to decimal
23:28 omarshibli 5. join all decimals with '/'
23:28 omarshibli 6. prepend 'm/0'
23:28 omarshibli the output would be in this form: m/0/321/323/323...
23:28 omarshibli Is this secure key derivation?