1 2017-01-10 17:23:48 <rebroad> hi. anyone here familiar with the satoshi code?
 2 2017-01-10 17:25:15 <rebroad> i am trying to change the code to have an additional thread for processing blocks, so that the node can still continue processing messages and sending messages while updating the tip... seems quite easy fix, but my C++ skills are the issue.... and, I'm also thinking that if it was that easy, then someone would have already coded it by now...
 3 2017-01-10 17:26:40 <rebroad> I'm thinking that perhaps a vRecvBlk in addition to vRecvMsg might be the way, and depending on the pchCommand, it'll go to the new deque instead within ReceiveMsgBytes()
 4 2017-01-10 19:32:02 <achow101> how do wallets that use BIP39 mnemonics go from the mnemonic to a BIP32 master privkey? Do they just get the binary seed and use that or are additional operations done on that seed to get the mpk or is it used to seed an PRNG?
 5 2017-01-10 19:34:22 <arubi> achow101, bip39 will convert some entropy to mnemonic then to a seed.  bip32 will use a seed for a master private key
 6 2017-01-10 19:34:44 <arubi> the only randomness comes at the beginning, before bip39 starts
 7 2017-01-10 19:35:13 <arubi> after that, it's all hmacs-sha512 and a bit of ec
 8 2017-01-10 19:36:17 <achow101> arubi: right, but there are different ways to go from the binary seed produced by the mnemonic to a master private key. I don't see any standard way to do that, yet there must be something that all the wallets do if any bip39 seed is compatible between all bip39 wallets and produces the same bip32 master key
 9 2017-01-10 19:36:58 <arubi> bip32 has a "new master" function that takes the seed and turns in to a master key
10 2017-01-10 19:37:23 <arubi> something like hmac-sha512 <seed> "some string"
11 2017-01-10 19:37:57 <achow101> oh. I see.
12 2017-01-10 19:38:37 <arubi> hmac-sha512 <seed> "Bitcoin seed", then the whole 'left', 'right' thing for the rest of the keys
13 2017-01-10 19:38:56 <achow101> ah. ok. I found it in the bip32 spec. Thanks!
14 2017-01-10 19:39:02 <arubi> cheers